SEDRIS Reference Manual
APPENDIX B - LEVEL 1 READ and WRITE API Functions SE GetSizeOfElementOfDataTable |
---|
extern SE_Status_Code | ||||
SE_GetSizeOfElementOfDataTable | ||||
( | ||||
SE_Object | data_table, | (notes) | ||
const | SE_Data_Table_Sub_Extent | * | extents_ptr, | (notes) |
SE_Integer_Positive | table_prop_descript_number, | (notes) | ||
SE_Integer_Unsigned | * | byte_count_out_ptr | (notes) | |
); |
Computes the number of bytes needed in order to store a section of the <Data Table> of a single element with the given axis extents.
This function can be used to determine how much space to allocate for a call to the level 0 API function SE_GetElementOfDataTable().
SE_STAT_CODE_SUCCESS | and *byte_count_out_ptr is set appropriately, if valid parameters were passed in. |
SE_STAT_CODE_NULL_REQUIRED_PARAMETER | and
*byte_count_out_ptr is left unaltered, if
|
SE_STAT_CODE_INVALID_OR_NULL_OBJECT | and *byte_count_out_ptr is set to zero (0), if the data_table passed in is not a handle to a valid, active (i.e., unfreed) <Data Table> instance. |
SE_STAT_CODE_UNRESOLVED_START_OBJECT | and *byte_count_out_ptr is set to zero (0), if data_table is an unresolved SEDRIS object. |
SE_STAT_CODE_UNRESOLVED_OBJECT | and *byte_count_out_ptr is set to zero (0), if an unresolved object was encountered and could not be resolved. |
SE_STAT_CODE_FAILURE | and *byte_count_out_ptr is set to zero (0), if
|
the <Data Table> instance
indicates the cells that the user wants returned (which 'region' of the <Data Table> is to be retrieved)
an index into the ordered list of <Table Property Descriptions> aggregated by data_table
a pointer to a variable in the user's memory space where the number of bytes needed to store the specified region of data_table will be stored.
Prev: SE_GetSizeOfDataTableData.
Next: SE_GetSizeOfImageData.
Up:Index.
|