MeVisLabToolboxReference
ml::DefaultPropertyAccessor< T > Class Template Reference

#include <mlPropertyAccessor.h>

Inheritance diagram for ml::DefaultPropertyAccessor< T >:
ml::IntrusivePtrBase< DefaultPropertyAccessor< T > >

List of all members.

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

Detailed Description

template<typename T>
class ml::DefaultPropertyAccessor< T >

Definition at line 32 of file mlPropertyAccessor.h.


Member Typedef Documentation

template<typename T >
typedef boost::intrusive_ptr<const type> ml::DefaultPropertyAccessor< T >::ConstPointerType

Definition at line 36 of file mlPropertyAccessor.h.

template<typename T >
typedef boost::intrusive_ptr<type> ml::DefaultPropertyAccessor< T >::PointerType

Definition at line 35 of file mlPropertyAccessor.h.

template<typename T >
typedef DefaultPropertyAccessor<T> ml::DefaultPropertyAccessor< T >::type

Definition at line 34 of file mlPropertyAccessor.h.


Constructor & Destructor Documentation

template<typename T >
ml::DefaultPropertyAccessor< T >::DefaultPropertyAccessor ( const PropertyManager::Pointer manager,
const std::string &  propertyName,
const T &  defaultValue 
) [inline]

Definition at line 38 of file mlPropertyAccessor.h.


Member Function Documentation

template<typename T >
const T& ml::DefaultPropertyAccessor< T >::get ( const PropertyContainer container) const [inline]

Definition at line 44 of file mlPropertyAccessor.h.

template<typename T >
const T & ml::DefaultPropertyAccessor< T >::operator() ( const PropertyContainer container) const
template<typename T >
void ml::DefaultPropertyAccessor< T >::set ( PropertyContainer container,
const T &  value 
) const [inline]

Definition at line 45 of file mlPropertyAccessor.h.


The documentation for this class was generated from the following file: