DFX Extraction library v4.14.5
enabling applications to perform DFX blood flow analysis
dfx
MeasurementResult.h
1
/*
2
* Copyright (c) 2016-2019, Nuralogix Corp.
3
* All Rights reserved
4
*
5
* THIS SOFTWARE IS LICENSED BY AND IS THE CONFIDENTIAL AND
6
* PROPRIETARY PROPERTY OF NURALOGIX CORP. IT IS
7
* PROTECTED UNDER THE COPYRIGHT LAWS OF THE USA, CANADA
8
* AND OTHER FOREIGN COUNTRIES. THIS SOFTWARE OR ANY
9
* PART THEREOF, SHALL NOT, WITHOUT THE PRIOR WRITTEN CONSENT
10
* OF NURALOGIX CORP, BE USED, COPIED, DISCLOSED,
11
* DECOMPILED, DISASSEMBLED, MODIFIED OR OTHERWISE TRANSFERRED
12
* EXCEPT IN ACCORDANCE WITH THE TERMS AND CONDITIONS OF A
13
* NURALOGIX CORP SOFTWARE LICENSE AGREEMENT.
14
*/
15
#pragma once
16
#ifndef LIBDFX_MEASUREMENTRESULT_H
17
#define LIBDFX_MEASUREMENTRESULT_H
18
19
#include "dfx/MeasurementData.h"
20
21
#include <memory>
22
#include <stdint.h>
23
#include <string>
24
#include <vector>
25
26
namespace
dfx
{
27
35
class
MeasurementResult
{
36
public
:
37
/*
38
* \brief MeasurementResult destructor
39
*/
40
virtual
~
MeasurementResult
() {
41
// Empty but necessary for vtable
42
}
43
49
virtual
uint8_t
isValid
() = 0;
50
57
virtual
std::vector<std::string>
getMeasurementPropertyKeys
() = 0;
58
69
virtual
std::string
getMeasurementProperty
(
const
std::string& key) = 0;
70
84
virtual
std::vector<std::string>
getMeasurementDataKeys
() = 0;
85
94
virtual
std::shared_ptr<MeasurementData>
getMeasurementData
(
const
std::string& key) = 0;
95
104
virtual
std::string
getErrorCode
() = 0;
105
};
106
107
}
// namespace dfx
108
109
#endif // LIBDFX_MEASUREMENTRESULT_H
dfx::MeasurementResult::isValid
virtual uint8_t isValid()=0
dfx::MeasurementResult::getMeasurementData
virtual std::shared_ptr< MeasurementData > getMeasurementData(const std::string &key)=0
dfx::MeasurementResult::getMeasurementDataKeys
virtual std::vector< std::string > getMeasurementDataKeys()=0
dfx::MeasurementResult::getMeasurementPropertyKeys
virtual std::vector< std::string > getMeasurementPropertyKeys()=0
dfx::MeasurementResult::getMeasurementProperty
virtual std::string getMeasurementProperty(const std::string &key)=0
dfx::MeasurementResult
Definition:
MeasurementResult.h:35
dfx::MeasurementResult::getErrorCode
virtual std::string getErrorCode()=0
dfx
Definition:
ChunkData.h:21