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