The Gaudi Framework  v30r3 (a5ef0a68)
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 18 of file PropertyName.h.

Constructor & Destructor Documentation

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

Definition at line 22 of file PropertyName.h.

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

Definition at line 23 of file PropertyName.h.

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

Definition at line 26 of file PropertyName.h.

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

Definition at line 30 of file PropertyName.h.

31  : client_( std::move( client ) ), property_( std::move( property ) ), position_( std::move( pos ) )
32  {
33  }
T move(T...args)

Member Function Documentation

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

Definition at line 34 of file PropertyName.h.

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

Definition at line 6 of file PropertyName.cpp.

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

Definition at line 39 of file PropertyName.h.

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

Definition at line 40 of file PropertyName.h.

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

Definition at line 36 of file PropertyName.h.

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

Definition at line 35 of file PropertyName.h.

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

Definition at line 8 of file PropertyName.cpp.

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

Member Data Documentation

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

Definition at line 43 of file PropertyName.h.

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

Definition at line 45 of file PropertyName.h.

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

Definition at line 44 of file PropertyName.h.


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