Public Member Functions | Protected Types | Static Protected Member Functions | Protected Attributes

UndefArrayHandler Class Reference

List of all members.

Public Member Functions

 UndefArrayHandler (const BinDataDesc &desc)
bool set (const BinDataDesc &desc)
bool isOK () const
bool isUdf (const void *ptr, int64_t idx) const
void setUdf (void *ptr, int64_t idx) const
void unSetUdf (void *ptr, int64_t idx) const

Protected Types

typedef bool(* IsUdfFunc )(const void *, int64_t idx)
typedef void(* SetUdfFunc )(void *, int64_t idx)
typedef void(* UnsetUdfFunc )(void *, int64_t idx)

Static Protected Member Functions

static bool isUdfUChar (const void *, int64_t)
static void setUdfUChar (void *, int64_t)
static void unsetUdfUChar (void *, int64_t)
static bool isUdfChar (const void *, int64_t)
static void setUdfChar (void *, int64_t)
static void unsetUdfChar (void *, int64_t)
static bool isUdfUShort (const void *, int64_t)
static void setUdfUShort (void *, int64_t)
static void unsetUdfUShort (void *, int64_t)
static bool isUdfShort (const void *, int64_t)
static void setUdfShort (void *, int64_t)
static void unsetUdfShort (void *, int64_t)
static bool isUdfUInt32 (const void *, int64_t)
static void setUdfUInt32 (void *, int64_t)
static void unsetUdfUInt32 (void *, int64_t)
static bool isUdfInt32 (const void *, int64_t)
static void setUdfInt32 (void *, int64_t)
static void unsetUdfInt32 (void *, int64_t)
static bool isUdfUInt64 (const void *, int64_t)
static void setUdfUInt64 (void *, int64_t)
static void unsetUdfUInt64 (void *, int64_t)
static bool isUdfInt64 (const void *, int64_t)
static void setUdfInt64 (void *, int64_t)
static void unsetUdfInt64 (void *, int64_t)
static bool isUdfFloat (const void *, int64_t)
static void setUdfFloat (void *, int64_t)
static void unsetUdfFloat (void *, int64_t)
static bool isUdfDouble (const void *, int64_t)
static void setUdfDouble (void *, int64_t)
static void unsetUdfDouble (void *, int64_t)

Protected Attributes

IsUdfFunc isudf_
SetUdfFunc setudf_
UnsetUdfFunc limitrange_

Detailed Description

Class that handles undefvalues in arrays that are in a format described by a BinDataDesc


Member Typedef Documentation

typedef bool(* UndefArrayHandler::IsUdfFunc)(const void *, int64_t idx) [protected]
typedef void(* UndefArrayHandler::SetUdfFunc)(void *, int64_t idx) [protected]
typedef void(* UndefArrayHandler::UnsetUdfFunc)(void *, int64_t idx) [protected]

Constructor & Destructor Documentation

UndefArrayHandler::UndefArrayHandler ( const BinDataDesc desc  ) 

Member Function Documentation

bool UndefArrayHandler::isOK (  )  const
bool UndefArrayHandler::isUdf ( const void *  ptr,
int64_t  idx 
) const
static bool UndefArrayHandler::isUdfChar ( const void *  ,
int64_t   
) [static, protected]
static bool UndefArrayHandler::isUdfDouble ( const void *  ,
int64_t   
) [static, protected]
static bool UndefArrayHandler::isUdfFloat ( const void *  ,
int64_t   
) [static, protected]
static bool UndefArrayHandler::isUdfInt32 ( const void *  ,
int64_t   
) [static, protected]
static bool UndefArrayHandler::isUdfInt64 ( const void *  ,
int64_t   
) [static, protected]
static bool UndefArrayHandler::isUdfShort ( const void *  ,
int64_t   
) [static, protected]
static bool UndefArrayHandler::isUdfUChar ( const void *  ,
int64_t   
) [static, protected]
static bool UndefArrayHandler::isUdfUInt32 ( const void *  ,
int64_t   
) [static, protected]
static bool UndefArrayHandler::isUdfUInt64 ( const void *  ,
int64_t   
) [static, protected]
static bool UndefArrayHandler::isUdfUShort ( const void *  ,
int64_t   
) [static, protected]
bool UndefArrayHandler::set ( const BinDataDesc desc  ) 
void UndefArrayHandler::setUdf ( void *  ptr,
int64_t  idx 
) const
static void UndefArrayHandler::setUdfChar ( void *  ,
int64_t   
) [static, protected]
static void UndefArrayHandler::setUdfDouble ( void *  ,
int64_t   
) [static, protected]
static void UndefArrayHandler::setUdfFloat ( void *  ,
int64_t   
) [static, protected]
static void UndefArrayHandler::setUdfInt32 ( void *  ,
int64_t   
) [static, protected]
static void UndefArrayHandler::setUdfInt64 ( void *  ,
int64_t   
) [static, protected]
static void UndefArrayHandler::setUdfShort ( void *  ,
int64_t   
) [static, protected]
static void UndefArrayHandler::setUdfUChar ( void *  ,
int64_t   
) [static, protected]
static void UndefArrayHandler::setUdfUInt32 ( void *  ,
int64_t   
) [static, protected]
static void UndefArrayHandler::setUdfUInt64 ( void *  ,
int64_t   
) [static, protected]
static void UndefArrayHandler::setUdfUShort ( void *  ,
int64_t   
) [static, protected]
void UndefArrayHandler::unSetUdf ( void *  ptr,
int64_t  idx 
) const

If the value is undef, it is replaced by a similar value that isn't undef.

static void UndefArrayHandler::unsetUdfChar ( void *  ,
int64_t   
) [static, protected]
static void UndefArrayHandler::unsetUdfDouble ( void *  ,
int64_t   
) [static, protected]
static void UndefArrayHandler::unsetUdfFloat ( void *  ,
int64_t   
) [static, protected]
static void UndefArrayHandler::unsetUdfInt32 ( void *  ,
int64_t   
) [static, protected]
static void UndefArrayHandler::unsetUdfInt64 ( void *  ,
int64_t   
) [static, protected]
static void UndefArrayHandler::unsetUdfShort ( void *  ,
int64_t   
) [static, protected]
static void UndefArrayHandler::unsetUdfUChar ( void *  ,
int64_t   
) [static, protected]
static void UndefArrayHandler::unsetUdfUInt32 ( void *  ,
int64_t   
) [static, protected]
static void UndefArrayHandler::unsetUdfUInt64 ( void *  ,
int64_t   
) [static, protected]
static void UndefArrayHandler::unsetUdfUShort ( void *  ,
int64_t   
) [static, protected]

Member Data Documentation