include/corelib/ncbistr.hpp File Reference


Detailed Description

The NCBI C++ standard methods for dealing with std::string.

Definition in file ncbistr.hpp.

#include <corelib/tempstr.hpp>
#include <time.h>
#include <stdarg.h>
#include <vector>

Include dependency graph for ncbistr.hpp:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CNcbiEmptyString
 Empty "C++" string. More...
class  NStr
 NStr --. More...
class  CStringUTF8
class  CParseTemplException< TBase >
 CParseTemplException --. More...
class  CStringException
 CStringException --. More...
class  IStringDecoder
 Decoder interface. Names and values can be decoded with different rules. More...
class  CStringPairsParser
class  CStringDecoder_Url
 URL-decoder for string pairs parser. More...
struct  PCase_Generic< T >
 Define Case-sensitive string comparison methods. More...
struct  PNocase_Generic< T >
 Define Case-insensitive string comparison methods. More...
class  PNocase_Conditional_Generic< T >
 Define Case-insensitive string comparison methods. More...
struct  PQuickStringLess
 PQuickStringLess implements an ordering of strings, that is more efficient than usual lexicographical order. More...

Defines

#define NcbiEmptyCStr   NCBI_NS_NCBI::kEmptyCStr
#define NcbiEmptyString   NCBI_NS_NCBI::CNcbiEmptyString::Get()
#define kEmptyStr   NcbiEmptyString

Typedefs

typedef NCBI_NS_STD::string::size_type SIZE_TYPE
 Define size type.
typedef Uint4 TUnicodeSymbol
typedef PCase_Generic< string > PCase
typedef PCase_Generic< const
char * > 
PCase_CStr
typedef PNocase_Generic< string > PNocase
typedef PNocase_Generic< const
char * > 
PNocase_CStr
typedef PNocase_Conditional_Generic<
string > 
PNocase_Conditional
typedef PNocase_Conditional_Generic<
const char * > 
PNocase_Conditional_CStr

Enumerations

enum  EEncoding {
  eEncoding_Unknown, eEncoding_UTF8, eEncoding_Ascii, eEncoding_ISO8859_1,
  eEncoding_Windows_1252
}
 CStringUTF8 --. More...

Functions

template<class Arg1, class Arg2, class Pred>
bool AStrEquiv (const Arg1 &x, const Arg2 &y, Pred pr)
 Check equivalence of arguments using predicate.

Variables

const char *const kEmptyCStr
 Empty "C" string (points to a '').
static const SIZE_TYPE NPOS = NCBI_NS_STD::string::npos
 Define NPOS constant as the special value "std::string::npos" which is returned when a substring search fails, or to indicate an unspecified string position.


Generated on Sun Sep 7 06:53:10 2008 for NCBI C++ ToolKit by  doxygen 1.4.6
Modified on Sun Sep 07 17:26:09 2008 by modify_doxy.py rev. 117643