Blender V2.61 - r43446
Public Member Functions | Protected Member Functions

LibraryNodes Class Reference

#include <LibraryNodes.h>

Inheritance diagram for LibraryNodes:
Inheritance graph
[legend]

List of all members.

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 ()

Detailed Description

Class to simplify the creation of <library_nodes> and <node>'s

Definition at line 38 of file LibraryNodes.h.


Constructor & Destructor Documentation

LibraryNodes::LibraryNodes ( COLLADASW::StreamWriter *  streamWriter)

Constructor

Parameters:
streamWriterThe 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.


Member Function Documentation

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.

Parameters:
idthe id of the node

Definition at line 35 of file LibraryNodes.cpp.

Referenced by GroupExporter::exportScene().


The documentation for this class was generated from the following files: