Paperd.Ink Library 0.0.5
Library for interacting with Paperd.Ink devices.
Loading...
Searching...
No Matches
TodoTodoistJsonListener Class Reference

#include <todoist_parser.h>

Inheritance diagram for TodoTodoistJsonListener:

Public Member Functions

virtual void whitespace (char c)
 
virtual void startDocument ()
 
virtual void key (String key)
 
virtual void value (String value)
 
virtual void endArray ()
 
virtual void endObject ()
 
virtual void endDocument ()
 
virtual void startArray ()
 
virtual void startObject ()
 

Detailed Description

Definition at line 6 of file todoist_parser.h.

Member Function Documentation

◆ endArray()

void TodoTodoistJsonListener::endArray ( )
virtual

Definition at line 34 of file todoist_parser.cpp.

35{
36}

◆ endDocument()

void TodoTodoistJsonListener::endDocument ( )
virtual

Definition at line 42 of file todoist_parser.cpp.

43{
44}

◆ endObject()

void TodoTodoistJsonListener::endObject ( )
virtual

Definition at line 38 of file todoist_parser.cpp.

39{
40}

◆ key()

void TodoTodoistJsonListener::key ( String key)
virtual

Definition at line 16 of file todoist_parser.cpp.

17{
19 key_state = FOUND_TASK;
20}
virtual void key(String key)
@ FOUND_TASK
PaperdinkUITodoListTodoistClass Paperdink_TodoListTodoist
#define TODO_LIST_MAX_TASKS
Definition todo_list.h:8

◆ startArray()

void TodoTodoistJsonListener::startArray ( )
virtual

Definition at line 46 of file todoist_parser.cpp.

47{
48}

◆ startDocument()

void TodoTodoistJsonListener::startDocument ( )
virtual

Definition at line 11 of file todoist_parser.cpp.

◆ startObject()

void TodoTodoistJsonListener::startObject ( )
virtual

Definition at line 50 of file todoist_parser.cpp.

51{
52}

◆ value()

void TodoTodoistJsonListener::value ( String value)
virtual

Definition at line 22 of file todoist_parser.cpp.

23{
24 if (key_state == FOUND_TASK) {
25 // Limit to TODO_LIST_MAX_TODO_STR_LENGTH to display properly on screen
26 //DEBUG.printf("TASK: %s\r\n", value.c_str());
30 key_state = NOT_FOUND;
31 }
32}
char tasks[TODO_LIST_MAX_TASKS][TODO_LIST_MAX_TODO_STR_LENGTH+1]
Definition todo_list.h:14
virtual void value(String value)
@ NOT_FOUND
#define TODO_LIST_MAX_TODO_STR_LENGTH
Definition todo_list.h:9

◆ whitespace()

void TodoTodoistJsonListener::whitespace ( char c)
virtual

Definition at line 7 of file todoist_parser.cpp.

8{
9}

The documentation for this class was generated from the following files: