![]() |
smgl 0.11.0
Structured Metadata Engine and Graph Objects Library
|
Source-token descriptor pairing a Node type with a serialization key. More...
#include <smgl/Node.hpp>
Public Member Functions | |
| NodeDesc (std::string k) | |
| Construct a descriptor with an explicit serialization key. | |
Public Attributes | |
| std::string | key |
Registered serialization key (the source spelling of T) | |
Source-token descriptor pairing a Node type with a serialization key.
Associates a Node type T with the registered serialization key used to reconstruct it during Graph::Load. Construct via the SMGL_NODE() macro, which captures the verbatim, as-written spelling of T as the key, and pass the result to RegisterNodes() / DeregisterNodes().
|
inlineexplicit |
| std::string smgl::NodeDesc< T >::key |