IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ipsdk::BaseDataItemNodeColl Class Reference

Base class used to store data item nodes collection. More...

#include <BaseDataItemNodeColl.h>

Inheritance diagram for ipsdk::BaseDataItemNodeColl:
ipsdk::BaseDataItem ipsdk::BaseSerializationObject ipsdk::BaseDynamicObject ipsdk::DataItemNodeColl< TNodeType >

Public Types

typedef std::vector< DataItemNodePtrBaseCollType
 collection of nodes shared pointers
 

Public Member Functions

eDataItemType getDataItemType () const
 retrieve data item type
 
bool isEmpty () const
 check whether collection is empty
 
ipUInt32 getSize () const
 retrieve collection size
 
const BaseCollTypegetBaseColl () const
 retrieve base collection
 
void clear ()
 remove all items from collection
 
Constructors and destructors
 BaseDataItemNodeColl ()
 
 ~BaseDataItemNodeColl ()
 
- Public Member Functions inherited from ipsdk::BaseDataItem
 BaseDataItem ()
 
virtual ~BaseDataItem ()=0
 
- Public Member Functions inherited from ipsdk::BaseSerializationObject
 BaseSerializationObject ()
 Default constructor.
 
virtual ~BaseSerializationObject ()=0
 destructor
 
- Public Member Functions inherited from ipsdk::BaseDynamicObject
virtual const std::string & getClassName () const
 method allowing to retrieve object class name
 
virtual BaseDynamicObjectcreateNew () const =0
 method allowing to create new instance of current object type
 
virtual DynamicObjectPtr createShared () const =0
 method allowing to create new shared instance of current object type
 
virtual bool hasCopySupport () const =0
 check whether objet has copy support
 
virtual BaseDynamicObjectduplicate () const =0
 method allowing to duplicate current object More...
 
virtual DynamicObjectPtr duplicateShared () const =0
 method allowing shared duplication of current object More...
 
 BaseDynamicObject ()
 
virtual ~BaseDynamicObject ()=0
 

Static Public Attributes

static const bool g_bIsColl = true
 flags indicating item type
 
static const bool g_bNode = true
 flags indicating item type
 
static const bool g_bLeaf = false
 flags indicating item type
 
static const eDataItemType::domain g_itemType = eDataItemType::eDIT_NodeColl
 flags indicating item type
 

Protected Member Functions

void push_back (const DataItemNodePtr &pItemNode)
 push back a new element into collection More...
 
const BaseDataItemNodegetNodeBase (const ipUInt32 nodeIdx) const
 retrieve node associated to given index More...
 
BaseDataItemNodegetNodeBase (const ipUInt32 nodeIdx)
 retrieve node associated to given index More...
 
- Protected Member Functions inherited from ipsdk::BaseSerializationObject
virtual BoolResult write (BaseOArchive &ar) const
 method allowing to ensure serialization write part for object
 
virtual BoolResult read (BaseIArchive &ar)
 method allowing to ensure serialization read part for object
 
- Protected Member Functions inherited from ipsdk::BaseDynamicObject
virtual void initCtorCopy (const BaseDynamicObject &object)
 
virtual void copy (const BaseDynamicObject &object)
 method allowing to copy data from another object
 

Protected Attributes

BaseCollType _coll
 collection of nodes associated to object
 

Additional Inherited Members

- Static Public Member Functions inherited from ipsdk::BaseSerializationObject
static ipUInt32 getVersion ()
 method allowing to retrieve class version information for serialization
 
- Static Public Member Functions inherited from ipsdk::BaseDynamicObject
static const std::string & getTypeName ()
 method allowing to retrieve name associated to class
 

Detailed Description

Base class used to store data item nodes collection.

Author
E. Noirfalise
Date
2014/03/10

Member Function Documentation

◆ getNodeBase() [1/2]

const BaseDataItemNode& ipsdk::BaseDataItemNodeColl::getNodeBase ( const ipUInt32  nodeIdx) const
protected

retrieve node associated to given index

Exceptions
ipsdk::IPSDKBaseDataExceptionif nodeIdx >= getSize()

◆ getNodeBase() [2/2]

BaseDataItemNode& ipsdk::BaseDataItemNodeColl::getNodeBase ( const ipUInt32  nodeIdx)
protected

retrieve node associated to given index

Exceptions
ipsdk::IPSDKBaseDataExceptionif nodeIdx >= getSize()

◆ push_back()

void ipsdk::BaseDataItemNodeColl::push_back ( const DataItemNodePtr pItemNode)
protected

push back a new element into collection

Exceptions
ipsdk::IPSDKBaseDataExceptionif pItem->get() == 0

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