FMath/FMInteger.h

Go to the documentation of this file.
00001 /*
00002     Copyright (C) 2005-2007 Feeling Software Inc.
00003     Portions of the code are:
00004     Copyright (C) 2005-2007 Sony Computer Entertainment America
00005     
00006     MIT License: http://www.opensource.org/licenses/mit-license.php
00007 */
00008 
00014 #ifndef _FM_INTEGER_H_
00015 #define _FM_INTEGER_H_
00016 
00018 typedef fm::vector<int32, true> Int32List;
00020 typedef fm::vector<uint32, true> UInt32List;
00022 typedef fm::vector<uint16, true> UInt16List;
00024 typedef fm::vector<uint8, true> UInt8List;
00026 typedef fm::vector<int8, true> Int8List;
00028 typedef fm::vector<bool, true> BooleanList;
00029 
00035 inline bool IsEquivalent(int8 i1, int8 i2) { return i1 == i2; }
00036 inline bool IsEquivalent(uint8 i1, uint8 i2) { return i1 == i2; } 
00037 inline bool IsEquivalent(int16 i1, int16 i2) { return i1 == i2; } 
00038 inline bool IsEquivalent(uint16 i1, uint16 i2) { return i1 == i2; } 
00039 inline bool IsEquivalent(int32 i1, int32 i2) { return i1 == i2; } 
00040 inline bool IsEquivalent(uint32 i1, uint32 i2) { return i1 == i2; } 
00041 inline bool IsEquivalent(int64 i1, int64 i2) { return i1 == i2; } 
00042 inline bool IsEquivalent(uint64 i1, uint64 i2) { return i1 == i2; } 
00048 inline bool IsEquivalent(bool b1, bool b2) { return b1 == b2; }
00049 
00050 #endif // _FM_INTEGER_H_
00051 

Generated on Thu Feb 14 16:58:35 2008 for FCollada by  doxygen 1.4.6-NO