|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Implementation of PropertyVisitor for freestanding classes that implement all or parts of its interface without directly inheriting from it. More...
#include <GREM/core/formats/json.hpp>

Public Member Functions | |
| ConcretePropertyVisitor (Visitor visitor) | |
| void | visitProperty (const SourceLocation &source, StringBase< Allocator > &&key, Parser &parser) override |
| Callback for each object property. | |
Public Attributes | |
| Visitor | visitor |
Additional Inherited Members | |
| Protected Member Functions inherited from grem::json::Parser< It, Allocator >::PropertyVisitor | |
| ~PropertyVisitor ()=default | |
Implementation of PropertyVisitor for freestanding classes that implement all or parts of its interface without directly inheriting from it.
| Visitor | freestanding property visitor type to adapt. |
|
inline |
|
inlineoverridevirtual |
Callback for each object property.
| source | location of the beginning of the property's value. |
| key | the property's name string. |
| parser | parser that should be used to parse the property's value. |
| json::Error | on invalid input. |
| any | exception thrown by the concrete implementation. |
Implements grem::json::Parser< It, Allocator >::PropertyVisitor.
| Visitor grem::json::Parser< It, Allocator >::ConcretePropertyVisitor< Visitor >::visitor |