DFX Extraction library v4.12.0
enabling applications to perform DFX blood flow analysis
MeasurementData.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_MEASUREMENTDATA_H
17 #define LIBDFX_MEASUREMENTDATA_H
18 
19 #include <stdint.h>
20 #include <string>
21 #include <vector>
22 
23 namespace dfx {
24 
31 public:
32  /*
33  * \brief MeasurementData destructor
34  */
35  virtual ~MeasurementData() {
36  // Empty but necessary for vtable
37  }
38 
45  virtual std::vector<std::string> getDataPropertyKeys() = 0;
46 
58  virtual std::string getDataProperty(const std::string& key) = 0;
59 
72  virtual std::vector<double> getData() = 0;
73 };
74 
75 } // namespace dfx
76 
77 #endif // LIBDFX_MEASUREMENTDATA_H
dfx::MeasurementData::getDataProperty
virtual std::string getDataProperty(const std::string &key)=0
Returns a measurement data property by key.
dfx::MeasurementData::getDataPropertyKeys
virtual std::vector< std::string > getDataPropertyKeys()=0
Returns a list of measurement data property keys that can be used with getDataProperty().
dfx::MeasurementData::getData
virtual std::vector< double > getData()=0
Returns the numerical data associated with this MeasurmentData.
dfx::MeasurementData
Definition: MeasurementData.h:30
dfx
Definition: ChunkData.h:21