Blender
V3.3
|
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) |
bool | setData (std::string tag, short *data) |
bool | setData (std::string tag, int *data) |
bool | setData (std::string tag, float *data) |
bool | setData (std::string tag, char *data) |
std::string | setData (std::string tag, std::string &data) |
bool | isProfile (std::string profile) |
Class for saving <extra> tags for a specific UniqueId.
Definition at line 15 of file ExtraTags.h.
ExtraTags::ExtraTags | ( | const std::string | profile | ) |
Constructor.
Definition at line 15 of file ExtraTags.cpp.
|
virtualdefault |
Destructor.
bool ExtraTags::addTag | ( | std::string | tag, |
std::string | data | ||
) |
Handle the beginning of an element.
Definition at line 28 of file ExtraTags.cpp.
References data.
Referenced by ExtraHandler::textData().
bool ExtraTags::isProfile | ( | std::string | profile | ) |
Return true if the extra tags is for specified profile.
Definition at line 23 of file ExtraTags.cpp.
Referenced by DocumentImporter::create_constraints(), DocumentImporter::writeCamera(), and DocumentImporter::writeLight().
bool ExtraTags::setData | ( | std::string | tag, |
char * | data | ||
) |
Set given char pointer to value of tag, if it exists.
Definition at line 95 of file ExtraTags.cpp.
References data.
Set given float pointer to value of tag, if it exists.
Definition at line 85 of file ExtraTags.cpp.
References data.
bool ExtraTags::setData | ( | std::string | tag, |
int * | data | ||
) |
Set given int pointer to value of tag, if it exists.
Definition at line 75 of file ExtraTags.cpp.
References data.
bool ExtraTags::setData | ( | std::string | tag, |
short * | data | ||
) |
Set given short pointer to value of tag, if it exists.
Definition at line 65 of file ExtraTags.cpp.
References data.
Referenced by DocumentImporter::create_constraints(), DocumentImporter::writeCamera(), and DocumentImporter::writeLight().
std::string ExtraTags::setData | ( | std::string | tag, |
std::string & | data | ||
) |
Definition at line 105 of file ExtraTags.cpp.
References data.