21 #ifndef COMMON_WEB_POINTERTRACKER_H_
22 #define COMMON_WEB_POINTERTRACKER_H_
80 : m_pointer(pointer) {
131 explicit Token(TokenType type)
132 : type(type), index(-1), property_set(
false) {}
136 std::vector<Token> m_tokens;
142 #endif // COMMON_WEB_POINTERTRACKER_H_
void CloseObject()
Close an Object element. Note if we're not currently in an object element this has no effect...
Definition: PointerTracker.cpp:57
void CloseArray()
Close an Array Element If we're not currently in an array this doesn't do anything.
Definition: PointerTracker.cpp:78
void IncrementIndex()
Increment an array index. If we're not current in an array this doesn't do anything.
Definition: PointerTracker.cpp:91
void SetProperty(const std::string &property)
Set the property name within an Object element. Note if we're not currently in an object element this...
Definition: PointerTracker.cpp:40
void OpenArray()
Open a new Array Element Note that until IncrementIndex() is called, the array index will be -1...
Definition: PointerTracker.cpp:71
void OpenObject()
Open a new Object Element.
Definition: PointerTracker.cpp:33
A JSON pointer (RFC 6901) refers to a possible element in a JSON data structure.
Definition: JsonPointer.h:66
An implementation of Json Pointers (RFC 6901).
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44
Maintains a Json Pointer (RFC 6901) given a set of Json parse events.
Definition: PointerTracker.h:77