Gaudi Framework, version v22r4

Home   Generated: Fri Sep 2 2011
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 >:
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 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.

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.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated at Fri Sep 2 2011 16:25:46 for Gaudi Framework, version v22r4 by Doxygen version 1.7.2 written by Dimitri van Heesch, © 1997-2004