Skip to main content
Interface for datasets for the DVS Reader API. This object’s lifetime is controlled by the query it is returned from. If the filter or uri of the query is changed this object will be destroyed. If this is a chained query and any of the parent queries are modified this object will also be destroyed. See dvs_query_interface.h for more information. Inherits from:

Members

Public functions

Function IDataset

default Return type:

Function ~IDataset

default Return type:

Function IDataset

default Parameters:
  • IDataset &&
Return type:

Function operator=

default Parameters: Return type: IDataset &

Function IDataset

support copying Parameters:
  • const IDataset &
Return type:

Function operator=

default Parameters: Return type: IDataset &

Function get_unit_system

Get the unit system of the dataset. Returns: const char* unit system of the dataset Return type: const char *

Function get_num_ranks

Get the number of ranks for the dataset. Returns: uint32_t number of ranks Return type: uint32_t

Function get_ranks

Get an array of the ranks for this dataset query. This method returns an array of the rank numbers for this dataset based on the query Parameters: Returns: dvs_ret DVS_NONE if no errors, otherwise see dynamic_visualization_store_error_codes.h Parameters:
  • uint32_t * ranks
Return type: dvs_ret

Function get_num_chunks_per_rank

Get the size of the chunks_per_rank array for get_chunks_per_rank(). The size of this should match the number of ranks this dataset has Returns: uint32_t the number of chunks per ranks Return type: uint32_t

Function get_chunks_per_rank

Get the number of chunks for each rank. This method returns an array of the max number of chunks for each rank based on the filters of the query. The values correspond to the ranks returned from IDataset::get_ranks(). Example: if get_ranks returns ranks: [0 2 5] then this might return [1 1 2] based on the number of chunks this dataset was written with. Parameters: Returns: dvs_ret DVS_NONE if no errors, otherwise see dynamic_visualization_store_error_codes.h Parameters:
  • uint32_t * chunks_per_rank
Return type: dvs_ret

Function get_num_parts

Get the number of parts for this dataset. Returns: uint32_t the number of parts Return type: uint32_t

Function get_part

Get a part by index. Parameters:
  • index: index of the part
Returns: DVS::IObject* pointer to part object or nullptr if not found Parameters:
  • uint32_t index
Return type: const DVS::IObject *

Function get_num_plots

Get the number of plots for this datasets. Returns: uint32_t the number of plots for this dataset Return type: uint32_t

Function get_plot

Get the plot object. Parameters:
  • index: the index of the plot to retrieve
Returns: DVS::IObject* pointer to DVS::IObject plot or nullptr Parameters:
  • uint32_t index
Return type: const DVS::IObject *

Function get_num_variables

Get the number of variables for this dataset. Returns: uint32_t the number of variable definitions Return type: uint32_t

Function get_var

Get the var object. Parameters:
  • index: the index of the var to retrieve
Returns: DVS::IVar* pointer to DVS::IVar object or nullptr Parameters:
  • uint32_t index
Return type: const DVS::IVar *