| semilimes mcu sdk 1.1.2 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
6 class FcHiddenValue
7{
8 private:
9 SmeJson json_data;
10 char* json = nullptr;
11
12 public:
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:
24 ~FcHiddenValue()
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
FcHiddenValue
Definition fc_hidden_value.h:7
FcHiddenValue::set
void set(const char *refname, const char *value)
Definition fc_hidden_value.cpp:17
FcHiddenValue::~FcHiddenValue
~FcHiddenValue()
Definition fc_hidden_value.h:24
FcHiddenValue::get
char * get()
Definition fc_hidden_value.cpp:40