Gaudi Framework, version v21r8

Home   Generated: 17 Mar 2010

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 >:

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

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


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

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

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

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

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

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

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

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

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

copy constructor (must be!)

Definition at line 572 of file Property.h.

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

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

virtual Destructor

Definition at line 580 of file Property.h.

00580 {}


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

00588 { return new SimpleProperty(*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 595 of file Property.h.

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

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

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


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

Generated at Wed Mar 17 18:19:21 2010 for Gaudi Framework, version v21r8 by Doxygen version 1.5.6 written by Dimitri van Heesch, © 1997-2004