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

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

#include <Array.h>

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

Public Member Functions

void setItem (unsigned index, const ItemType &value)
 
void addItem (const ItemType &value)
 
void insertItem (unsigned index, const ItemType &value)
 
- Public Member Functions inherited from ConfigDB::ArrayUpdaterTemplate< UpdaterType, ClassType, ItemType >
void setItem (unsigned index, ItemType value)
 
void addItem (ItemType value)
 
void insertItem (unsigned index, ItemType value)
 
ItemRef operator[] (unsigned index)
 
Iterator begin ()
 
Iterator end ()
 

Additional Inherited Members

- Public Types inherited from ConfigDB::ArrayUpdaterTemplate< UpdaterType, ClassType, ItemType >
using Iterator = ArrayIterator< ArrayUpdaterTemplate, ItemRef >
 

Detailed Description

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

Used by code generator for String-typed arrays.

Template Parameters
UpdaterType
ClassTypeContained class with type information
ItemTypealways String, but could support string-like objects if we want

Member Function Documentation

◆ addItem()

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

◆ insertItem()

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

◆ setItem()

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

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