Skip to main content
Interface for variables for the DVS Reader API. #include <dvs_var_interface.h>

Public Member Functions

Detailed Description

Interface for variables 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. Definition at line 57 of file dvs_var_interface.h.

Member Function Documentation

get_dataset()

pure virtual Get the reference dataset for this var. Returns const DVS::IDataset* the reference to the dataset

get_float_count_per_value()

pure virtual Get the number of floats per value. Gets the size of each value, i.e. a scalar is 1 a vector is 3 etc. Returns uint32_t size of each value for the var

get_metadata_key()

pure virtual Get a metadata key based on the index. Parameters Returns const char* key for the metadata, nullptr if not found

get_metadata_value() [1/2]

pure virtual Get the metadata value based on the key. Parameters Returns const char* value for the key, nullptr if not found

get_metadata_value() [2/2]

pure virtual Get the metadata value base on the index. Parameters Returns const char* value for the metadata, nullptr if not found

get_name()

pure virtual Get the name of the variable. Returns const char* name of variable

get_num_metadata()

pure virtual Get the num metadata values on this var. Returns uint32_t number of metadata keys/values

get_unit_dimension()

pure virtual Get the unit dimensions as string. Returns const char* string of unit dimensions

get_unit_label()

pure virtual Get the unit label as string. This is a specialized name referring to the dimensions Returns const char* string of unit label

get_var_location()

pure virtual Get the var location. Returns dvs_var_location location of var

get_var_type()

pure virtual Get the type of var. Returns dvs_var_type type of var The documentation for this class was generated from the following file: