Public Member Functions | Private Attributes | List of all members
fastrack::MatlabFileReader Class Reference

#include <matlab_file_reader.h>

Inheritance diagram for fastrack::MatlabFileReader:
Inheritance graph
[legend]

Public Member Functions

void Close ()
 
bool IsOpen ()
 
 MatlabFileReader ()
 
 MatlabFileReader (const std::string &file_name)
 
bool Open (const std::string &file_name)
 
bool ReadScalar (const std::string &field_name, double *value)
 
bool ReadScalar (const std::string &field_name, size_t *value)
 
bool ReadString (const std::string &field_name, std::string *value)
 
bool ReadVector (const std::string &field_name, std::vector< double > *values)
 
bool ReadVector (const std::string &field_name, std::vector< size_t > *values)
 
 ~MatlabFileReader ()
 

Private Attributes

mat_t * mat_fp_
 

Additional Inherited Members

- Private Member Functions inherited from fastrack::Uncopyable
 Uncopyable ()
 
virtual ~Uncopyable ()
 

Detailed Description

Definition at line 57 of file matlab_file_reader.h.

Constructor & Destructor Documentation

fastrack::MatlabFileReader::~MatlabFileReader ( )
inline

Definition at line 59 of file matlab_file_reader.h.

fastrack::MatlabFileReader::MatlabFileReader ( )
inlineexplicit

Definition at line 60 of file matlab_file_reader.h.

fastrack::MatlabFileReader::MatlabFileReader ( const std::string &  file_name)
inlineexplicit

Definition at line 62 of file matlab_file_reader.h.

Member Function Documentation

void fastrack::MatlabFileReader::Close ( )
inline

Definition at line 72 of file matlab_file_reader.h.

bool fastrack::MatlabFileReader::IsOpen ( )
inline

Definition at line 77 of file matlab_file_reader.h.

bool fastrack::MatlabFileReader::Open ( const std::string &  file_name)

Definition at line 48 of file matlab_file_reader.cpp.

bool fastrack::MatlabFileReader::ReadScalar ( const std::string &  field_name,
double *  value 
)

Definition at line 58 of file matlab_file_reader.cpp.

bool fastrack::MatlabFileReader::ReadScalar ( const std::string &  field_name,
size_t *  value 
)

Definition at line 96 of file matlab_file_reader.cpp.

bool fastrack::MatlabFileReader::ReadString ( const std::string &  field_name,
std::string *  value 
)

Definition at line 77 of file matlab_file_reader.cpp.

bool fastrack::MatlabFileReader::ReadVector ( const std::string &  field_name,
std::vector< double > *  values 
)

Definition at line 115 of file matlab_file_reader.cpp.

bool fastrack::MatlabFileReader::ReadVector ( const std::string &  field_name,
std::vector< size_t > *  values 
)

Definition at line 137 of file matlab_file_reader.cpp.

Member Data Documentation

mat_t* fastrack::MatlabFileReader::mat_fp_
private

Definition at line 91 of file matlab_file_reader.h.


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


fastrack
Author(s): David Fridovich-Keil
autogenerated on Mon Aug 3 2020 21:28:37