OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
MetadataEntryArray.h
Go to the documentation of this file.
1#pragma once
2#include "MetadataEntry.h"
3#include "OTCore/Variable.h"
4
5#include <list>
6
8{
9public:
10 MetadataEntryArray(const std::string name, std::list<ot::Variable>&& values) : MetadataEntry(name), _values(values){}
11 MetadataEntryArray(const std::string name, const std::list<ot::Variable>& values) : MetadataEntry(name), _values(values){}
12 const std::list<ot::Variable>& getValues() const { return _values; }
13
14 bool operator==(const MetadataEntryArray& other);
15private:
16 std::list<ot::Variable> _values;
17};
Definition MetadataEntryArray.h:8
MetadataEntryArray(const std::string name, std::list< ot::Variable > &&values)
Definition MetadataEntryArray.h:10
const std::list< ot::Variable > & getValues() const
Definition MetadataEntryArray.h:12
MetadataEntryArray(const std::string name, const std::list< ot::Variable > &values)
Definition MetadataEntryArray.h:11
bool operator==(const MetadataEntryArray &other)
Definition MetadataEntryArray.cpp:3
Definition MetadataEntry.h:5