Configuration reader class.
Definition at line 21 of file reader.h.
|
| Reader (const std::string &file_name) |
| Constructor. More...
|
|
| Reader () |
| Default constructor. More...
|
|
void | ascend () |
| Ascend from the current entry to its parent. More...
|
|
bool | descend (const std::string &child_name) |
| Descend to the entry with the given name. More...
|
|
template<typename t_Scalar , int t_rows, int t_flags> |
void | readCompound (Eigen::Matrix< t_Scalar, t_rows, 1, t_flags > &entry, const std::string &entry_name, const bool crash_on_missing_entry=false) |
| Read configuration entry (vector) More...
|
|
template<typename t_Scalar , int t_rows, int t_cols, int t_flags> |
void | readCompound (Eigen::Matrix< t_Scalar, t_rows, t_cols, t_flags > &entry, const std::string &entry_name, const bool crash_on_missing_entry=false) |
| Read a configuration entry (matrix) More...
|
|
template<typename t_VectorEntryType > |
void | readCompound (std::vector< t_VectorEntryType > &entry, const std::string &entry_name, const bool crash_on_missing_entry=false) |
| Read configuration entry (std::vector) More...
|
|
template<typename t_EnumerationType > |
void | readEnum (t_EnumerationType &entry, const std::string &entry_name, const bool crash_on_missing_entry=false) |
| Read configuration entry (an enum). This method is added since an explicit casting to integer is needed. More...
|
|
template<typename t_EntryType > |
void | readScalar (t_EntryType &entry, const std::string &entry_name, const bool crash_on_missing_entry=false) |
| Read configuration entry (scalar template) More...
|
|