Overview   Project   Class   Tree   Deprecated   Index 
0 A.D.
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

collada
Class FColladaDocument

   in CommonConvert.h
   in CommonConvert.cpp

class FColladaDocument

Standard document loader. Based on FCDocument::LoadFromText, but allows access to nodes at the document level (i.e. directly in ).


Field Summary
private std::auto_ptr< FCDocument > document
          
private std::auto_ptr< FCDExtra > extra
          
 
Method Summary
 FCDocument* GetDocument() const
          Returns the FCDocument that was loaded.
 FCDExtra* GetExtra() const
          Returns the data from the element.
 void LoadFromText( const char* text )
          Loads the document from the given XML string.
private void ReadExtras( xmlNode* colladaNode )
          
 

Field Detail

document

private std::auto_ptr< FCDocument > document;

extra

private std::auto_ptr< FCDExtra > extra;


Method Detail

GetDocument

public FCDocument* GetDocument() const;
Returns the FCDocument that was loaded.

GetExtra

public FCDExtra* GetExtra() const;
Returns the data from the element.

LoadFromText

public void LoadFromText( const char* text );
Loads the document from the given XML string. Should be the first function called on this object, and should only be called once.
Throws:
ColladaException - if unable to load.

ReadExtras

private void ReadExtras( xmlNode* colladaNode );

 Overview   Project   Class   Tree   Deprecated   Index 
0 A.D.
Generated on September 04, 2007 at 18:13
CppDoc v2.4.0
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD