| # Gaudi Framework, version v25r0 |

Home |  | Generated: Mon Feb 17 2014

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

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Types | Public Member Functions | Private Attributes | List of all members
Gaudi::Parsers::IncludedFiles Class Reference

`#include <IncludedFiles.h>`

Collaboration diagram for Gaudi::Parsers::IncludedFiles:
[legend]

## Public Types
typedef std::map< std::string, Position > | Container

## Public Member Functions
bool | AddFile (const std::string &filename, const Position &from)
bool | IsIncluded (const std::string &filename) const
bool | GetPosition (const std::string &filename, const Position **pos) const

## Private Attributes
Container | container_

## Detailed Description

Definition at line 16 of file IncludedFiles.h.

## Member Typedef Documentation

typedef std::map<std::string, Position> Gaudi::Parsers::IncludedFiles::Container

Definition at line 18 of file IncludedFiles.h.

## Member Function Documentation

bool Gaudi::Parsers::IncludedFiles::AddFile | ( | const std::string & | filename,
|  | const Position & | from
| ) |  |

Definition at line 20 of file IncludedFiles.cpp.

{
if (!IsIncluded(filename)) {
container_.insert(Container::value_type(filename, from));
return true;
}
return false;
}

bool Gaudi::Parsers::IncludedFiles::GetPosition | ( | const std::string & | filename,
|  | const Position ** | pos
| ) |  | const

Definition at line 29 of file IncludedFiles.cpp.

{
Container::const_iterator iter = container_.find(filename);
if (iter != container_.end()) {
*pos = &iter->second;
assert(pos != NULL);
return true;
}
return false;
}

bool Gaudi::Parsers::IncludedFiles::IsIncluded | ( | const std::string & | filename | ) | const

Definition at line 16 of file IncludedFiles.cpp.

{
return container_.find(filename) != container_.end();
}

## Member Data Documentation

Container Gaudi::Parsers::IncludedFiles::container_
| private

Definition at line 24 of file IncludedFiles.h.

The documentation for this class was generated from the following files:

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v25r0/GaudiCoreSvc/src/JobOptionsSvc/IncludedFiles.h
- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v25r0/GaudiCoreSvc/src/JobOptionsSvc/IncludedFiles.cpp