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

#include <src/JobOptionsSvc/Property.h>

Collaboration diagram for Gaudi::Parsers::Property:

Classes

class  Equal
 
struct  LessThen
 

Public Member Functions

 Property (const PropertyName &property_name, const 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
 
std::string ClientName () const
 
std::string NameInClient () 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 17 of file Property.h.

Constructor & Destructor Documentation

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

Definition at line 37 of file Property.h.

38  :
PropertyName property_name_
Definition: Property.h:75
PropertyValue property_value_
Definition: Property.h:76
PropertyValue & property_value()
Definition: Property.h:44
const PropertyName & property_name() const
Definition: Property.h:41

Member Function Documentation

std::string Property::ClientName ( ) const

Definition at line 31 of file Property.cpp.

31  {
32  return property_name_.client();
33 }
PropertyName property_name_
Definition: Property.h:75
const std::string & client() const
Definition: PropertyName.h:36
const gp::Position & Property::DefinedPosition ( ) const

Definition at line 23 of file Property.cpp.

23  {
24  return property_name_.position();
25 }
PropertyName property_name_
Definition: Property.h:75
const Position & position() const
Definition: PropertyName.h:38
std::string Property::FullName ( ) const

Definition at line 39 of file Property.cpp.

39  {
40  return property_name_.ToString();
41 }
PropertyName property_name_
Definition: Property.h:75
std::string ToString() const
bool Gaudi::Parsers::Property::HasDefinedPosition ( ) const
inline

Definition at line 58 of file Property.h.

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

Definition at line 61 of file Property.h.

61 { return ValuePosition().Exists();}
bool Exists() const
Definition: Position.h:23
const Position & ValuePosition() const
Definition: Property.cpp:27
bool Property::IsMap ( ) const

Definition at line 59 of file Property.cpp.

59  {
60  return property_value_.IsMap();
61 }
PropertyValue property_value_
Definition: Property.h:76
bool Gaudi::Parsers::Property::IsReference ( ) const
inline

Definition at line 71 of file Property.h.

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

Definition at line 51 of file Property.cpp.

51  {
52  return property_value_.IsSimple();
53 }
PropertyValue property_value_
Definition: Property.h:76
bool Property::IsVector ( ) const

Definition at line 55 of file Property.cpp.

55  {
56  return property_value_.IsVector();
57 }
PropertyValue property_value_
Definition: Property.h:76
std::string Property::NameInClient ( ) const

Definition at line 35 of file Property.cpp.

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

Definition at line 48 of file Property.h.

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

Definition at line 52 of file Property.h.

52  {
54  return *this;
55  }
PropertyValue property_value_
Definition: Property.h:76
const PropertyName& Gaudi::Parsers::Property::property_name ( ) const
inline

Definition at line 41 of file Property.h.

41  {
42  return property_name_;
43  }
PropertyName property_name_
Definition: Property.h:75
PropertyValue& Gaudi::Parsers::Property::property_value ( )
inline

Definition at line 44 of file Property.h.

44  {
45  return property_value_;
46  }
PropertyValue property_value_
Definition: Property.h:76
std::string Property::ToString ( ) const

Definition at line 47 of file Property.cpp.

47  {
48  return FullName()+" = "+ValueAsString();
49 }
std::string FullName() const
Definition: Property.cpp:39
std::string ValueAsString() const
Definition: Property.cpp:43
std::string Property::ValueAsString ( ) const

Definition at line 43 of file Property.cpp.

43  {
45 }
PropertyValue property_value_
Definition: Property.h:76
std::string replaceEnvironments(const std::string &input)
Definition: Utils.cpp:26
std::string ToString() const
const gp::Position & Property::ValuePosition ( ) const

Definition at line 27 of file Property.cpp.

27  {
28  return property_value_.position();
29 }
PropertyValue property_value_
Definition: Property.h:76
const Position & position() const
Definition: PropertyValue.h:39

Member Data Documentation

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

Definition at line 75 of file Property.h.

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

Definition at line 76 of file Property.h.


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