Gaudi Framework, version v21r4

Home   Generated: 7 Sep 2009

SimpleProperty< TYPE, VERIFIER > Class Template Reference

#include <GaudiKernel/Property.h>

Inheritance diagram for SimpleProperty< TYPE, VERIFIER >:

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

Collaboration graph
[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 455 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 SimplePropertyclone () const
 implementation of Property::clone
SimplePropertyoperator= (const TYPE &value)
 assignement form the value
template<class OTHER>
SimplePropertyoperator= (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 491 of file Property.h.

00492   : PropertyWithVerifier<TYPE,VERIFIER>
00493 ( "" , new TYPE() , true , verifier )
00494 {}

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

00502   : PropertyWithVerifier<TYPE,VERIFIER>
00503 ( "" , new TYPE(value) , true , verifier )
00504 {}

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

00513   : PropertyWithVerifier<TYPE,VERIFIER>
00514 ( name , new TYPE(value) , true , verifier )
00515 {}

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

00523   : PropertyWithVerifier<TYPE,VERIFIER>
00524 ( right.name() , new TYPE( right.value() ) , true , VERIFIER() )
00525 {}

template<class TYPE, class VERIFIER>
SimpleProperty< TYPE, VERIFIER >::SimpleProperty ( const SimpleProperty< TYPE, VERIFIER > &  right  )  [inline]

copy constructor (must be!)

Definition at line 531 of file Property.h.

00532   : PropertyWithVerifier<TYPE,VERIFIER>
00533 ( right.name() , new TYPE( right.value() ) , true , right.verifier() )
00534 {}

template<class TYPE, class VERIFIER>
SimpleProperty< TYPE, VERIFIER >::~SimpleProperty (  )  [inline, virtual]

virtual Destructor

Definition at line 539 of file Property.h.

00539 {}


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

00547 { 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 554 of file Property.h.

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

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

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


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

Generated at Mon Sep 7 18:22:17 2009 for Gaudi Framework, version v21r4 by Doxygen version 1.5.6 written by Dimitri van Heesch, © 1997-2004