CrossFramework Library

XG3D/ResMdlMatRefer.hpp

00001 /*
00002  * @file
00003  * @brief ResMdlMatRefer型を記述する。
00004  * @author akino
00005  */
00006 #if defined(XG3D_INCLUDED_RESMDLMATREFER_HPP)
00007 #else
00008 #define XG3D_INCLUDED_RESMDLMATREFER_HPP
00009 
00010 //------------------------------------------------------------
00011 #include <XBase/Pointer.hpp>
00012 #include <XG3D/BuiltInTypes.hpp>
00013 
00014 //------------------------------------------------------------
00015 namespace XG3D {
00016     class ResMdlMatReferImpl;
00017 }
00018 
00019 //------------------------------------------------------------
00020 namespace XG3D {
00022 
00023 
00028     class ResMdlMatRefer
00029     {
00030     public:
00032 
00033 
00034         ResMdlMatRefer();
00035 
00037         ResMdlMatRefer( const ResMdlMatReferImpl& aImpl );
00039         
00041 
00042         bool isValid()const; 
00043         bool equals( const ResMdlMatRefer& aRHS )const; 
00044         bool operator==( const ResMdlMatRefer& aRHS )const; 
00045 
00046 
00048 
00049         uint        index()const;   
00050         const char* name()const;    
00051 
00052 
00053     private:
00054         ::XBase::Pointer< const ResMdlMatReferImpl > mPtr;
00055         //------------------------------------------------------------
00056         bool checkInvalid()const;
00057     };
00059 }
00060 //------------------------------------------------------------
00061 #endif
00062 // EOF
 全て クラス ネームスペース ファイル 関数 変数 型定義 列挙型 列挙型の値 マクロ定義