NCBI C++ ToolKit
Public Member Functions | Private Attributes | List of all members
CStrTokenPosAdapter< TPosContainer > Class Template Reference

Search Toolkit Book for CStrTokenPosAdapter

Adapter for token position container pointer(NULL legal) Makes pointer to a container look as a legal container. More...

#include <corelib/ncbistr_util.hpp>

Public Member Functions

 CStrTokenPosAdapter (TPosContainer *token_pos)
 If token_pos construction parameter is NULL all calls are ignored. More...
 
void push_back (string::size_type pos)
 
void reserve (string::size_type capacity)
 
string::size_type size ()
 
void resize (string::size_type newsize)
 

Private Attributes

TPosContainer * m_TokenPos
 

Detailed Description

template<class TPosContainer>
class CStrTokenPosAdapter< TPosContainer >

Adapter for token position container pointer(NULL legal) Makes pointer to a container look as a legal container.

Definition at line 372 of file ncbistr_util.hpp.


The documentation for this class was generated from the following file:
Modified on Fri Sep 20 14:57:59 2024 by modify_doxy.py rev. 669887