The Gaudi Framework  master (ff829712)
Loading...
Searching...
No Matches
Gaudi::Parsers::PropertyName Class Referencefinal

#include </builds/gaudi/Gaudi/GaudiCoreSvc/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::string & client () const
 
const std::string & property () 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 19 of file PropertyName.h.

Constructor & Destructor Documentation

◆ PropertyName() [1/4]

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

Definition at line 21 of file PropertyName.h.

21: property_( std::move( property ) ) {}
const std::string & property() const

◆ PropertyName() [2/4]

Gaudi::Parsers::PropertyName::PropertyName ( std::string property,
const Position & pos )
inline

Definition at line 22 of file PropertyName.h.

23 : property_( std::move( property ) ), position_( pos ) {}

◆ PropertyName() [3/4]

Gaudi::Parsers::PropertyName::PropertyName ( std::string client,
std::string property )
inline

Definition at line 24 of file PropertyName.h.

25 : client_( std::move( client ) ), property_( std::move( property ) ) {}
const std::string & client() const

◆ PropertyName() [4/4]

Gaudi::Parsers::PropertyName::PropertyName ( std::string client,
std::string property,
Position pos )
inline

Definition at line 26 of file PropertyName.h.

27 : client_( std::move( client ) ), property_( std::move( property ) ), position_( std::move( pos ) ) {}

Member Function Documentation

◆ client()

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

Definition at line 28 of file PropertyName.h.

28{ return client_; }

◆ FullName()

std::string Gaudi::Parsers::PropertyName::FullName ( ) const

Definition at line 13 of file PropertyName.cpp.

13{ return ( HasClient() ? client_ + "." : "" ) + property_; }

◆ HasClient()

bool Gaudi::Parsers::PropertyName::HasClient ( ) const
inline

Definition at line 33 of file PropertyName.h.

33{ return !client_.empty(); }

◆ HasPosition()

bool Gaudi::Parsers::PropertyName::HasPosition ( ) const
inline

Definition at line 34 of file PropertyName.h.

34{ return position_.Exists(); }

◆ position()

const Position & Gaudi::Parsers::PropertyName::position ( ) const
inline

Definition at line 30 of file PropertyName.h.

30{ return position_; }

◆ property()

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

Definition at line 29 of file PropertyName.h.

29{ return property_; }

◆ ToString()

std::string Gaudi::Parsers::PropertyName::ToString ( ) const

Definition at line 14 of file PropertyName.cpp.

14{ return FullName(); }
std::string FullName() const

Member Data Documentation

◆ client_

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

Definition at line 37 of file PropertyName.h.

◆ position_

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

Definition at line 39 of file PropertyName.h.

◆ property_

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

Definition at line 38 of file PropertyName.h.


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