|
Blender V4.5
|
Handler class for <extra> data, through which different profiles can be handled. More...
#include <ExtraHandler.h>
Inherits COLLADASaxFWL::IExtraDataCallbackHandler.
Public Member Functions | |
| ExtraHandler (DocumentImporter *dimp, AnimationImporter *aimp) | |
| bool | elementBegin (const char *elementName, const char **attributes) override |
| bool | elementEnd (const char *elementName) override |
| bool | textData (const char *text, size_t textLength) override |
| bool | parseElement (const char *profileName, const unsigned long &elementHash, const COLLADAFW::UniqueId &uniqueId, COLLADAFW::Object *object) override |
| bool | parseElement (const char *profileName, const unsigned long &elementHash, const COLLADAFW::UniqueId &uniqueId) |
Handler class for <extra> data, through which different profiles can be handled.
Definition at line 22 of file ExtraHandler.h.
| ExtraHandler::ExtraHandler | ( | DocumentImporter * | dimp, |
| AnimationImporter * | aimp ) |
|
override |
Handle the beginning of an element.
Definition at line 23 of file ExtraHandler.cpp.
|
override |
Handle the end of an element.
Definition at line 31 of file ExtraHandler.cpp.
| bool ExtraHandler::parseElement | ( | const char * | profileName, |
| const unsigned long & | elementHash, | ||
| const COLLADAFW::UniqueId & | uniqueId ) |
For backwards compatibility with older OpenCollada, new version added object parameter
Definition at line 49 of file ExtraHandler.cpp.
References parseElement(), and uniqueId.
|
override |
Method to ask, if the current callback handler want to read the data of the given extra element.
Definition at line 57 of file ExtraHandler.cpp.
References BLI_strcaseeq(), printf, and uniqueId.
Referenced by parseElement().
|
override |
Receive the data in text format.
Definition at line 36 of file ExtraHandler.cpp.
References BLI_strncpy().