00001 //*************************************************************************************** 00002 // 00003 // File supervisor: Crosswalk team 00004 // 00005 // Copyright 2008 Autodesk, Inc. All rights reserved. 00006 // Use of this software is subject to the terms of the Autodesk license agreement 00007 // provided at the time of installation or download, or which otherwise accompanies 00008 // this software in either electronic or hard copy form. 00009 // 00010 //*************************************************************************************** 00011 00012 #ifndef _XSIINDEXLIST_H 00013 #define _XSIINDEXLIST_H 00014 00015 #include "Template.h" 00016 00017 00022 class XSIEXPORT CSLXSIIndexList 00023 : public CSLTemplate 00024 { 00025 public: 00029 typedef CSLArrayProxy<SI_Int, SI_Int, 1> CSLIntArray; 00030 00038 CSLXSIIndexList(CSLScene *in_pScene, CSLModel *in_pModel, CdotXSITemplate *in_pTemplate); 00039 00042 virtual ~CSLXSIIndexList(); 00043 00047 SI_Int GetCount(); 00048 00052 CSLIntArray* GetIndexArray() { return &m_IndexArray; } 00053 00057 virtual ETemplateType Type() { return XSI_INDEX_LIST; } 00058 00062 virtual SI_Error Synchronize(); 00063 00064 private: 00065 CSLIntArray m_IndexArray; 00066 00067 void *m_pReserved; // reserved for future extension 00068 }; 00069 00070 #endif