halapi hierarchichalalignmentformatapi

- Main Page
- Namespaces
- Classes
- Files

- File List

All Classes Namespaces Functions Pages
halMetaData.h
1 /*
2 * Copyright (C) 2012 by Glenn Hickey (hickey@soe.ucsc.edu)
3 *
4 * Released under the MIT license, see LICENSE.txt
5 */
6
7 #ifndef _HALMETADATA_H
8 #define _HALMETADATA_H
9
10 #include <string>
11 #include <map>
12 #include "halDefs.h"
13
14 namespace hal {
15
21 class MetaData
22 {
23 public:
24
26 virtual const std::map<std::string, std::string>& getMap() const = 0;
27
30 virtual const std::string& get(const std::string& key) const = 0;
31
35 virtual void set(const std::string& key, const std::string& value) = 0;
36
39 virtual bool has(const std::string& key) const = 0;
40
41 protected:
42
44 virtual ~MetaData() = 0;
45 };
46
47 inline MetaData::~MetaData() {}
48
49 }
50 #endif
hal::MetaData::~MetaData
virtual ~MetaData()=0
Definition: halMetaData.h:47
hal::MetaData::set
virtual void set(const std::string &key, const std::string &value)=0
hal::MetaData::has
virtual bool has(const std::string &key) const =0
hal::MetaData
Definition: halMetaData.h:21
hal::MetaData::getMap
virtual const std::map< std::string, std::string > & getMap() const =0