NCBI C++ ToolKit
Public Types | Public Member Functions | Private Types | Private Attributes | List of all members
CResizingIterator< TSeq, TVal > Class Template Reference

Search Toolkit Book for CResizingIterator

#include <util/resize_iter.hpp>

+ Collaboration diagram for CResizingIterator< TSeq, TVal >:

Public Types

typedef forward_iterator_tag iterator_category
typedef TVal value_type
typedef size_t difference_type

Public Member Functions

 CResizingIterator (TSeq &s, size_t new_size)
 CResizingIterator (const TRawIterator &start, const TRawIterator &end, size_t new_size)
CResizingIterator< TSeq, TVal > & operator++ ()
CResizingIterator< TSeq, TVal > operator++ (int)
CResizingIterator< TSeq, TVal > operator* ()
void operator= (TVal value)
 operator TVal ()
bool AtEnd () const

Private Types

typedef TSeq::iterator TRawIterator
typedef TSeq::value_type TRawValue

Private Attributes

TRawIterator m_RawIterator
TRawIterator m_End
size_t m_NewSize
size_t m_BitOffset

Detailed Description

template<class TSeq, class TVal = int>
class CResizingIterator< TSeq, TVal >

Definition at line 102 of file resize_iter.hpp.

The documentation for this class was generated from the following file:
Modified on Thu Sep 28 03:38:48 2023 by rev. 669887