|
LOST
0.0.1
LOST: Open-source Star Tracker
|
#include <string.h>#include <utility>#include <vector>#include <algorithm>#include "decimal.hpp"

Go to the source code of this file.
Classes | |
| class | lost::SerializeContext |
| class | lost::DeserializeContext |
Namespaces | |
| lost | |
| LOST starting point. | |
Functions | |
| template<typename T > | |
| void | lost::SwapEndianness (unsigned char *buffer) |
| Unconditionally swap the endianness of a value (uses sizeof T). More... | |
| template<typename T > | |
| void | lost::SwapEndiannessIfNecessary (unsigned char *buffer, SerializeContext *ser) |
| Swap the endianness of a value if necessary. More... | |
| template<> | |
| void | lost::SwapEndiannessIfNecessary< decimal > (unsigned char *buffer, SerializeContext *ser) |
| template<typename T > | |
| void | lost::DeserializePadding (DeserializeContext *des) |
| Move the cursor forward past any padding that would appear before a value of type T. More... | |
| template<typename T > | |
| T | lost::DeserializePrimitive (DeserializeContext *des) |
| template<typename T > | |
| const T * | lost::DeserializeArray (DeserializeContext *des, long arrLength) |
| return an array of items as a pointer. Will point into the buffer (mmap style). More... | |
| template<typename T > | |
| void | lost::SerializePadding (SerializeContext *ser) |
| template<typename T > | |
| void | lost::SerializePrimitive (SerializeContext *ser, const T &val) |