| The Gaudi Framework v30r0 (c919700c)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

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 {
13 namespace Parsers
14 {
15 // ============================================================================
16 class Position;
17 // ============================================================================
18 class IncludedFiles
19 {
20 public:
21 typedef std::map<std::string, Position> Container;
22
23 public:
24 bool AddFile( std::string filename, Position from );
25 bool IsIncluded( const std::string& filename ) const;
26 bool GetPosition( const std::string& filename, const Position** pos ) const;
27
28 private:
29 Container container_;
30 };
31 // ============================================================================
32 } /* Gaudi */
33 } /* Parsers */
34 // ============================================================================
35 #endif // JOBOPTIONSVC_INCLUDED_FILES_H_
Gaudi::Parsers::IncludedFiles::IsIncluded
bool IsIncluded(const std::string &filename) const
Definition: IncludedFiles.cpp:11
Gaudi::Parsers::IncludedFiles::Container
std::map< std::string, Position > Container
Definition: IncludedFiles.h:21
graphanalysis.filename
string filename
Definition: graphanalysis.py:117
std::map< std::string, Position >
std::string
STL class.
Gaudi::Parsers::IncludedFiles::GetPosition
bool GetPosition(const std::string &filename, const Position **pos) const
Definition: IncludedFiles.cpp:21
Gaudi::Parsers::Position
Definition: Position.h:15
Gaudi::Parsers::IncludedFiles::AddFile
bool AddFile(std::string filename, Position from)
Definition: IncludedFiles.cpp:16
Gaudi::Parsers::IncludedFiles
Definition: IncludedFiles.h:18
Gaudi::Parsers::IncludedFiles::container_
Container container_
Definition: IncludedFiles.h:29
Gaudi
Helper functions to set/get the application return code.
Definition: __init__.py:1