Gaudi::Parsers::PropertyName Class Referencefinal

#include <src/JobOptionsSvc/PropertyName.h>

Collaboration diagram for Gaudi::Parsers::PropertyName:

Public Member Functions

 PropertyName (std::string property)
 
 PropertyName (std::string property, const Position &pos)
 
 PropertyName (std::string client, std::string property)
 
 PropertyName (std::string client, std::string property, Position pos)
 
const std::stringclient () const
 
const std::stringproperty () const
 
const Positionposition () const
 
std::string FullName () const
 
std::string ToString () const
 
bool HasClient () const
 
bool HasPosition () const
 

Private Attributes

std::string client_
 
std::string property_
 
Position position_
 

Detailed Description

Definition at line 15 of file PropertyName.h.

Constructor & Destructor Documentation

Gaudi::Parsers::PropertyName::PropertyName ( std::string  property)
inlineexplicit

Definition at line 18 of file PropertyName.h.

18  :
19  property_( std::move(property) ) {}
T move(T...args)
Gaudi::Parsers::PropertyName::PropertyName ( std::string  property,
const Position pos 
)
inline

Definition at line 20 of file PropertyName.h.

20  :
21  property_(std::move(property)), position_(pos) {}
T move(T...args)
Gaudi::Parsers::PropertyName::PropertyName ( std::string  client,
std::string  property 
)
inline

Definition at line 22 of file PropertyName.h.

22  :
23  client_(std::move(client)), property_(std::move(property)){}
T move(T...args)
Gaudi::Parsers::PropertyName::PropertyName ( std::string  client,
std::string  property,
Position  pos 
)
inline

Definition at line 24 of file PropertyName.h.

25  :
26  client_(std::move(client)), property_(std::move(property)) ,
27  position_(std::move(pos)) {}
T move(T...args)

Member Function Documentation

const std::string& Gaudi::Parsers::PropertyName::client ( ) const
inline

Definition at line 28 of file PropertyName.h.

28 { return client_;}
std::string Gaudi::Parsers::PropertyName::FullName ( ) const

Definition at line 6 of file PropertyName.cpp.

6  {
7  return (HasClient()?client_+".":"")+property_;
8 }
bool Gaudi::Parsers::PropertyName::HasClient ( ) const
inline

Definition at line 33 of file PropertyName.h.

33 { return !client_.empty();}
T empty(T...args)
bool Gaudi::Parsers::PropertyName::HasPosition ( ) const
inline

Definition at line 34 of file PropertyName.h.

34 { return position_.Exists();}
bool Exists() const
Definition: Position.h:22
const Position& Gaudi::Parsers::PropertyName::position ( ) const
inline

Definition at line 30 of file PropertyName.h.

30 { return position_;}
const std::string& Gaudi::Parsers::PropertyName::property ( ) const
inline

Definition at line 29 of file PropertyName.h.

29 { return property_;}
std::string Gaudi::Parsers::PropertyName::ToString ( ) const

Definition at line 10 of file PropertyName.cpp.

10  {
11  return FullName();
12 }
std::string FullName() const
Definition: PropertyName.cpp:6

Member Data Documentation

std::string Gaudi::Parsers::PropertyName::client_
private

Definition at line 36 of file PropertyName.h.

Position Gaudi::Parsers::PropertyName::position_
private

Definition at line 38 of file PropertyName.h.

std::string Gaudi::Parsers::PropertyName::property_
private

Definition at line 37 of file PropertyName.h.


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