Main Page Class Hierarchy Compound List File List Compound Members File Members
Basics.h File Reference
#include "cl/CLConfig.h"
#include <iostream.h>
#include <math.h>
Include dependency graph for Basics.h:
Go to the source code of this file.
Defines |
| | #define | SELF (*this) |
| | #define | _Error(e) _Assert(false, e, __FILE__, __LINE__) |
| | #define | _Warning(w) _Expect(false, w, __FILE__, __LINE__) |
| | #define | Assert(b, e) |
| | #define | Expect(b, w) |
| | #define | CheckRange(a, l, u, r) |
Typedefs |
| | typedef void | Void |
| | typedef float | Float |
| | typedef double | Double |
| | typedef int | Int |
| | typedef long | Long |
| | typedef signed int | SInt |
| | typedef signed long | SLong |
| | typedef signed short | SInt16 |
| | typedef signed long | SInt32 |
| | typedef unsigned int | UInt |
| | typedef unsigned long | ULong |
| | typedef unsigned short | UInt16 |
| | typedef unsigned int | UInt32 |
| | typedef signed long | SAddrInt |
| | typedef unsigned long | UAddrInt |
| | typedef unsigned char | Byte |
| | typedef unsigned char | SByte |
| | typedef char | Char |
| | typedef Double | Real |
| | typedef bool | Bool |
Functions |
| | Void | _Assert (Int condition, const Char *errorMessage, const Char *file, Int line) |
| | Void | _Expect (Int condition, const Char *warningMessage, const Char *file, Int line) |
| | Void | _CheckRange (Int i, Int lowerBound, Int upperBound, const Char *rangeMessage, const Char *file, Int line) |
| | template<class Value> Value | Min (Value x, Value y) |
| | template<class Value> Value | Max (Value x, Value y) |
| | template<class Value> Void | Swap (Value &x, Value &y) |
| | template<class Value> Value | Mix (Value x, Value y, Real s) |
| | template<class Value> Value | Clip (Value x, Value min, Value max) |
| | template<class Value> Value | sqr (Value x) |
Define Documentation
#define CheckRange(a, l, u, r)
|
#define _Error(e) _Assert(false, e, __FILE__, __LINE__)
|
#define _Warning(w) _Expect(false, w, __FILE__, __LINE__)
|
Typedef Documentation
typedef unsigned char Byte
|
typedef signed long SAddrInt
|
typedef unsigned char SByte
|
typedef signed short SInt16
|
typedef signed long SInt32
|
typedef signed long SLong
|
typedef unsigned long UAddrInt
|
typedef unsigned int UInt
|
typedef unsigned short UInt16
|
typedef unsigned int UInt32
|
typedef unsigned long ULong
|
Function Documentation
template<class Value>
Value Clip (Value x, Value min, Value max) [inline]
|
template<class Value>
Value Max (Value x, Value y) [inline]
|
template<class Value>
Value Min (Value x, Value y) [inline]
|
template<class Value>
Value Mix (Value x, Value y, Real s) [inline]
|
template<class Value>
Void Swap (Value & x, Value & y) [inline]
|
template<class Value>
Value sqr (Value x) [inline]
|
Generated at Sat Aug 5 00:16:31 2000 for Class Library by
1.1.0 written by Dimitri van Heesch,
© 1997-2000