Gaudi Framework, version v22r4

Home   Generated: Fri Sep 2 2011
Public Member Functions | Private Member Functions

SimplePropertyRef< TYPE, VERIFIER > Class Template Reference

SimplePropertyRef templated class. More...

#include <GaudiKernel/Property.h>

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

List of all members.

Public Member Functions

 SimplePropertyRef (const std::string &name, TYPE &value, VERIFIER verifier=VERIFIER())
 Constructor from the name, the value and the verifier.
 SimplePropertyRef (const SimplePropertyRef &right)
 copy constructor (must be!)
virtual ~SimplePropertyRef ()
 virtual Destructor
virtual SimplePropertyRefclone () const
 implementation of Property::clone
SimplePropertyRefoperator= (const TYPE &value)
 assignment form the value
template<class OTHER >
SimplePropertyRefoperator= (const PropertyWithValue< OTHER > &right)
 assignment form the other property type

Private Member Functions

 SimplePropertyRef ()

Detailed Description

template<class TYPE, class VERIFIER = NullVerifier<TYPE>>
class SimplePropertyRef< TYPE, VERIFIER >

SimplePropertyRef templated class.

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

Definition at line 640 of file Property.h.


Constructor & Destructor Documentation

template<class TYPE , class VERIFIER >
SimplePropertyRef< TYPE, VERIFIER >::SimplePropertyRef ( const std::string name,
TYPE value,
VERIFIER  verifier = VERIFIER() 
)

Constructor from the name, the value and the verifier.

Parameters:
valueNB! non-const reference

Definition at line 669 of file Property.h.

template<class TYPE , class VERIFIER >
SimplePropertyRef< TYPE, VERIFIER >::SimplePropertyRef ( const SimplePropertyRef< TYPE, VERIFIER > &  right )

copy constructor (must be!)

Definition at line 679 of file Property.h.

  : PropertyWithVerifier<TYPE,VERIFIER>
( right.name() , right.i_get() , false , right.verifier() )
{}
template<class TYPE , class VERIFIER >
SimplePropertyRef< TYPE, VERIFIER >::~SimplePropertyRef (  ) [virtual]

virtual Destructor

Definition at line 687 of file Property.h.

{}
template<class TYPE, class VERIFIER = NullVerifier<TYPE>>
SimplePropertyRef< TYPE, VERIFIER >::SimplePropertyRef (  ) [private]

Member Function Documentation

template<class TYPE , class VERIFIER >
SimplePropertyRef< TYPE, VERIFIER > * SimplePropertyRef< TYPE, VERIFIER >::clone (  ) const [inline, virtual]

implementation of Property::clone

Implements Property.

Definition at line 694 of file Property.h.

{ return new SimplePropertyRef(*this) ; }
template<class TYPE , class VERIFIER >
template<class OTHER >
SimplePropertyRef< TYPE, VERIFIER > & SimplePropertyRef< TYPE, VERIFIER >::operator= ( const PropertyWithValue< OTHER > &  right ) [inline]

assignment form the other property type

Reimplemented from PropertyWithVerifier< TYPE, VERIFIER >.

Definition at line 715 of file Property.h.

template<class TYPE , class VERIFIER >
SimplePropertyRef< TYPE, VERIFIER > & SimplePropertyRef< TYPE, VERIFIER >::operator= ( const TYPE value ) [inline]

assignment form the value

assignment from the value

Reimplemented from PropertyWithVerifier< TYPE, VERIFIER >.

Definition at line 702 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