comparison OrthancServer/DatabaseWrapper.h @ 436:d51186bf7602

read access to metadata
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 15 May 2013 16:28:00 +0200
parents 47d63c941902
children 7bbe77cb9e12
comparison
equal deleted inserted replaced
435:28ba73274919 436:d51186bf7602
110 110
111 bool LookupMetadata(std::string& target, 111 bool LookupMetadata(std::string& target,
112 int64_t id, 112 int64_t id,
113 MetadataType type); 113 MetadataType type);
114 114
115 bool ListAvailableMetadata(std::list<MetadataType>& target,
116 int64_t id);
117
115 std::string GetMetadata(int64_t id, 118 std::string GetMetadata(int64_t id,
116 MetadataType type, 119 MetadataType type,
117 const std::string& defaultValue = ""); 120 const std::string& defaultValue = "");
118 121
119 bool GetMetadataAsInteger(int& result, 122 bool GetMetadataAsInteger(int& result,