-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmarker_decoder.hh
More file actions
72 lines (61 loc) · 1.71 KB
/
marker_decoder.hh
File metadata and controls
72 lines (61 loc) · 1.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
//
// marker_decoder.hh
//
// Created by Erick Li on 04/16/19.
// Copyright © 2019 Erick Li. All rights reserved.
//
#ifndef __MARKER_DECODER_H__
#define __MARKER_DECODER_H__
#include <fstream>
#include <string>
#include <iostream>
/**
* The main function of marker pattern decoder.
* \param (See json_writer.hh)
* \param (See json_writer.hh)
* \param (See json_writer.hh)
*/
void decodeMarkerPattern(char **cursor, std::string &jstring, int level);
/**
* Decode the pattern of Simple Marker Symbol
* \param (See json_writer.hh)
* \param (See json_writer.hh)
* \param (See json_writer.hh)
*/
void decodeSimpleMarker(char **cursor, std::string &jstring, int level);
/**
* Decode the pattern of Character Marker Symbol
* \param (See json_writer.hh)
* \param (See json_writer.hh)
* \param (See json_writer.hh)
*/
void decodeCharacterMarker(char **cursor, std::string &jstring, int level);
/**
* Decode the pattern of Arrow Marker Symbol
* \param (See json_writer.hh)
* \param (See json_writer.hh)
* \param (See json_writer.hh)
*/
void decodeArrowMarker(char **cursor, std::string &jstring, int level);
/**
* Decode the types of markers
* \param (See json_writer.hh)
* \param (See json_writer.hh)
* \param (See json_writer.hh)
*/
int decodeMarkerTypes(char **cursor, std::string &jstring, int level);
/**
* Decode the types of masks
* \param (See json_writer.hh)
* \param (See json_writer.hh)
* \param (See json_writer.hh)
*/
int decodeMaskTypes(char **cursor, std::string &jstring, int level);
/**
* Decode the style of markers
* \param (See json_writer.hh)
* \param (See json_writer.hh)
* \param (See json_writer.hh)
*/
int decodeMarkerStyle(char **cursor, std::string &jstring, int level);
#endif