FirteX-高性能全文索引和检索平台

API Documentation


首页 | 名字空间列表 | 类继承关系 | 组合类型列表 | $(BL\录(B | 文件列表 | 名字空间成员 | 组合类型成员 | 文件成员

firtex::utility::CFXString_base< CharT >模板类参考

#include <FXString.h>

所有成员的列表。

公有类型

typedef CharT char_type

公有成员

 CFXString_base (void)
 CFXString_base (const char_type *str)
 CFXString_base (char_type *str, bool bNoCopy)
 CFXString_base (const char_type *str, size_t len)
 CFXString_base (char_type *str, size_t len, bool bNoCopy)
 CFXString_base (const _str< char_type > &str)
 CFXString_base (const _str< char_type > &str, bool bNoCopy)
 CFXString_base (const basic_string< char_type > &str)
 CFXString_base (const CFXString_base &src)
 ~CFXString_base (void)
CFXString_baseoperator= (const _str< char_type > &str)
CFXString_baseoperator= (const char_type *str)
CFXString_baseoperator= (const CFXString_base< char_type > &str)
CFXString_baseoperator= (const basic_string< char_type > &str)
 operator char_type * ()
 operator _str ()
 operator basic_string ()
bool operator== (const char_type *str) const
bool operator== (const basic_string< char_type > &str) const
bool operator== (const CFXString_base< char_type > &right) const
bool operator!= (const char_type *str) const
bool operator!= (const basic_string< char_type > &str) const
bool operator!= (const CFXString_base< char_type > &right) const
const char_typec_str () const
char_typedata ()
size_t length () const
size_t maxLength () const
void reserve (size_t len)
void resize (size_t len)
void assign (char_type *data, size_t len, bool bNoCopy)
void assign (const char_type *str)
void assign (const char_type *str, size_t len)
void assign (const _str< char_type > &str)
void append (char_type *str, size_t len)
int compare (const CFXString_base< char_type > &right) const
int compare (const char_type *str) const
int compare (const basic_string< char_type > &str) const
int compare (const _str< char_type > &str) const
void clear ()

保护成员

void init ()

template<typename CharT>
class firtex::utility::CFXString_base< CharT >


成员类型定义文档

template<typename CharT>
typedef CharT firtex::utility::CFXString_base< CharT >::char_type
 


构造及析构函数文档

template<class CharT>
firtex::utility::CFXString_base< CharT >::CFXString_base void   )  [inline]
 

template<typename CharT>
firtex::utility::CFXString_base< CharT >::CFXString_base const char_type str  ) 
 

template<typename CharT>
firtex::utility::CFXString_base< CharT >::CFXString_base char_type str,
bool  bNoCopy
 

template<typename CharT>
firtex::utility::CFXString_base< CharT >::CFXString_base const char_type str,
size_t  len
 

template<typename CharT>
firtex::utility::CFXString_base< CharT >::CFXString_base char_type str,
size_t  len,
bool  bNoCopy
 

template<typename CharT>
firtex::utility::CFXString_base< CharT >::CFXString_base const _str< char_type > &  str  ) 
 

template<typename CharT>
firtex::utility::CFXString_base< CharT >::CFXString_base const _str< char_type > &  str,
bool  bNoCopy
 

template<typename CharT>
firtex::utility::CFXString_base< CharT >::CFXString_base const basic_string< char_type > &  str  ) 
 

template<class CharT>
firtex::utility::CFXString_base< CharT >::CFXString_base const CFXString_base< CharT > &  src  )  [inline]
 

template<class CharT>
firtex::utility::CFXString_base< CharT >::~CFXString_base void   )  [inline]
 


成员函数文档

template<typename CharT>
void firtex::utility::CFXString_base< CharT >::append char_type str,
size_t  len
 

template<typename CharT>
void firtex::utility::CFXString_base< CharT >::assign const _str< char_type > &  str  ) 
 

template<typename CharT>
void firtex::utility::CFXString_base< CharT >::assign const char_type str,
size_t  len
 

template<typename CharT>
void firtex::utility::CFXString_base< CharT >::assign const char_type str  ) 
 

template<typename CharT>
void firtex::utility::CFXString_base< CharT >::assign char_type data,
size_t  len,
bool  bNoCopy
 

assign string value.

参数:
data string value length of data no copy if true

template<class CharT>
const CharT * firtex::utility::CFXString_base< CharT >::c_str  )  const [inline]
 

return C-style string

template<class CharT>
void firtex::utility::CFXString_base< CharT >::clear  )  [inline]
 

template<typename CharT>
int firtex::utility::CFXString_base< CharT >::compare const _str< char_type > &  str  )  const
 

template<typename CharT>
int firtex::utility::CFXString_base< CharT >::compare const basic_string< char_type > &  str  )  const
 

template<typename CharT>
int firtex::utility::CFXString_base< CharT >::compare const char_type str  )  const
 

template<typename CharT>
int firtex::utility::CFXString_base< CharT >::compare const CFXString_base< char_type > &  right  )  const
 

template<class CharT>
CharT * firtex::utility::CFXString_base< CharT >::data  )  [inline]
 

return the internal buffer of string

template<class CharT>
void firtex::utility::CFXString_base< CharT >::init  )  [inline, protected]
 

template<class CharT>
size_t firtex::utility::CFXString_base< CharT >::length  )  const [inline]
 

get the length of string

template<typename CharT>
size_t firtex::utility::CFXString_base< CharT >::maxLength  )  const [inline]
 

get the max length of string

template<class CharT>
firtex::utility::CFXString_base< CharT >::operator _str< CharT >  )  [inline]
 

template<class CharT>
firtex::utility::CFXString_base< CharT >::operator basic_string< CharT >  )  [inline]
 

template<typename CharT>
firtex::utility::CFXString_base< CharT >::operator char_type *  ) 
 

template<typename CharT>
bool firtex::utility::CFXString_base< CharT >::operator!= const CFXString_base< char_type > &  right  )  const
 

template<typename CharT>
bool firtex::utility::CFXString_base< CharT >::operator!= const basic_string< char_type > &  str  )  const
 

template<typename CharT>
bool firtex::utility::CFXString_base< CharT >::operator!= const char_type str  )  const
 

template<typename CharT>
CFXString_base& firtex::utility::CFXString_base< CharT >::operator= const basic_string< char_type > &  str  ) 
 

template<typename CharT>
CFXString_base& firtex::utility::CFXString_base< CharT >::operator= const CFXString_base< char_type > &  str  ) 
 

template<typename CharT>
CFXString_base& firtex::utility::CFXString_base< CharT >::operator= const char_type str  ) 
 

template<typename CharT>
CFXString_base& firtex::utility::CFXString_base< CharT >::operator= const _str< char_type > &  str  ) 
 

template<typename CharT>
bool firtex::utility::CFXString_base< CharT >::operator== const CFXString_base< char_type > &  right  )  const
 

template<typename CharT>
bool firtex::utility::CFXString_base< CharT >::operator== const basic_string< char_type > &  str  )  const
 

template<typename CharT>
bool firtex::utility::CFXString_base< CharT >::operator== const char_type str  )  const
 

template<class CharT>
void firtex::utility::CFXString_base< CharT >::reserve size_t  len  ) 
 

reserve space for string

参数:
len the length of reserved space

template<class CharT>
void firtex::utility::CFXString_base< CharT >::resize size_t  len  ) 
 

resize string

参数:
len the new length of string


该类的文档由以下文件生成:

http://www.firtex.org http://www.sourceforge.net/projects/firtex