#include <MacroSpaceManager.hpp>
Public Member Functions | |
MacroItem (const char *n, const char *, size_t l, size_t p) | |
void | update (const char *, size_t l, size_t p) |
~MacroItem () | |
Public Attributes | |
MacroItem * | next |
const char * | name |
const char * | imageBuffer |
size_t | imageSize |
size_t | searchPosition |
Definition at line 45 of file MacroSpaceManager.hpp.
MacroItem::MacroItem | ( | const char * | n, |
const char * | data, | ||
size_t | l, | ||
size_t | p | ||
) |
Create a macro item entry.
n | The name of the macro. |
data | The image data for the macro. |
l | The size of the image data. |
p | The search position. |
Definition at line 50 of file MacroSpaceManager.cpp.
References dupString(), imageBuffer, imageSize, name, next, and searchPosition.
|
inline |
Definition at line 51 of file MacroSpaceManager.hpp.
References imageBuffer, name, and ServiceMessage::releaseResultMemory().
void MacroItem::update | ( | const char * | data, |
size_t | l, | ||
size_t | p | ||
) |
Update the image data for a macro item.
data | The new image data. |
l | The length of the new data. |
p | The position data. |
Definition at line 66 of file MacroSpaceManager.cpp.
References imageBuffer, imageSize, ServiceMessage::releaseResultMemory(), and searchPosition.
Referenced by ServerMacroSpaceManager::addMacro().
const char* MacroItem::imageBuffer |
Definition at line 59 of file MacroSpaceManager.hpp.
Referenced by ServerMacroSpaceManager::getImage(), MacroItem(), ServerMacroSpaceManager::nextImage(), update(), and ~MacroItem().
size_t MacroItem::imageSize |
Definition at line 60 of file MacroSpaceManager.hpp.
Referenced by ServerMacroSpaceManager::getDescriptor(), ServerMacroSpaceManager::getImage(), MacroItem(), ServerMacroSpaceManager::nextDescriptor(), ServerMacroSpaceManager::nextImage(), and update().
const char* MacroItem::name |
Definition at line 58 of file MacroSpaceManager.hpp.
Referenced by MacroTable::locate(), MacroItem(), ServerMacroSpaceManager::nextDescriptor(), ServerMacroSpaceManager::nextImage(), MacroTable::remove(), and ~MacroItem().
MacroItem* MacroItem::next |
Definition at line 57 of file MacroSpaceManager.hpp.
Referenced by MacroTable::add(), MacroTable::clear(), MacroTable::getNext(), MacroTable::locate(), MacroTable::macroCount(), MacroItem(), MacroTable::remove(), MacroTable::removeMacro(), and MacroTable::reorder().
size_t MacroItem::searchPosition |
Definition at line 61 of file MacroSpaceManager.hpp.
Referenced by ServerMacroSpaceManager::getDescriptor(), ServerMacroSpaceManager::getImage(), MacroItem(), ServerMacroSpaceManager::nextDescriptor(), ServerMacroSpaceManager::nextImage(), ServerMacroSpaceManager::queryMacro(), ServerMacroSpaceManager::reorderMacro(), and update().