The Gaudi Framework  v29r0 (ff2e7097)
Gaudi::Parsers::Property Class Referencefinal

#include <src/JobOptionsSvc/Property.h>

Collaboration diagram for Gaudi::Parsers::Property:

Classes

class  Equal
 
struct  LessThen
 

Public Member Functions

 Property (PropertyName property_name, PropertyValue property_value)
 
const PropertyNameproperty_name () const
 
PropertyValueproperty_value ()
 
Propertyoperator+= (const PropertyValue &value)
 
Propertyoperator-= (const PropertyValue &value)
 
const PositionDefinedPosition () const
 
bool HasDefinedPosition () const
 
const PositionValuePosition () const
 
bool HasValuePosition () const
 
const std::stringClientName () const
 
const std::stringNameInClient () const
 
std::string FullName () const
 
std::string ValueAsString () const
 
std::string ToString () const
 
bool IsSimple () const
 
bool IsVector () const
 
bool IsMap () const
 
bool IsReference () const
 

Private Attributes

PropertyName property_name_
 
PropertyValue property_value_
 

Detailed Description

Definition at line 19 of file Property.h.

Constructor & Destructor Documentation

Gaudi::Parsers::Property::Property ( PropertyName  property_name,
PropertyValue  property_value 
)
inline

Definition at line 41 of file Property.h.

43  {
44  }
PropertyName property_name_
Definition: Property.h:78
PropertyValue property_value_
Definition: Property.h:79
PropertyValue & property_value()
Definition: Property.h:47
T move(T...args)
const PropertyName & property_name() const
Definition: Property.h:46

Member Function Documentation

const std::string & Property::ClientName ( ) const

Definition at line 23 of file Property.cpp.

23 { return property_name_.client(); }
PropertyName property_name_
Definition: Property.h:78
const std::string & client() const
Definition: PropertyName.h:34
const gp::Position & Property::DefinedPosition ( ) const

Definition at line 19 of file Property.cpp.

19 { return property_name_.position(); }
PropertyName property_name_
Definition: Property.h:78
const Position & position() const
Definition: PropertyName.h:36
std::string Property::FullName ( ) const

Definition at line 27 of file Property.cpp.

27 { return property_name_.ToString(); }
PropertyName property_name_
Definition: Property.h:78
std::string ToString() const
Definition: PropertyName.cpp:8
bool Gaudi::Parsers::Property::HasDefinedPosition ( ) const
inline

Definition at line 61 of file Property.h.

61 { return DefinedPosition().Exists(); }
const Position & DefinedPosition() const
Definition: Property.cpp:19
bool Exists() const
Definition: Position.h:28
bool Gaudi::Parsers::Property::HasValuePosition ( ) const
inline

Definition at line 64 of file Property.h.

64 { return ValuePosition().Exists(); }
bool Exists() const
Definition: Position.h:28
const Position & ValuePosition() const
Definition: Property.cpp:21
bool Property::IsMap ( ) const

Definition at line 37 of file Property.cpp.

37 { return property_value_.IsMap(); }
PropertyValue property_value_
Definition: Property.h:79
bool Gaudi::Parsers::Property::IsReference ( ) const
inline

Definition at line 74 of file Property.h.

74 { return property_value_.IsReference(); }
PropertyValue property_value_
Definition: Property.h:79
bool Property::IsSimple ( ) const

Definition at line 33 of file Property.cpp.

33 { return property_value_.IsSimple(); }
PropertyValue property_value_
Definition: Property.h:79
bool Property::IsVector ( ) const

Definition at line 35 of file Property.cpp.

35 { return property_value_.IsVector(); }
PropertyValue property_value_
Definition: Property.h:79
const std::string & Property::NameInClient ( ) const

Definition at line 25 of file Property.cpp.

25 { return property_name_.property(); }
const std::string & property() const
Definition: PropertyName.h:35
PropertyName property_name_
Definition: Property.h:78
Property& Gaudi::Parsers::Property::operator+= ( const PropertyValue value)
inline

Definition at line 49 of file Property.h.

50  {
51  property_value_ += value;
52  return *this;
53  }
PropertyValue property_value_
Definition: Property.h:79
Property& Gaudi::Parsers::Property::operator-= ( const PropertyValue value)
inline

Definition at line 54 of file Property.h.

55  {
56  property_value_ -= value;
57  return *this;
58  }
PropertyValue property_value_
Definition: Property.h:79
const PropertyName& Gaudi::Parsers::Property::property_name ( ) const
inline

Definition at line 46 of file Property.h.

46 { return property_name_; }
PropertyName property_name_
Definition: Property.h:78
PropertyValue& Gaudi::Parsers::Property::property_value ( )
inline

Definition at line 47 of file Property.h.

47 { return property_value_; }
PropertyValue property_value_
Definition: Property.h:79
std::string Property::ToString ( ) const

Definition at line 31 of file Property.cpp.

31 { return FullName() + " = " + ValueAsString(); }
std::string FullName() const
Definition: Property.cpp:27
std::string ValueAsString() const
Definition: Property.cpp:29
std::string Property::ValueAsString ( ) const

Definition at line 29 of file Property.cpp.

PropertyValue property_value_
Definition: Property.h:79
std::string replaceEnvironments(const std::string &input)
Definition: Utils.cpp:18
std::string ToString() const
const gp::Position & Property::ValuePosition ( ) const

Definition at line 21 of file Property.cpp.

21 { return property_value_.position(); }
PropertyValue property_value_
Definition: Property.h:79
const Position & position() const
Definition: PropertyValue.h:40

Member Data Documentation

PropertyName Gaudi::Parsers::Property::property_name_
private

Definition at line 78 of file Property.h.

PropertyValue Gaudi::Parsers::Property::property_value_
private

Definition at line 79 of file Property.h.


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