Umasoft
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Member Functions | Public Attributes | Protected Attributes | List of all members
vtDLGFile Class Reference

#include <DLG.h>

Public Member Functions

bool Read (const char *fname, bool progress_callback(int)=NULL)
 Reads a file. Pass it the name of a DLG-O (.opt) file. Returns true if successful.
 
bool GetRecord (char *buf)
 
DLGType GuessFileType ()
 after loading, guess file type from the element attributes
 
const char * GetErrorMessage ()
 if an error occured, return it as an English message
 
void OpenFile ()
 
void CloseFile ()
 
vtProjectionGetProjection ()
 

Public Attributes

int m_iError
 
char m_header [80]
 
int m_iNodes
 
int m_iAreas
 
int m_iLines
 
bool m_bLFdelimited
 
const char * m_fname
 
DPoint2 m_SW_utm
 
DPoint2 m_NW_utm
 
DPoint2 m_NE_utm
 
DPoint2 m_SE_utm
 
DPoint2 m_SW_lat
 
DPoint2 m_NW_lat
 
DPoint2 m_NE_lat
 
DPoint2 m_SE_lat
 
std::vector< DLGNodem_nodes
 
std::vector< DLGAream_areas
 
std::vector< DLGLinem_lines
 

Protected Attributes

FILE * m_fp
 
vtProjection m_proj
 

Detailed Description

Implements reading data from a USGS DLG file.


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