|
ReactOS 0.4.17-dev-470-gf9e3448
|
Namespaces | |
| namespace | details |
Classes | |
| class | SafeInt |
| struct | SafeIntErrorPolicy_InvalidParameter |
| struct | SafeIntErrorPolicy_SafeIntException |
| class | SafeIntException |
Enumerations | |
| enum | SafeIntError { SafeIntNoError = 0 , SafeIntArithmeticOverflow , SafeIntDivideByZero } |
Functions | |
| template<typename T , typename U > | |
| bool | SafeCast (const T From, U &To) throw () |
| template<typename T , typename U > | |
| bool | SafeEquals (const T t, const U u) throw () |
| template<typename T , typename U > | |
| bool | SafeNotEquals (const T t, const U u) throw () |
| template<typename T , typename U > | |
| bool | SafeGreaterThan (const T t, const U u) throw () |
| template<typename T , typename U > | |
| bool | SafeGreaterThanEquals (const T t, const U u) throw () |
| template<typename T , typename U > | |
| bool | SafeLessThan (const T t, const U u) throw () |
| template<typename T , typename U > | |
| bool | SafeLessThanEquals (const T t, const U u) throw () |
| template<typename T , typename U > | |
| bool | SafeModulus (const T &t, const U &u, T &result) throw () |
| template<typename T , typename U > | |
| bool | SafeMultiply (T t, U u, T &result) throw () |
| template<typename T , typename U > | |
| bool | SafeDivide (T t, U u, T &result) throw () |
| template<typename T , typename U > | |
| bool | SafeAdd (T t, U u, T &result) throw () |
| template<typename T , typename U > | |
| bool | SafeSubtract (T t, U u, T &result) throw () |
| template<typename T , typename U , typename E > | |
| bool | operator< (U lhs, SafeInt< T, E > rhs) throw () |
| template<typename T , typename U , typename E > | |
| bool | operator< (SafeInt< U, E > lhs, SafeInt< T, E > rhs) throw () |
| template<typename T , typename U , typename E > | |
| bool | operator> (U lhs, SafeInt< T, E > rhs) throw () |
| template<typename T , typename U , typename E > | |
| bool | operator> (SafeInt< T, E > lhs, SafeInt< U, E > rhs) throw () |
| template<typename T , typename U , typename E > | |
| bool | operator>= (U lhs, SafeInt< T, E > rhs) throw () |
| template<typename T , typename U , typename E > | |
| bool | operator>= (SafeInt< T, E > lhs, SafeInt< U, E > rhs) throw () |
| template<typename T , typename U , typename E > | |
| bool | operator<= (U lhs, SafeInt< T, E > rhs) throw () |
| template<typename T , typename U , typename E > | |
| bool | operator<= (SafeInt< T, E > lhs, SafeInt< U, E > rhs) throw () |
| template<typename T , typename E > | |
| bool | operator== (bool lhs, SafeInt< T, E > rhs) throw () |
| template<typename T , typename U , typename E > | |
| bool | operator== (U lhs, SafeInt< T, E > rhs) throw () |
| template<typename T , typename U , typename E > | |
| bool | operator== (SafeInt< T, E > lhs, SafeInt< U, E > rhs) throw () |
| template<typename T , typename U , typename E > | |
| bool | operator!= (U lhs, SafeInt< T, E > rhs) throw () |
| template<typename T , typename E > | |
| bool | operator!= (bool lhs, SafeInt< T, E > rhs) throw () |
| template<typename T , typename U , typename E > | |
| bool | operator!= (SafeInt< T, E > lhs, SafeInt< U, E > rhs) throw () |
| template<typename T , typename U , typename E > | |
| SafeInt< T, E > | operator% (U lhs, SafeInt< T, E > rhs) |
| template<typename T , typename U , typename E > | |
| SafeInt< T, E > | operator* (U lhs, SafeInt< T, E > rhs) |
| template<typename T , typename U , typename E > | |
| SafeInt< T, E > | operator/ (U lhs, SafeInt< T, E > rhs) |
| template<typename T , typename U , typename E > | |
| SafeInt< T, E > | operator+ (U lhs, SafeInt< T, E > rhs) |
| template<typename T , typename U , typename E > | |
| SafeInt< T, E > | operator- (U lhs, SafeInt< T, E > rhs) |
| template<typename T , typename U , typename E > | |
| T & | operator+= (T &lhs, SafeInt< U, E > rhs) |
| template<typename T , typename U , typename E > | |
| T & | operator-= (T &lhs, SafeInt< U, E > rhs) |
| template<typename T , typename U , typename E > | |
| T & | operator*= (T &lhs, SafeInt< U, E > rhs) |
| template<typename T , typename U , typename E > | |
| T & | operator/= (T &lhs, SafeInt< U, E > rhs) |
| template<typename T , typename U , typename E > | |
| T & | operator%= (T &lhs, SafeInt< U, E > rhs) |
| template<typename T , typename U , typename E > | |
| T & | operator&= (T &lhs, SafeInt< U, E > rhs) throw () |
| template<typename T , typename U , typename E > | |
| T & | operator^= (T &lhs, SafeInt< U, E > rhs) throw () |
| template<typename T , typename U , typename E > | |
| T & | operator|= (T &lhs, SafeInt< U, E > rhs) throw () |
| template<typename T , typename U , typename E > | |
| T & | operator<<= (T &lhs, SafeInt< U, E > rhs) throw () |
| template<typename T , typename U , typename E > | |
| T & | operator>>= (T &lhs, SafeInt< U, E > rhs) throw () |
| template<typename T , typename U , typename E > | |
| T *& | operator+= (T *&lhs, SafeInt< U, E > rhs) |
| template<typename T , typename U , typename E > | |
| T *& | operator-= (T *&lhs, SafeInt< U, E > rhs) |
| template<typename T , typename U , typename E > | |
| T *& | operator*= (T *lhs, SafeInt< U, E >) |
| template<typename T , typename U , typename E > | |
| T *& | operator/= (T *lhs, SafeInt< U, E >) |
| template<typename T , typename U , typename E > | |
| T *& | operator%= (T *lhs, SafeInt< U, E >) |
| template<typename T , typename U , typename E > | |
| T *& | operator&= (T *lhs, SafeInt< U, E >) |
| template<typename T , typename U , typename E > | |
| T *& | operator^= (T *lhs, SafeInt< U, E >) |
| template<typename T , typename U , typename E > | |
| T *& | operator|= (T *lhs, SafeInt< U, E >) |
| template<typename T , typename U , typename E > | |
| T *& | operator<<= (T *lhs, SafeInt< U, E >) |
| template<typename T , typename U , typename E > | |
| T *& | operator>>= (T *lhs, SafeInt< U, E >) |
| template<typename T , typename U , typename E > | |
| SafeInt< U, E > | operator<< (U lhs, SafeInt< T, E > bits) throw () |
| template<typename T , typename U , typename E > | |
| SafeInt< U, E > | operator>> (U lhs, SafeInt< T, E > bits) throw () |
| template<typename T , typename U , typename E > | |
| SafeInt< T, E > | operator& (U lhs, SafeInt< T, E > rhs) throw () |
| template<typename T , typename U , typename E > | |
| SafeInt< T, E > | operator^ (U lhs, SafeInt< T, E > rhs) throw () |
| template<typename T , typename U , typename E > | |
| SafeInt< T, E > | operator| (U lhs, SafeInt< T, E > rhs) throw () |
| Enumerator | |
|---|---|
| SafeIntNoError | |
| SafeIntArithmeticOverflow | |
| SafeIntDivideByZero | |
Definition at line 1323 of file safeint.h.
Definition at line 1569 of file safeint.h.
Definition at line 1576 of file safeint.h.
Definition at line 1555 of file safeint.h.
Definition at line 1532 of file safeint.h.
Definition at line 1436 of file safeint.h.
Definition at line 1358 of file safeint.h.
Definition at line 1562 of file safeint.h.
Definition at line 1604 of file safeint.h.
Definition at line 1597 of file safeint.h.
Definition at line 1604 of file safeint.h.
Definition at line 1583 of file safeint.h.
Definition at line 1590 of file safeint.h.
Definition at line 398 of file safeint.h.