CStrTokenPosAdapter< TPosContainer > Class Template Reference
[String Manipulations]

Search Toolkit Book for CStrTokenPosAdapter

#include <ncbistr_util.hpp>

Collaboration diagram for CStrTokenPosAdapter< TPosContainer >:

Collaboration graph
[legend]
List of all members.

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 260 of file ncbistr_util.hpp.

Public Member Functions

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

Private Attributes

TPosContainer * m_TokenPos


Constructor & Destructor Documentation

template<class TPosContainer>
CStrTokenPosAdapter< TPosContainer >::CStrTokenPosAdapter TPosContainer *  token_pos  )  [inline]
 

If token_pos construction parameter is NULL all calls are ignored.

Definition at line 264 of file ncbistr_util.hpp.


The documentation for this class was generated from the following file:
Generated on Mon Dec 7 14:48:17 2009 for NCBI C++ ToolKit by  doxygen 1.4.6
Modified on Mon Dec 07 16:24:11 2009 by modify_doxy.py rev. 173732