|
Blender V4.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) |
| std::vector< std::string > | dataSplitString (const std::string &tag) |
| bool | isProfile (std::string profile) |
Class for saving <extra> tags for a specific UniqueId.
Definition at line 17 of file ExtraTags.h.
| ExtraTags::ExtraTags | ( | const std::string | profile | ) |
Constructor.
Definition at line 18 of file ExtraTags.cpp.
|
virtualdefault |
Destructor.
| bool ExtraTags::addTag | ( | std::string | tag, |
| std::string | data ) |
Handle the beginning of an element.
Definition at line 31 of file ExtraTags.cpp.
References data.
Referenced by ExtraHandler::textData().
| std::vector< std::string > ExtraTags::dataSplitString | ( | const std::string & | tag | ) |
Get a string from the data, and split it by newlines.
Definition at line 115 of file ExtraTags.cpp.
Referenced by bc_add_armature_collections().
| bool ExtraTags::isProfile | ( | std::string | profile | ) |
Return true if the extra tags is for specified profile.
Definition at line 26 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 98 of file ExtraTags.cpp.
| bool ExtraTags::setData | ( | std::string | tag, |
| float * | data ) |
Set given float pointer to value of tag, if it exists.
Definition at line 88 of file ExtraTags.cpp.
| bool ExtraTags::setData | ( | std::string | tag, |
| int * | data ) |
Set given int pointer to value of tag, if it exists.
Definition at line 78 of file ExtraTags.cpp.
| bool ExtraTags::setData | ( | std::string | tag, |
| short * | data ) |
Set given short pointer to value of tag, if it exists.
Definition at line 68 of file ExtraTags.cpp.
Referenced by bc_add_armature_collections(), DocumentImporter::create_constraints(), DocumentImporter::writeCamera(), and DocumentImporter::writeLight().
| std::string ExtraTags::setData | ( | std::string | tag, |
| std::string & | data ) |
Definition at line 108 of file ExtraTags.cpp.
References data.