CSLCOLLADALibrary Class Reference

#include <COLLADAScene.h>

Inheritance diagram for CSLCOLLADALibrary:

CCOLLADATemplate CdotXSITemplate CSIBCNode List of all members.

Public Member Functions

  CSLCOLLADALibrary (CCOLLADATemplate *in_pParent, const SI_Char *in_szName)
virtual  ~CSLCOLLADALibrary ()
CdotXSITemplate GetSceneTemplate (CSLCOLLADAScene *in_pScene)
SI_Char *  GenerateID ()

Detailed Description

This class is a specialization of the CCOLLADATemplate class and stores a specific collection of data.

Each library has a unique ID and is associated with one of the following classifications:

To retrieve a specific library, use the GetLibrary::GetLibrary function with one of these classifications. For example,
 CSLCOLLADALibrary* l_pMatLib = GetLibrary("materials"); 
or
 CSLCOLLADALibrary* l_pEffectLibrary = GetLibrary("effects"); 
etc.


Constructor & Destructor Documentation

CSLCOLLADALibrary ( CCOLLADATemplate in_pParent,
const SI_Char *  in_szName  
)

Constructor

Parameters:
[in]  in_pParent  Containing template
[in]  in_szName  Name for the new template

virtual ~CSLCOLLADALibrary (  )  [virtual]

Destructor


Member Function Documentation

CdotXSITemplate* GetSceneTemplate ( CSLCOLLADAScene in_pScene  ) 

Returns the template for the specified scene.

Note:
This function is valid for library_visual_scenes only.
Parameters:
[in]  in_pScene  Scene to get the template for
Returns:
Scene template

SI_Char* GenerateID (  ) 

Creates and returns an ID for the specified template.

Returns:
Template ID


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