Show
Ignore:
Timestamp:
06/09/08 01:10:45 (3 months ago)
Author:
vossg
Message:

Base rebuild

changed: removed osg1 compat field interfaces (handled by 1.x)
fixed : pass pod by value and non-pod by reference

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Source/System/Cluster/Window/MultiDisplay/OSGMultiDisplayWindowBase.inl

    r1193 r1288  
    8686//! Get the value of the MultiDisplayWindow::_sfHServers field. 
    8787inline 
    88 const UInt32 MultiDisplayWindowBase::getHServers(void) const 
     88      UInt32 MultiDisplayWindowBase::getHServers(void) const 
    8989{ 
    9090    return _sfHServers.getValue(); 
    9191} 
    9292 
    93 #ifdef OSG_1_GET_COMPAT 
    94 inline 
    95 UInt32              &MultiDisplayWindowBase::getHServers       (void) 
    96 { 
    97     return this->editHServers       (); 
    98 } 
    99 #endif 
    100  
    10193//! Set the value of the MultiDisplayWindow::_sfHServers field. 
    10294inline 
    103 void MultiDisplayWindowBase::setHServers(const UInt32 &value) 
     95void MultiDisplayWindowBase::setHServers(const UInt32 value) 
    10496{ 
    10597    editSField(HServersFieldMask); 
     
    119111//! Get the value of the MultiDisplayWindow::_sfVServers field. 
    120112inline 
    121 const UInt32 MultiDisplayWindowBase::getVServers(void) const 
     113      UInt32 MultiDisplayWindowBase::getVServers(void) const 
    122114{ 
    123115    return _sfVServers.getValue(); 
    124116} 
    125117 
    126 #ifdef OSG_1_GET_COMPAT 
    127 inline 
    128 UInt32              &MultiDisplayWindowBase::getVServers       (void) 
    129 { 
    130     return this->editVServers       (); 
    131 } 
    132 #endif 
    133  
    134118//! Set the value of the MultiDisplayWindow::_sfVServers field. 
    135119inline 
    136 void MultiDisplayWindowBase::setVServers(const UInt32 &value) 
     120void MultiDisplayWindowBase::setVServers(const UInt32 value) 
    137121{ 
    138122    editSField(VServersFieldMask); 
     
    152136//! Get the value of the MultiDisplayWindow::_sfManageClientViewports field. 
    153137inline 
    154 const bool MultiDisplayWindowBase::getManageClientViewports(void) const 
     138      bool MultiDisplayWindowBase::getManageClientViewports(void) const 
    155139{ 
    156140    return _sfManageClientViewports.getValue(); 
    157141} 
    158142 
    159 #ifdef OSG_1_GET_COMPAT 
    160 inline 
    161 bool                &MultiDisplayWindowBase::getManageClientViewports(void) 
    162 { 
    163     return this->editManageClientViewports(); 
    164 } 
    165 #endif 
    166  
    167143//! Set the value of the MultiDisplayWindow::_sfManageClientViewports field. 
    168144inline 
    169 void MultiDisplayWindowBase::setManageClientViewports(const bool &value) 
     145void MultiDisplayWindowBase::setManageClientViewports(const bool value) 
    170146{ 
    171147    editSField(ManageClientViewportsFieldMask); 
     
    185161//! Get the value of the MultiDisplayWindow::_sfXOverlap field. 
    186162inline 
    187 const Int32 MultiDisplayWindowBase::getXOverlap(void) const 
     163      Int32 MultiDisplayWindowBase::getXOverlap(void) const 
    188164{ 
    189165    return _sfXOverlap.getValue(); 
    190166} 
    191167 
    192 #ifdef OSG_1_GET_COMPAT 
    193 inline 
    194 Int32               &MultiDisplayWindowBase::getXOverlap       (void) 
    195 { 
    196     return this->editXOverlap       (); 
    197 } 
    198 #endif 
    199  
    200168//! Set the value of the MultiDisplayWindow::_sfXOverlap field. 
    201169inline 
    202 void MultiDisplayWindowBase::setXOverlap(const Int32 &value) 
     170void MultiDisplayWindowBase::setXOverlap(const Int32 value) 
    203171{ 
    204172    editSField(XOverlapFieldMask); 
     
    218186//! Get the value of the MultiDisplayWindow::_sfYOverlap field. 
    219187inline 
    220 const Int32 MultiDisplayWindowBase::getYOverlap(void) const 
     188      Int32 MultiDisplayWindowBase::getYOverlap(void) const 
    221189{ 
    222190    return _sfYOverlap.getValue(); 
    223191} 
    224192 
    225 #ifdef OSG_1_GET_COMPAT 
    226 inline 
    227 Int32               &MultiDisplayWindowBase::getYOverlap       (void) 
    228 { 
    229     return this->editYOverlap       (); 
    230 } 
    231 #endif 
    232  
    233193//! Set the value of the MultiDisplayWindow::_sfYOverlap field. 
    234194inline 
    235 void MultiDisplayWindowBase::setYOverlap(const Int32 &value) 
     195void MultiDisplayWindowBase::setYOverlap(const Int32 value) 
    236196{ 
    237197    editSField(YOverlapFieldMask);