xsi_materiallibrary.h
Go to the documentation of this file.
00001 //*****************************************************************************
00011 //*****************************************************************************
00012 
00013 #if (_MSC_VER > 1000) || defined(SGI_COMPILER)
00014 #pragma once
00015 #endif
00016 
00017 #ifndef __XSI_MATERIALLIBRARY_H__
00018 #define __XSI_MATERIALLIBRARY_H__
00019 
00020 #include <xsi_library.h>
00021 
00022 namespace XSI {
00023 
00024 //*****************************************************************************
00063 //*****************************************************************************
00064 class SICPPSDKDECL MaterialLibrary : public Library
00065 {
00066 public:
00068     MaterialLibrary();
00069 
00071     ~MaterialLibrary();
00072 
00076     MaterialLibrary(const CRef& in_ref);
00077 
00081     MaterialLibrary(const MaterialLibrary& in_obj);
00082 
00088     bool IsA( siClassID in_ClassID) const;
00089 
00093     siClassID GetClassID() const;
00094 
00099     MaterialLibrary& operator=(const MaterialLibrary& in_obj);
00100 
00106     MaterialLibrary& operator=(const CRef& in_ref);
00107 
00172     CRef CreateMaterial(
00173         const CString& in_strPreset=CString(),
00174         const CString& in_strName=CString() );
00175 
00176     private:
00177     MaterialLibrary * operator&() const;
00178     MaterialLibrary * operator&();
00179 };
00180 
00181 };
00182 
00183 #endif // __XSI_MATERIALLIBRARY_H__