All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Gaudi::Parsers::PropertyName Class Reference

#include <src/JobOptionsSvc/PropertyName.h>

Collaboration diagram for Gaudi::Parsers::PropertyName:

Public Types

typedef boost::scoped_ptr
< PropertyName
ScopedPtr
 
typedef boost::scoped_ptr
< const PropertyName
ConstScopedPtr
 

Public Member Functions

 PropertyName (const std::string &property)
 
 PropertyName (const std::string &property, const Position &pos)
 
 PropertyName (const std::string &client, const std::string &property)
 
 PropertyName (const std::string &client, const std::string &property, const 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 21 of file PropertyName.h.

Member Typedef Documentation

typedef boost::scoped_ptr<const PropertyName> Gaudi::Parsers::PropertyName::ConstScopedPtr

Definition at line 25 of file PropertyName.h.

typedef boost::scoped_ptr<PropertyName> Gaudi::Parsers::PropertyName::ScopedPtr

Definition at line 24 of file PropertyName.h.

Constructor & Destructor Documentation

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

Definition at line 27 of file PropertyName.h.

27  : client_(""),
const std::string & property() const
Definition: PropertyName.h:37
Gaudi::Parsers::PropertyName::PropertyName ( const std::string &  property,
const Position pos 
)
inline

Definition at line 29 of file PropertyName.h.

29  :
30  client_(""), property_(property), position_(pos) {}
const std::string & property() const
Definition: PropertyName.h:37
Gaudi::Parsers::PropertyName::PropertyName ( const std::string &  client,
const std::string &  property 
)
inline

Definition at line 31 of file PropertyName.h.

31  :
const std::string & property() const
Definition: PropertyName.h:37
const std::string & client() const
Definition: PropertyName.h:36
Gaudi::Parsers::PropertyName::PropertyName ( const std::string &  client,
const std::string &  property,
const Position pos 
)
inline

Definition at line 33 of file PropertyName.h.

34  :
const std::string & property() const
Definition: PropertyName.h:37
const std::string & client() const
Definition: PropertyName.h:36

Member Function Documentation

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

Definition at line 36 of file PropertyName.h.

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

Definition at line 14 of file PropertyName.cpp.

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

Definition at line 41 of file PropertyName.h.

41 { return client_.length() > 0;}
bool Gaudi::Parsers::PropertyName::HasPosition ( ) const
inline

Definition at line 42 of file PropertyName.h.

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

Definition at line 38 of file PropertyName.h.

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

Definition at line 37 of file PropertyName.h.

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

Definition at line 18 of file PropertyName.cpp.

18  {
19  return FullName();
20 }
std::string FullName() const

Member Data Documentation

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

Definition at line 44 of file PropertyName.h.

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

Definition at line 46 of file PropertyName.h.

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

Definition at line 45 of file PropertyName.h.


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