OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
Ogr info class. More...
#include <ossimOgrInfo.h>
Public Member Functions | |
ossimOgrInfo () | |
default constructor More... | |
virtual | ~ossimOgrInfo () |
virtual destructor More... | |
virtual bool | open (const ossimFilename &file) |
open method. More... | |
virtual std::ostream & | print (std::ostream &out) const |
Print method. More... | |
virtual bool | getKeywordlist (ossimKeywordlist &kwl) const |
Method to dump info to a keyword list. More... | |
![]() | |
ossimInfoBase () | |
default constructor More... | |
virtual bool | open (std::shared_ptr< ossim::istream > &str, const std::string &connectionString) |
open 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, 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 |
Private Member Functions | |
ossimString | getDriverName (ossimString driverName) const |
void | parseMetadata (ossimString metaData, ossimKeywordlist &kwl, ossimString metaPrefix) const |
Parse the VPF metadata More... | |
Private Attributes | |
ossimFilename | m_file |
OGRDataSource * | m_ogrDatasource |
OGRSFDriver * | m_ogrDriver |
Additional Inherited Members | |
![]() | |
virtual | ~ossimInfoBase () |
virtual destructor More... | |
![]() | |
virtual | ~ossimReferenced () |
![]() | |
bool | theOverviewFlag |
ossimOgrInfo::ossimOgrInfo | ( | ) |
|
virtual |
|
private |
Definition at line 649 of file ossimOgrInfo.cpp.
Referenced by getKeywordlist().
|
virtual |
Method to dump info to a keyword list.
kwl | The keyword list to initialize. |
Reimplemented from ossimInfoBase.
Definition at line 461 of file ossimOgrInfo.cpp.
References ossimKeywordlist::add(), ossimString::c_str(), ossimString::empty(), getDriverName(), m_ogrDatasource, m_ogrDriver, parseMetadata(), and ossimString::toString().
|
virtual |
open method.
file | File name to open. The example of SDE file name: SDE:server,instance,database,username,password,layername e.g ossim-info -p -d SDE:SPATCDT001,5151,SDE,SADATABASE,SAPASSWORD,SATABLENAME |
The example of VPF file name: C:/vpfdata/mpp1/vmaplv0/eurnasia/cat e.g ossim-info -p -d D:/OSSIM_Data/vpf_data/WVSPLUS/WVS120M/CAT
Reimplemented from ossimInfoBase.
Definition at line 103 of file ossimOgrInfo.cpp.
References ossimString::c_str(), m_file, m_ogrDatasource, and m_ogrDriver.
|
private |
Parse the VPF metadata
Definition at line 134 of file ossimOgrInfo.cpp.
References ossimKeywordlist::add(), ossimString::after(), ossimString::contains(), ossimString::downcase(), ossimString::empty(), getKeyValue(), ossimString::split(), and ossimString::trim().
Referenced by getKeywordlist().
|
virtual |
Print method.
out | Stream to print to. |
Implements ossimInfoBase.
Definition at line 638 of file ossimOgrInfo.cpp.
|
private |
Definition at line 80 of file ossimOgrInfo.h.
Referenced by open().
|
private |
Definition at line 81 of file ossimOgrInfo.h.
Referenced by getKeywordlist(), open(), and ~ossimOgrInfo().
|
private |
Definition at line 82 of file ossimOgrInfo.h.
Referenced by getKeywordlist(), and open().