xsi_layout.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 __XSILAYOUT_H__
00018 #define __XSILAYOUT_H__
00019 
00020 #include <xsi_uipersistable.h>
00021 #include <xsi_value.h>
00022 #include <xsi_status.h>
00023 
00024 #pragma warning(disable:4251)
00025 
00026 namespace XSI {
00027 
00028 class View;
00029 
00030 //*****************************************************************************
00056 //*****************************************************************************
00057 
00058 class SICPPSDKDECL Layout : public UIPersistable
00059 {
00060 public:
00062     Layout();
00063 
00065     ~Layout();
00066 
00070     Layout(const CRef& in_ref);
00071 
00075     Layout(const Layout& in_obj);
00076 
00081     bool IsA( siClassID in_ClassID) const;
00082 
00086     siClassID GetClassID() const;
00087 
00093     Layout& operator=(const Layout& in_obj);
00094 
00100     Layout& operator=(const CRef& in_ref);
00101 
00105     CRefArray GetViews() const;
00106 
00120     CStatus CreateView(const CString& in_strTypeName,
00121         const CString& in_strViewName, CRef& out_newView );
00122 
00139     CStatus CreateViewFromDefinitionFile( const CString& in_strFilePath,
00140         const CString& in_strViewName, CRef& io_newView );
00141 
00142 
00143     private:
00144     Layout * operator&() const;
00145     Layout * operator&();
00146 };
00147 
00148 };
00149 #endif // __XSILAYOUT_H__