xsi_ppgitem.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 __XSIPPGITEM_H__
00018 #define __XSIPPGITEM_H__
00019 
00020 #include <xsi_base.h>
00021 #include <xsi_value.h>
00022 
00023 namespace XSI {
00024 
00025 //*****************************************************************************
00122 //*****************************************************************************
00123 
00124 class SICPPSDKDECL PPGItem : public CBase
00125 {
00126 public:
00128     PPGItem();
00129 
00131     ~PPGItem();
00132 
00136     PPGItem(const CRef& in_ref);
00137 
00141     PPGItem(const PPGItem& in_obj);
00142 
00147     bool IsA( siClassID in_ClassID) const;
00148 
00152     siClassID GetClassID() const;
00153 
00158     PPGItem& operator=(const PPGItem& in_obj);
00159 
00165     PPGItem& operator=(const CRef& in_ref);
00166 
00173     CString GetName() const ;
00174 
00180     CStatus PutName( const CString& in_Name ) ;
00181 
00186     CString GetLabel() const ;
00187 
00206     CStatus PutLabel( const CString& in_Label ) ;
00207 
00212     CString GetType() const ;
00213 
00221     CStatus PutType( const CString& in_Type ) ;
00222 
00230     CValueArray GetUIItems() const ;
00231 
00241     CStatus PutUIItems( const CValueArray & in_items ) ;
00242 
00247     LONG GetWidthPercentage() const ;
00248 
00256     CStatus PutWidthPercentage(LONG in_percent) ;
00257 
00263     LONG GetLabelPercentage() const ;
00264 
00278     CStatus PutLabelPercentage(LONG in_percent) ;
00279 
00285     LONG GetLabelMinPixels() const ;
00286 
00297     CStatus PutLabelMinPixels(LONG in_pixels) ;
00298 
00318     CStatus PutAttribute ( const CString& in_UIAttribute,
00319                            const CValue& in_AttributeValue );
00320 
00395     CValue GetAttribute ( const CString& in_UIAttribute ) const;
00396 
00397     private:
00398     PPGItem * operator&() const;
00399     PPGItem * operator&();
00400 };
00401 
00402 };
00403 #endif // __XSIPPGITEM_H__