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

Search Toolkit Book for CConstResizingIterator

#include <util/resize_iter.hpp>

+ Collaboration diagram for CConstResizingIterator< TSeq, TOut >:

Public Types

typedef input_iterator_tag iterator_category
typedef TOut value_type
typedef size_t difference_type

Public Member Functions

 CConstResizingIterator (const TSeq &s, size_t new_size)
 CConstResizingIterator (const TRawIterator &it, const TRawIterator &end, size_t new_size)
CConstResizingIterator< TSeq, TOut > & operator++ ()
CConstResizingIterator< TSeq, TOut > operator++ (int)
TOut operator* ()
bool AtEnd () const

Private Types

typedef TSeq::const_iterator TRawIterator
typedef TSeq::value_type TRawValue

Private Attributes

TRawIterator m_RawIterator
TRawIterator m_End
size_t m_NewSize
size_t m_BitOffset
TOut m_Value
bool m_ValueKnown

Detailed Description

template<class TSeq, class TOut = int>
class CConstResizingIterator< TSeq, TOut >

Definition at line 54 of file resize_iter.hpp.

The documentation for this class was generated from the following file:
Modified on Mon Apr 22 04:06:14 2024 by rev. 669887