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

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

#include <Array.h>

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

Classes

struct  ItemRef
 

Public Types

using Iterator = ArrayIterator< ArrayUpdaterTemplate, ItemRef >
 

Public Member Functions

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

Detailed Description

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

Used by code generator for integral-typed arrays.

Template Parameters
UpdaterType
ClassTypeContained class with type information
ItemTypeUpdater item type for returning
ItemSetTypeUpdater item type for set methods
ItemCastTypeIntegral type for setting item

Member Typedef Documentation

◆ Iterator

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

Member Function Documentation

◆ addItem()

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

◆ begin()

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

◆ end()

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

◆ insertItem()

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

◆ operator[]()

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

◆ setItem()

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

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