OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimH5Options.h>
Public Types | |
typedef std::vector< std::string > | StringListType |
Public Member Functions | |
bool | loadOptions (const ossimKeywordlist &kwl, const char *prefix) |
ossim_uint32 | getMaxRecursionLevel () const |
bool | isDatasetRenderable (const std::string &datasetName) const |
bool | isDatasetExcluded (const std::string &datasetName) const |
const StringListType & | getRenderableDataset () const |
Static Public Member Functions | |
static ossimH5Options * | instance () |
Protected Member Functions | |
ossimH5Options () | |
ossimH5Options (const ossimH5Options &) | |
void | operator= (const ossimH5Options &) const |
Static Protected Member Functions | |
static void | loadRenderableDatasetsFromString (StringListType &result, const ossimString &datasets) |
Protected Attributes | |
ossim_uint32 | m_maxRecursionLevel |
StringListType | m_renderableDatasets |
Static Protected Attributes | |
static ossimH5Options * | m_instance =0 |
Definition at line 5 of file ossimH5Options.h.
typedef std::vector<std::string> ossimH5Options::StringListType |
Definition at line 8 of file ossimH5Options.h.
|
protected |
Override the compiler default constructors:
Definition at line 10 of file ossimH5Options.cpp.
References ossimPreferences::instance(), loadOptions(), and m_renderableDatasets.
Referenced by instance().
|
inlineprotected |
Definition at line 30 of file ossimH5Options.h.
ossim_uint32 ossimH5Options::getMaxRecursionLevel | ( | ) | const |
const ossimH5Options::StringListType & ossimH5Options::getRenderableDataset | ( | ) | const |
Definition at line 48 of file ossimH5Options.cpp.
References m_renderableDatasets.
|
static |
Simply return the instance if already created:
Create the static instance of this class:
Definition at line 18 of file ossimH5Options.cpp.
References m_instance, and ossimH5Options().
Referenced by ossimH5ImageHandler::addImageDatasetEntries(), ossim_hdf5::isLoadableAsImage(), ossim_hdf5::iterateGroupForDatasetNames(), ossimSharedLibraryInitialize(), and ossim_hdf5::printIterative().
bool ossimH5Options::isDatasetExcluded | ( | const std::string & | datasetName | ) | const |
bool ossimH5Options::isDatasetRenderable | ( | const std::string & | datasetName | ) | const |
Definition at line 41 of file ossimH5Options.cpp.
References m_renderableDatasets.
Referenced by ossimH5ImageHandler::addImageDatasetEntries(), and ossim_hdf5::isLoadableAsImage().
bool ossimH5Options::loadOptions | ( | const ossimKeywordlist & | kwl, |
const char * | prefix | ||
) |
METHOD: loadPreferences() These methods clear the current preferences and load either the default preferences file or the specified file. Returns TRUE if loaded properly:
Definition at line 68 of file ossimH5Options.cpp.
References ossimKeywordlist::find(), loadRenderableDatasetsFromString(), m_maxRecursionLevel, m_renderableDatasets, MAX_RECURSION_LEVEL_KW, RENDERABLE_DATASETS_KW, and ossimString::toUInt32().
Referenced by ossimH5Options().
|
staticprotected |
Definition at line 53 of file ossimH5Options.cpp.
References ossimString::empty(), ossimString::push_back(), ossimString::split(), and ossimString::trim().
Referenced by loadOptions().
|
inlineprotected |
Definition at line 32 of file ossimH5Options.h.
|
staticprotected |
Definition at line 36 of file ossimH5Options.h.
Referenced by instance().
|
protected |
Definition at line 38 of file ossimH5Options.h.
Referenced by getMaxRecursionLevel(), and loadOptions().
|
protected |
Definition at line 39 of file ossimH5Options.h.
Referenced by getRenderableDataset(), isDatasetRenderable(), loadOptions(), and ossimH5Options().