SAGA API v9.10
Loading...
Searching...
No Matches
CSG_Grid_File_Info Class Reference

#include <grid.h>

Public Member Functions

 CSG_Grid_File_Info (void)
 CSG_Grid_File_Info (const CSG_Grid_File_Info &Info)
bool Create (const CSG_Grid_File_Info &Info)
 CSG_Grid_File_Info (const CSG_String &File)
bool Create (const CSG_String &File)
 CSG_Grid_File_Info (CSG_File &Stream)
bool Create (CSG_File &Stream)
 CSG_Grid_File_Info (const CSG_Grid &Grid)
bool Create (const CSG_Grid &Grid)
bool Save (const CSG_String &File, bool bBinary=true)
bool Save (const CSG_File &Stream, bool bBinary=true)
bool Save_AUX_XML (const CSG_String &File)
bool Save_AUX_XML (CSG_File &Stream)

Static Public Member Functions

static bool Save (const CSG_String &File, const CSG_Grid &Grid, bool bBinary=true)
static bool Save (const CSG_File &Stream, const CSG_Grid &Grid, bool bBinary=true)

Public Attributes

bool m_bFlip
bool m_bSwapBytes
sLong m_Offset
double m_zScale
double m_zOffset
double m_NoData [2]
TSG_Data_Type m_Type
CSG_String m_Name
CSG_String m_Description
CSG_String m_Unit
CSG_String m_Data_File
CSG_Grid_System m_System
CSG_Projection m_Projection

Detailed Description

CSG_Grid is the data object created for raster handling.

Definition at line 435 of file grid.h.

Constructor & Destructor Documentation

◆ CSG_Grid_File_Info() [1/5]

CSG_Grid_File_Info::CSG_Grid_File_Info ( void )

Definition at line 1002 of file grid_io.cpp.

Referenced by Create(), CSG_Grid_File_Info(), Save(), and Save().

◆ CSG_Grid_File_Info() [2/5]

CSG_Grid_File_Info::CSG_Grid_File_Info ( const CSG_Grid_File_Info & Info)

Definition at line 1026 of file grid_io.cpp.

References Create(), and CSG_Grid_File_Info().

◆ CSG_Grid_File_Info() [3/5]

CSG_Grid_File_Info::CSG_Grid_File_Info ( const CSG_String & File)

Definition at line 1078 of file grid_io.cpp.

References Create().

◆ CSG_Grid_File_Info() [4/5]

CSG_Grid_File_Info::CSG_Grid_File_Info ( CSG_File & Stream)

Definition at line 1127 of file grid_io.cpp.

References Create().

◆ CSG_Grid_File_Info() [5/5]

CSG_Grid_File_Info::CSG_Grid_File_Info ( const CSG_Grid & Grid)

Definition at line 1052 of file grid_io.cpp.

References Create().

Member Function Documentation

◆ Create() [1/4]

◆ Create() [2/4]

◆ Create() [3/4]

◆ Create() [4/4]

◆ Save() [1/4]

◆ Save() [2/4]

bool CSG_Grid_File_Info::Save ( const CSG_File & Stream,
const CSG_Grid & Grid,
bool bBinary = true )
static

Definition at line 1283 of file grid_io.cpp.

References CSG_Grid_File_Info(), and Save().

◆ Save() [3/4]

bool CSG_Grid_File_Info::Save ( const CSG_String & File,
bool bBinary = true )

Definition at line 1236 of file grid_io.cpp.

References Save(), and SG_FILE_W.

Referenced by Save(), Save(), and Save().

◆ Save() [4/4]

bool CSG_Grid_File_Info::Save ( const CSG_String & File,
const CSG_Grid & Grid,
bool bBinary = true )
static

Definition at line 1275 of file grid_io.cpp.

References CSG_Grid_File_Info(), and Save().

◆ Save_AUX_XML() [1/2]

bool CSG_Grid_File_Info::Save_AUX_XML ( const CSG_String & File)

Definition at line 1296 of file grid_io.cpp.

References m_Projection, CSG_File::Open(), Save_AUX_XML(), and SG_FILE_W.

Referenced by Save_AUX_XML().

◆ Save_AUX_XML() [2/2]

bool CSG_Grid_File_Info::Save_AUX_XML ( CSG_File & Stream)

Definition at line 1304 of file grid_io.cpp.

References CSG_File::is_Writing(), m_Projection, and CSG_File::Write().

Member Data Documentation

◆ m_bFlip

bool CSG_Grid_File_Info::m_bFlip

Definition at line 465 of file grid.h.

Referenced by Create(), Create(), and Create().

◆ m_bSwapBytes

bool CSG_Grid_File_Info::m_bSwapBytes

Definition at line 465 of file grid.h.

Referenced by Create(), Create(), and Create().

◆ m_Data_File

CSG_String CSG_Grid_File_Info::m_Data_File

Definition at line 473 of file grid.h.

Referenced by Create(), Create(), and Create().

◆ m_Description

CSG_String CSG_Grid_File_Info::m_Description

Definition at line 473 of file grid.h.

Referenced by Create(), Create(), Create(), and Save().

◆ m_Name

CSG_String CSG_Grid_File_Info::m_Name

Definition at line 473 of file grid.h.

Referenced by Create(), Create(), Create(), and Save().

◆ m_NoData

double CSG_Grid_File_Info::m_NoData[2]

Definition at line 469 of file grid.h.

Referenced by Create(), Create(), Create(), and Save().

◆ m_Offset

sLong CSG_Grid_File_Info::m_Offset

Definition at line 467 of file grid.h.

Referenced by Create(), Create(), and Create().

◆ m_Projection

CSG_Projection CSG_Grid_File_Info::m_Projection

Definition at line 477 of file grid.h.

Referenced by Create(), Create(), Save_AUX_XML(), and Save_AUX_XML().

◆ m_System

CSG_Grid_System CSG_Grid_File_Info::m_System

Definition at line 475 of file grid.h.

Referenced by Create(), Create(), Create(), and Save().

◆ m_Type

TSG_Data_Type CSG_Grid_File_Info::m_Type

Definition at line 471 of file grid.h.

Referenced by Create(), Create(), Create(), and Save().

◆ m_Unit

CSG_String CSG_Grid_File_Info::m_Unit

Definition at line 473 of file grid.h.

Referenced by Create(), Create(), Create(), and Save().

◆ m_zOffset

double CSG_Grid_File_Info::m_zOffset

Definition at line 469 of file grid.h.

Referenced by Create(), Create(), Create(), and Save().

◆ m_zScale

double CSG_Grid_File_Info::m_zScale

Definition at line 469 of file grid.h.

Referenced by Create(), Create(), Create(), and Save().


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