|
Gaudi Framework, version v21r4 |
| Home | Generated: 7 Sep 2009 |
#include <Property.h>


Definition at line 355 of file Property.h.
Public Member Functions | |
| VERIFIER & | verifier () |
| const VERIFIER & | verifier () const |
| bool | set (const TYPE &value) |
| update the value of the property/check the verifier | |
| virtual bool | setValue (const TYPE &value) |
| implementation of PropertyWithValue::setValue | |
| template<class OTHER, class OTHERVERIFIER> | |
| PropertyWithVerifier & | operator= (const PropertyWithVerifier< OTHER, OTHERVERIFIER > &right) |
| templated assignement | |
| template<class OTHER> | |
| PropertyWithVerifier & | operator= (const PropertyWithValue< OTHER > &right) |
| templated assignement | |
| PropertyWithVerifier & | operator= (const TYPE &right) |
| assignement | |
Protected Member Functions | |
| PropertyWithVerifier (const std::string &name, TYPE *value, const bool owner, const VERIFIER &verifier) | |
| the constructor with property name and value | |
| virtual | ~PropertyWithVerifier () |
| virtual destructor | |
Private Member Functions | |
| PropertyWithVerifier () | |
| the default constructot is disabled | |
| PropertyWithVerifier (const PropertyWithVerifier &right) | |
| the copy constructor is disabled | |
Private Attributes | |
| VERIFIER | m_verifier |
| PropertyWithVerifier< TYPE, VERIFIER >::PropertyWithVerifier | ( | const std::string & | name, | |
| TYPE * | value, | |||
| const bool | owner, | |||
| const VERIFIER & | verifier | |||
| ) | [inline, protected] |
the constructor with property name and value
Definition at line 361 of file Property.h.
00365 : PropertyWithValue<TYPE> ( name , value , owner ) 00366 , m_verifier ( verifier ) 00367 {}
| virtual PropertyWithVerifier< TYPE, VERIFIER >::~PropertyWithVerifier | ( | ) | [inline, protected, virtual] |
| PropertyWithVerifier< TYPE, VERIFIER >::PropertyWithVerifier | ( | ) | [private] |
the default constructot is disabled
| PropertyWithVerifier< TYPE, VERIFIER >::PropertyWithVerifier | ( | const PropertyWithVerifier< TYPE, VERIFIER > & | right | ) | [private] |
the copy constructor is disabled
| VERIFIER& PropertyWithVerifier< TYPE, VERIFIER >::verifier | ( | ) | [inline] |
| const VERIFIER& PropertyWithVerifier< TYPE, VERIFIER >::verifier | ( | ) | const [inline] |
| bool PropertyWithVerifier< TYPE, VERIFIER >::set | ( | const TYPE & | value | ) | [inline] |
update the value of the property/check the verifier
implementaion of PropertyWithVerifier::set
use verifier!
update the value
invoke the update handler
Definition at line 399 of file Property.h.
00400 { 00402 if ( !m_verifier.isValid( &value ) ) { return false ; } 00404 i_set( value ) ; 00406 return this->useUpdateHandler() ; 00407 }
| virtual bool PropertyWithVerifier< TYPE, VERIFIER >::setValue | ( | const TYPE & | value | ) | [inline, virtual] |
implementation of PropertyWithValue::setValue
Implements PropertyWithValue< TYPE >.
Definition at line 376 of file Property.h.
00376 { return set( value ) ; }
| PropertyWithVerifier< TYPE, VERIFIER > & PropertyWithVerifier< TYPE, VERIFIER >::operator= | ( | const PropertyWithVerifier< OTHER, OTHERVERIFIER > & | right | ) | [inline] |
templated assignement
template assignement
Definition at line 436 of file Property.h.
00437 { 00438 PropertyWithValue<TYPE>::operator=(right) ; 00439 return *this ; 00440 }
| PropertyWithVerifier< TYPE, VERIFIER > & PropertyWithVerifier< TYPE, VERIFIER >::operator= | ( | const PropertyWithValue< OTHER > & | right | ) | [inline] |
templated assignement
template assignement
Reimplemented from PropertyWithValue< TYPE >.
Reimplemented in SimpleProperty< TYPE, VERIFIER >, SimplePropertyRef< TYPE, VERIFIER >, SimpleProperty< double >, SimpleProperty< std::string >, SimpleProperty< std::vector< std::string > >, SimpleProperty< int >, SimpleProperty< unsigned int >, and SimpleProperty< bool >.
Definition at line 424 of file Property.h.
00425 { 00426 PropertyWithValue<TYPE>::operator=(right) ; 00427 return *this ; 00428 }
| PropertyWithVerifier< TYPE, VERIFIER > & PropertyWithVerifier< TYPE, VERIFIER >::operator= | ( | const TYPE & | right | ) | [inline] |
assignement
Reimplemented from PropertyWithValue< TYPE >.
Reimplemented in SimpleProperty< TYPE, VERIFIER >, and SimplePropertyRef< TYPE, VERIFIER >.
Definition at line 413 of file Property.h.
00414 { 00415 PropertyWithValue<TYPE>::operator=( right ) ; 00416 return *this ; 00417 }
VERIFIER PropertyWithVerifier< TYPE, VERIFIER >::m_verifier [private] |
Definition at line 392 of file Property.h.