#include <PVLE/Export.h>#include <PVLE/Util/TracedException.h>#include <PVLE/Util/Assert.h>#include <boost/foreach.hpp>


Go to the source code of this file.
Classes | |
| struct | TrivialPair< T1, T2 > |
| Trivial pair used inside an union (std::pair doesn't compile because it has a user-defined constructor). More... | |
Namespaces | |
| namespace | Util |
| Contains various utility functions, classes and typedefs. | |
Defines | |
| #define | NOP ((void)0) |
| #define | format_str(fmtString, args) ::boost::str(::boost::format(fmtString) % args) |
| Shortcut for boost::str(boost::format(str) % args). | |
Typedefs | |
| typedef unsigned long | ULONG |
| typedef unsigned int | UINT |
| typedef unsigned short | USHORT |
| typedef unsigned char | UCHAR |
Functions | |
| template<typename TNum1 , typename TNum2 > | |
| TNum1 | copySign (TNum1 number, TNum2 sign) |
Gets number with the sign of sign. Does not test if sign is zero. | |
| #define format_str | ( | fmtString, | |||
| args | ) | ::boost::str(::boost::format(fmtString) % args) |
Shortcut for boost::str(boost::format(str) % args).
Definition at line 85 of file Util.h.
Referenced by Version::toShortString(), and Version::toString().
| TNum1 copySign | ( | TNum1 | number, | |
| TNum2 | sign | |||
| ) | [inline] |
Gets number with the sign of sign. Does not test if sign is zero.
Definition at line 55 of file Util.h.
Referenced by ControlMapper::computeMouseMovement().
1.5.9