- IReader
Members
- dynamic_update_check
- get_geometry_info
- get_meta_data_string
- get_number_of_time_sets
- get_part_hints
- info
- is_geometry_changing
- m_part_metatags
- m_query_metatags
- m_reader_info
- m_var_metatags
- number_of_geometries
- parse_metatags
- parts
- queries
- Reader
- ReaderInfo
- set_timestep
- set_timevalue
- timevalues
- variable_value
- variables
Friends
Friend ReaderInfo
Private attributes
Variable m_reader_info
Variable m_part_metatags
Variable m_var_metatags
Variable m_query_metatags
Public functions
Function parts
- std::vector<IPart: * > & part_list
- std::vector< IPart * > & part_list
Function variables
- std::vector<IVariable: * > & variable_list
- std::vector< IVariable * > & variable_list
Function queries
- std::vector<IQuery: * > & query_list
- std::vector< IQuery * > & query_list
Function get_number_of_time_sets
- uint32_t: number_of_time_sets is the total number of timesets available in this dataset
- uint32_t & number_of_time_sets
Function timevalues
- std::vector<float>: & timevalues The “time” values available in this dataset
- uint32_t: timeset_number This optional argument can be ignored for v1.0 but needs to be supplied for version 2 & 3 (otherwise it would be defaulted to 0th timeset)
- std::vector< float > & timevalues
- uint32_t timeset_number = 0
Function set_timevalue
- float: timevalue The time value. Note: this value must be present in timesteps();
- uint32_t: timeset_number This optional argument can be ignored for v1.0 but needs to be supplied for version 2 & 3 (otherwise it would be defaulted to 0th timeset)
- float timevalue
- uint32_t timeset_number = 0
Function set_timestep
- uint32_t: timestep This is the time value index: [0,timevalues.size()-1]
- uint32_t: timeset_number This optional argument can be ignored for v1.0 but needs to be supplied for version 2 & 3 (otherwise it would be defaulted to 0th timeset)
- uint32_t timestep
- uint32_t timeset_number = 0
Function variable_value
- const: IVariable & var The Variable corresponding to a DATASET constant
- float: & value The value of the variable
- int32_t: rank The rank number to return values for. Unimplemented, use 0.
- const IVariable * var
- float & value
- int32_t rank = 0
Function dynamic_update_check
?> : a reader is not allowed to change the underlying data nor structure if this method is never called and only the bits set in the input flags are allowed to change. Parameters:
- UpdateHints: changes_allowed Bitfield of the types of changes that are allowed.
- UpdateHints changes_allowed
Function is_geometry_changing
- bool: - returns true if the geometry is changing (timestep dependent) and false otherwise
Function info
Public static functions
Function get_geometry_info
- int reader_id
- int part_index
- std::vector< int > & geoms_vector
Function number_of_geometries
- int reader_id
- int part_index
- int & number_of_geoms
Private functions
Function Reader
- ReaderInfo info
Function get_meta_data_string
Function parse_metatags
- std::map< const std::string, std::string > & map
- const char * section_name
Function get_part_hints
- int reader_id
- int part_index
- PartHints & part_hints