Go to the source code of this file.
Defines | |
#define | NULL 0 |
Description: This file contains type definitions and general macros. | |
Typedefs | |
typedef unsigned char | int8u |
typedef signed char | int8s |
typedef unsigned short int | int16u |
typedef signed short int | int16s |
typedef unsigned long | int32u |
typedef signed long | int32s |
typedef unsigned long long | int64u |
typedef signed long long | int64s |
typedef int8u | BYTE |
typedef char | CHAR |
typedef float | FLOAT |
typedef double | DOUBLE |
Functions | |
template<class T > | |
T | round (DOUBLE val) |
template<class T > | |
T | MAX (T x, T y) |
template<class T > | |
T | MIN (T x, T y) |
template<class T > | |
void | SWAP (T &x, T &y) |
#define NULL 0 |
Description: This file contains type definitions and general macros.
Filename: _types.h
Author: Glen Kramer (kramer@cs.ucdavis.edu) University of California, Davis
Copyright (c) 2000-2004, Glen Kramer All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
T MAX | ( | T | x, | |
T | y | |||
) | [inline] |
T MIN | ( | T | x, | |
T | y | |||
) | [inline] |
T round | ( | DOUBLE | val | ) | [inline] |
void SWAP | ( | T & | x, | |
T & | y | |||
) | [inline] |