xsi_view.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 __XSIVIEW_H__
00018 #define __XSIVIEW_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 //*****************************************************************************
00084 //*****************************************************************************
00085 
00086 class SICPPSDKDECL View : public UIPersistable
00087 {
00088 public:
00090     View();
00091 
00093     ~View();
00094 
00098     View(const CRef& in_ref);
00099 
00103     View(const View& in_obj);
00104 
00109     bool IsA( siClassID in_ClassID) const;
00110 
00114     siClassID GetClassID() const;
00115 
00121     View& operator=(const View& in_obj);
00122 
00128     View& operator=(const CRef& in_ref);
00129 
00134     CRefArray GetViews() const;
00135 
00141     View FindView( const CString& in_strViewName );
00142 
00146     siViewState GetState() const;
00147 
00153     CStatus PutState( siViewState in_lState );
00154 
00158     bool GetVisible() const;
00159 
00165     CStatus PutVisible( bool in_bFlag );
00166 
00171     bool GetFloating() const;
00172 
00177     CValue GetAttributeValue( const CString& in_strParamName ) const;
00178 
00185     CStatus PutAttributeValue( const CString& in_strParamName,
00186         const CValue& in_value );
00187 
00194     CStatus BeginEdit();
00195 
00202     CStatus EndEdit();
00203 
00210     CStatus Move( LONG in_x, LONG in_y );
00211 
00218     CStatus Resize( LONG in_w, LONG in_h );
00219 
00229     CStatus GetRectangle( LONG& out_lLeft, LONG& out_lTop, LONG& out_lRight, LONG& out_lBottom ) const;
00230 
00238     CStatus Refresh( );
00239 
00248     CStatus Rearrange( );
00249 
00254     CRefArray GetMemoCameras( ) const;
00255 
00256     private:
00257     View * operator&() const;
00258     View * operator&();
00259 };
00260 
00261 };
00262 #endif // __XSIVIEW_H__