DISPLACE  1.0
A spatial model of fisheries to help sustainable fishing and maritime spatial planning
MetadataTable Class Reference

#include <metadatatable.h>

Inheritance diagram for MetadataTable:

Classes

struct  Impl
 

Public Member Functions

 MetadataTable (std::shared_ptr< SQLiteStorage > db, std::string name)
 
 ~MetadataTable () noexcept
 
void dropAndCreate ()
 
void setMetadata (std::string key, std::string value)
 
std::string getMetadata (std::string key)
 
template<typename T >
getMetadataAs (std::string key)
 

Constructor & Destructor Documentation

◆ MetadataTable()

MetadataTable::MetadataTable ( std::shared_ptr< SQLiteStorage >  db,
std::string  name 
)

◆ ~MetadataTable()

MetadataTable::~MetadataTable ( )
defaultnoexcept

Member Function Documentation

◆ dropAndCreate()

void MetadataTable::dropAndCreate ( )

◆ getMetadata()

std::string MetadataTable::getMetadata ( std::string  key)

◆ getMetadataAs()

template<typename T >
T MetadataTable::getMetadataAs ( std::string  key)
inline

◆ setMetadata()

void MetadataTable::setMetadata ( std::string  key,
std::string  value 
)

The documentation for this class was generated from the following files: