Public Member Functions | |
int | getFormatVersion () const |
Returns CGI format version for this metadata set. | |
bool | hasKey (const std::string &key) const |
const std::string & | get (const std::string &key) const |
void | set (const std::string &key, const std::string &value) |
void | add (const std::string &key, const std::string &value) |
void | removeAll (const std::string &key) |
const std::vector< std::pair < std::string, std::string > > & | getMap () const |
int cgatools::util::DelimitedFileMetadata::getFormatVersion | ( | ) | const |
Returns CGI format version for this metadata set.
The version is returned as MAJOR * 1000 + MINOR, that is, for format version "1.2" this returns 1002. When the version cannot be detected, throws an exception.