| # Gaudi Framework, version v20r4
Generated: 8 Jan 2009

# SimpleProperty< TYPE, VERIFIER > Class Template Reference

`#include <GaudiKernel/Property.h>`

Inheritance diagram for SimpleProperty< TYPE, VERIFIER >:

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

[legend]

List of all members.

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

## 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)
| assignement form the value
template<class OTHER>
SimpleProperty & | operator= (const PropertyWithValue< OTHER > &right)
| assignement form the other property type

## Constructor & Destructor Documentation

template<class TYPE, class VERIFIER>

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

"Almost default" constructor from verifier

The constructor from verifier.

Definition at line 495 of file Property.h.

    00496   : PropertyWithVerifier<TYPE,VERIFIER>
    00497 ( "" , new TYPE() , true , verifier )
    00498 {}

template<class TYPE, class VERIFIER>

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

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

The constructor from the value and verifier.

Definition at line 504 of file Property.h.

    00506   : PropertyWithVerifier<TYPE,VERIFIER>
    00507 ( "" , new TYPE(value) , true , verifier )
    00508 {}

template<class TYPE, class VERIFIER>

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

The constructor from the name, value and verifier.

Definition at line 514 of file Property.h.

    00517   : PropertyWithVerifier<TYPE,VERIFIER>
    00518 ( name , new TYPE(value) , true , verifier )
    00519 {}

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

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

constructor from other property type

Definition at line 526 of file Property.h.

    00527   : PropertyWithVerifier<TYPE,VERIFIER>
    00528 ( right.name() , new TYPE( right.value() ) , true , VERIFIER() )
    00529 {}

template<class TYPE, class VERIFIER>

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

copy constructor (must be!)

Definition at line 535 of file Property.h.

    00536   : PropertyWithVerifier<TYPE,VERIFIER>
    00537 ( right.name() , new TYPE( right.value() ) , true , right.verifier() )
    00538 {}

template<class TYPE, class VERIFIER>

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

virtual Destructor

Definition at line 543 of file Property.h.

    00543 {}

## Member Function Documentation

template<class TYPE, class VERIFIER>

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

implementation of Property::clone

Implements Property.

Definition at line 550 of file Property.h.

    00551 { return new SimpleProperty(*this) ; }

template<class TYPE, class VERIFIER>

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

assignement form the value

Reimplemented from PropertyWithVerifier< TYPE, VERIFIER >.

Definition at line 558 of file Property.h.

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

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

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

assignement form the other property type

Reimplemented from PropertyWithVerifier< TYPE, VERIFIER >.

Definition at line 571 of file Property.h.

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

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

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