MeVisLabToolboxReference
|
#include <mlPropertyAccessor.h>
Public Types | |
typedef DefaultPropertyAccessor< T > | type |
typedef boost::intrusive_ptr < type > | PointerType |
typedef boost::intrusive_ptr < const type > | ConstPointerType |
Public Member Functions | |
DefaultPropertyAccessor (const PropertyManager::Pointer &manager, const std::string &propertyName, const T &defaultValue) | |
T & | operator() (PropertyContainer &container) const |
const T & | operator() (const PropertyContainer &container) const |
const T & | get (const PropertyContainer &container) const |
void | set (PropertyContainer &container, const T &value) const |
Definition at line 32 of file mlPropertyAccessor.h.
typedef boost::intrusive_ptr<const type> ml::DefaultPropertyAccessor< T >::ConstPointerType |
Definition at line 36 of file mlPropertyAccessor.h.
typedef boost::intrusive_ptr<type> ml::DefaultPropertyAccessor< T >::PointerType |
Definition at line 35 of file mlPropertyAccessor.h.
typedef DefaultPropertyAccessor<T> ml::DefaultPropertyAccessor< T >::type |
Definition at line 34 of file mlPropertyAccessor.h.
ml::DefaultPropertyAccessor< T >::DefaultPropertyAccessor | ( | const PropertyManager::Pointer & | manager, |
const std::string & | propertyName, | ||
const T & | defaultValue | ||
) | [inline] |
Definition at line 38 of file mlPropertyAccessor.h.
const T& ml::DefaultPropertyAccessor< T >::get | ( | const PropertyContainer & | container | ) | const [inline] |
Definition at line 44 of file mlPropertyAccessor.h.
const T & ml::DefaultPropertyAccessor< T >::operator() | ( | const PropertyContainer & | container | ) | const |
Definition at line 65 of file mlPropertyAccessor.h.
References ml::PropertyContainer::getPropertyManager(), ML_BAD_PARAMETER, ml::PropertyContainer::property(), and T.
T & ml::DefaultPropertyAccessor< T >::operator() | ( | PropertyContainer & | container | ) | const |
Definition at line 53 of file mlPropertyAccessor.h.
References ml::PropertyManager::createProperty(), ml::PropertyContainer::getPropertyManager(), ML_BAD_PARAMETER, ml::PropertyContainer::property(), and T.
void ml::DefaultPropertyAccessor< T >::set | ( | PropertyContainer & | container, |
const T & | value | ||
) | const [inline] |
Definition at line 45 of file mlPropertyAccessor.h.