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/NodeCores/Drawables/Base/OSGDrawableStatsAttachmentBase.inl

    r1193 r1288  
    8686//! Get the value of the DrawableStatsAttachment::_sfVertices field. 
    8787inline 
    88 const UInt32 DrawableStatsAttachmentBase::getVertices(void) const 
     88      UInt32 DrawableStatsAttachmentBase::getVertices(void) const 
    8989{ 
    9090    return _sfVertices.getValue(); 
    9191} 
    9292 
    93 #ifdef OSG_1_GET_COMPAT 
    94 inline 
    95 UInt32              &DrawableStatsAttachmentBase::getVertices       (void) 
    96 { 
    97     return this->editVertices       (); 
    98 } 
    99 #endif 
    100  
    10193//! Set the value of the DrawableStatsAttachment::_sfVertices field. 
    10294inline 
    103 void DrawableStatsAttachmentBase::setVertices(const UInt32 &value) 
     95void DrawableStatsAttachmentBase::setVertices(const UInt32 value) 
    10496{ 
    10597    editSField(VerticesFieldMask); 
     
    119111//! Get the value of the DrawableStatsAttachment::_sfPoints field. 
    120112inline 
    121 const UInt32 DrawableStatsAttachmentBase::getPoints(void) const 
     113      UInt32 DrawableStatsAttachmentBase::getPoints(void) const 
    122114{ 
    123115    return _sfPoints.getValue(); 
    124116} 
    125117 
    126 #ifdef OSG_1_GET_COMPAT 
    127 inline 
    128 UInt32              &DrawableStatsAttachmentBase::getPoints         (void) 
    129 { 
    130     return this->editPoints         (); 
    131 } 
    132 #endif 
    133  
    134118//! Set the value of the DrawableStatsAttachment::_sfPoints field. 
    135119inline 
    136 void DrawableStatsAttachmentBase::setPoints(const UInt32 &value) 
     120void DrawableStatsAttachmentBase::setPoints(const UInt32 value) 
    137121{ 
    138122    editSField(PointsFieldMask); 
     
    152136//! Get the value of the DrawableStatsAttachment::_sfLines field. 
    153137inline 
    154 const UInt32 DrawableStatsAttachmentBase::getLines(void) const 
     138      UInt32 DrawableStatsAttachmentBase::getLines(void) const 
    155139{ 
    156140    return _sfLines.getValue(); 
    157141} 
    158142 
    159 #ifdef OSG_1_GET_COMPAT 
    160 inline 
    161 UInt32              &DrawableStatsAttachmentBase::getLines          (void) 
    162 { 
    163     return this->editLines          (); 
    164 } 
    165 #endif 
    166  
    167143//! Set the value of the DrawableStatsAttachment::_sfLines field. 
    168144inline 
    169 void DrawableStatsAttachmentBase::setLines(const UInt32 &value) 
     145void DrawableStatsAttachmentBase::setLines(const UInt32 value) 
    170146{ 
    171147    editSField(LinesFieldMask); 
     
    185161//! Get the value of the DrawableStatsAttachment::_sfTriangles field. 
    186162inline 
    187 const UInt32 DrawableStatsAttachmentBase::getTriangles(void) const 
     163      UInt32 DrawableStatsAttachmentBase::getTriangles(void) const 
    188164{ 
    189165    return _sfTriangles.getValue(); 
    190166} 
    191167 
    192 #ifdef OSG_1_GET_COMPAT 
    193 inline 
    194 UInt32              &DrawableStatsAttachmentBase::getTriangles      (void) 
    195 { 
    196     return this->editTriangles      (); 
    197 } 
    198 #endif 
    199  
    200168//! Set the value of the DrawableStatsAttachment::_sfTriangles field. 
    201169inline 
    202 void DrawableStatsAttachmentBase::setTriangles(const UInt32 &value) 
     170void DrawableStatsAttachmentBase::setTriangles(const UInt32 value) 
    203171{ 
    204172    editSField(TrianglesFieldMask); 
     
    218186//! Get the value of the DrawableStatsAttachment::_sfProcessedAttributeBytes field. 
    219187inline 
    220 const UInt32 DrawableStatsAttachmentBase::getProcessedAttributeBytes(void) const 
     188      UInt32 DrawableStatsAttachmentBase::getProcessedAttributeBytes(void) const 
    221189{ 
    222190    return _sfProcessedAttributeBytes.getValue(); 
    223191} 
    224192 
    225 #ifdef OSG_1_GET_COMPAT 
    226 inline 
    227 UInt32              &DrawableStatsAttachmentBase::getProcessedAttributeBytes(void) 
    228 { 
    229     return this->editProcessedAttributeBytes(); 
    230 } 
    231 #endif 
    232  
    233193//! Set the value of the DrawableStatsAttachment::_sfProcessedAttributeBytes field. 
    234194inline 
    235 void DrawableStatsAttachmentBase::setProcessedAttributeBytes(const UInt32 &value) 
     195void DrawableStatsAttachmentBase::setProcessedAttributeBytes(const UInt32 value) 
    236196{ 
    237197    editSField(ProcessedAttributeBytesFieldMask); 
     
    251211//! Get the value of the DrawableStatsAttachment::_sfStoredAttributeBytes field. 
    252212inline 
    253 const UInt32 DrawableStatsAttachmentBase::getStoredAttributeBytes(void) const 
     213      UInt32 DrawableStatsAttachmentBase::getStoredAttributeBytes(void) const 
    254214{ 
    255215    return _sfStoredAttributeBytes.getValue(); 
    256216} 
    257217 
    258 #ifdef OSG_1_GET_COMPAT 
    259 inline 
    260 UInt32              &DrawableStatsAttachmentBase::getStoredAttributeBytes(void) 
    261 { 
    262     return this->editStoredAttributeBytes(); 
    263 } 
    264 #endif 
    265  
    266218//! Set the value of the DrawableStatsAttachment::_sfStoredAttributeBytes field. 
    267219inline 
    268 void DrawableStatsAttachmentBase::setStoredAttributeBytes(const UInt32 &value) 
     220void DrawableStatsAttachmentBase::setStoredAttributeBytes(const UInt32 value) 
    269221{ 
    270222    editSField(StoredAttributeBytesFieldMask); 
     
    284236//! Get the value of the DrawableStatsAttachment::_sfValid field. 
    285237inline 
    286 const bool DrawableStatsAttachmentBase::getValid(void) const 
     238      bool DrawableStatsAttachmentBase::getValid(void) const 
    287239{ 
    288240    return _sfValid.getValue(); 
    289241} 
    290242 
    291 #ifdef OSG_1_GET_COMPAT 
    292 inline 
    293 bool                &DrawableStatsAttachmentBase::getValid          (void) 
    294 { 
    295     return this->editValid          (); 
    296 } 
    297 #endif 
    298  
    299243//! Set the value of the DrawableStatsAttachment::_sfValid field. 
    300244inline 
    301 void DrawableStatsAttachmentBase::setValid(const bool &value) 
     245void DrawableStatsAttachmentBase::setValid(const bool value) 
    302246{ 
    303247    editSField(ValidFieldMask);