|
Blender
V2.59
|
Class for saving <extra> tags for a specific UniqueId. More...
#include <ExtraTags.h>
Public Member Functions | |
| ExtraTags (const std::string profile) | |
| virtual | ~ExtraTags () |
| bool | addTag (std::string tag, std::string data) |
| void | setData (std::string tag, short *data) |
| void | setData (std::string tag, int *data) |
| void | setData (std::string tag, float *data) |
| void | setData (std::string tag, char *data) |
| bool | isProfile (std::string profile) |
Class for saving <extra> tags for a specific UniqueId.
Definition at line 35 of file ExtraTags.h.
| ExtraTags::ExtraTags | ( | const std::string | profile | ) |
Constructor.
Definition at line 37 of file ExtraTags.cpp.
| ExtraTags::~ExtraTags | ( | ) | [virtual] |
Destructor.
Definition at line 43 of file ExtraTags.cpp.
| bool ExtraTags::addTag | ( | std::string | tag, |
| std::string | data | ||
| ) |
Handle the beginning of an element.
Definition at line 52 of file ExtraTags.cpp.
Referenced by ExtraHandler::textData().
| bool ExtraTags::isProfile | ( | std::string | profile | ) |
Return true if the extra tags is for specified profile.
Definition at line 47 of file ExtraTags.cpp.
Referenced by DocumentImporter::writeLight().
| void ExtraTags::setData | ( | std::string | tag, |
| short * | data | ||
| ) |
Set given short pointer to value of tag, if it exists.
Definition at line 90 of file ExtraTags.cpp.
Referenced by DocumentImporter::writeLight().
| void ExtraTags::setData | ( | std::string | tag, |
| int * | data | ||
| ) |
Set given int pointer to value of tag, if it exists.
Definition at line 98 of file ExtraTags.cpp.
| void ExtraTags::setData | ( | std::string | tag, |
| float * | data | ||
| ) |
Set given float pointer to value of tag, if it exists.
Definition at line 106 of file ExtraTags.cpp.
| void ExtraTags::setData | ( | std::string | tag, |
| char * | data | ||
| ) |
Set given char pointer to value of tag, if it exists.
Definition at line 114 of file ExtraTags.cpp.