xsi_layout.h Source File
 
 
 
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 #ifdef _MSC_VER
00025 #pragma warning(disable:4251)
00026 #endif
00027 
00028 namespace XSI {
00029 
00030 class View;
00031 
00032 //*****************************************************************************
00058 //*****************************************************************************
00059 
00060 class SICPPSDKDECL Layout : public UIPersistable
00061 {
00062 public:
00064         Layout();
00065 
00067         ~Layout();
00068 
00072         Layout(const CRef& in_ref);
00073 
00077         Layout(const Layout& in_obj);
00078 
00083         bool IsA( siClassID in_ClassID) const;
00084 
00088         siClassID GetClassID() const;
00089 
00095         Layout& operator=(const Layout& in_obj);
00096 
00102         Layout& operator=(const CRef& in_ref);
00103 
00107         CRefArray GetViews() const;
00108 
00122         CStatus CreateView(const CString& in_strTypeName, const CString& in_strViewName, CRef& out_newView );
00123 
00140         CStatus CreateViewFromDefinitionFile( const CString& in_strFilePath, const CString& in_strViewName, CRef& io_newView );
00141 
00148         View FindView( const CString& in_strViewName );
00149 
00150         private:
00151         Layout * operator&() const;
00152         Layout * operator&();
00153 };
00154 
00155 };
00156 #endif // __XSILAYOUT_H__