HDK
|
#include <GSTY_BundleMap.h>
Public Member Functions | |
GSTY_BundleMap () | |
virtual | ~GSTY_BundleMap () |
void | add (const UT_StringHolder &bundle_name, const char *const *names, int num_names) |
Adds an array of names to the supplied bundle name. More... | |
virtual void | add (OP_Node *node) |
void | remove (const UT_StringHolder &bundle) |
Removes a bundle from the map. More... | |
bool | hasName (const UT_StringRef &bundle_name, const UT_StringRef &name) const |
Checks if the specified bundle contains the specified name. More... | |
Protected Attributes | |
UT_StringMap< UT_StringSet > | myBundles |
Definition at line 20 of file GSTY_BundleMap.h.
GSTY_BundleMap::GSTY_BundleMap | ( | ) |
|
virtual |
void GSTY_BundleMap::add | ( | const UT_StringHolder & | bundle_name, |
const char *const * | names, | ||
int | num_names | ||
) |
Adds an array of names to the supplied bundle name.
This function is not implemented at this level. If you want to make use of real OP_Bundles, use the SOP_BundleMap subclass instead of a GSTY_BundleMap.
Reimplemented in SOP_BundleMap.
bool GSTY_BundleMap::hasName | ( | const UT_StringRef & | bundle_name, |
const UT_StringRef & | name | ||
) | const |
Checks if the specified bundle contains the specified name.
void GSTY_BundleMap::remove | ( | const UT_StringHolder & | bundle | ) |
Removes a bundle from the map.
|
protected |
Definition at line 43 of file GSTY_BundleMap.h.