Classes | |
class | TArray |
class | PTArray |
Type-specific array with bounds checking. More... | |
class | PTRcArray |
struct | compileAssertTrue< true > |
class | PTAutoPtr |
class | TBvBase |
class | PTBitVecMethods |
class | PTBitVec |
class | TBitVec |
class | TBitVec64 |
class | TDeltaDouble |
class | PTDelta |
class | TException |
class | TNullPointerException |
Null pointer exception class. More... | |
class | TDynamicCastException |
Invalid object cast. More... | |
class | PTFixedPtBase |
class | TFixedPt32 |
class | TFixedPt64 |
class | TIndent |
class | TMessage |
General message class. More... | |
class | TRcObj |
struct | _TRcPtr |
class | PTRcObjPtr |
class | PTRcPtr |
class | TSemaphore |
class | TShmAlloc |
class | PTShmObj |
class | PTShmObjAr |
class | TSlist |
class | PTSlist |
class | TSocket |
class | TServerSocket |
class | TClientSocket |
class | TStringTmpl |
class | TTicker |
Namespaces | |
namespace | shm |
Typedefs | |
typedef unsigned char | TUint8 |
typedef int | TInt32 |
typedef unsigned int | TUint32 |
typedef long int | TInt64 |
typedef unsigned long int | TUint64 |
Functions | |
bool | assertTrue (const bool cond) |
bool | assertTrue (const bool cond, const char *cexpr, const char *fname, unsigned lnum) |
void | die (const char *pfx) |
template<typename TR> | |
PTDelta< TR > | operator+ (const PTDelta< TR > &a, const PTDelta< TR > &b) |
template<typename TR> | |
PTDelta< TR > | operator * (const PTDelta< TR > &a, const PTDelta< TR > &b) |
void | invariant (bool cond) throw (TException) |
const PTFixedPtBase< TInt32 > | to32 (const PTFixedPtBase< TInt64 > &r) |
template<typename T> | |
T | asr (T x, unsigned shift) |
template<unsigned INTN, unsigned FRACTN> | |
TFixedPt32< INTN, FRACTN > | operator+ (const TFixedPt32< INTN, FRACTN > &a, const TFixedPt32< INTN, FRACTN > &b) |
template<unsigned INTN, unsigned FRACTN> | |
TFixedPt64< INTN, FRACTN > | operator+ (const TFixedPt64< INTN, FRACTN > &a, const TFixedPt64< INTN, FRACTN > &b) |
template<unsigned INTN, unsigned FRACTN> | |
PTFixedPtBase< TInt64 > | operator * (const TFixedPt32< INTN, FRACTN > &a, const TFixedPt32< INTN, FRACTN > &b) |
template<unsigned INTN, unsigned FRACTN> | |
PTFixedPtBase< TInt64 > | operator * (const TFixedPt64< INTN, FRACTN > &a, const TFixedPt64< INTN, FRACTN > &b) |
template<typename T> | |
static unsigned | getMaxBits () |
static bool | check () |
template<class T> | |
_TRcPtr * | getBasePtr (const PTRcObjPtr< T > &r) |
template<class Base, class Derived> | |
PTRcObjPtr< Derived > | downcast (const PTRcObjPtr< Base > &p) |
template<class Base, class Derived> | |
PTRcObjPtr< Base > | upcast (const PTRcObjPtr< Derived > &p) |
template<typename T, typename Alloc> | |
T | castTo (ptrdiff_t offset) |
unsigned int | toUnsignedInt (const char *s) |
int | toInt (const char *s) |
unsigned long int | toUnsignedLongInt (const char *s) |
long int | toLongInt (const char *s) |
static bool | isLittleEndian (void) |
int | toLittleEndianHex (double d, char *buf) |
Variables | |
static bool | checksOk = check() |
static const string | cEoln = "\n" |
static const bool | stcIslittleEndian = isLittleEndian() |
typedef int xyzzy::TInt32 |
typedef long int xyzzy::TInt64 |
typedef unsigned int xyzzy::TUint32 |
typedef unsigned long int xyzzy::TUint64 |
typedef unsigned char xyzzy::TUint8 |
T xyzzy::asr | ( | T | x, | |
unsigned | shift | |||
) |
bool xyzzy::assertTrue | ( | const bool | cond, | |
const char * | cexpr, | |||
const char * | fname, | |||
unsigned | lnum | |||
) |
bool xyzzy::assertTrue | ( | const bool | cond | ) |
T xyzzy::castTo | ( | ptrdiff_t | offset | ) |
static bool xyzzy::check | ( | ) | [static] |
void xyzzy::die | ( | const char * | pfx | ) |
PTRcObjPtr<Derived> xyzzy::downcast | ( | const PTRcObjPtr< Base > & | p | ) |
_TRcPtr * xyzzy::getBasePtr | ( | const PTRcObjPtr< T > & | r | ) |
static unsigned xyzzy::getMaxBits | ( | ) | [static] |
void xyzzy::invariant | ( | bool | cond | ) | throw (TException) |
static bool xyzzy::isLittleEndian | ( | void | ) | [static] |
PTFixedPtBase<TInt64> xyzzy::operator * | ( | const TFixedPt64< INTN, FRACTN > & | a, | |
const TFixedPt64< INTN, FRACTN > & | b | |||
) |
PTFixedPtBase<TInt64> xyzzy::operator * | ( | const TFixedPt32< INTN, FRACTN > & | a, | |
const TFixedPt32< INTN, FRACTN > & | b | |||
) |
PTDelta<TR> xyzzy::operator * | ( | const PTDelta< TR > & | a, | |
const PTDelta< TR > & | b | |||
) |
TFixedPt64<INTN, FRACTN> xyzzy::operator+ | ( | const TFixedPt64< INTN, FRACTN > & | a, | |
const TFixedPt64< INTN, FRACTN > & | b | |||
) |
TFixedPt32<INTN, FRACTN> xyzzy::operator+ | ( | const TFixedPt32< INTN, FRACTN > & | a, | |
const TFixedPt32< INTN, FRACTN > & | b | |||
) |
PTDelta<TR> xyzzy::operator+ | ( | const PTDelta< TR > & | a, | |
const PTDelta< TR > & | b | |||
) |
const PTFixedPtBase< TInt32 > xyzzy::to32 | ( | const PTFixedPtBase< TInt64 > & | r | ) |
int xyzzy::toInt | ( | const char * | s | ) |
int xyzzy::toLittleEndianHex | ( | double | d, | |
char * | buf | |||
) |
Convert double to little endian hex. Return number of chars used in buf. buf should be sized to accomodate terminating nul.
long int xyzzy::toLongInt | ( | const char * | s | ) |
unsigned int xyzzy::toUnsignedInt | ( | const char * | s | ) |
unsigned long int xyzzy::toUnsignedLongInt | ( | const char * | s | ) |
PTRcObjPtr<Base> xyzzy::upcast | ( | const PTRcObjPtr< Derived > & | p | ) |
const string xyzzy::cEoln = "\n" [static] |
bool xyzzy::checksOk = check() [static] |
const bool xyzzy::stcIslittleEndian = isLittleEndian() [static] |