1 #ifndef EMITFROMEVENTS_H_62B23520_7C8E_11DE_8A39_0800200C9A66 2 #define EMITFROMEVENTS_H_62B23520_7C8E_11DE_8A39_0800200C9A66 4 #if defined(_MSC_VER) || \ 5 (defined(__GNUC__) && (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) || \ 6 (__GNUC__ >= 4)) // GCC supports "pragma once" correctly since 3.4 12 #include "yaml-cpp/anchor.h" 13 #include "yaml-cpp/emitterstyle.h" 14 #include "yaml-cpp/eventhandler.h" 27 virtual void OnDocumentStart(
const Mark& mark);
28 virtual void OnDocumentEnd();
30 virtual void OnNull(
const Mark& mark, anchor_t anchor);
31 virtual void OnAlias(
const Mark& mark, anchor_t anchor);
32 virtual void OnScalar(
const Mark& mark,
const std::string& tag,
33 anchor_t anchor,
const std::string& value);
35 virtual void OnSequenceStart(
const Mark& mark,
const std::string& tag,
36 anchor_t anchor, EmitterStyle::value style);
37 virtual void OnSequenceEnd();
39 virtual void OnMapStart(
const Mark& mark,
const std::string& tag,
40 anchor_t anchor, EmitterStyle::value style);
41 virtual void OnMapEnd();
45 void EmitProps(
const std::string& tag, anchor_t anchor);
51 enum value { WaitingForSequenceEntry, WaitingForKey, WaitingForValue };
53 std::stack<State::value> m_stateStack;
57 #endif // EMITFROMEVENTS_H_62B23520_7C8E_11DE_8A39_0800200C9A66
Definition: eventhandler.h:18
Definition: emitfromevents.h:23
Definition: DrawableObjectLoader.h:10