Circus 0.0.1-alpha
C++ Serialization Framework
|
Parses structured circus-formatted input and exposes access to the parsed data. More...
#include <deserializer.hpp>
Public Types | |
using | circ_object = std::unordered_map<std::string, circ_variable> |
Public Member Functions | |
deserializer (IStreamT &is) | |
Constructs a deserializer from an input stream. | |
circ_safe_proxy | operator[] (const std::string &k) |
Destructor (default). |
Parses structured circus-formatted input and exposes access to the parsed data.
This class reads an input stream, lexes and parses it into a structured tree (circ_variable), and provides safe, nested access through operator[] and type-safe retrieval using .value<T>().
IStreamT | Input stream type (must derive from std::istream) |
|
inline |
Constructs a deserializer from an input stream.
This constructor will:
is | Input stream containing serialized circus-formatted data. |