Skip to main content
This class represents an available reader, before it has been instantiated. The read_dataset() function actually tries to open a dataset and returns an actual Reader instance that is reading the data. Inherits from:
  • IReaderInfo

Members

Friends

Friend LibUserd

Public functions

Function read_dataset

read_dataset Attempt to read some files on disk using this reader and the specified options. If successful, return an actual reader instance.
?> The returned Reader pointer is owned by the LibUserd instance. It should not be deleted by the caller. Parameters:
  • const: std::string & file1 ///< the pimary filename (e.g. .cas)
  • const: std::string & file2 ///< an optional secondary filename (e.g. .dat)
  • Reader: * & reader ///< the actual reader instance
Returns: ErrorCode Parameters:
  • const std::string & file1
  • const std::string & file2
  • IReader *& reader
Return type: ErrorCode

Public static functions

Function get_userd_xtra_gui_values

Retrieves extra GUI values for a specified reader. This static method fetches additional GUI values associated with the given reader ID and stores them in the provided Options object. Parameters:
  • reader_id: The ID of the reader for which to retrieve the GUI values.
  • userd_options: The Options object where the retrieved GUI values will be stored.
Returns: True if there are any extra GUI values and false otherwise. Parameters:
  • int reader_id
  • Options & userd_options
Return type: bool

Private functions

Function ReaderInfo

Parameters:
  • const uint32_t id
  • const std::string name
  • const std::string description
  • const std::string file_labels
  • struct Options options
Return type: