IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Classes | Namespaces | Macros | Enumerations
BaseTypes.h File Reference

Base types for multiplatform compatibility. More...

#include <IPSDKUtil/Tools/EnumMacros.h>
#include <IPSDKUtil/Tools/Guid.h>
#include <boost/filesystem/path.hpp>
#include <stdint.h>

Go to the source code of this file.

Classes

struct  ipsdk::DataType2Enum< T >
 structure used to retrieve enumerate value from base type More...
 
struct  ipsdk::Enum2DataType< enumValue >
 structure used to retrieve type from enumerate value More...
 

Namespaces

 ipsdk
 Main namespace for IPSDK library.
 

Macros

#define IPSDK_DATATYPE_TO_ENUM_STRUCT(DataType, EnumValue)
 
#define IPSDK_ENUM_STRUCT_TO_DATATYPE(DataType, EnumValue)
 

Typedefs

typedef bool ipsdk::ipBool
 Base types definition.
 
typedef int8_t ipsdk::ipInt8
 Base types definition.
 
typedef uint8_t ipsdk::ipUInt8
 Base types definition.
 
typedef int16_t ipsdk::ipInt16
 Base types definition.
 
typedef uint16_t ipsdk::ipUInt16
 Base types definition.
 
typedef int32_t ipsdk::ipInt32
 Base types definition.
 
typedef uint32_t ipsdk::ipUInt32
 Base types definition.
 
typedef int64_t ipsdk::ipInt64
 Base types definition.
 
typedef uint64_t ipsdk::ipUInt64
 Base types definition.
 
typedef float ipsdk::ipReal32
 Base types definition.
 
typedef double ipsdk::ipReal64
 Base types definition.
 

Enumerations

enum  ipsdk::eDataType {
  ipsdk::eDT_None, ipsdk::eDT_Bool, ipsdk::eDT_Int8, ipsdk::eDT_UInt8,
  ipsdk::eDT_Int16, ipsdk::eDT_UInt16, ipsdk::eDT_Int32, ipsdk::eDT_UInt32,
  ipsdk::eDT_Int64, ipsdk::eDT_UInt64, ipsdk::eDT_Real32, ipsdk::eDT_Real64
}
 Enumerate describing a base type. More...
 

Functions

 ipsdk::IPSDK_DATATYPE_TO_ENUM_STRUCT (ipBool, eDT_Bool)
 
 ipsdk::IPSDK_DATATYPE_TO_ENUM_STRUCT (ipInt8, eDT_Int8)
 
 ipsdk::IPSDK_DATATYPE_TO_ENUM_STRUCT (ipUInt8, eDT_UInt8)
 
 ipsdk::IPSDK_DATATYPE_TO_ENUM_STRUCT (ipInt16, eDT_Int16)
 
 ipsdk::IPSDK_DATATYPE_TO_ENUM_STRUCT (ipUInt16, eDT_UInt16)
 
 ipsdk::IPSDK_DATATYPE_TO_ENUM_STRUCT (ipInt32, eDT_Int32)
 
 ipsdk::IPSDK_DATATYPE_TO_ENUM_STRUCT (ipUInt32, eDT_UInt32)
 
 ipsdk::IPSDK_DATATYPE_TO_ENUM_STRUCT (ipInt64, eDT_Int64)
 
 ipsdk::IPSDK_DATATYPE_TO_ENUM_STRUCT (ipUInt64, eDT_UInt64)
 
 ipsdk::IPSDK_DATATYPE_TO_ENUM_STRUCT (ipReal32, eDT_Real32)
 
 ipsdk::IPSDK_DATATYPE_TO_ENUM_STRUCT (ipReal64, eDT_Real64)
 
 ipsdk::IPSDK_ENUM_STRUCT_TO_DATATYPE (ipBool, eDT_Bool)
 
 ipsdk::IPSDK_ENUM_STRUCT_TO_DATATYPE (ipInt8, eDT_Int8)
 
 ipsdk::IPSDK_ENUM_STRUCT_TO_DATATYPE (ipUInt8, eDT_UInt8)
 
 ipsdk::IPSDK_ENUM_STRUCT_TO_DATATYPE (ipInt16, eDT_Int16)
 
 ipsdk::IPSDK_ENUM_STRUCT_TO_DATATYPE (ipUInt16, eDT_UInt16)
 
 ipsdk::IPSDK_ENUM_STRUCT_TO_DATATYPE (ipInt32, eDT_Int32)
 
 ipsdk::IPSDK_ENUM_STRUCT_TO_DATATYPE (ipUInt32, eDT_UInt32)
 
 ipsdk::IPSDK_ENUM_STRUCT_TO_DATATYPE (ipInt64, eDT_Int64)
 
 ipsdk::IPSDK_ENUM_STRUCT_TO_DATATYPE (ipUInt64, eDT_UInt64)
 
 ipsdk::IPSDK_ENUM_STRUCT_TO_DATATYPE (ipReal32, eDT_Real32)
 
 ipsdk::IPSDK_ENUM_STRUCT_TO_DATATYPE (ipReal64, eDT_Real64)
 

Detailed Description

Base types for multiplatform compatibility.

Author
E. Noirfalise
Date
2013/2/15

Macro Definition Documentation

◆ IPSDK_DATATYPE_TO_ENUM_STRUCT

#define IPSDK_DATATYPE_TO_ENUM_STRUCT (   DataType,
  EnumValue 
)
Value:
template<> struct DataType2Enum<DataType> { \
static eDataType getEnum() {return eDataType::EnumValue;} \
};
eDataType
Enumerate describing a base type.
Definition: BaseTypes.h:77
Vector DataType
data type used for estimation
Definition: EstimationTypes.h:58

macro enabling implementation of DataType2Enum templates

◆ IPSDK_ENUM_STRUCT_TO_DATATYPE

#define IPSDK_ENUM_STRUCT_TO_DATATYPE (   DataType,
  EnumValue 
)
Value:
template<> struct Enum2DataType<eDataType::EnumValue> { \
typedef DataType Type; \
};
eDataType
Enumerate describing a base type.
Definition: BaseTypes.h:77
Vector DataType
data type used for estimation
Definition: EstimationTypes.h:58

macro enabling implementation of Enum2DataType templates