| # Gaudi Framework, version v23r0 |

Home |  | Generated: Mon Jan 30 2012

Classes | Public Member Functions | Private Attributes

# Gaudi::Parsers::Property Class Reference

`#include <Property.h>`

Collaboration diagram for Gaudi::Parsers::Property:
[legend]

List of all members.

## Classes
class | Equal
struct | LessThen
## Public Member Functions
| Property (const PropertyName &property_name, const PropertyValue &property_value)
const PropertyName & | property_name () const
PropertyValue & | property_value ()
Property & | operator+= (const PropertyValue &value)
Property & | operator-= (const PropertyValue &value)
const Position & | DefinedPosition () const
bool | HasDefinedPosition () const
const Position & | ValuePosition () 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 21 of file Property.h.

## Constructor & Destructor Documentation

Gaudi::Parsers::Property::Property | ( | const PropertyName & | property_name,
|  | const PropertyValue & | property_value
| ) |  | `[inline]`

Definition at line 41 of file Property.h.

                                              :
        property_name_(property_name), property_value_(property_value) {}

## Member Function Documentation

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

Definition at line 31 of file Property.cpp.

                                           {
        return property_name_.client();
    }

const gp::Position & Property::DefinedPosition | ( | ) | const

Definition at line 23 of file Property.cpp.

                                                        {
        return property_name_.position();
    }

std::string Property::FullName | ( | ) | const

Definition at line 39 of file Property.cpp.

                                         {
        return property_name_.ToString();
    }

bool Gaudi::Parsers::Property::HasDefinedPosition | ( | ) | const`[inline]`

Definition at line 62 of file Property.h.

    { return DefinedPosition().Exists();}

bool Gaudi::Parsers::Property::HasValuePosition | ( | ) | const`[inline]`

Definition at line 65 of file Property.h.

    { return ValuePosition().Exists();}

bool Property::IsMap | ( | ) | const

Definition at line 59 of file Property.cpp.

                                 {
        return property_value_.IsMap();
    }

bool Gaudi::Parsers::Property::IsReference | ( | ) | const`[inline]`

Definition at line 75 of file Property.h.

    { return  property_value_.IsReference();}

bool Property::IsSimple | ( | ) | const

Definition at line 51 of file Property.cpp.

                                    {
        return property_value_.IsSimple();
    }

bool Property::IsVector | ( | ) | const

Definition at line 55 of file Property.cpp.

                                    {
        return property_value_.IsVector();
    }

std::string Property::NameInClient | ( | ) | const

Definition at line 35 of file Property.cpp.

                                             {
        return property_name_.property();
    }

Property& Gaudi::Parsers::Property::operator+= | ( | const PropertyValue & | value ) | `[inline]`

Definition at line 52 of file Property.h.

                                                        {
        property_value_ += value;
        return *this;
      }

Property& Gaudi::Parsers::Property::operator-= | ( | const PropertyValue & | value ) | `[inline]`

Definition at line 56 of file Property.h.

                                                         {
        property_value_ -= value;
        return *this;
      }

const PropertyName& Gaudi::Parsers::Property::property_name | ( | ) | const`[inline]`

Definition at line 45 of file Property.h.

                                                  {
          return property_name_;
      }

PropertyValue& Gaudi::Parsers::Property::property_value | ( | ) | `[inline]`

Definition at line 48 of file Property.h.

                                      {
          return property_value_;
      }

std::string Property::ToString | ( | ) | const

Definition at line 47 of file Property.cpp.

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

std::string Property::ValueAsString | ( | ) | const

Definition at line 43 of file Property.cpp.

                                              {
        return gpu::replaceEnvironments(property_value_.ToString());
    }

const gp::Position & Property::ValuePosition | ( | ) | const

Definition at line 27 of file Property.cpp.

                                                      {
        return property_value_.position();
    }

## Member Data Documentation

PropertyName Gaudi::Parsers::Property::property_name_`[private]`

Definition at line 79 of file Property.h.

PropertyValue Gaudi::Parsers::Property::property_value_`[private]`

Definition at line 80 of file Property.h.

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

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v23r0/GaudiCoreSvc/src/JobOptionsSvc/Property.h
- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v23r0/GaudiCoreSvc/src/JobOptionsSvc/Property.cpp

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines