OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimUnitTypeLut.h>
Public Member Functions | |
virtual | ~ossimUnitTypeLut () |
virtual ossim_int32 | getEntryNumber (const char *entry_string, bool case_insensitive=true) const |
virtual ossim_int32 | getEntryNumber (const ossimKeywordlist &kwl, const char *prefix=0, bool case_insensitive=true) const |
virtual ossimKeyword | getKeyword () const |
![]() | |
ossimLookUpTable (const std::initializer_list< ossimString > &stringInitializer) | |
By default if you just give an initializer list with strings then it will assume keys 0..n-1 for each string. More... | |
virtual | ~ossimLookUpTable () |
virtual ossimString | getEntryString (ossim_int32 entry_number) const |
virtual ossimString | getTableIndexString (ossim_uint32 table_index) const |
virtual ossimString | operator[] (ossim_int32 entry_number) const |
virtual ossimString | getEntryString (const ossimKeywordlist &kwl, const char *prefix=0) const |
virtual ossim_uint32 | getTableSize () const |
void | dumpValues (std::ostream &out) const |
Static Public Member Functions | |
static ossimUnitTypeLut * | instance () |
Returns the static instance of an ossimUnitTypeLut object. More... | |
Protected Member Functions | |
ossimUnitTypeLut () | |
![]() | |
ossimLookUpTable (ossim_int32 table_size) | |
ossimLookUpTable () | |
Additional Inherited Members | |
![]() | |
enum | { NOT_FOUND = -1 } |
![]() | |
std::vector< ossimKeyValueMap > | theTable |
Definition at line 16 of file ossimUnitTypeLut.h.
|
virtual |
Definition at line 68 of file ossimUnitTypeLut.cpp.
|
protected |
Definition at line 29 of file ossimUnitTypeLut.cpp.
|
virtual |
Returns the entry number associated with the entry string passed in. Returns OSSIM_UNIT_UNKNOWN if entry string is not in the list. If case_insensitive == true(default), the test is case insensitive; else, the test will be case sensitive.
Reimplemented from ossimLookUpTable.
Definition at line 71 of file ossimUnitTypeLut.cpp.
References ossimLookUpTable::getEntryNumber(), and OSSIM_UNIT_UNKNOWN.
Referenced by ossimTilingRect::loadState(), ossimGeoAnnotationEllipseObject::loadState(), ossimTiling::loadState(), and ossimStatePlaneProjectionInfo::ossimStatePlaneProjectionInfo().
|
virtual |
Returns the entry number associated with the lookup table keyword entry in the Keywordlist passed in. Returns NOT_FOUND(-1) if no matching entry. If case_insensitive == true(default), the test is case insensitive; else, the test will be case sensitive.
Reimplemented from ossimLookUpTable.
Definition at line 84 of file ossimUnitTypeLut.cpp.
References ossimLookUpTable::getEntryNumber(), and OSSIM_UNIT_UNKNOWN.
|
virtual |
Returns keyword for lookups from a Keywordlist.
Reimplemented from ossimLookUpTable.
Definition at line 97 of file ossimUnitTypeLut.cpp.
References ossimKeywordNames::UNITS_KW.
|
static |
Returns the static instance of an ossimUnitTypeLut object.
Definition at line 17 of file ossimUnitTypeLut.cpp.
Referenced by ossimOgcWktTranslator::fromOssimKwl(), ossimMapProjectionInfo::getGeom(), ossimAdrgTileSource::getImageGeometry(), ossimAdjustableParameterInfo::getUnitAsString(), ossimGdalOgrVectorAnnotation::loadOmdFile(), ossimTilingRect::loadState(), ossimGeoAnnotationEllipseObject::loadState(), ossimGdalOgrVectorAnnotation::loadState(), ossimTiling::loadState(), ossimMapProjection::loadState(), ossimImageFileWriter::loadState(), operator<<(), ossimStatePlaneProjectionInfo::ossimStatePlaneProjectionInfo(), ossimStatePlaneProjectionInfo::populateProjectionKeywords(), ossimMapProjection::print(), ossimTilingRect::saveState(), ossimGeoAnnotationEllipseObject::saveState(), ossimGdalOgrVectorAnnotation::saveState(), ossimAdjustableParameterInfo::saveState(), ossimTiling::saveState(), ossimMapProjection::saveState(), ossimAdjustableParameterInterface::setParameterUnit(), and ossimStatePlaneProjectionInfo::units().