dotXSIParams.h

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 //***************************************************************************************
00013 // Defines
00014 //***************************************************************************************
00015 #ifndef __DOTXSIPARAMS_H
00016 #define __DOTXSIPARAMS_H
00017 
00018 //***************************************************************************************
00019 // Includes
00020 //***************************************************************************************
00021 #include "dotXSIParam.h"
00022 #include "SIBCArray.h"
00023 #include "SIBCString.h"
00024 
00025 
00028 class XSIEXPORT CdotXSIParams  
00029 {
00030 public:
00031 
00034     CdotXSIParams();
00035 
00038     virtual ~CdotXSIParams();
00039 
00043     SI_Int GetCount();
00044 
00050     SI_Void Add( CdotXSIParam *i_Param, SI_Int i_nPosition );
00051 
00057     SI_Void Item( SI_Int i_nPosition, CdotXSIParam **o_Param );
00058 
00063     CdotXSIParam *Item( SI_Int i_nPosition );
00064 
00069     SI_Void Remove( SI_Int i_nPosition );
00070 
00074     SI_Void Clear();
00075 
00081     SI_Bool Find( CSIBCString *i_sParamName, CdotXSIParam **o_pParam );
00082 
00087     CdotXSIParam* Find( const SI_Char* in_szParamName );
00088 
00089 private:
00090     SI_Int                          m_nCount;
00091     CSIBCArray< CdotXSIParam * >    m_Params;
00092 };
00093 
00094 //***************************************************************************************
00095 // Global Functions
00096 //***************************************************************************************
00097 
00105 XSIEXPORT CdotXSIParams* CreatedotXSIParams();
00106 
00107 /* @} */
00108 
00109 #endif // __DOTXSIPARAMS_H