| The Gaudi Framework v32r1 (f65d50dc)

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:
18 typedef std::map<std::string, Position> Container;
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_
Gaudi::Parsers::IncludedFiles::GetPosition
bool GetPosition(const std::string &filename, const Position **pos) const
Definition: IncludedFiles.cpp:19
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:18
graphanalysis.filename
string filename
Definition: graphanalysis.py:119
std::map< std::string, Position >
std::string
STL class.
Gaudi::Parsers::Position
Definition: Position.h:13
Gaudi::Parsers::IncludedFiles::AddFile
bool AddFile(std::string filename, Position from)
Definition: IncludedFiles.cpp:15
Gaudi::Parsers::IncludedFiles
Definition: IncludedFiles.h:16
Gaudi::Parsers::IncludedFiles::container_
Container container_
Definition: IncludedFiles.h:26
Gaudi
Header file for std:chrono::duration-based Counters.
Definition: __init__.py:1