Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

local.H File Reference

#include "std/config.H"

Go to the source code of this file.

Defines

#define brcase   break; case
#define brdefault   break; default
#define PRINT_VAR(v)   cerr << # v << " = '" << v << "'" << endl

Functions

template<class T> T sqr (const T x)
template<class Type> Type min (const Type a, const Type b)
template<class Type> Type max (const Type a, const Type b)
template<class Type> void swap (Type &a, Type &b)
template<class Type> Type clamp (const Type a, const Type b, const Type c)
int Sign (double a)


Define Documentation

#define brcase   break; case
 

#define brdefault   break; default
 

#define PRINT_VAR      cerr << # v << " = '" << v << "'" << endl
 


Function Documentation

template<class Type>
Type clamp const Type    a,
const Type    b,
const Type    c
[inline]
 

template<class Type>
Type max const Type    a,
const Type    b
[inline]
 

template<class Type>
Type min const Type    a,
const Type    b
[inline]
 

int Sign double    a [inline]
 

template<class T>
T sqr const T    x [inline]
 

template<class Type>
void swap Type &    a,
Type &    b
[inline]
 


Generated on Mon Sep 15 16:25:58 2003 for gluebase by doxygen1.2.18