OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
Public Member Functions | List of all members
SDDSReader Class Reference

#include <SDDSReader.h>

Inheritance diagram for SDDSReader:
Inheritance graph
[legend]
Collaboration diagram for SDDSReader:
Collaboration graph
[legend]

Public Member Functions

 SDDSReader (const std::string &fname)
 
void parseFile ()
 
- Public Member Functions inherited from SDDS::SDDSParser
 SDDSParser ()
 
 SDDSParser (const std::string &input)
 
void setInput (const std::string &input)
 
file run ()
 
const file & getData () const
 
const ast::columnData_t & getColumnData (const std::string &columnName) const
 
ast::dataType getColumnType (const std::string &col_name) const
 
template<typename T >
void getValue (int t, const std::string &column_name, T &nval)
 
template<typename T >
void getInterpolatedValue (const std::string &ref_name, double ref_val, const std::string &col_name, T &nval)
 
template<typename T >
void getInterpolatedValue (double spos, const std::string &col_name, T &nval)
 
template<typename T >
void getParameterValue (const std::string &parameter_name, T &nval)
 
template<typename T >
T getVariantValue (const ast::variant_t &val, ast::dataType type) const
 Convert value from variant (only numeric types) to a value of type T.
 

Detailed Description

Definition at line 6 of file SDDSReader.h.

Constructor & Destructor Documentation

◆ SDDSReader()

SDDSReader::SDDSReader ( const std::string &  fname)
inline

Definition at line 8 of file SDDSReader.h.

Member Function Documentation

◆ parseFile()

void SDDSReader::parseFile ( )
inline

Definition at line 12 of file SDDSReader.h.

References SDDS::SDDSParser::run().

Here is the call graph for this function:

The documentation for this class was generated from the following file: