d_datainfo

namespace d_datainfo

Functions

integer function, public artn_get_dtype_val (name)

return the values for dtype encoders This is to avoid manual copying in interfaces.

integer(c_int) function artn_get_dtype_cval (cname)
character(len=10) function, public artn_get_dtype_str (val)

return the string corresponding to dtype encoder value

type(c_ptr) function artn_get_dtype_cstr (cval)
integer function, public artn_get_dtype (name)

return value of expected data type of variable <name>, even if variable is not set. If variable <name> is unknown, dtype has a negative value.

integer(c_int) function artn_get_ctype (cname)

C-wrapper for artn_get_dtype

int artn_get_dtype( const char *name );

integer function, public artn_get_drank (name)

Return value of expected rank of variable <name>, even if variable is not set/allocated. If variable is unknown, this will return drank=0

integer(c_int) function artn_get_crank (cname)

C wrapper for artn_get_drank

int artn_get_drank( const char *name );

integer function, public artn_get_dsize (name, dsize)

return actual size of variable <name>, if varibale not allocated return negative ierr.

integer(c_int) function artn_get_csize (cname, csize)

C-wrapper to artn_get_dsize

int artn_get_dsize( const char *name, int **csize );

Variables

integer, parameter, public artn_dtype_unknown   = -1
integer, parameter, public artn_dtype_int   = 1
integer, parameter, public artn_dtype_real   = 2
integer, parameter, public artn_dtype_bool   = 3
integer, parameter, public artn_dtype_str   = 4