Scalar_datatype (
Scalar_kind kind, size_t size )
Parameters
kindsize
class
PDI::Scalar_datatype
Scalar_datatype (
Scalar_kind kind, size_t size )
Scalar_datatype (
size_t align, Scalar_kind kind, size_t size )
Scalar_datatype (
size_t align, std::function< void *(void *, const void *)> copy, size_t dense_size, std::function< void(void *)> destroy, Scalar_kind kind, size_t size ) size_t
alignment (
) size_t
buffersize (
) Datatype_template_uptr
clone (
) Datatype_uptr
clone_type (
) void *
data_from_dense_copy (
const void * from, void * to ) void *
data_to_dense_copy (
const void * from, void * to ) size_t
datasize (
) std::string
debug_string (
) bool
dense (
) Datatype_uptr
densify (
) void
destroy_data (
void * ptr ) Datatype_uptr
evaluate (
Context & ctx ) Scalar_kind
kind (
) bool
operator== (
const Datatype & other ) bool
simple (
)
Scalar_datatype (
Scalar_kind kind, size_t size ) kindsize
Scalar_datatype (
size_t align, Scalar_kind kind, size_t size ) alignkindsize
Scalar_datatype (
size_t align, std::function< void *(void *, const void *)> copy, size_t dense_size, std::function< void(void *)> destroy, Scalar_kind kind, size_t size ) aligncopydense_sizedestroykindsize
size_t
alignment (
) the size in bytes
size_t
buffersize (
) the size in bytes
Datatype_template_uptr
clone (
) the dense type that is produced
Datatype_uptr
clone_type (
) the dense type that is produced
void *
data_from_dense_copy (
const void * from, void * to ) fromtoupdated ‘to’ pointer
void *
data_to_dense_copy (
const void * from, void * to ) fromtoupdated ‘to’ pointer
size_t
datasize (
) the size in bytes
std::string
debug_string (
) the datatype yaml representation as a string
bool
dense (
) whether the datatype is dense
Datatype_uptr
densify (
) the type that is produced
void
destroy_data (
void * ptr ) ptr
Datatype_uptr
evaluate (
Context & ctx ) ctxthe evaluated type that is produced
Scalar_kind
kind (
)
bool
operator== (
const Datatype & other ) othertrue if the Datatype’s are equal
bool
simple (
) true if data has trivial copier and destroyer, false otherwise