ConfigDB::ArrayUpdaterTemplate< UpdaterType, ClassType, ItemType > Class Template Reference

Used by code generator for integral-typed arrays. More...

#include <Array.h>

Inheritance diagram for ConfigDB::ArrayUpdaterTemplate< UpdaterType, ClassType, ItemType >:
Collaboration diagram for ConfigDB::ArrayUpdaterTemplate< UpdaterType, ClassType, ItemType >:

Classes

struct  ItemRef
 

Public Types

using Iterator = ArrayIterator< ArrayUpdaterTemplate, ItemRef >
 

Public Member Functions

void setItem (unsigned index, ItemType value)
 
void addItem (ItemType value)
 
void insertItem (unsigned index, ItemType value)
 
ItemRef operator[] (unsigned index)
 
Iterator begin ()
 
Iterator end ()
 

Detailed Description

template<class UpdaterType, class ClassType, typename ItemType>
class ConfigDB::ArrayUpdaterTemplate< UpdaterType, ClassType, ItemType >

Used by code generator for integral-typed arrays.

Template Parameters
UpdaterType
ClassTypeContained class with type information
ItemTypeUpdater item type

Member Typedef Documentation

◆ Iterator

template<class UpdaterType , class ClassType , typename ItemType >
using ConfigDB::ArrayUpdaterTemplate< UpdaterType, ClassType, ItemType >::Iterator = ArrayIterator<ArrayUpdaterTemplate, ItemRef>

Member Function Documentation

◆ addItem()

template<class UpdaterType , class ClassType , typename ItemType >
void ConfigDB::ArrayUpdaterTemplate< UpdaterType, ClassType, ItemType >::addItem ( ItemType  value)
inline

◆ begin()

template<class UpdaterType , class ClassType , typename ItemType >
Iterator ConfigDB::ArrayUpdaterTemplate< UpdaterType, ClassType, ItemType >::begin ( )
inline

◆ end()

template<class UpdaterType , class ClassType , typename ItemType >
Iterator ConfigDB::ArrayUpdaterTemplate< UpdaterType, ClassType, ItemType >::end ( )
inline

◆ insertItem()

template<class UpdaterType , class ClassType , typename ItemType >
void ConfigDB::ArrayUpdaterTemplate< UpdaterType, ClassType, ItemType >::insertItem ( unsigned  index,
ItemType  value 
)
inline

◆ operator[]()

template<class UpdaterType , class ClassType , typename ItemType >
ItemRef ConfigDB::ArrayUpdaterTemplate< UpdaterType, ClassType, ItemType >::operator[] ( unsigned  index)
inline

◆ setItem()

template<class UpdaterType , class ClassType , typename ItemType >
void ConfigDB::ArrayUpdaterTemplate< UpdaterType, ClassType, ItemType >::setItem ( unsigned  index,
ItemType  value 
)
inline

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