savestate and loadstate functions

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

savestate and loadstate functions

bharti navlani
virtual bool saveState(ossimKeywordlist& kwl ,const char * prefix=0)const
virtual bool loadstate(const ossimKeywordlist& kwl, const char* prefix=0)

what does this prefix means actually ?

does prefix =0 means using a default keyword list ,if i make it =1 then can i externally input a geometry file or keywordlist ? what name should i give to my external geometry file ?

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
_______________________________________________
www.ossim.org
Ossim-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/ossim-developer
Reply | Threaded
Open this post in threaded view
|

Re: savestate and loadstate functions

Oscar Kramer
The prefix is a <const char*> - that means a string. Some keywords are prefixed with an arbitrary string to differentiate them from other similar keywords. For example, for the keyword "input_file", if you have two input filenames to specify:

image1.input_file: first_image.tif
image2.input_file: second_image.tif

The prefixes "image1" and "image2" are needed to differentiate the two entries. If you don't need to differentiate a keyword (i.e., you only have one occurrence), then leave the default prefix=0 (null string), and no prefix will be prepended to the keyword lookup.


From: bharti navlani <[hidden email]>
To: [hidden email]
Sent: Saturday, March 26, 2016 8:37 AM
Subject: [OSSIM] savestate and loadstate functions

virtual bool saveState(ossimKeywordlist& kwl ,const char * prefix=0)const
virtual bool loadstate(const ossimKeywordlist& kwl, const char* prefix=0)

what does this prefix means actually ?

does prefix =0 means using a default keyword list ,if i make it =1 then can i externally input a geometry file or keywordlist ? what name should i give to my external geometry file ?

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
_______________________________________________
www.ossim.org
Ossim-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/ossim-developer



------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
_______________________________________________
www.ossim.org
Ossim-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/ossim-developer