Pointer_datatype (
Datatype_uptr subtype )
Parameters
subtype
class
PDI::Pointer_datatype
Pointer_datatype (
Datatype_uptr subtype )
Pointer_datatype (
std::function< void *(void *, const void *)> copy, std::function< void(void *)> destroy, Datatype_uptr subtype ) 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 (
) Datatype_uptr
dereference (
) void
destroy_data (
void * ptr ) Datatype_uptr
evaluate (
Context & ctx ) bool
operator== (
const Datatype & other ) bool
simple (
) std::pair< void *, Datatype_uptr >
subaccess_by_iterators (
void * from, std::vector< std::unique_ptr< Accessor_base >>::const_iterator remaining_begin, std::vector< std::unique_ptr< Accessor_base >>::const_iterator remaining_end ) const Datatype &
subtype (
)
Pointer_datatype (
Datatype_uptr subtype ) subtype
Pointer_datatype (
std::function< void *(void *, const void *)> copy, std::function< void(void *)> destroy, Datatype_uptr subtype ) copydestroysubtype
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
Datatype_uptr
dereference (
)
void
destroy_data (
void * ptr ) ptr
Datatype_uptr
evaluate (
Context & ctx ) ctxthe evaluated type that is produced
bool
operator== (
const Datatype & other ) othertrue if the Datatype’s are equal
bool
simple (
) true if data has trivial copier and destroyer, false otherwise
std::pair< void *, Datatype_uptr >
subaccess_by_iterators (
void * from, std::vector< std::unique_ptr< Accessor_base >>::const_iterator remaining_begin, std::vector< std::unique_ptr< Accessor_base >>::const_iterator remaining_end ) fromremaining_beginremaining_endpointer moved by offset and new datatype
const Datatype &
subtype (
) the type of the pointed element