Fledge
An open source edge computing platform for industrial users
base64dpimage.h
1
#ifndef _BASE64_DPIMAGE_H_
2
#define _BASE64_DPIMAGE_H_
3
/*
4
* Fledge Base64 encoded data point image
5
*
6
* Copyright (c) 2021 Dianomic Systems
7
*
8
* Released under the Apache 2.0 Licence
9
*
10
* Author: Mark Riddoch
11
*/
12
#include <dpimage.h>
13
#include <string>
14
#include <stdexcept>
15
#include <base64.h>
16
22
class
Base64DPImage
:
public
DPImage
{
23
public
:
24
Base64DPImage
(
const
std::string& encoded);
25
std::string
encode
();
26
};
27
#endif
DPImage
Simple Image class that will be used within data points to store image data.
Definition:
dpimage.h:21
Base64DPImage::encode
std::string encode()
Base 64 encode the DPImage.
Definition:
base64image.cpp:63
Base64DPImage
The Base64DPImage provide functionality on top of the simple DPImage class that is used to encode the...
Definition:
base64dpimage.h:22
Base64DPImage::Base64DPImage
Base64DPImage(const std::string &encoded)
Construct a DPImage by decoding a Base64 encoded buffer.
Definition:
base64image.cpp:20
C
common
include
base64dpimage.h
Generated by
1.8.17