Blender V2.61 - r43446
|
#include <LibraryNodes.h>
Public Member Functions | |
LibraryNodes (COLLADASW::StreamWriter *streamWriter) | |
virtual | ~LibraryNodes () |
Protected Member Functions | |
void | openNode (const COLLADABU::String &nodeId=COLLADABU::Utils::EMPTY_STRING, const COLLADABU::String &nodeName=COLLADABU::Utils::EMPTY_STRING) |
void | closeNode () |
Class to simplify the creation of <library_nodes> and <node>'s
Definition at line 38 of file LibraryNodes.h.
LibraryNodes::LibraryNodes | ( | COLLADASW::StreamWriter * | streamWriter | ) |
Constructor
streamWriter | The stream the <library_nodes> and <node>'s should be written to. |
Definition at line 31 of file LibraryNodes.cpp.
virtual LibraryNodes::~LibraryNodes | ( | ) | [inline, virtual] |
Destructor
Definition at line 49 of file LibraryNodes.h.
void LibraryNodes::closeNode | ( | ) | [protected] |
Closes the tag opened by openNode()
Definition at line 52 of file LibraryNodes.cpp.
Referenced by GroupExporter::exportScene().
void LibraryNodes::openNode | ( | const COLLADABU::String & | nodeId = COLLADABU::Utils::EMPTY_STRING , |
const COLLADABU::String & | nodeName = COLLADABU::Utils::EMPTY_STRING |
||
) | [protected] |
Writes the opening <node> tag and, if necessary the opening <library_nodes> tag. closeNode() must be use to close the opened tags.
id | the id of the node |
Definition at line 35 of file LibraryNodes.cpp.
Referenced by GroupExporter::exportScene().