1 #ifndef METADATATABLE_H 2 #define METADATATABLE_H 7 #include "sqlitefielddef.h" 8 #include "sqlitetable.h" 15 #include <boost/lexical_cast.hpp> 21 std::unique_ptr<Impl> p;
23 FieldDef<FieldType::Text> fldKey = makeFieldDef(
"Key",FieldType::Text()).primaryKey();
24 FieldDef<FieldType::Text> fldValue = makeFieldDef(
"Value",FieldType::Text());
28 MetadataTable(std::shared_ptr<SQLiteStorage> db, std::string name);
33 void setMetadata (std::string key, std::string
value);
34 std::string getMetadata (std::string key);
38 return boost::lexical_cast<T>(getMetadata(key));
42 #endif // METADATATABLE_H Definition: sqliteoutputstorage.h:33
std::pair< box, unsigned > value
Definition: diffusion.cpp:30
#define COMMONSSHARED_EXPORT
Definition: commons_global.h:23