libdonut 2.3.6
Application framework for cross-platform game development in C++20
|
Implementation of PropertyVisitor for freestanding classes that implement all or parts of its interface without directly inheriting from it. More...
#include <donut/json.hpp>
Public Member Functions | |
ConcretePropertyVisitor (Visitor visitor) | |
void | visitProperty (const SourceLocation &source, String &&key, Parser &parser) override |
Callback for each object property. | |
Public Attributes | |
Visitor | visitor |
Additional Inherited Members | |
![]() | |
~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 donut::json::Parser< It >::PropertyVisitor.
Visitor donut::json::Parser< It >::ConcretePropertyVisitor< Visitor >::visitor |