The Gaudi Framework  master (594c33fa)
Gaudi::Parsers::Property Class Referencefinal

#include </builds/gaudi/Gaudi/GaudiCoreSvc/src/JobOptionsSvc/Property.h>

Collaboration diagram for Gaudi::Parsers::Property:

Classes

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 27 of file Property.h.

Constructor & Destructor Documentation

◆ Property()

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

Definition at line 38 of file Property.h.

Member Function Documentation

◆ ClientName()

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

Definition at line 23 of file Property.cpp.

23 { return property_name_.client(); }

◆ DefinedPosition()

const gp::Position & Gaudi::Parsers::Property::DefinedPosition ( ) const

Definition at line 19 of file Property.cpp.

19 { return property_name_.position(); }

◆ FullName()

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

Definition at line 27 of file Property.cpp.

27 { return property_name_.ToString(); }

◆ HasDefinedPosition()

bool Gaudi::Parsers::Property::HasDefinedPosition ( ) const
inline

Definition at line 54 of file Property.h.

54 { return DefinedPosition().Exists(); }

◆ HasValuePosition()

bool Gaudi::Parsers::Property::HasValuePosition ( ) const
inline

Definition at line 57 of file Property.h.

57 { return ValuePosition().Exists(); }

◆ IsMap()

bool Gaudi::Parsers::Property::IsMap ( ) const

Definition at line 37 of file Property.cpp.

37 { return property_value_.IsMap(); }

◆ IsReference()

bool Gaudi::Parsers::Property::IsReference ( ) const
inline

Definition at line 67 of file Property.h.

67 { return property_value_.IsReference(); }

◆ IsSimple()

bool Gaudi::Parsers::Property::IsSimple ( ) const

Definition at line 33 of file Property.cpp.

33 { return property_value_.IsSimple(); }

◆ IsVector()

bool Gaudi::Parsers::Property::IsVector ( ) const

Definition at line 35 of file Property.cpp.

35 { return property_value_.IsVector(); }

◆ NameInClient()

const std::string & Gaudi::Parsers::Property::NameInClient ( ) const

Definition at line 25 of file Property.cpp.

25 { return property_name_.property(); }

◆ operator+=()

Property& Gaudi::Parsers::Property::operator+= ( const PropertyValue value)
inline

Definition at line 44 of file Property.h.

44  {
45  property_value_ += value;
46  return *this;
47  }

◆ operator-=()

Property& Gaudi::Parsers::Property::operator-= ( const PropertyValue value)
inline

Definition at line 48 of file Property.h.

48  {
49  property_value_ -= value;
50  return *this;
51  }

◆ property_name()

const PropertyName& Gaudi::Parsers::Property::property_name ( ) const
inline

Definition at line 41 of file Property.h.

41 { return property_name_; }

◆ property_value()

PropertyValue& Gaudi::Parsers::Property::property_value ( )
inline

Definition at line 42 of file Property.h.

42 { return property_value_; }

◆ ToString()

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

Definition at line 31 of file Property.cpp.

31 { return FullName() + " = " + ValueAsString(); }

◆ ValueAsString()

std::string Gaudi::Parsers::Property::ValueAsString ( ) const

Definition at line 29 of file Property.cpp.

◆ ValuePosition()

const gp::Position & Gaudi::Parsers::Property::ValuePosition ( ) const

Definition at line 21 of file Property.cpp.

21 { return property_value_.position(); }

Member Data Documentation

◆ property_name_

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

Definition at line 71 of file Property.h.

◆ property_value_

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

Definition at line 72 of file Property.h.


The documentation for this class was generated from the following files:
std::move
T move(T... args)
Gaudi::Parsers::Property::property_name
const PropertyName & property_name() const
Definition: Property.h:41
Gaudi::Parsers::PropertyValue::ToString
std::string ToString() const
Definition: PropertyValue.cpp:73
Gaudi::Parsers::Position::Exists
bool Exists() const
Definition: Position.h:33
Gaudi::Parsers::PropertyName::position
const Position & position() const
Definition: PropertyName.h:38
Gaudi::Parsers::Property::property_value
PropertyValue & property_value()
Definition: Property.h:42
Gaudi::Parsers::PropertyName::client
const std::string & client() const
Definition: PropertyName.h:36
Gaudi::Parsers::Utils::replaceEnvironments
std::string replaceEnvironments(std::string_view input)
Definition: Utils.cpp:28
Gaudi::Parsers::PropertyValue::IsVector
bool IsVector() const
Definition: PropertyValue.cpp:29
Gaudi::Parsers::PropertyName::ToString
std::string ToString() const
Definition: PropertyName.cpp:18
Gaudi::Parsers::Property::ValueAsString
std::string ValueAsString() const
Definition: Property.cpp:29
Gaudi::Parsers::Property::property_value_
PropertyValue property_value_
Definition: Property.h:72
Gaudi::Parsers::PropertyValue::IsMap
bool IsMap() const
Definition: PropertyValue.cpp:31
Gaudi::Parsers::PropertyValue::IsReference
bool IsReference() const
Definition: PropertyValue.h:58
Gaudi::Parsers::Property::DefinedPosition
const Position & DefinedPosition() const
Definition: Property.cpp:19
Gaudi::Parsers::PropertyValue::position
const Position & position() const
Definition: PropertyValue.h:42
Gaudi::Parsers::Property::property_name_
PropertyName property_name_
Definition: Property.h:71
Gaudi::Parsers::PropertyValue::IsSimple
bool IsSimple() const
Definition: PropertyValue.cpp:27
Gaudi::Parsers::Property::ValuePosition
const Position & ValuePosition() const
Definition: Property.cpp:21
Gaudi::Parsers::PropertyName::property
const std::string & property() const
Definition: PropertyName.h:37
Gaudi::Parsers::Property::FullName
std::string FullName() const
Definition: Property.cpp:27