Skyward boardcore
|
Class used to deserialize the binary logs created using fedetft's logger into csv files. More...
#include <Deserializer.h>
Public Member Functions | |
Deserializer (std::string fileName) | |
Initializes the deserializer with the filename provided. | |
~Deserializer () | |
template<typename T > | |
void | registerType () |
Register a type to be deserialized. | |
bool | deserialize () |
Deserializes the provided file. | |
void | close () |
Closes all the openend files. | |
Class used to deserialize the binary logs created using fedetft's logger into csv files.
Definition at line 54 of file Deserializer.h.
Boardcore::Deserializer::Deserializer | ( | std::string | fileName | ) |
Initializes the deserializer with the filename provided.
Definition at line 111 of file Deserializer.h.
Boardcore::Deserializer::~Deserializer | ( | ) |
Definition at line 119 of file Deserializer.h.
void Boardcore::Deserializer::close | ( | ) |
Closes all the openend files.
Definition at line 231 of file Deserializer.h.
bool Boardcore::Deserializer::deserialize | ( | ) |
Deserializes the provided file.
Definition at line 176 of file Deserializer.h.
void Boardcore::Deserializer::registerType | ( | ) |
Register a type to be deserialized.
Node: The object type must provide a static header function and a print function with the following prototypes: static std::string header() void print(std::ostream& os) const
T | The object type to be deserialized. |
Definition at line 122 of file Deserializer.h.