|
Blender
V2.93
|
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 29 of file ExtraTags.h.
| ExtraTags::ExtraTags | ( | const std::string | profile | ) |
Constructor.
Definition at line 29 of file ExtraTags.cpp.
|
virtualdefault |
Destructor.
| bool ExtraTags::addTag | ( | std::string | tag, |
| std::string | data | ||
| ) |
Handle the beginning of an element.
Definition at line 42 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 37 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 109 of file ExtraTags.cpp.
References data.
| bool ExtraTags::setData | ( | std::string | tag, |
| float * | data | ||
| ) |
Set given float pointer to value of tag, if it exists.
Definition at line 99 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 89 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 79 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 119 of file ExtraTags.cpp.
References data.