Show
Ignore:
Timestamp:
10/04/07 19:11:34 (1 year ago)
Author:
cneumann
Message:

Work in progress commit.

NOTE: it does NOT compile at this point.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/Carsten_PtrWork/Source/System/Cluster/Window/SortLast/OSGBinarySwapComposerBase.h

    r864 r965  
    9191 
    9292    /*==========================  PUBLIC  =================================*/ 
    93  
    9493  public: 
    9594 
     
    112111 
    113112    /*---------------------------------------------------------------------*/ 
    114     /*! \name                    Class Get                                 */ 
     113    /*! \name Class Get                                                    */ 
    115114    /*! \{                                                                 */ 
    116115 
     
    121120    /*! \}                                                                 */ 
    122121    /*---------------------------------------------------------------------*/ 
    123     /*! \name                FieldContainer Get                            */ 
     122    /*! \name FieldContainer Get                                           */ 
    124123    /*! \{                                                                 */ 
    125124 
     
    131130    /*! \}                                                                 */ 
    132131    /*---------------------------------------------------------------------*/ 
    133     /*! \name                    Field Get                                 */ 
    134     /*! \{                                                                 */ 
    135  
    136  
    137 #ifdef OSG_1_GET_COMPAT 
    138                   SFBool              *getSFShort           (void); 
    139 #endif 
    140                   SFBool              *editSFShort          (void); 
    141             const SFBool              *getSFShort           (void) const; 
    142  
    143 #ifdef OSG_1_GET_COMPAT 
    144                   SFBool              *getSFAlpha           (void); 
    145 #endif 
    146                   SFBool              *editSFAlpha          (void); 
    147             const SFBool              *getSFAlpha           (void) const; 
    148  
    149 #ifdef OSG_1_GET_COMPAT 
    150                   SFUInt32            *getSFTileSize        (void); 
    151 #endif 
    152                   SFUInt32            *editSFTileSize       (void); 
    153             const SFUInt32            *getSFTileSize        (void) const; 
    154  
    155  
    156 #ifdef OSG_1_GET_COMPAT 
    157                   bool                &getShort           (void); 
    158 #endif 
    159                   bool                &editShort          (void); 
    160             const bool                &getShort           (void) const; 
    161  
    162 #ifdef OSG_1_GET_COMPAT 
    163                   bool                &getAlpha           (void); 
    164 #endif 
    165                   bool                &editAlpha          (void); 
    166             const bool                &getAlpha           (void) const; 
    167  
    168 #ifdef OSG_1_GET_COMPAT 
    169                   UInt32              &getTileSize        (void); 
    170 #endif 
    171                   UInt32              &editTileSize       (void); 
    172             const UInt32              &getTileSize        (void) const; 
    173  
    174     /*! \}                                                                 */ 
    175     /*---------------------------------------------------------------------*/ 
    176     /*! \name                    Field Set                                 */ 
    177     /*! \{                                                                 */ 
    178  
    179             void setShort          (const bool &value); 
    180             void setAlpha          (const bool &value); 
    181             void setTileSize       (const UInt32 &value); 
    182  
    183     /*! \}                                                                 */ 
    184     /*---------------------------------------------------------------------*/ 
    185     /*! \name                Ptr MField Set                                */ 
    186     /*! \{                                                                 */ 
    187  
    188     /*! \}                                                                 */ 
    189     /*---------------------------------------------------------------------*/ 
    190     /*! \name                   Binary Access                              */ 
     132    /*! \name Field SFShort                                                */ 
     133    /*! \{                                                                 */ 
     134     
     135            SFBool       *editSFShort(void); 
     136            SFBool const *getSFShort (void) const; 
     137#ifdef OSG_1_GET_COMPAT 
     138            SFBool       *getSFShort (void); 
     139#endif 
     140            bool       &editShort(void); 
     141            bool const &getShort (void) const; 
     142#ifdef OSG_1_GET_COMPAT 
     143            bool       &getShort (void); 
     144#endif 
     145            void setShort(bool const &value); 
     146     
     147    /*! \}                                                                 */ 
     148    /*---------------------------------------------------------------------*/ 
     149    /*! \name Field SFAlpha                                                */ 
     150    /*! \{                                                                 */ 
     151     
     152            SFBool       *editSFAlpha(void); 
     153            SFBool const *getSFAlpha (void) const; 
     154#ifdef OSG_1_GET_COMPAT 
     155            SFBool       *getSFAlpha (void); 
     156#endif 
     157            bool       &editAlpha(void); 
     158            bool const &getAlpha (void) const; 
     159#ifdef OSG_1_GET_COMPAT 
     160            bool       &getAlpha (void); 
     161#endif 
     162            void setAlpha(bool const &value); 
     163     
     164    /*! \}                                                                 */ 
     165    /*---------------------------------------------------------------------*/ 
     166    /*! \name Field SFTileSize                                             */ 
     167    /*! \{                                                                 */ 
     168     
     169            SFUInt32       *editSFTileSize(void); 
     170            SFUInt32 const *getSFTileSize (void) const; 
     171#ifdef OSG_1_GET_COMPAT 
     172            SFUInt32       *getSFTileSize (void); 
     173#endif 
     174            UInt32       &editTileSize(void); 
     175            UInt32 const &getTileSize (void) const; 
     176#ifdef OSG_1_GET_COMPAT 
     177            UInt32       &getTileSize (void); 
     178#endif 
     179            void setTileSize(UInt32 const &value); 
     180     
     181    /*! \}                                                                 */ 
     182     
     183    /*---------------------------------------------------------------------*/ 
     184    /*! \name Binary Access                                                */ 
    191185    /*! \{                                                                 */ 
    192186 
     
    197191                               ConstFieldMaskArg  whichField); 
    198192 
    199  
    200     /*! \}                                                                 */ 
    201     /*---------------------------------------------------------------------*/ 
    202     /*! \name                   Construction                               */ 
     193    /*! \}                                                                 */ 
     194    /*---------------------------------------------------------------------*/ 
     195    /*! \name Construction                                                 */ 
    203196    /*! \{                                                                 */ 
    204197 
     
    208201    /*! \}                                                                 */ 
    209202    /*---------------------------------------------------------------------*/ 
    210     /*! \name                       Copy                                   */ 
     203    /*! \name Copy                                                         */ 
    211204    /*! \{                                                                 */ 
    212205 
     
    215208    /*! \}                                                                 */ 
    216209    /*=========================  PROTECTED  ===============================*/ 
    217  
    218210  protected: 
    219211 
     
    224216 
    225217    /*---------------------------------------------------------------------*/ 
    226     /*! \name                      Fields                                  */ 
     218    /*! \name Fields                                                       */ 
    227219    /*! \{                                                                 */ 
    228220 
     
    233225    /*! \}                                                                 */ 
    234226    /*---------------------------------------------------------------------*/ 
    235     /*! \name                   Constructors                               */ 
     227    /*! \name Constructors                                                 */ 
    236228    /*! \{                                                                 */ 
    237229 
     
    241233    /*! \}                                                                 */ 
    242234    /*---------------------------------------------------------------------*/ 
    243     /*! \name                   Destructors                                */ 
     235    /*! \name Destructors                                                  */ 
    244236    /*! \{                                                                 */ 
    245237 
     
    248240    /*! \}                                                                 */ 
    249241    /*---------------------------------------------------------------------*/ 
    250     /*! \name                     onCreate                                */ 
    251     /*! \{                                                                 */ 
    252  
    253  
    254     /*! \}                                                                 */ 
    255     /*---------------------------------------------------------------------*/ 
    256     /*! \name                    Generic Field Access                      */ 
     242    /*! \name onCreate                                                     */ 
     243    /*! \{                                                                 */ 
     244 
     245 
     246    /*! \}                                                                 */ 
     247    /*---------------------------------------------------------------------*/ 
     248    /*! \name Generic Field Access                                         */ 
    257249    /*! \{                                                                 */ 
    258250 
     
    266258    /*! \}                                                                 */ 
    267259    /*---------------------------------------------------------------------*/ 
    268     /*! \name                       Sync                                   */ 
     260    /*! \name Sync                                                         */ 
    269261    /*! \{                                                                 */ 
    270262 
     
    285277    /*! \}                                                                 */ 
    286278    /*---------------------------------------------------------------------*/ 
    287     /*! \name                       Edit                                   */ 
    288     /*! \{                                                                 */ 
    289  
    290     /*! \}                                                                 */ 
    291     /*---------------------------------------------------------------------*/ 
    292     /*! \name                     Aspect Create                            */ 
     279    /*! \name Aspect Create                                                */ 
    293280    /*! \{                                                                 */ 
    294281 
     
    296283    virtual FieldContainerPtr createAspectCopy(void) const; 
    297284#endif 
    298  
    299     /*! \}                                                                 */ 
    300     /*---------------------------------------------------------------------*/ 
    301     /*! \name                       Edit                                   */ 
    302     /*! \{                                                                 */ 
    303     /*! \}                                                                 */ 
    304     /*---------------------------------------------------------------------*/ 
    305     /*! \name                       Sync                                   */ 
     285     
     286    /*! \}                                                                 */ 
     287    /*---------------------------------------------------------------------*/ 
     288    /*! \name Sync                                                         */ 
    306289    /*! \{                                                                 */ 
    307290 
     
    310293    /*! \}                                                                 */ 
    311294    /*==========================  PRIVATE  ================================*/ 
    312  
    313295  private: 
    314296 
     
    320302 
    321303/** Type specific RefPtr type for BinarySwapComposer. */ 
    322 typedef RefPtr<BinarySwapComposerPtr> BinarySwapComposerRefPtr; 
     304typedef RefPtr<BinarySwapComposer>   BinarySwapComposerRefPtr; 
     305typedef MTRefPtr<BinarySwapComposer> BinarySwapComposerMTRefPtr; 
     306 
     307typedef InternalRefPtr<BinarySwapComposer>       BinarySwapComposerInternalRefPtr; 
     308typedef InternalRefPtr<BinarySwapComposer> const BinarySwapComposerInternalRefPtrConst; 
     309typedef InternalRefPtr<BinarySwapComposer> const BinarySwapComposerInternalRefPtrConstArg; 
    323310 
    324311typedef boost::mpl::if_<