ACE  6.1.7
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 95761 2012-05-15 18:23:04Z johnnyw
Author:
Steve Huston shust.nosp@m.on@r.nosp@m.ivera.nosp@m.ce.c.nosp@m.om
Ossama Othman ossam.nosp@m.a_ot.nosp@m.hman@.nosp@m.syma.nosp@m.ntec..nosp@m.com
Russell Mora russe.nosp@m.ll_m.nosp@m.ora@s.nosp@m.yman.nosp@m.tec.c.nosp@m.om