All Classes Namespaces Functions Pages
halMetaData.h
/*
* Copyright (C) 2012 by Glenn Hickey (hickey@soe.ucsc.edu)
*
* Released under the MIT license, see LICENSE.txt
*/
#ifndef _HALMETADATA_H
#define _HALMETADATA_H
#include <string>
#include <map>
#include "halDefs.h"
namespace hal {
class MetaData
{
public:
virtual const std::map<std::string, std::string>& getMap() const = 0;
virtual const std::string& get(const std::string& key) const = 0;
virtual void set(const std::string& key, const std::string& value) = 0;
virtual bool has(const std::string& key) const = 0;
protected:
virtual ~MetaData() = 0;
};
inline MetaData::~MetaData() {}
}
#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