CFx SDK Documentation  2023 SP0
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
OdDAI::AggrBase Class Reference

#include <daiAggr.h>

Inheritance diagram for OdDAI::AggrBase:
OdDAI::Aggr< OdDAIObjectId > OdDAI::Aggr< T >

Public Member Functions

 ~AggrBase ()
 
IteratorPtr createIterator () const
 
bool isNil () const
 
unsigned long length () const
 
AggrInstanceinstance ()
 

Protected Member Functions

 AggrBase ()
 
 AggrBase (const AggrBase &other)
 

Protected Attributes

AggrInstancem_pInst
 

Detailed Description

Definition at line 111 of file daiAggr.h.

Constructor & Destructor Documentation

◆ ~AggrBase()

OdDAI::AggrBase::~AggrBase ( )

Non-virtual destructor!

◆ AggrBase() [1/2]

OdDAI::AggrBase::AggrBase ( )
inlineprotected

Definition at line 153 of file daiAggr.h.

◆ AggrBase() [2/2]

OdDAI::AggrBase::AggrBase ( const AggrBase other)
inlineprotected

Definition at line 157 of file daiAggr.h.

Member Function Documentation

◆ createIterator()

IteratorPtr OdDAI::AggrBase::createIterator ( ) const

Creates a new iterator along elements of aggregate.

Returns
Returns a shared pointer to the newly created iterator.

◆ instance()

AggrInstance* OdDAI::AggrBase::instance ( )
inline

Returns raw pointer to underlying aggregate instance. For internal use only.

Definition at line 145 of file daiAggr.h.

◆ isNil()

bool OdDAI::AggrBase::isNil ( ) const
inline

Checks if aggregate is unset.

Returns
Returns true if aggregate is unset.

Definition at line 130 of file daiAggr.h.

◆ length()

unsigned long OdDAI::AggrBase::length ( ) const

Returns amoung of aggregate elements.

Member Data Documentation

◆ m_pInst

AggrInstance* OdDAI::AggrBase::m_pInst
protected

Definition at line 151 of file daiAggr.h.


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