Property base class allowing Property* collections to be "homogeneous".
More...
#include <GaudiKernel/Property.h>
Property base class allowing Property* collections to be "homogeneous".
- Author
- Paul Maley
-
CTDay
-
Vanya BELYAEV ibely.nosp@m.aev@.nosp@m.physi.nosp@m.cs.s.nosp@m.yr.ed.nosp@m.u
Definition at line 43 of file Property.h.
| Property::Property |
( |
const std::type_info & |
type, |
|
|
const std::string & |
name = "" |
|
) |
| |
|
protected |
constructor from the property name and the type
Definition at line 48 of file Property.cpp.
| Property::Property |
( |
const std::string & |
name, |
|
|
const std::type_info & |
type |
|
) |
| |
|
protected |
constructor from the property name and the type
Definition at line 63 of file Property.cpp.
| Property::Property |
( |
const Property & |
right | ) |
|
|
protected |
| virtual bool Property::assign |
( |
const Property & |
source | ) |
|
|
pure virtual |
| virtual Property* Property::clone |
( |
| ) |
const |
|
pure virtual |
clone: "virtual constructor"
Implemented in GaudiHandleArrayProperty, GaudiHandleProperty, SimplePropertyRef< TYPE, VERIFIER >, SimpleProperty< TYPE, VERIFIER >, SimpleProperty< double >, SimpleProperty< std::string >, SimpleProperty< std::vector< std::string > >, SimpleProperty< int >, SimpleProperty< unsigned int >, and SimpleProperty< bool >.
template<class HT >
| void Property::declareReadHandler |
( |
void(HT::*)(Property &) |
MF, |
|
|
HT * |
instance |
|
) |
| |
|
inline |
template<class HT >
| void Property::declareUpdateHandler |
( |
void(HT::*)(Property &) |
MF, |
|
|
HT * |
instance |
|
) |
| |
|
inline |
| const std::string& Property::documentation |
( |
| ) |
const |
|
inline |
property documentation
Definition at line 49 of file Property.h.
| std::ostream & Property::fillStream |
( |
std::ostream & |
stream | ) |
const |
|
virtual |
the printout of the property value
Definition at line 182 of file Property.cpp.
| virtual StatusCode Property::fromString |
( |
const std::string & |
value | ) |
|
|
pure virtual |
| virtual bool Property::load |
( |
Property & |
dest | ) |
const |
|
pure virtual |
| const std::string& Property::name |
( |
| ) |
const |
|
inline |
assignment operator
Definition at line 90 of file Property.cpp.
{
if ( &right == this ) { return *this ; }
return *this ;
}
Call-back functor at reading: the functor is owned by property!
Definition at line 122 of file Property.cpp.
| void Property::setDocumentation |
( |
const std::string & |
documentation | ) |
|
|
inline |
set the documentation string
Definition at line 92 of file Property.h.
| void Property::setName |
( |
const std::string & |
value | ) |
|
|
inline |
set the new value for the property name
Definition at line 90 of file Property.h.
| virtual void Property::toStream |
( |
std::ostream & |
out | ) |
const |
|
pure virtual |
| virtual std::string Property::toString |
( |
| ) |
const |
|
pure virtual |
| std::string Property::type |
( |
| ) |
const |
|
inline |
| const std::type_info* Property::type_info |
( |
| ) |
const |
|
inline |
property type-info
Definition at line 51 of file Property.h.
Call-back functor for update: the functor is owned by property!
Definition at line 127 of file Property.cpp.
| void Property::useReadHandler |
( |
| ) |
const |
|
virtual |
use the call-back function at reading
Definition at line 150 of file Property.cpp.
{
(*theCallBack)(
const_cast<Property&
>(p) ) ;
}
| bool Property::useUpdateHandler |
( |
| ) |
|
|
virtual |
use the call-back function at update
Definition at line 163 of file Property.cpp.
{
try {
(*theCallBack)( *this ) ;
} catch(...) {
}
}
| std::string Property::m_documentation |
|
private |
| std::string Property::m_name |
|
private |
| const std::type_info* Property::m_typeinfo |
|
private |
The documentation for this class was generated from the following files:
- /afs/.cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v25r2/GaudiKernel/GaudiKernel/Property.h
- /afs/.cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v25r2/GaudiKernel/src/Lib/Property.cpp