Public Types | Public Member Functions | Public Attributes | List of all members
vil_nitf2_location_dmsh Struct Reference

#include <vil_nitf2_compound_field_value.h>

Inheritance diagram for vil_nitf2_location_dmsh:
Inheritance graph
[legend]

Public Types

enum  format_type { format_degrees, format_dmsh }
 

Public Member Functions

 vil_nitf2_location_dmsh (int sec_precision)
 
bool read (std::istream &input, int field_width, bool &out_blank) override
 
bool write (std::ostream &output, int field_width) override
 
std::ostream & output (std::ostream &) const override
 
bool is_valid () const override
 

Public Attributes

int lat_degrees
 
int lat_minutes
 
double lat_seconds
 
char lat_hemisphere
 
int lon_degrees
 
int lon_minutes
 
double lon_seconds
 
char lon_hemisphere
 
int sec_precision
 
format_type format
 

Detailed Description

Definition at line 104 of file vil_nitf2_compound_field_value.h.

Member Enumeration Documentation

◆ format_type

Enumerator
format_degrees 
format_dmsh 

Definition at line 72 of file vil_nitf2_compound_field_value.h.

Constructor & Destructor Documentation

◆ vil_nitf2_location_dmsh()

vil_nitf2_location_dmsh::vil_nitf2_location_dmsh ( int  sec_precision)
inline

Definition at line 107 of file vil_nitf2_compound_field_value.h.

Member Function Documentation

◆ is_valid()

bool vil_nitf2_location_dmsh::is_valid ( ) const
overridevirtual

◆ output()

std::ostream & vil_nitf2_location_dmsh::output ( std::ostream &  os) const
overridevirtual

◆ read()

bool vil_nitf2_location_dmsh::read ( std::istream &  input,
int  field_width,
bool &  out_blank 
)
overridevirtual

Implements vil_nitf2_location.

Definition at line 176 of file vil_nitf2_compound_field_value.cxx.

◆ write()

bool vil_nitf2_location_dmsh::write ( std::ostream &  output,
int  field_width 
)
overridevirtual

Implements vil_nitf2_location.

Definition at line 202 of file vil_nitf2_compound_field_value.cxx.

Member Data Documentation

◆ format

format_type vil_nitf2_location::format
inherited

Definition at line 73 of file vil_nitf2_compound_field_value.h.

◆ lat_degrees

int vil_nitf2_location_dmsh::lat_degrees

Definition at line 111 of file vil_nitf2_compound_field_value.h.

◆ lat_hemisphere

char vil_nitf2_location_dmsh::lat_hemisphere

Definition at line 111 of file vil_nitf2_compound_field_value.h.

◆ lat_minutes

int vil_nitf2_location_dmsh::lat_minutes

Definition at line 111 of file vil_nitf2_compound_field_value.h.

◆ lat_seconds

double vil_nitf2_location_dmsh::lat_seconds

Definition at line 111 of file vil_nitf2_compound_field_value.h.

◆ lon_degrees

int vil_nitf2_location_dmsh::lon_degrees

Definition at line 112 of file vil_nitf2_compound_field_value.h.

◆ lon_hemisphere

char vil_nitf2_location_dmsh::lon_hemisphere

Definition at line 112 of file vil_nitf2_compound_field_value.h.

◆ lon_minutes

int vil_nitf2_location_dmsh::lon_minutes

Definition at line 112 of file vil_nitf2_compound_field_value.h.

◆ lon_seconds

double vil_nitf2_location_dmsh::lon_seconds

Definition at line 112 of file vil_nitf2_compound_field_value.h.

◆ sec_precision

int vil_nitf2_location_dmsh::sec_precision

Definition at line 113 of file vil_nitf2_compound_field_value.h.


The documentation for this struct was generated from the following files: