#include <GribFileIndex.h>
Public Member Functions | |
GribFileIndex () | |
GribFileIndex (boost::filesystem::path gribFilePath, bool ignoreExistingXml=false) | |
virtual | ~GribFileIndex () |
const std::vector < GribFileMessage > & | listMessages () const |
const std::string & | getUrl () const |
MetNoFimex::GribFileIndex::GribFileIndex | ( | ) |
MetNoFimex::GribFileIndex::GribFileIndex | ( | boost::filesystem::path | gribFilePath, | |
bool | ignoreExistingXml = false | |||
) |
Initialize the gribFileIndex for the gribFile gribFilePath. If ignoreExistingXml = false, searches for existing indexes in
Performance for getting an index of a 150MB grib-file with some 10s of messages:
virtual MetNoFimex::GribFileIndex::~GribFileIndex | ( | ) | [virtual] |
const std::vector<GribFileMessage>& MetNoFimex::GribFileIndex::listMessages | ( | ) | const [inline] |
const std::string& MetNoFimex::GribFileIndex::getUrl | ( | ) | const [inline] |