The Gaudi Framework  v29r0 (ff2e7097)
Parser.h
Go to the documentation of this file.
1 // Copyright 2011 alexander.mazurov@gmail.com
2 #ifndef JOBOPTIONSVC_FILE_PARSER_H_
3 #define JOBOPTIONSVC_FILE_PARSER_H_
4 // ============================================================================
5 // Include files
6 // ============================================================================
7 // STD & STL:
8 // ============================================================================
9 #include <map>
10 #include <string>
11 #include <vector>
12 
13 #include <fstream>
14 // ============================================================================
15 #include "Position.h"
16 // ============================================================================
17 namespace Gaudi
18 {
19  namespace Parsers
20  {
21  // ============================================================================
22  // Forward declarations:
23  // ============================================================================
24  class Messages;
25  class Node;
26  class IncludedFiles;
27  // ============================================================================
28 
29  bool Parse( const std::string& filename, const std::string& search_path, IncludedFiles* included,
30  Messages* messages, Node* root );
31 
32  bool Parse( const Position& from, const std::string& filename, const std::string& search_path,
33  IncludedFiles* included, Messages* messages, Node* root );
34 
35  bool ParseUnits( const Position& from, const std::string& filename, const std::string& search_path,
36  IncludedFiles* included, Messages* messages, Node* root );
37  // ============================================================================
38  } /* Gaudi */
39 } /* Parsers */
40 // ============================================================================
41 #endif // JOBOPTIONSVC_FILE_PARSER_H_
bool ParseUnits(const Position &from, const std::string &filename, const std::string &search_path, IncludedFiles *included, Messages *messages, Node *root)
Definition: Parser.cpp:134
STL class.
bool Parse(const std::string &filename, const std::string &search_path, IncludedFiles *included, Messages *messages, Node *root)
Definition: Parser.cpp:120
Helper functions to set/get the application return code.
Definition: __init__.py:1