blocxx
Classes | Namespaces | Defines | Typedefs | Functions | Variables

String.cpp File Reference

#include "blocxx/BLOCXX_config.h"
#include "blocxx/String.hpp"
#include "blocxx/Char16.hpp"
#include "blocxx/Array.hpp"
#include "blocxx/StringStream.hpp"
#include "blocxx/Format.hpp"
#include "blocxx/BinarySerialization.hpp"
#include "blocxx/Assertion.hpp"
#include "blocxx/AutoPtr.hpp"
#include "blocxx/Bool.hpp"
#include "blocxx/UTF8Utils.hpp"
#include "blocxx/ExceptionIds.hpp"
#include "blocxx/COWIntrusiveCountableBase.hpp"
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cctype>
#include <cstdarg>
#include <cerrno>
#include <iostream>
#include <cmath>
#include <cfloat>

Go to the source code of this file.

Classes

class  BLOCXX_NAMESPACE::String::ByteBuf

Namespaces

namespace  BLOCXX_NAMESPACE
 

Taken from RFC 1321.


Defines

#define SNPRINTF   snprintf
#define LLONG_MAX   2147483647LL
#define LLONG_MIN   (-LLONG_MAX - 1LL)
#define ULLONG_MAX   4294967295ULL

Typedefs

typedef unsigned long int(* BLOCXX_NAMESPACE::strtoulfp_t )(const char *, char **, int)
typedef long int(* BLOCXX_NAMESPACE::strtolfp_t )(const char *, char **, int)
typedef unsigned long long int(* BLOCXX_NAMESPACE::strtoullfp_t )(const char *, char **, int)
typedef long long int(* BLOCXX_NAMESPACE::strtollfp_t )(const char *, char **, int)

Functions

 BLOCXX_NAMESPACE::BLOCXX_DEFINE_EXCEPTION_WITH_ID (StringConversion)
static int BLOCXX_NAMESPACE::strncmpi (const char *s1, const char *s2, size_t n)
static void BLOCXX_NAMESPACE::throwStringConversion (const String::buf_t &m_buf, const char *type)
static void BLOCXX_NAMESPACE::throwStringConversion (const char *str, const char *type)
template<typename T , typename FP >
static T BLOCXX_NAMESPACE::convertToRealType (const String::buf_t &m_buf, const char *type, FP fp)
template<typename T , typename FP , typename FPRT >
static T BLOCXX_NAMESPACE::doConvertToIntType (const String::buf_t &m_buf, const char *type, FP fp, int base)
template<typename T >
static T BLOCXX_NAMESPACE::convertToUIntType (const String::buf_t &m_buf, const char *msg, int base)
template<typename T >
static T BLOCXX_NAMESPACE::convertToIntType (const String::buf_t &m_buf, const char *msg, int base)
template<typename T >
static T BLOCXX_NAMESPACE::convertToUInt64Type (const String::buf_t &m_buf, const char *msg, int base)
template<typename T >
static T BLOCXX_NAMESPACE::convertToInt64Type (const String::buf_t &m_buf, const char *msg, int base)
String BLOCXX_NAMESPACE::operator+ (const String &s1, const String &s2)
String BLOCXX_NAMESPACE::operator+ (const char *p, const String &s)
String BLOCXX_NAMESPACE::operator+ (const String &s, const char *p)
String BLOCXX_NAMESPACE::operator+ (char c, const String &s)
String BLOCXX_NAMESPACE::operator+ (const String &s, char c)
ostream & BLOCXX_NAMESPACE::operator<< (ostream &ostr, const String &arg)

Variables

static const char BLOCXX_NAMESPACE::cnullChar = '\0'
static char BLOCXX_NAMESPACE::nullChar = '\0'

Define Documentation

#define LLONG_MAX   2147483647LL

Definition at line 1213 of file String.cpp.

Referenced by BLOCXX_NAMESPACE::String::strtoll().

#define LLONG_MIN   (-LLONG_MAX - 1LL)

Definition at line 1215 of file String.cpp.

Referenced by BLOCXX_NAMESPACE::String::strtoll().

#define SNPRINTF   snprintf
Author:
Jon Carey
Dan Nuffer

Definition at line 71 of file String.cpp.

Referenced by BLOCXX_NAMESPACE::String::String().

#define ULLONG_MAX   4294967295ULL

Definition at line 1357 of file String.cpp.

Referenced by BLOCXX_NAMESPACE::String::strtoull().