All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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 <string>
10 #include <vector>
11 #include <map>
12 
13 #include <fstream>
14 // ============================================================================
15 #include "Position.h"
16 // ============================================================================
17 namespace Gaudi { namespace Parsers {
18 // ============================================================================
19 // Forward declarations:
20 // ============================================================================
21 class Messages;
22 class Node;
23 class IncludedFiles;
24 // ============================================================================
25 
26 bool Parse(const std::string& filename,
27  const std::string& search_path, IncludedFiles* included,
28  Messages* messages, Node* root);
29 
30 bool Parse(const Position& from, const std::string& filename,
31  const std::string& search_path, IncludedFiles* included,
32  Messages* messages, Node* root);
33 
34 bool ParseUnits(const Position& from, const std::string& filename,
35  const std::string& search_path, IncludedFiles* included,
36  Messages* messages, Node* root);
37 // ============================================================================
38 } /* Gaudi */ } /* Parsers */
39 // ============================================================================
40 #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:142
STL class.
bool Parse(const std::string &filename, const std::string &search_path, IncludedFiles *included, Messages *messages, Node *root)
Definition: Parser.cpp:125
Helper functions to set/get the application return code.
Definition: __init__.py:1