| # Gaudi Framework, version v23r1 |

Home |  | Generated: Wed Feb 29 2012

Public Member Functions | Protected Types

# SimpleProperty< TYPE, VERIFIER > Class Template Reference

SimpleProperty concrete class which implements the full Property interface. More...

`#include <GaudiKernel/Property.h>`

Inheritance diagram for SimpleProperty< TYPE, VERIFIER >:
[legend]
Collaboration diagram for SimpleProperty< TYPE, VERIFIER >:
[legend]

List of all members.

## Public Member Functions
| SimpleProperty (VERIFIER verifier=VERIFIER())
| "Almost default" constructor from verifier
| SimpleProperty (const TYPE &value, VERIFIER verifier=VERIFIER())
| The constructor from the value and verifier (ATLAS needs it!)
| SimpleProperty (const std::string &name, const TYPE &value, VERIFIER verifier=VERIFIER())
| The constructor from the name, value and verifier.
template<class OTHER >
| SimpleProperty (const PropertyWithValue< OTHER > &right)
| constructor from other property type
| SimpleProperty (const SimpleProperty &right)
| copy constructor (must be!)
virtual | ~SimpleProperty ()
| virtual Destructor
virtual SimpleProperty * | clone () const
| implementation of Property::clone
SimpleProperty & | operator= (const TYPE &value)
| assignment form the value
template<class OTHER >
SimpleProperty & | operator= (const PropertyWithValue< OTHER > &right)
| assignment form the other property type
## Protected Types
typedef Gaudi::Utils::PropertyTypeTraits < TYPE > | Traits
| the type-traits for properties

## Detailed Description

### template<class TYPE, class VERIFIER = BoundedVerifier<TYPE>>
class SimpleProperty< TYPE, VERIFIER >

SimpleProperty concrete class which implements the full Property interface.

Author:
  Paul Maley
  CTDay
  Vanya BELYAEV ibelyaev@physics.syr.edu

Definition at line 504 of file Property.h.

## Member Typedef Documentation

template<class TYPE, class VERIFIER = BoundedVerifier<TYPE>>

typedef Gaudi::Utils::PropertyTypeTraits<TYPE> SimpleProperty< TYPE, VERIFIER >::Traits`[protected]`

the type-traits for properties

Reimplemented from PropertyWithValue< TYPE >.

Definition at line 509 of file Property.h.

## Constructor & Destructor Documentation

template<class TYPE , class VERIFIER>

SimpleProperty< TYPE, VERIFIER >::SimpleProperty | ( | VERIFIER | verifier = `VERIFIER()` ) |

"Almost default" constructor from verifier

The constructor from verifier.

Definition at line 546 of file Property.h.

      : PropertyWithVerifier<TYPE,VERIFIER>
    ( "" , Traits::new_() , true , verifier )
    {}

template<class TYPE, class VERIFIER>

SimpleProperty< TYPE, VERIFIER >::SimpleProperty | ( | const TYPE & | value,
|  | VERIFIER | verifier = `VERIFIER()`
| ) |  |

The constructor from the value and verifier (ATLAS needs it!)

The constructor from the value and verifier.

Definition at line 555 of file Property.h.

      : PropertyWithVerifier<TYPE,VERIFIER>
    ( "" , Traits::new_(value) , true , verifier )
    {}

template<class TYPE, class VERIFIER>

SimpleProperty< TYPE, VERIFIER >::SimpleProperty | ( | const std::string & | name,
|  | const TYPE & | value,
|  | VERIFIER | verifier = `VERIFIER()`
| ) |  |

The constructor from the name, value and verifier.

Definition at line 565 of file Property.h.

      : PropertyWithVerifier<TYPE,VERIFIER>
    ( name , Traits::new_(value) , true , verifier )
    {}

template<class TYPE , class VERIFIER >
template<class OTHER >

SimpleProperty< TYPE, VERIFIER >::SimpleProperty | ( | const PropertyWithValue< OTHER > & | right ) |

constructor from other property type

Definition at line 577 of file Property.h.

      : PropertyWithVerifier<TYPE,VERIFIER>
    ( right.name() , Traits::new_( right.value() ) , true , VERIFIER() )
    {}

template<class TYPE, class VERIFIER>

SimpleProperty< TYPE, VERIFIER >::SimpleProperty | ( | const SimpleProperty< TYPE, VERIFIER > & | right ) |

copy constructor (must be!)

Definition at line 586 of file Property.h.

      : PropertyWithVerifier<TYPE,VERIFIER>
    ( right.name() , Traits::new_( right.value() ) , true , right.verifier() )
    {}

template<class TYPE , class VERIFIER >

SimpleProperty< TYPE, VERIFIER >::~SimpleProperty | ( | ) | `[virtual]`

virtual Destructor

Definition at line 594 of file Property.h.

    {}

## Member Function Documentation

template<class TYPE , class VERIFIER >

SimpleProperty< TYPE, VERIFIER > * SimpleProperty< TYPE, VERIFIER >::clone | ( | ) | const`[inline, virtual]`

implementation of Property::clone

Implements Property.

Definition at line 601 of file Property.h.

    { return new SimpleProperty(*this) ; }

template<class TYPE , class VERIFIER >
template<class OTHER >

SimpleProperty< TYPE, VERIFIER > & SimpleProperty< TYPE, VERIFIER >::operator= | ( | const PropertyWithValue< OTHER > & | right ) | `[inline]`

assignment form the other property type

Reimplemented from PropertyWithVerifier< TYPE, VERIFIER >.

Definition at line 622 of file Property.h.

    {
      PropertyWithVerifier<TYPE,VERIFIER>::operator=( right );
      return *this ;
    }

template<class TYPE, class VERIFIER >

SimpleProperty< TYPE, VERIFIER > & SimpleProperty< TYPE, VERIFIER >::operator= | ( | const TYPE & | value ) | `[inline]`

assignment form the value

Reimplemented from PropertyWithVerifier< TYPE, VERIFIER >.

Definition at line 609 of file Property.h.

    {
      PropertyWithVerifier<TYPE,VERIFIER>::operator=( value );
      return *this ;
    }

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

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v23r1/GaudiKernel/GaudiKernel/Property.h

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