0.45.0
![]() |
#include <iItemData.h>
Public Member Functions | |
iItemPtr | addItem (const iaString &id) |
void | removeItem (iItemPtr item) |
const std::vector< iItemPtr > | getItems () const |
void | clear () |
iItemPtr | getItem (const iItemPath &itemPath) |
bool | operator== (const iItemData &other) const |
bool | operator!= (const iItemData &other) const |
container for items
Caller needs to make sure all sibling items have unique names
adds item to this container
id | unique id of item (unique amongst siblings) |
void igor::iItemData::clear | ( | ) |
clear all data
itemPath | the given item path |
const std::vector< iItemPtr > igor::iItemData::getItems | ( | ) | const |
bool igor::iItemData::operator!= | ( | const iItemData & | other | ) | const |
compare two item data sets for inequality
other | the other data set |
bool igor::iItemData::operator== | ( | const iItemData & | other | ) | const |
compare two item data sets for equality
other | the other data set |
void igor::iItemData::removeItem | ( | iItemPtr | item | ) |
removes given item from this container
item | the item to remove |