#include <MacroSpaceManager.hpp>
Public Member Functions | |
MacroTable () | |
void | clear () |
MacroItem * | locate (const char *name) |
MacroItem * | remove (const char *name) |
void | reorder (MacroItem *current, MacroItem *previous) |
void | removeMacro (MacroItem *current, MacroItem *previous) |
size_t | macroCount () |
bool | iterating () |
void | startIteration () |
bool | hasMore () |
MacroItem * | getNext () |
void | add (MacroItem *macro) |
bool | isEmpty () |
Protected Attributes | |
MacroItem * | macros |
MacroItem * | iterator |
Definition at line 66 of file MacroSpaceManager.hpp.
|
inline |
Definition at line 70 of file MacroSpaceManager.hpp.
|
inline |
Definition at line 133 of file MacroSpaceManager.hpp.
References iterator, macros, and MacroItem::next.
Referenced by ServerMacroSpaceManager::addMacro().
void MacroTable::clear | ( | ) |
Clear the macro table.
Definition at line 78 of file MacroSpaceManager.cpp.
References iterator, macros, and MacroItem::next.
Referenced by ServerMacroSpaceManager::clear().
|
inline |
Definition at line 121 of file MacroSpaceManager.hpp.
References iterator, and MacroItem::next.
Referenced by ServerMacroSpaceManager::nextDescriptor(), and ServerMacroSpaceManager::nextImage().
|
inline |
Definition at line 120 of file MacroSpaceManager.hpp.
References iterator.
|
inline |
Definition at line 140 of file MacroSpaceManager.hpp.
References macros.
Referenced by ServerMacroSpaceManager::isStoppable().
|
inline |
Definition at line 118 of file MacroSpaceManager.hpp.
References iterator.
MacroItem * MacroTable::locate | ( | const char * | name | ) |
locate a named macro item.
name | The required macro item. |
Definition at line 99 of file MacroSpaceManager.cpp.
References macros, MacroItem::name, MacroItem::next, reorder(), and Utilities::strCaselessCompare().
Referenced by ServerMacroSpaceManager::addMacro(), ServerMacroSpaceManager::deleteMacro(), ServerMacroSpaceManager::getDescriptor(), ServerMacroSpaceManager::getImage(), ServerMacroSpaceManager::queryMacro(), and ServerMacroSpaceManager::reorderMacro().
|
inline |
Definition at line 106 of file MacroSpaceManager.hpp.
References macros, and MacroItem::next.
Referenced by ServerMacroSpaceManager::iterateMacros().
MacroItem * MacroTable::remove | ( | const char * | name | ) |
locate and remove a named macro space
name | The name of the target macro. |
Definition at line 126 of file MacroSpaceManager.cpp.
References iterator, macros, MacroItem::name, MacroItem::next, removeMacro(), and Utilities::strCaselessCompare().
Referenced by ServerMacroSpaceManager::deleteMacro().
Definition at line 93 of file MacroSpaceManager.hpp.
References macros, and MacroItem::next.
Referenced by remove().
Definition at line 82 of file MacroSpaceManager.hpp.
References macros, and MacroItem::next.
Referenced by locate().
|
inline |
Definition at line 119 of file MacroSpaceManager.hpp.
References iterator, and macros.
Referenced by ServerMacroSpaceManager::iterateMacros().
|
protected |
Definition at line 147 of file MacroSpaceManager.hpp.
Referenced by add(), clear(), getNext(), hasMore(), iterating(), MacroTable(), remove(), and startIteration().
|
protected |
Definition at line 146 of file MacroSpaceManager.hpp.
Referenced by add(), clear(), isEmpty(), locate(), macroCount(), MacroTable(), remove(), removeMacro(), reorder(), and startIteration().