xsi_gridwidget.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 __XSIGRIDWIDGET_H__
    00018 #define __XSIGRIDWIDGET_H__
    00019
    00020 #include <xsi_base.h>
    00021 #include <xsi_ppgitem.h>
    00022 #include <xsi_value.h>
    00023 namespace XSI {
    00024
    00025 struct CColor;
    00026
    00027 //*****************************************************************************
    00044 //*****************************************************************************
    00045
    00046 class SICPPSDKDECL GridWidget : public CBase
    00047 {
    00048 public:
    00050     GridWidget();
    00051
    00053     ~GridWidget();
    00054
    00058     GridWidget(const CRef& in_ref);
    00059
    00063     GridWidget(const GridWidget& in_obj);
    00064
    00069     bool IsA( siClassID in_ClassID) const;
    00070
    00074     siClassID GetClassID() const;
    00075
    00080     GridWidget& operator=(const GridWidget& in_obj);
    00081
    00087     GridWidget& operator=(const CRef& in_ref);
    00088
    00097     bool IsCellSelected( LONG in_Column, LONG in_Row) const;
    00098
    00103     bool IsRowSelected( LONG in_Row ) const ;
    00104
    00109     bool IsColumnSelected( LONG in_Column ) const ;
    00110
    00111
    00118     CStatus AddToSelection( LONG in_Column, LONG in_Row ) ;
    00119
    00124     CStatus ClearSelection() ;
    00125
    00132     CStatus SortColumn( LONG in_Column, bool in_bAscending);
    00133
    00139     CStatus GetSelection( CLongArray &out_rArraySelection ) const;
    00140
    00141     private:
    00142     GridWidget * operator&() const;
    00143     GridWidget * operator&();
    00144 };
    00145
    00146 };
    00147 #endif // __XSIGRIDWIDGET_H__