Changeset 965 for branches/Carsten_PtrWork/Source/System/Cluster/Window/SortLast/OSGSortLastWindowBase.h
- Timestamp:
- 10/04/07 19:11:34 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/Carsten_PtrWork/Source/System/Cluster/Window/SortLast/OSGSortLastWindowBase.h
r864 r965 91 91 92 92 /*========================== PUBLIC =================================*/ 93 94 93 public: 95 94 … … 112 111 113 112 /*---------------------------------------------------------------------*/ 114 /*! \name Class Get*/113 /*! \name Class Get */ 115 114 /*! \{ */ 116 115 … … 121 120 /*! \} */ 122 121 /*---------------------------------------------------------------------*/ 123 /*! \name FieldContainer Get*/122 /*! \name FieldContainer Get */ 124 123 /*! \{ */ 125 124 … … 131 130 /*! \} */ 132 131 /*---------------------------------------------------------------------*/ 133 /*! \name Field Get */ 134 /*! \{ */ 135 136 const MFNodePtr *getMFGroupNodes (void) const; 137 132 /*! \name Field MFGroupNodes */ 133 /*! \{ */ 134 135 MFNodePtr const *getMFGroupNodes(void) const; 136 MFNodePtr const &getGroupNodes (void) const; 137 NodePtrConst getGroupNodes(UInt32 const index) const; 138 139 void addGroupNodes(NodePtrConstArg value); 140 void assignGroupNodes(MFNodePtr const &value); 141 void insertGroupNodes( 142 UInt32 const uiIndex, 143 NodePtrConstArg value); 144 void replaceGroupNodes( 145 UInt32 const uiIndex, 146 NodePtrConstArg value); 147 void replaceGroupNodes( 148 NodePtrConstArg pOldElem, 149 NodePtrConstArg pNewElem); 150 void subGroupNodes(UInt32 const uiIndex); 151 void subGroupNodes(NodePtrConstArg value); 152 void clearGroupNodes(void); 153 154 /*! \} */ 155 /*---------------------------------------------------------------------*/ 156 /*! \name Field MFGroupLengths */ 157 /*! \{ */ 158 159 MFUInt32 *editMFGroupLengths(void); 160 MFUInt32 const *getMFGroupLengths (void) const; 138 161 #ifdef OSG_1_GET_COMPAT 139 MFUInt32 *getMFGroupLengths (void); 140 #endif 141 MFUInt32 *editMFGroupLengths (void); 142 const MFUInt32 *getMFGroupLengths (void) const; 143 162 MFUInt32 *getMFGroupLengths (void); 163 #endif 164 MFUInt32 &editGroupLengths(void); 165 MFUInt32 const &getGroupLengths (void) const; 166 UInt32 &editGroupLengths(UInt32 const index); 167 UInt32 const &getGroupLengths (UInt32 const index) const; 144 168 #ifdef OSG_1_GET_COMPAT 145 SFBool *getSFGroupsChanged (void); 146 #endif 147 SFBool *editSFGroupsChanged (void); 148 const SFBool *getSFGroupsChanged (void) const; 149 150 151 NodePtrConst getGroupNodes (const UInt32 index) const; 152 const MFNodePtr &getGroupNodes (void) const; 153 169 UInt32 &getGroupLengths (UInt32 const index); 170 MFUInt32 &getGroupLengths(void); 171 #endif 172 void addGroupLengths(UInt32 const &value); 173 void assignGroupLengths(MFUInt32 const &value); 174 void insertGroupLengths( 175 UInt32 const uiIndex, 176 UInt32 const &value); 177 void replaceGroupLengths( 178 UInt32 const uiIndex, 179 UInt32 const &value); 180 void replaceGroupLengths( 181 UInt32 const &pOldElem, 182 UInt32 const &pNewElem); 183 void subGroupLengths(UInt32 const uiIndex); 184 void subGroupLengths(UInt32 const &value); 185 void clearGroupLengths(void); 186 187 /*! \} */ 188 /*---------------------------------------------------------------------*/ 189 /*! \name Field SFGroupsChanged */ 190 /*! \{ */ 191 192 SFBool *editSFGroupsChanged(void); 193 SFBool const *getSFGroupsChanged (void) const; 154 194 #ifdef OSG_1_GET_COMPAT 155 UInt32 &getGroupLengths (const UInt32 index); 156 MFUInt32 &getGroupLengths (void); 157 #endif 158 UInt32 &editGroupLengths (const UInt32 index); 159 const UInt32 &getGroupLengths (const UInt32 index) const; 160 MFUInt32 &editGroupLengths (void); 161 const MFUInt32 &getGroupLengths (void) const; 162 195 SFBool *getSFGroupsChanged (void); 196 #endif 197 bool &editGroupsChanged(void); 198 bool const &getGroupsChanged (void) const; 163 199 #ifdef OSG_1_GET_COMPAT 164 bool &getGroupsChanged (void); 165 #endif 166 bool &editGroupsChanged (void); 167 const bool &getGroupsChanged (void) const; 168 169 /*! \} */ 170 /*---------------------------------------------------------------------*/ 171 /*! \name Field Set */ 172 /*! \{ */ 173 174 void setGroupsChanged (const bool &value); 175 176 /*! \} */ 177 /*---------------------------------------------------------------------*/ 178 /*! \name Ptr Field Set */ 179 /*! \{ */ 180 181 /*! \} */ 182 /*---------------------------------------------------------------------*/ 183 /*! \name Ptr MField Set */ 184 /*! \{ */ 185 186 void pushToGroupNodes (NodePtrConstArg value ); 187 void assignGroupNodes (const MFNodePtr &value); 188 void insertIntoGroupNodes (UInt32 uiIndex, 189 NodePtrConstArg value ); 190 void replaceInGroupNodes (UInt32 uiIndex, 191 NodePtrConstArg value ); 192 void replaceInGroupNodes (NodePtrConstArg pOldElem, 193 NodePtrConstArg pNewElem); 194 void removeFromGroupNodes (UInt32 uiIndex ); 195 void removeFromGroupNodes(NodePtrConstArg value ); 196 void clearGroupNodes (void ); 197 198 199 200 void pushToGroupLengths (const UInt32 &value ); 201 void insertIntoGroupLengths ( UInt32 uiIndex, 202 const UInt32 &value ); 203 void replaceInGroupLengths ( UInt32 uiIndex, 204 const UInt32 &value ); 205 void replaceInGroupLengths (const UInt32 &pOldElem, 206 const UInt32 &pNewElem); 207 void removeFromGroupLengths ( UInt32 uiIndex ); 208 void removeFromGroupLengths (const UInt32 &value ); 209 void clearGroupLengths ( void ); 210 211 212 /*! \} */ 213 /*---------------------------------------------------------------------*/ 214 /*! \name Binary Access */ 200 bool &getGroupsChanged (void); 201 #endif 202 void setGroupsChanged(bool const &value); 203 204 /*! \} */ 205 206 /*---------------------------------------------------------------------*/ 207 /*! \name Binary Access */ 215 208 /*! \{ */ 216 209 … … 221 214 ConstFieldMaskArg whichField); 222 215 223 224 /*! \} */ 225 /*---------------------------------------------------------------------*/ 226 /*! \name Construction */ 216 /*! \} */ 217 /*---------------------------------------------------------------------*/ 218 /*! \name Construction */ 227 219 /*! \{ */ 228 220 … … 232 224 /*! \} */ 233 225 /*---------------------------------------------------------------------*/ 234 /*! \name Copy*/226 /*! \name Copy */ 235 227 /*! \{ */ 236 228 … … 239 231 /*! \} */ 240 232 /*========================= PROTECTED ===============================*/ 241 242 233 protected: 243 234 … … 248 239 249 240 /*---------------------------------------------------------------------*/ 250 /*! \name Fields*/241 /*! \name Fields */ 251 242 /*! \{ */ 252 243 … … 257 248 /*! \} */ 258 249 /*---------------------------------------------------------------------*/ 259 /*! \name Constructors*/250 /*! \name Constructors */ 260 251 /*! \{ */ 261 252 … … 265 256 /*! \} */ 266 257 /*---------------------------------------------------------------------*/ 267 /*! \name Destructors*/258 /*! \name Destructors */ 268 259 /*! \{ */ 269 260 … … 272 263 /*! \} */ 273 264 /*---------------------------------------------------------------------*/ 274 /*! \name onCreate*/265 /*! \name onCreate */ 275 266 /*! \{ */ 276 267 … … 279 270 /*! \} */ 280 271 /*---------------------------------------------------------------------*/ 281 /*! \name Generic Field Access*/272 /*! \name Generic Field Access */ 282 273 /*! \{ */ 283 274 … … 291 282 /*! \} */ 292 283 /*---------------------------------------------------------------------*/ 293 /*! \name Sync*/284 /*! \name Sync */ 294 285 /*! \{ */ 295 286 … … 310 301 /*! \} */ 311 302 /*---------------------------------------------------------------------*/ 312 /*! \name Edit */ 313 /*! \{ */ 314 315 /*! \} */ 316 /*---------------------------------------------------------------------*/ 317 /*! \name Aspect Create */ 303 /*! \name Aspect Create */ 318 304 /*! \{ */ 319 305 … … 321 307 virtual FieldContainerPtr createAspectCopy(void) const; 322 308 #endif 323 324 /*! \} */ 325 /*---------------------------------------------------------------------*/ 326 /*! \name Edit */ 327 /*! \{ */ 328 /*! \} */ 329 /*---------------------------------------------------------------------*/ 330 /*! \name Sync */ 309 310 /*! \} */ 311 /*---------------------------------------------------------------------*/ 312 /*! \name Sync */ 331 313 /*! \{ */ 332 314 … … 335 317 /*! \} */ 336 318 /*========================== PRIVATE ================================*/ 337 338 319 private: 339 320 … … 345 326 346 327 /** Type specific RefPtr type for SortLastWindow. */ 347 typedef RefPtr<SortLastWindowPtr> SortLastWindowRefPtr; 328 typedef RefPtr<SortLastWindow> SortLastWindowRefPtr; 329 typedef MTRefPtr<SortLastWindow> SortLastWindowMTRefPtr; 330 331 typedef InternalRefPtr<SortLastWindow> SortLastWindowInternalRefPtr; 332 typedef InternalRefPtr<SortLastWindow> const SortLastWindowInternalRefPtrConst; 333 typedef InternalRefPtr<SortLastWindow> const SortLastWindowInternalRefPtrConstArg; 348 334 349 335 typedef boost::mpl::if_<
