Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MeshImplTags::TagIterator Class Reference

Iterate over list of valid tag handles. More...

#include <MeshImplTags.hpp>

Collaboration diagram for MeshImplTags::TagIterator:

Public Member Functions

 TagIterator (MeshImplTags *d, size_t i)
 
size_t operator* () const
 
TagIterator operator++ ()
 
TagIterator operator-- ()
 
TagIterator operator++ (int)
 
TagIterator operator-- (int)
 
bool operator== (TagIterator other) const
 
bool operator!= (TagIterator other) const
 
 TagIterator (MeshImplTags *d, size_t i)
 
size_t operator* () const
 
TagIterator operator++ ()
 
TagIterator operator-- ()
 
TagIterator operator++ (int)
 
TagIterator operator-- (int)
 
bool operator== (TagIterator other) const
 
bool operator!= (TagIterator other) const
 

Private Attributes

MeshImplTagstags
 
size_t index
 

Detailed Description

Iterate over list of valid tag handles.

Definition at line 194 of file includeLinks/MeshImplTags.hpp.

Constructor & Destructor Documentation

TagIterator ( MeshImplTags d,
size_t  i 
)
inline

Definition at line 197 of file includeLinks/MeshImplTags.hpp.

TagIterator ( MeshImplTags d,
size_t  i 
)
inline

Definition at line 197 of file src/Mesh/MeshImplTags.hpp.

Member Function Documentation

bool operator!= ( TagIterator  other) const
inline

Definition at line 204 of file includeLinks/MeshImplTags.hpp.

References MeshImplTags::TagIterator::index.

204 { return index != other.index; }
bool operator!= ( TagIterator  other) const
inline

Definition at line 204 of file src/Mesh/MeshImplTags.hpp.

References MeshImplTags::TagIterator::index.

204 { return index != other.index; }
size_t operator* ( ) const
inline
size_t operator* ( ) const
inline
MeshImplTags::TagIterator operator++ ( )

Definition at line 380 of file Mesh/MeshImplTags.cpp.

References MeshImplTags::tagList.

381 {
382  ++index;
383  while (index < tags->tagList.size() || NULL == tags->tagList[index])
384  ++index;
385  return TagIterator( tags, index );
386 }
msq_std::vector< TagData * > tagList
TagIterator operator++ ( )
MeshImplTags::TagIterator operator++ ( int  )

Definition at line 396 of file Mesh/MeshImplTags.cpp.

References MeshImplTags::tagList.

397 {
398  size_t old = index;
399  ++index;
400  while (index < tags->tagList.size() || NULL == tags->tagList[index])
401  ++index;
402  return TagIterator( tags, old );
403 }
msq_std::vector< TagData * > tagList
TagIterator operator++ ( int  )
TagIterator operator-- ( )
MeshImplTags::TagIterator operator-- ( )

Definition at line 388 of file Mesh/MeshImplTags.cpp.

References MeshImplTags::tagList.

389 {
390  --index;
391  while (index < tags->tagList.size() || NULL == tags->tagList[index])
392  --index;
393  return TagIterator( tags, index );
394 }
msq_std::vector< TagData * > tagList
MeshImplTags::TagIterator operator-- ( int  )

Definition at line 405 of file Mesh/MeshImplTags.cpp.

References MeshImplTags::tagList.

406 {
407  size_t old = index;
408  --index;
409  while (index < tags->tagList.size() || NULL == tags->tagList[index])
410  --index;
411  return TagIterator( tags, old );
412 }
msq_std::vector< TagData * > tagList
TagIterator operator-- ( int  )
bool operator== ( TagIterator  other) const
inline

Definition at line 203 of file includeLinks/MeshImplTags.hpp.

References MeshImplTags::TagIterator::index.

203 { return index == other.index; }
bool operator== ( TagIterator  other) const
inline

Definition at line 203 of file src/Mesh/MeshImplTags.hpp.

References MeshImplTags::TagIterator::index.

203 { return index == other.index; }

Member Data Documentation

MeshImplTags * tags
private

Definition at line 206 of file includeLinks/MeshImplTags.hpp.


The documentation for this class was generated from the following files: