Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  v31r0 (aeb156f0)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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 16 of file PropertyName.h.

Constructor & Destructor Documentation

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

Definition at line 19 of file PropertyName.h.

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.

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.

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  : client_( std::move( client ) ), property_( std::move( property ) ), position_( std::move( pos ) ) {}
T move(T...args)

Member Function Documentation

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

Definition at line 26 of file PropertyName.h.

26 { 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 31 of file PropertyName.h.

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

Definition at line 32 of file PropertyName.h.

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

Definition at line 28 of file PropertyName.h.

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

Definition at line 27 of file PropertyName.h.

27 { 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 35 of file PropertyName.h.

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

Definition at line 37 of file PropertyName.h.

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

Definition at line 36 of file PropertyName.h.


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