moab
moab::InsertCount Class Reference

#include <TagCompare.hpp>

List of all members.

Public Types

typedef int iterator

Public Member Functions

 InsertCount (size_t initial_count=0)
iterator begin () const
iterator end () const
iterator insert (iterator, EntityHandle first, EntityHandle last)
iterator insert (iterator, EntityHandle)

Private Attributes

size_t mCount

Detailed Description

Dummy container that counts insertions rather than maintaining a list of entities

Definition at line 495 of file TagCompare.hpp.


Member Typedef Documentation

Definition at line 502 of file TagCompare.hpp.


Constructor & Destructor Documentation

moab::InsertCount::InsertCount ( size_t  initial_count = 0) [inline]

Definition at line 500 of file TagCompare.hpp.

: mCount(initial_count) {}

Member Function Documentation

iterator moab::InsertCount::begin ( ) const [inline]

Definition at line 503 of file TagCompare.hpp.

{ return 0; }
iterator moab::InsertCount::end ( ) const [inline]

Definition at line 504 of file TagCompare.hpp.

{ return mCount; }

Definition at line 505 of file TagCompare.hpp.

    { mCount += last - first + 1; return end(); }

Definition at line 507 of file TagCompare.hpp.

    { ++mCount; return end(); }

Member Data Documentation

size_t moab::InsertCount::mCount [private]

Definition at line 497 of file TagCompare.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines