OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
Info Base. More...
#include <ossimInfoBase.h>
Public Member Functions | |
ossimInfoBase () | |
default constructor More... | |
virtual bool | open (const ossimFilename &file) |
open method. More... | |
virtual bool | open (std::shared_ptr< ossim::istream > &str, const std::string &connectionString) |
open method. More... | |
virtual std::ostream & | print (std::ostream &out) const =0 |
Print method. More... | |
void | setProcessOverviewFlag (bool flag) |
Sets the overview flag. More... | |
bool | getProcessOverviewFlag () const |
Method to get the overview flag. More... | |
virtual bool | getKeywordlist (ossimKeywordlist &kwl) const |
Method to dump info to a keyword list. More... | |
virtual bool | getKeywordlist (ossimKeywordlist &kwl, ossim_uint32 entryIndex) const |
Method to dump info to a keyword list. More... | |
![]() | |
ossimReferenced () | |
ossimReferenced (const ossimReferenced &) | |
ossimReferenced & | operator= (const ossimReferenced &) |
void | ref () const |
increment the reference count by one, indicating that this object has another pointer which is referencing it. More... | |
void | unref () const |
decrement the reference count by one, indicating that a pointer to this object is referencing it. More... | |
void | unref_nodelete () const |
decrement the reference count by one, indicating that a pointer to this object is referencing it. More... | |
int | referenceCount () const |
Protected Member Functions | |
virtual | ~ossimInfoBase () |
virtual destructor More... | |
![]() | |
virtual | ~ossimReferenced () |
Protected Attributes | |
bool | theOverviewFlag |
Info Base.
This is the base class for all info objects. The purpose of an Info object is to dump whatever info is available for a given file name to user.
Definition at line 32 of file ossimInfoBase.h.
ossimInfoBase::ossimInfoBase | ( | ) |
|
protectedvirtual |
|
virtual |
Method to dump info to a keyword list.
kwl | The keyword list to initialize. |
Reimplemented in ossimOgrInfo, and ossimHdf5Info.
Definition at line 51 of file ossimInfoBase.cpp.
References ossimKeywordlist::parseStream(), and print().
Referenced by ossimKakaduJpipHandler::getImageGeometry(), and getKeywordlist().
|
virtual |
Method to dump info to a keyword list.
kwl | The keyword list to initialize. |
entryIndex | Entry to print. Not supported by all info objects yet. |
Reimplemented in ossimNitfInfo.
Definition at line 62 of file ossimInfoBase.cpp.
References getKeywordlist().
bool ossimInfoBase::getProcessOverviewFlag | ( | ) | const |
Method to get the overview flag.
Definition at line 46 of file ossimInfoBase.cpp.
References theOverviewFlag.
Referenced by ossimNitfInfo::print().
|
virtual |
open method.
file | File name to open. |
Reimplemented in ossimTiffInfo, ossimOgrInfo, ossimHdf5Info, ossimGeoPdfInfo, ossimKakaduJpipInfo, ossimXmpInfo, ossimH5Info, ossimCcfInfo, ossimJp2Info, ossimJ2kInfo, ossimDemInfo, ossimRpfInfo, ossimHdfInfo, ossimGpkgInfo, ossimLasInfo, ossimNitfInfo, and ossimEnviInfo.
Definition at line 26 of file ossimInfoBase.cpp.
References ossimString::c_str(), and ossim::StreamFactoryRegistry::instance().
Referenced by ossimH5InfoFactory::create(), and ossimDoqq::ossimDoqq().
|
virtual |
open method.
str | File name to open. |
Reimplemented in ossimDoqq, ossimTiffInfo, ossimDtedInfo, ossimGeoPdfInfo, ossimCcfInfo, ossimDemInfo, and ossimNitfInfo.
Definition at line 35 of file ossimInfoBase.cpp.
|
pure virtual |
Print method.
out | Stream to print to. |
Implemented in ossimDoqq, ossimTiffInfo, ossimOgrInfo, ossimDtedInfo, ossimGeoPdfInfo, ossimCcfInfo, ossimKakaduJpipInfo, ossimHdf5Info, ossimXmpInfo, ossimH5Info, ossimDemInfo, ossimJp2Info, ossimJ2kInfo, ossimNitfInfo, ossimRpfInfo, ossimHdfInfo, ossimGpkgInfo, ossimLasInfo, and ossimEnviInfo.
Referenced by getKeywordlist().
void ossimInfoBase::setProcessOverviewFlag | ( | bool | flag | ) |
Sets the overview flag.
flag | If true overview info is processed also. |
Definition at line 41 of file ossimInfoBase.cpp.
References theOverviewFlag.
Referenced by ossimKakaduJpipInfo::print().
|
protected |
Definition at line 101 of file ossimInfoBase.h.
Referenced by getProcessOverviewFlag(), and setProcessOverviewFlag().