ACE  6.1.0
Classes | Namespaces | Functions
Truncate.h File Reference
#include "ace/config-all.h"
#include "ace/Global_Macros.h"
#include "ace/If_Then_Else.h"
#include "ace/Numeric_Limits.h"

Classes

struct  ACE_Utils::Sign_Check< unsigned char >
struct  ACE_Utils::Sign_Check< unsigned short >
struct  ACE_Utils::Sign_Check< unsigned int >
struct  ACE_Utils::Sign_Check< unsigned long >
struct  ACE_Utils::Sign_Check< unsigned long long >
struct  ACE_Utils::Sign_Check< signed char >
struct  ACE_Utils::Sign_Check< signed short >
struct  ACE_Utils::Sign_Check< signed int >
struct  ACE_Utils::Sign_Check< signed long >
struct  ACE_Utils::Sign_Check< signed long long >
struct  ACE_Utils::To_Unsigned< unsigned char >
struct  ACE_Utils::To_Unsigned< unsigned short >
struct  ACE_Utils::To_Unsigned< unsigned int >
struct  ACE_Utils::To_Unsigned< unsigned long >
struct  ACE_Utils::To_Unsigned< unsigned long long >
struct  ACE_Utils::To_Unsigned< signed char >
struct  ACE_Utils::To_Unsigned< signed short >
struct  ACE_Utils::To_Unsigned< signed int >
struct  ACE_Utils::To_Unsigned< signed long >
struct  ACE_Utils::To_Unsigned< signed long long >
struct  ACE_Utils::Safe_Comparator< LEFT, RIGHT, true, false >
struct  ACE_Utils::Safe_Comparator< LEFT, RIGHT, false, true >
struct  ACE_Utils::Safe_Comparator< LEFT, RIGHT, false, false >
struct  ACE_Utils::Safe_Comparator< LEFT, RIGHT, true, true >
struct  ACE_Utils::Fast_Comparator< LEFT, RIGHT >
 Quick comparison of types that can be safely promoted and/or converted to each other. More...
struct  ACE_Utils::Comparator< LEFT, RIGHT >
 Structure that provides optimal comparison operation for given types. More...
struct  ACE_Utils::Truncator< FROM, TO >
 Truncate value of type FROM to value of type TO. More...
struct  ACE_Utils::Truncator< T, T >
struct  ACE_Utils::Noop_Truncator< FROM, TO >
 No-op truncation. More...

Namespaces

namespace  ACE_Utils

Functions

template<typename TO , typename FROM >
TO ACE_Utils::truncate_cast (FROM val)

Detailed Description

Id:
Truncate.h 83306 2008-10-17 12:19:53Z johnnyw
Author:
Steve Huston <shuston@riverace.com>
Ossama Othman <ossama_othman@symantec.com>
Russell Mora <russell_mora@symantec.com>
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines