C++ Rest SDK
The C++ REST SDK is a Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design. This project aims to help C++ developers connect to and interact with services.
Public Types | Public Member Functions | Static Public Member Functions | List of all members
msl::safeint3::SafeInt< T, E > Class Template Reference

Public Types

enum  alignBits {
  align2 = 1, align4 = 2, align8 = 3, align16 = 4,
  align32 = 5, align64 = 6, align128 = 7, align256 = 8
}
 

Public Member Functions

 SafeInt (const T &i) SAFEINT_NOTHROW
 
 SafeInt (bool b) SAFEINT_NOTHROW
 
template<typename U >
 SafeInt (const SafeInt< U, E > &u) SAFEINT_CPP_THROW
 
template<typename U >
 SafeInt (const U &i) SAFEINT_CPP_THROW
 
template<typename U >
SafeInt< T, E > & operator= (const U &rhs) SAFEINT_CPP_THROW
 
SafeInt< T, E > & operator= (const T &rhs) SAFEINT_NOTHROW
 
template<typename U >
SafeInt< T, E > & operator= (const SafeInt< U, E > &rhs) SAFEINT_CPP_THROW
 
SafeInt< T, E > & operator= (const SafeInt< T, E > &rhs) SAFEINT_NOTHROW
 
 operator bool () const SAFEINT_NOTHROW
 
 operator char () const SAFEINT_CPP_THROW
 
 operator signed char () const SAFEINT_CPP_THROW
 
 operator unsigned char () const SAFEINT_CPP_THROW
 
 operator __int16 () const SAFEINT_CPP_THROW
 
 operator unsigned __int16 () const SAFEINT_CPP_THROW
 
 operator __int32 () const SAFEINT_CPP_THROW
 
 operator unsigned __int32 () const SAFEINT_CPP_THROW
 
 operator long () const SAFEINT_CPP_THROW
 
 operator unsigned long () const SAFEINT_CPP_THROW
 
 operator __int64 () const SAFEINT_CPP_THROW
 
 operator unsigned __int64 () const SAFEINT_CPP_THROW
 
 operator float () const SAFEINT_CPP_THROW
 
 operator double () const SAFEINT_CPP_THROW
 
 operator long double () const SAFEINT_CPP_THROW
 
T * Ptr () SAFEINT_NOTHROW
 
const T * Ptr () const SAFEINT_NOTHROW
 
const T & Ref () const SAFEINT_NOTHROW
 
T * operator& () SAFEINT_NOTHROW
 
const T * operator& () const SAFEINT_NOTHROW
 
bool operator! () const SAFEINT_NOTHROW
 
const SafeInt< T, E > & operator+ () const SAFEINT_NOTHROW
 
SafeInt< T, E > operator- () const SAFEINT_CPP_THROW
 
SafeInt< T, E > & operator++ () SAFEINT_CPP_THROW
 
SafeInt< T, E > & operator-- () SAFEINT_CPP_THROW
 
SafeInt< T, E > operator++ (int) SAFEINT_CPP_THROW
 
SafeInt< T, E > operator-- (int) SAFEINT_CPP_THROW
 
SafeInt< T, E > operator~ () const SAFEINT_NOTHROW
 
template<typename U >
SafeInt< T, E > operator% (U rhs) const SAFEINT_CPP_THROW
 
SafeInt< T, E > operator% (SafeInt< T, E > rhs) const SAFEINT_CPP_THROW
 
template<typename U >
SafeInt< T, E > & operator%= (U rhs) SAFEINT_CPP_THROW
 
template<typename U >
SafeInt< T, E > & operator%= (SafeInt< U, E > rhs) SAFEINT_CPP_THROW
 
template<typename U >
SafeInt< T, E > operator* (U rhs) const SAFEINT_CPP_THROW
 
SafeInt< T, E > operator* (SafeInt< T, E > rhs) const SAFEINT_CPP_THROW
 
SafeInt< T, E > & operator*= (SafeInt< T, E > rhs) SAFEINT_CPP_THROW
 
template<typename U >
SafeInt< T, E > & operator*= (U rhs) SAFEINT_CPP_THROW
 
template<typename U >
SafeInt< T, E > & operator*= (SafeInt< U, E > rhs) SAFEINT_CPP_THROW
 
template<typename U >
SafeInt< T, E > operator/ (U rhs) const SAFEINT_CPP_THROW
 
SafeInt< T, E > operator/ (SafeInt< T, E > rhs) const SAFEINT_CPP_THROW
 
SafeInt< T, E > & operator/= (SafeInt< T, E > i) SAFEINT_CPP_THROW
 
template<typename U >
SafeInt< T, E > & operator/= (U i) SAFEINT_CPP_THROW
 
template<typename U >
SafeInt< T, E > & operator/= (SafeInt< U, E > i)
 
SafeInt< T, E > operator+ (SafeInt< T, E > rhs) const SAFEINT_CPP_THROW
 
template<typename U >
SafeInt< T, E > operator+ (U rhs) const SAFEINT_CPP_THROW
 
SafeInt< T, E > & operator+= (SafeInt< T, E > rhs) SAFEINT_CPP_THROW
 
template<typename U >
SafeInt< T, E > & operator+= (U rhs) SAFEINT_CPP_THROW
 
template<typename U >
SafeInt< T, E > & operator+= (SafeInt< U, E > rhs) SAFEINT_CPP_THROW
 
template<typename U >
SafeInt< T, E > operator- (U rhs) const SAFEINT_CPP_THROW
 
SafeInt< T, E > operator- (SafeInt< T, E > rhs) const SAFEINT_CPP_THROW
 
SafeInt< T, E > & operator-= (SafeInt< T, E > rhs) SAFEINT_CPP_THROW
 
template<typename U >
SafeInt< T, E > & operator-= (U rhs) SAFEINT_CPP_THROW
 
template<typename U >
SafeInt< T, E > & operator-= (SafeInt< U, E > rhs) SAFEINT_CPP_THROW
 
template<typename U >
SafeInt< T, E > operator<< (U bits) const SAFEINT_NOTHROW
 
template<typename U >
SafeInt< T, E > operator<< (SafeInt< U, E > bits) const SAFEINT_NOTHROW
 
template<typename U >
SafeInt< T, E > & operator<<= (U bits) SAFEINT_NOTHROW
 
template<typename U >
SafeInt< T, E > & operator<<= (SafeInt< U, E > bits) SAFEINT_NOTHROW
 
template<typename U >
SafeInt< T, E > operator>> (U bits) const SAFEINT_NOTHROW
 
template<typename U >
SafeInt< T, E > operator>> (SafeInt< U, E > bits) const SAFEINT_NOTHROW
 
template<typename U >
SafeInt< T, E > & operator>>= (U bits) SAFEINT_NOTHROW
 
template<typename U >
SafeInt< T, E > & operator>>= (SafeInt< U, E > bits) SAFEINT_NOTHROW
 
SafeInt< T, E > operator& (SafeInt< T, E > rhs) const SAFEINT_NOTHROW
 
template<typename U >
SafeInt< T, E > operator& (U rhs) const SAFEINT_NOTHROW
 
SafeInt< T, E > & operator&= (SafeInt< T, E > rhs) SAFEINT_NOTHROW
 
template<typename U >
SafeInt< T, E > & operator&= (U rhs) SAFEINT_NOTHROW
 
template<typename U >
SafeInt< T, E > & operator&= (SafeInt< U, E > rhs) SAFEINT_NOTHROW
 
SafeInt< T, E > operator^ (SafeInt< T, E > rhs) const SAFEINT_NOTHROW
 
template<typename U >
SafeInt< T, E > operator^ (U rhs) const SAFEINT_NOTHROW
 
SafeInt< T, E > & operator^= (SafeInt< T, E > rhs) SAFEINT_NOTHROW
 
template<typename U >
SafeInt< T, E > & operator^= (U rhs) SAFEINT_NOTHROW
 
template<typename U >
SafeInt< T, E > & operator^= (SafeInt< U, E > rhs) SAFEINT_NOTHROW
 
SafeInt< T, E > operator| (SafeInt< T, E > rhs) const SAFEINT_NOTHROW
 
template<typename U >
SafeInt< T, E > operator| (U rhs) const SAFEINT_NOTHROW
 
SafeInt< T, E > & operator|= (SafeInt< T, E > rhs) SAFEINT_NOTHROW
 
template<typename U >
SafeInt< T, E > & operator|= (U rhs) SAFEINT_NOTHROW
 
template<typename U >
SafeInt< T, E > & operator|= (SafeInt< U, E > rhs) SAFEINT_NOTHROW
 
SafeInt< T, E > Min (SafeInt< T, E > test, const T floor=IntTraits< T >::minInt) const SAFEINT_NOTHROW
 
SafeInt< T, E > Max (SafeInt< T, E > test, const T upper=IntTraits< T >::maxInt) const SAFEINT_NOTHROW
 
void Swap (SafeInt< T, E > &with) SAFEINT_NOTHROW
 
template<alignBits bits>
const SafeInt< T, E > & Align () SAFEINT_CPP_THROW
 
const SafeInt< T, E > & Align2 ()
 
const SafeInt< T, E > & Align4 ()
 
const SafeInt< T, E > & Align8 ()
 
const SafeInt< T, E > & Align16 ()
 
const SafeInt< T, E > & Align32 ()
 
const SafeInt< T, E > & Align64 ()
 

Static Public Member Functions

static SafeInt< T, E > SafeAtoI (const char *input) SAFEINT_CPP_THROW
 
static SafeInt< T, E > SafeWtoI (const wchar_t *input)
 

The documentation for this class was generated from the following file: