semilimes mcu sdk 1.1.1
semilimes Software Development Kit for microcontrollers
Loading...
Searching...
No Matches
fc_hidden_value.h
1#ifndef _fc_hidden_value_
2#define _fc_hidden_value_
3
4#include "../defines.h"
5
7{
8private:
9 #define headerSize 59
10 SmeJson json_data;
11 char* json = nullptr;
12
13public:
14// Function: ~FcHiddenValue
15
16// distructor of the class, frees up the memory occupied by the array/s
17
18// Prototype:
19// ~FcHiddenValue()
20
21// Parameters:
22
23// Returns:
26 {
27 delete[] json;
28 json = nullptr;
29 }
30
31// Function: FcHiddenValue.set
32
33// A value into the form which is not visible to the use
34
35// Prototype:
36// void FcHiddenValue::set(char* refname,char* value);
37
38// Parameters:
41
42// Returns:
44 void set(char* refname,char* value);
45
46// Function: FcHiddenValue.get
47
48// return the json script
49
50// Prototype:
51// void FcHiddenValue::get();
52
53// Parameters:
54
55// Returns:
57 char* get();
58};
59
60#endif
Definition fc_hidden_value.h:7
~FcHiddenValue()
Definition fc_hidden_value.h:25
void set(char *refname, char *value)
Definition fc_hidden_value.cpp:17
char * get()
Definition fc_hidden_value.cpp:40