OpendTect-6_4  6.4
Public Member Functions | Protected Types | Static Protected Member Functions | Protected Attributes | List of all members
UndefArrayHandler Class Reference

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

Public Member Functions

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

Protected Types

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

Static Protected Member Functions

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

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 *, od_int64 idx)
protected
typedef void(* UndefArrayHandler::SetUdfFunc) (void *, od_int64 idx)
protected
typedef void(* UndefArrayHandler::UnsetUdfFunc) (void *, od_int64 idx)
protected

Constructor & Destructor Documentation

UndefArrayHandler::UndefArrayHandler ( const BinDataDesc desc)

Member Function Documentation

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

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

static void UndefArrayHandler::unsetUdfChar ( void *  ,
od_int64   
)
staticprotected
static void UndefArrayHandler::unsetUdfDouble ( void *  ,
od_int64   
)
staticprotected
static void UndefArrayHandler::unsetUdfFloat ( void *  ,
od_int64   
)
staticprotected
static void UndefArrayHandler::unsetUdfInt32 ( void *  ,
od_int64   
)
staticprotected
static void UndefArrayHandler::unsetUdfInt64 ( void *  ,
od_int64   
)
staticprotected
static void UndefArrayHandler::unsetUdfShort ( void *  ,
od_int64   
)
staticprotected
static void UndefArrayHandler::unsetUdfUChar ( void *  ,
od_int64   
)
staticprotected
static void UndefArrayHandler::unsetUdfUInt32 ( void *  ,
od_int64   
)
staticprotected
static void UndefArrayHandler::unsetUdfUInt64 ( void *  ,
od_int64   
)
staticprotected
static void UndefArrayHandler::unsetUdfUShort ( void *  ,
od_int64   
)
staticprotected

Member Data Documentation

IsUdfFunc UndefArrayHandler::isudf_
protected
UnsetUdfFunc UndefArrayHandler::limitrange_
protected
SetUdfFunc UndefArrayHandler::setudf_
protected

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019