| The Gaudi Framework v28r2-patches (bc4ad17a)

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