OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimRpfAttributes.h>
Public Member Functions | |
ossimRpfAttributes () | |
~ossimRpfAttributes () | |
void | setAttributeFlag (ossim_uint32 id, bool flag) |
bool | getAttributeFlag (ossim_uint32 id) const |
std::ostream & | print (std::ostream &out, const std::string &prefix=std::string()) const |
print method that outputs a key/value type format adding prefix to keys. More... | |
bool | isEmpty () const |
void | clearFields () |
Protected Attributes | |
std::map< ossim_uint32, bool > | theAttributeIdBoolMap |
Friends | |
OSSIM_DLL std::ostream & | operator<< (std::ostream &out, const ossimRpfAttributes &data) |
Definition at line 16 of file ossimRpfAttributes.h.
ossimRpfAttributes::ossimRpfAttributes | ( | ) |
ossimRpfAttributes::~ossimRpfAttributes | ( | ) |
Definition at line 26 of file ossimRpfAttributes.cpp.
void ossimRpfAttributes::clearFields | ( | ) |
Definition at line 90 of file ossimRpfAttributes.cpp.
References ellipsoidCode, theAttributeIdBoolMap, theChartSeriesCode, theCurrencyDate, theDataLevel, theDataSource, theEasterlyMagChangeUnits, theEdition, theEeasterlyMagChange, theGridCode, theGridConver, theGridConverUnits, theGsd, theHighElevation, theHighElevationUnits, theHighLat, theHighLon, theHorAbsAccuracy, theHorAbsUnits, theHorDatumCode, theHorRelAccuracy, theHorRelUnits, theLegendFileName, theMagAngle, theMagAngleUnits, theMapDesignationCode, theNavSystemCode, theOldHorDatum, theProductionDate, theProjectionA, theProjectionB, theProjectionC, theProjectionCode, theProjectionD, theSignificantDate, theSoundingDatumCode, theVertAbsAccuracy, theVertAbsUnits, theVertDatumCode, theVertRelAccuracy, theVertRelUnits, theWesterlyMagChange, and theWesterlyMagChangeUnits.
Referenced by ossimRpfAttributes().
bool ossimRpfAttributes::getAttributeFlag | ( | ossim_uint32 | id | ) | const |
Definition at line 160 of file ossimRpfAttributes.cpp.
References theAttributeIdBoolMap.
bool ossimRpfAttributes::isEmpty | ( | ) | const |
Definition at line 77 of file ossimRpfAttributes.cpp.
References theAttributeIdBoolMap.
std::ostream & ossimRpfAttributes::print | ( | std::ostream & | out, |
const std::string & | prefix = std::string() |
||
) | const |
print method that outputs a key/value type format adding prefix to keys.
out | String to output to. |
prefix | This will be prepended to key. e.g. Where prefix = "nitf." and key is "file_name" key becomes: "nitf.file_name:" |
Definition at line 30 of file ossimRpfAttributes.cpp.
References ellipsoidCode, theChartSeriesCode, theCurrencyDate, theDataLevel, theDataSource, theEasterlyMagChangeUnits, theEdition, theEeasterlyMagChange, theGridCode, theGridConver, theGridConverUnits, theGsd, theHighElevation, theHighElevationUnits, theHighLat, theHighLon, theHorAbsAccuracy, theHorAbsUnits, theHorDatumCode, theHorRelAccuracy, theHorRelUnits, theLegendFileName, theMagAngle, theMapDesignationCode, theNavSystemCode, theOldHorDatum, theProductionDate, theProjectionA, theProjectionB, theProjectionC, theProjectionCode, theProjectionD, theSignificantDate, theSoundingDatumCode, theVertAbsAccuracy, theVertAbsUnits, theVertDatumCode, theVertRelAccuracy, theVertRelUnits, theWesterlyMagChange, and theWesterlyMagChangeUnits.
Referenced by operator<<().
void ossimRpfAttributes::setAttributeFlag | ( | ossim_uint32 | id, |
bool | flag | ||
) |
Definition at line 138 of file ossimRpfAttributes.cpp.
References theAttributeIdBoolMap.
|
friend |
Definition at line 14 of file ossimRpfAttributes.cpp.
ossimString ossimRpfAttributes::ellipsoidCode |
12 Ellipsoid, 1 parameter:
Definition at line 271 of file ossimRpfAttributes.h.
Referenced by clearFields(), and print().
|
protected |
Definition at line 366 of file ossimRpfAttributes.h.
Referenced by clearFields(), getAttributeFlag(), isEmpty(), and setAttributeFlag().
ossimString ossimRpfAttributes::theChartSeriesCode |
4 Map/Chart source, 4 parameters:
Definition at line 83 of file ossimRpfAttributes.h.
Referenced by clearFields(), and print().
ossimString ossimRpfAttributes::theCurrencyDate |
The attribute Id. The Id and descriptions are taken from MIL-STD-2411-1 and can have one of the following values:
1 Currency Date, 1 parameter:
Definition at line 53 of file ossimRpfAttributes.h.
Referenced by clearFields(), and print().
ossim_uint16 ossimRpfAttributes::theDataLevel |
23 Data Level, 1 parameter:
Definition at line 363 of file ossimRpfAttributes.h.
Referenced by clearFields(), and print().
ossimString ossimRpfAttributes::theDataSource |
22 Image source, 2 parameters:
Definition at line 354 of file ossimRpfAttributes.h.
Referenced by clearFields(), and print().
ossim_uint16 ossimRpfAttributes::theEasterlyMagChangeUnits |
Definition at line 299 of file ossimRpfAttributes.h.
Referenced by clearFields(), and print().
ossimString ossimRpfAttributes::theEdition |
Definition at line 86 of file ossimRpfAttributes.h.
Referenced by clearFields(), and print().
float ossimRpfAttributes::theEeasterlyMagChange |
16 Easterly Annual Magnetic Change, 2 parameters:
Definition at line 298 of file ossimRpfAttributes.h.
Referenced by clearFields(), and print().
ossimString ossimRpfAttributes::theGridCode |
15 Grid, 1 parameter:
Definition at line 291 of file ossimRpfAttributes.h.
Referenced by clearFields(), and print().
float ossimRpfAttributes::theGridConver |
19 Grid convergence angle, 2 parameters:
Definition at line 323 of file ossimRpfAttributes.h.
Referenced by clearFields(), and print().
ossim_uint16 ossimRpfAttributes::theGridConverUnits |
Definition at line 324 of file ossimRpfAttributes.h.
Referenced by clearFields(), and print().
ossim_uint32 ossimRpfAttributes::theGsd |
Definition at line 355 of file ossimRpfAttributes.h.
Referenced by clearFields(), and print().
double ossimRpfAttributes::theHighElevation |
20 Highest known elevation (4 parameters)
Definition at line 333 of file ossimRpfAttributes.h.
Referenced by clearFields(), and print().
ossim_uint16 ossimRpfAttributes::theHighElevationUnits |
Definition at line 334 of file ossimRpfAttributes.h.
Referenced by clearFields(), and print().
double ossimRpfAttributes::theHighLat |
Definition at line 335 of file ossimRpfAttributes.h.
Referenced by clearFields(), and print().
double ossimRpfAttributes::theHighLon |
Definition at line 336 of file ossimRpfAttributes.h.
Referenced by clearFields(), and print().
ossim_uint32 ossimRpfAttributes::theHorAbsAccuracy |
9 Horizontal Absolute Accuracy (2 parameters)
Definition at line 203 of file ossimRpfAttributes.h.
Referenced by clearFields(), and print().
ossim_uint16 ossimRpfAttributes::theHorAbsUnits |
Definition at line 204 of file ossimRpfAttributes.h.
Referenced by clearFields(), and print().
ossimString ossimRpfAttributes::theHorDatumCode |
7 Horizontal Datum (1 parameter) 4 byte ascii
Look on p.33 of MIL-STD-2411-1. Too big to list we will need a translation table for these codes
Definition at line 144 of file ossimRpfAttributes.h.
Referenced by clearFields(), and print().
ossim_uint32 ossimRpfAttributes::theHorRelAccuracy |
11 Horizontal Relative Accuracy (2 parameters)
Definition at line 263 of file ossimRpfAttributes.h.
Referenced by clearFields(), and print().
ossim_uint16 ossimRpfAttributes::theHorRelUnits |
Definition at line 264 of file ossimRpfAttributes.h.
Referenced by clearFields(), and print().
ossimString ossimRpfAttributes::theLegendFileName |
21 Multiple legend, 1 paraemter:
Definition at line 342 of file ossimRpfAttributes.h.
Referenced by clearFields(), and print().
float ossimRpfAttributes::theMagAngle |
18 Grid North Magnetic North ANgle, 2 paramters:
Definition at line 315 of file ossimRpfAttributes.h.
Referenced by clearFields(), and print().
ossim_uint16 ossimRpfAttributes::theMagAngleUnits |
Definition at line 316 of file ossimRpfAttributes.h.
Referenced by clearFields().
ossimString ossimRpfAttributes::theMapDesignationCode |
Definition at line 84 of file ossimRpfAttributes.h.
Referenced by clearFields(), and print().
ossim_uint16 ossimRpfAttributes::theNavSystemCode |
14 Navigation System, 1 parameter:
Definition at line 284 of file ossimRpfAttributes.h.
Referenced by clearFields(), and print().
ossimString ossimRpfAttributes::theOldHorDatum |
Definition at line 85 of file ossimRpfAttributes.h.
Referenced by clearFields(), and print().
ossimString ossimRpfAttributes::theProductionDate |
2 Production Date, 1 parameter:
Definition at line 60 of file ossimRpfAttributes.h.
Referenced by clearFields(), and print().
float ossimRpfAttributes::theProjectionA |
Definition at line 119 of file ossimRpfAttributes.h.
Referenced by clearFields(), and print().
float ossimRpfAttributes::theProjectionB |
Definition at line 120 of file ossimRpfAttributes.h.
Referenced by clearFields(), and print().
float ossimRpfAttributes::theProjectionC |
Definition at line 121 of file ossimRpfAttributes.h.
Referenced by clearFields(), and print().
ossimString ossimRpfAttributes::theProjectionCode |
5 Projection Systemd, 5 parameters: p. 38 of MIL-STD-2411-1
Definition at line 118 of file ossimRpfAttributes.h.
Referenced by clearFields(), and print().
float ossimRpfAttributes::theProjectionD |
Definition at line 122 of file ossimRpfAttributes.h.
Referenced by clearFields(), and print().
ossimString ossimRpfAttributes::theSignificantDate |
3 Significant Date, 1 parameter:
Definition at line 68 of file ossimRpfAttributes.h.
Referenced by clearFields(), and print().
ossimString ossimRpfAttributes::theSoundingDatumCode |
13 Sounding Datumm, 1 parameter: 4 byte ascii See p. 33 MIL-STD-2411-1 5.3.2.2
Definition at line 277 of file ossimRpfAttributes.h.
Referenced by clearFields(), and print().
ossim_uint32 ossimRpfAttributes::theVertAbsAccuracy |
8 Vertical Absolute Accurracy (2 parameters)
Definition at line 173 of file ossimRpfAttributes.h.
Referenced by clearFields(), and print().
ossim_uint16 ossimRpfAttributes::theVertAbsUnits |
Definition at line 174 of file ossimRpfAttributes.h.
Referenced by clearFields(), and print().
ossimString ossimRpfAttributes::theVertDatumCode |
6 Vertical Datum (1 parameter) p. 37 MIL-STD-2411-1 4 byte ascii
MSL Mean Sea Level. All elevations in th data set are referenced to the geoid of the specified datum GEOD Geodetic (All elevations in the data set are referenced to the ellipsoid of the specified datum
Definition at line 134 of file ossimRpfAttributes.h.
Referenced by clearFields(), and print().
ossim_uint32 ossimRpfAttributes::theVertRelAccuracy |
10 Vertical Relative Accuracy (2 parameters)
Definition at line 233 of file ossimRpfAttributes.h.
Referenced by clearFields(), and print().
ossim_uint16 ossimRpfAttributes::theVertRelUnits |
Definition at line 234 of file ossimRpfAttributes.h.
Referenced by clearFields(), and print().
float ossimRpfAttributes::theWesterlyMagChange |
17 Westerly Annual Magnetic Change, 2 parameters:
Definition at line 306 of file ossimRpfAttributes.h.
Referenced by clearFields(), and print().
ossim_uint16 ossimRpfAttributes::theWesterlyMagChangeUnits |
Definition at line 307 of file ossimRpfAttributes.h.
Referenced by clearFields(), and print().