FCDETechnique Class Reference
[COLLADA Document Object Model.]

A COLLADA extra tree technique. More...

#include <FCDExtra.h>

Inheritance diagram for FCDETechnique:

FCDENode FCDObject FUObject List of all members.

Public Member Functions

 FCDETechnique (FCDocument *document, const char *profile)
 Constructor: do not use directly.
virtual ~FCDETechnique ()
 Destructor: do not use directly.
const char * GetProfile () const
 Retrieves the name of the application-specific profile of the technique.
virtual FUStatus LoadFromXML (xmlNode *techniqueNode)
 [INTERNAL] Reads in the extra tree technique from a given COLLADA XML tree node.
virtual xmlNode * WriteToXML (xmlNode *parentNode) const
 [INTERNAL] Writes out the extra tree technique to the given COLLADA XML tree node.

Detailed Description

A COLLADA extra tree technique.

For convenience, this extra tree technique is based on top of the FCDENode class. An extra tree technique is the root of the extra tree specific to the profile of an application.


Constructor & Destructor Documentation

FCDETechnique::FCDETechnique FCDocument document,
const char *  profile
 

Constructor: do not use directly.

Instead, use the FCDExtra::AddTechnique function.

Parameters:
document The COLLADA document that owns the technique.
profile The application-specific profile name.

virtual FCDETechnique::~FCDETechnique  )  [virtual]
 

Destructor: do not use directly.

Instead, release a technique using the FCDExtra::ReleaseTechnique function.


Member Function Documentation

const char* FCDETechnique::GetProfile  )  const [inline]
 

Retrieves the name of the application-specific profile of the technique.

Returns:
The name of the application-specific profile.

virtual FUStatus FCDETechnique::LoadFromXML xmlNode *  techniqueNode  )  [virtual]
 

[INTERNAL] Reads in the extra tree technique from a given COLLADA XML tree node.

Parameters:
techniqueNode The COLLADA XML tree node.
Returns:
The status of the import. If the status is not successful, it may be dangerous to extract information from the extra tree technique.

Reimplemented from FCDENode.

virtual xmlNode* FCDETechnique::WriteToXML xmlNode *  parentNode  )  const [virtual]
 

[INTERNAL] Writes out the extra tree technique to the given COLLADA XML tree node.

Parameters:
parentNode The COLLADA XML parent node in which to insert the extra tree technique.
Returns:
The created element XML tree node.

Reimplemented from FCDENode.


The documentation for this class was generated from the following file:
Generated on Fri May 12 16:44:42 2006 for FCollada by  doxygen 1.4.6-NO