Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  v31r0 (aeb156f0)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
IncludedFiles.h
Go to the documentation of this file.
1 #ifndef JOBOPTIONSVC_INCLUDED_FILES_H_
2 #define JOBOPTIONSVC_INCLUDED_FILES_H_
3 // ============================================================================
4 // Includes:
5 // ============================================================================
6 // STD & STL:
7 // ============================================================================
8 #include <map>
9 #include <string>
10 // ============================================================================
11 namespace Gaudi {
12  namespace Parsers {
13  // ============================================================================
14  class Position;
15  // ============================================================================
16  class IncludedFiles {
17  public:
19 
20  public:
21  bool AddFile( std::string filename, Position from );
22  bool IsIncluded( const std::string& filename ) const;
23  bool GetPosition( const std::string& filename, const Position** pos ) const;
24 
25  private:
26  Container container_;
27  };
28  // ============================================================================
29  } // namespace Parsers
30 } // namespace Gaudi
31 // ============================================================================
32 #endif // JOBOPTIONSVC_INCLUDED_FILES_H_
bool IsIncluded(const std::string &filename) const
std::map< std::string, Position > Container
Definition: IncludedFiles.h:18
STL class.
bool GetPosition(const std::string &filename, const Position **pos) const
bool AddFile(std::string filename, Position from)
Helper functions to set/get the application return code.
Definition: __init__.py:1