CTempXStr< _TChar > Class Template Reference
[String Manipulations]

Search Toolkit Book for CTempXStr

#include <ncbi_xstr.hpp>

Collaboration diagram for CTempXStr< _TChar >:

Collaboration graph
[legend]
List of all members.

Detailed Description

template<typename _TChar>
class CTempXStr< _TChar >

Definition at line 62 of file ncbi_xstr.hpp.

Public Member Functions

 CTempXStr (void)
 CTempXStr (const CTempXStr &lw)
 CTempXStr (const _TChar *str)
 CTempXStr (const _TChar *str, size_t length)
 CTempXStr (const _TChar *str, size_t pos, size_t length)
 CTempXStr (const basic_string< _TChar > &str)
 CTempXStr (const basic_string< _TChar > &str, size_t length)
 CTempXStr (const basic_string< _TChar > &str, size_t pos, size_t length)
 operator basic_string (void) const
const _TChar * data (void) const
size_t length (void) const
bool empty (void) const
_TChar operator[] (size_t pos) const
int CompareCase (const CTempXStr< _TChar > &pattern) const
int CompareNocase (const CTempXStr< _TChar > &pattern) const

Private Member Functions

size_t x_length (void) const

Static Private Member Functions

static size_t x_npos (void)

Private Attributes

const _TChar * m_Data
size_t m_Length


Constructor & Destructor Documentation

template<typename _TChar>
CTempXStr< _TChar >::CTempXStr void   )  [inline]
 

Definition at line 65 of file ncbi_xstr.hpp.

template<typename _TChar>
CTempXStr< _TChar >::CTempXStr const CTempXStr< _TChar > &  lw  )  [inline]
 

Definition at line 69 of file ncbi_xstr.hpp.

template<typename _TChar>
CTempXStr< _TChar >::CTempXStr const _TChar *  str  )  [inline]
 

Definition at line 75 of file ncbi_xstr.hpp.

template<typename _TChar>
CTempXStr< _TChar >::CTempXStr const _TChar *  str,
size_t  length
[inline]
 

Definition at line 79 of file ncbi_xstr.hpp.

template<typename _TChar>
CTempXStr< _TChar >::CTempXStr const _TChar *  str,
size_t  pos,
size_t  length
[inline]
 

Definition at line 83 of file ncbi_xstr.hpp.

References CTempXStr< _TChar >::m_Data, CTempXStr< _TChar >::m_Length, and CTempXStr< _TChar >::x_npos().

template<typename _TChar>
CTempXStr< _TChar >::CTempXStr const basic_string< _TChar > &  str  )  [inline]
 

Definition at line 95 of file ncbi_xstr.hpp.

template<typename _TChar>
CTempXStr< _TChar >::CTempXStr const basic_string< _TChar > &  str,
size_t  length
[inline]
 

Definition at line 99 of file ncbi_xstr.hpp.

template<typename _TChar>
CTempXStr< _TChar >::CTempXStr const basic_string< _TChar > &  str,
size_t  pos,
size_t  length
[inline]
 

Definition at line 103 of file ncbi_xstr.hpp.

References CTempXStr< _TChar >::m_Data, CTempXStr< _TChar >::m_Length, and CTempXStr< _TChar >::x_npos().


Member Function Documentation

template<typename _TChar>
int CTempXStr< _TChar >::CompareCase const CTempXStr< _TChar > &  pattern  )  const [inline]
 

Definition at line 149 of file ncbi_xstr.hpp.

References CTempXStr< _TChar >::length().

template<typename _TChar>
int CTempXStr< _TChar >::CompareNocase const CTempXStr< _TChar > &  pattern  )  const [inline]
 

Definition at line 168 of file ncbi_xstr.hpp.

References CTempXStr< _TChar >::length(), and locale.

template<typename _TChar>
const _TChar* CTempXStr< _TChar >::data void   )  const [inline]
 

Definition at line 128 of file ncbi_xstr.hpp.

template<typename _TChar>
bool CTempXStr< _TChar >::empty void   )  const [inline]
 

Definition at line 136 of file ncbi_xstr.hpp.

template<typename _TChar>
size_t CTempXStr< _TChar >::length void   )  const [inline]
 

Definition at line 132 of file ncbi_xstr.hpp.

References NPOS.

Referenced by CTempXStr< _TChar >::CompareCase(), and CTempXStr< _TChar >::CompareNocase().

template<typename _TChar>
CTempXStr< _TChar >::operator basic_string void   )  const [inline]
 

Definition at line 121 of file ncbi_xstr.hpp.

template<typename _TChar>
_TChar CTempXStr< _TChar >::operator[] size_t  pos  )  const [inline]
 

Definition at line 140 of file ncbi_xstr.hpp.

template<typename _TChar>
size_t CTempXStr< _TChar >::x_length void   )  const [inline, private]
 

Definition at line 208 of file ncbi_xstr.hpp.

template<typename _TChar>
static size_t CTempXStr< _TChar >::x_npos void   )  [inline, static, private]
 

Definition at line 204 of file ncbi_xstr.hpp.

References NPOS.

Referenced by CTempXStr< _TChar >::CTempXStr().


Member Data Documentation

template<typename _TChar>
const _TChar* CTempXStr< _TChar >::m_Data [private]
 

Definition at line 216 of file ncbi_xstr.hpp.

Referenced by CTempXStr< _TChar >::CTempXStr().

template<typename _TChar>
size_t CTempXStr< _TChar >::m_Length [mutable, private]
 

Definition at line 217 of file ncbi_xstr.hpp.

Referenced by CTempXStr< _TChar >::CTempXStr().


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