OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
This is the base for all state objects. More...
#include <State.h>
Public Member Functions | |
State () | |
virtual | ~State () |
virtual const ossimString & | getTypeName () const =0 |
virtual bool | load (const ossimKeywordlist &kwl, const ossimString &prefix="")=0 |
Allows a state to be loaded from keywordlist. More... | |
virtual bool | save (ossimKeywordlist &kwl, const ossimString &prefix="") const =0 |
Allows a state to be saved to a keywordlist. More... | |
This is the base for all state objects.
We started a new state object for our first step will be using this interface to cache the state of ImageHandlers. It is very expensive to keep opening a resource and then parsing all the meta information that describes the image. We should be able to do this once and then allow for it to be saved and reloaded witout ever having to parse the state again unless the state changes
|
pure virtual |
|
pure virtual |
|
pure virtual |
Allows a state to be saved to a keywordlist.
Definition at line 10 of file State.cpp.
References ossimKeywordlist::add().