| # 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 Member Functions | Private Attributes | List of all members
Gaudi::Parsers::Position Class Reference

`#include <Position.h>`

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

## Public Member Functions
| Position ()
| Position (const std::string &filename, unsigned line, unsigned column)
const std::string & | filename () const
unsigned | line () const
unsigned | column () const
void | set_filename (const std::string &filename)
std::string | ToString () const
bool | Exists () const

## Private Attributes
std::string | filename_
unsigned | line_
unsigned | column_

## Detailed Description

Definition at line 13 of file Position.h.

## Constructor & Destructor Documentation

Gaudi::Parsers::Position::Position | ( |  | ) |
| inline

Definition at line 15 of file Position.h.

:filename_(""), line_(0), column_(0) {}

Gaudi::Parsers::Position::Position | ( | const std::string & | filename,
|  | unsigned | line,
|  | unsigned | column
| ) |  |
| inline

Definition at line 16 of file Position.h.

:filename_(filename), line_(line), column_(column) {}

## Member Function Documentation

unsigned Gaudi::Parsers::Position::column | ( |  | ) | const
| inline

Definition at line 20 of file Position.h.

{ return column_; }

bool Gaudi::Parsers::Position::Exists | ( |  | ) | const
| inline

Definition at line 23 of file Position.h.

{ return line_ !=0;}

const std::string& Gaudi::Parsers::Position::filename | ( |  | ) | const
| inline

Definition at line 18 of file Position.h.

{ return filename_; }

unsigned Gaudi::Parsers::Position::line | ( |  | ) | const
| inline

Definition at line 19 of file Position.h.

{ return line_; }

void Gaudi::Parsers::Position::set_filename | ( | const std::string & | filename | ) |
| inline

Definition at line 21 of file Position.h.

{ filename_ = filename;}

std::string Gaudi::Parsers::Position::ToString | ( |  | ) | const

Definition at line 14 of file Position.cpp.

{
return str(boost::format("%1%: (%2%, %3%)") % filename_ % line_ % column_);
}

## Member Data Documentation

unsigned Gaudi::Parsers::Position::column_
| private

Definition at line 27 of file Position.h.

std::string Gaudi::Parsers::Position::filename_
| private

Definition at line 25 of file Position.h.

unsigned Gaudi::Parsers::Position::line_
| private

Definition at line 26 of file Position.h.

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

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