MeVisLab Toolbox Reference
SmartPropertyIndex Class Reference

A self-updating index for efficient name-based access of properties. More...

#include <mlPropertyIndex.h>

Inheritance diagram for SmartPropertyIndex:
IntrusivePtrBase< SmartPropertyIndex >

Public Types

typedef SmartPropertyIndex type
 
typedef boost::intrusive_ptr< typePointerType
 
typedef boost::intrusive_ptr< const typeConstPointerType
 

Public Member Functions

 SmartPropertyIndex (const PropertyManager::Pointer &manager, const std::string &propertyName)
 
 SmartPropertyIndex (const SmartPropertyIndex &other)
 
 ~SmartPropertyIndex ()
 
 operator size_t () const
 
void update () const
 
PropertyManagergetManager ()
 
const PropertyManagergetManager () const
 
const std::string & getName () const
 
bool isValid () const
 

Additional Inherited Members

- Protected Member Functions inherited from IntrusivePtrBase< SmartPropertyIndex >
 IntrusivePtrBase ()
 

Detailed Description

A self-updating index for efficient name-based access of properties.

Definition at line 27 of file mlPropertyIndex.h.

Member Typedef Documentation

◆ ConstPointerType

Definition at line 31 of file mlPropertyIndex.h.

◆ PointerType

Definition at line 30 of file mlPropertyIndex.h.

◆ type

Constructor & Destructor Documentation

◆ SmartPropertyIndex() [1/2]

SmartPropertyIndex::SmartPropertyIndex ( const PropertyManager::Pointer & manager,
const std::string & propertyName )
inline

Definition at line 33 of file mlPropertyIndex.h.

References update().

◆ SmartPropertyIndex() [2/2]

SmartPropertyIndex::SmartPropertyIndex ( const SmartPropertyIndex & other)
inline

Definition at line 36 of file mlPropertyIndex.h.

◆ ~SmartPropertyIndex()

SmartPropertyIndex::~SmartPropertyIndex ( )
inline

Definition at line 40 of file mlPropertyIndex.h.

Member Function Documentation

◆ getManager() [1/2]

PropertyManager * SmartPropertyIndex::getManager ( )
inline

Definition at line 46 of file mlPropertyIndex.h.

◆ getManager() [2/2]

const PropertyManager * SmartPropertyIndex::getManager ( ) const
inline

Definition at line 47 of file mlPropertyIndex.h.

◆ getName()

const std::string & SmartPropertyIndex::getName ( ) const
inline

Definition at line 48 of file mlPropertyIndex.h.

◆ isValid()

bool SmartPropertyIndex::isValid ( ) const
inline

Definition at line 49 of file mlPropertyIndex.h.

◆ operator size_t()

SmartPropertyIndex::operator size_t ( ) const
inline

Definition at line 42 of file mlPropertyIndex.h.

References ML_BAD_PARAMETER.

◆ update()

void SmartPropertyIndex::update ( ) const
inline

Definition at line 44 of file mlPropertyIndex.h.

Referenced by SmartPropertyIndex().


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