CrossFramework Library

XG3D/ResMatSet.hpp

00001 /*
00002  * @file
00003  * @brief ResMatSet型を記述する。
00004  * @author akino
00005  */
00006 #if defined(XG3D_INCLUDED_RESMATSET_HPP)
00007 #else
00008 #define XG3D_INCLUDED_RESMATSET_HPP
00009 
00010 //------------------------------------------------------------
00011 #include <XBase/Pointer.hpp>
00012 #include <XG3D/BuiltInTypes.hpp>
00013 #include <XG3D/ResMat.hpp>
00014 
00015 //------------------------------------------------------------
00016 namespace XG3D {
00017     class ResMatSetImpl;
00018 }
00019 
00020 //------------------------------------------------------------
00021 namespace XG3D {
00023 
00024 
00029     class ResMatSet
00030     {
00031     public:
00033 
00034 
00035         ResMatSet();
00036 
00038         ResMatSet( const ResMatSetImpl& aImpl );
00040         
00042 
00043         bool isValid()const; 
00044         bool equals( const ResMatSet& aRHS )const; 
00045         bool operator==( const ResMatSet& aRHS )const; 
00046 
00047 
00049 
00050         uint        index()const;   
00051         const char* name()const;     
00052         uint        matCount()const; 
00053         ResMat      mat( uint aIndex )const; 
00054         ResMat      mat( const char* aName )const; 
00055 
00056 
00057     private:
00058         ::XBase::Pointer< const ResMatSetImpl > mPtr;
00059         //------------------------------------------------------------
00060         bool checkInvalid()const;
00061     };
00063 }
00064 //------------------------------------------------------------
00065 #endif
00066 // EOF
 全て クラス ネームスペース ファイル 関数 変数 型定義 列挙型 列挙型の値 マクロ定義