SAGA API  v9.5
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 407 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 1018 of file grid_io.cpp.

◆ CSG_Grid_File_Info() [2/5]

CSG_Grid_File_Info::CSG_Grid_File_Info ( const CSG_Grid_File_Info Info)

Definition at line 1042 of file grid_io.cpp.

References Create().

◆ CSG_Grid_File_Info() [3/5]

CSG_Grid_File_Info::CSG_Grid_File_Info ( const CSG_String File)

Definition at line 1094 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 1143 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 1068 of file grid_io.cpp.

References Create().

Member Function Documentation

◆ Create() [1/4]

◆ Create() [2/4]

bool CSG_Grid_File_Info::Create ( const CSG_Grid_File_Info Info)

◆ 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 1299 of file grid_io.cpp.

References Save().

◆ Save() [3/4]

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

Definition at line 1252 of file grid_io.cpp.

References SG_FILE_W.

Referenced by 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 1291 of file grid_io.cpp.

References Save().

◆ Save_AUX_XML() [1/2]

bool CSG_Grid_File_Info::Save_AUX_XML ( const CSG_String File)

Definition at line 1312 of file grid_io.cpp.

References CSG_Projection::is_Okay(), m_Projection, CSG_File::Open(), and SG_FILE_W.

◆ Save_AUX_XML() [2/2]

bool CSG_Grid_File_Info::Save_AUX_XML ( CSG_File Stream)

Member Data Documentation

◆ m_bFlip

bool CSG_Grid_File_Info::m_bFlip

Definition at line 437 of file grid.h.

Referenced by Create().

◆ m_bSwapBytes

bool CSG_Grid_File_Info::m_bSwapBytes

Definition at line 437 of file grid.h.

Referenced by Create().

◆ m_Data_File

CSG_String CSG_Grid_File_Info::m_Data_File

Definition at line 445 of file grid.h.

Referenced by Create().

◆ m_Description

CSG_String CSG_Grid_File_Info::m_Description

Definition at line 445 of file grid.h.

Referenced by Create(), and Save().

◆ m_Name

CSG_String CSG_Grid_File_Info::m_Name

Definition at line 445 of file grid.h.

Referenced by Create(), and Save().

◆ m_NoData

double CSG_Grid_File_Info::m_NoData[2]

Definition at line 441 of file grid.h.

Referenced by Create(), and Save().

◆ m_Offset

sLong CSG_Grid_File_Info::m_Offset

Definition at line 439 of file grid.h.

Referenced by Create().

◆ m_Projection

CSG_Projection CSG_Grid_File_Info::m_Projection

Definition at line 449 of file grid.h.

Referenced by Create(), and Save_AUX_XML().

◆ m_System

CSG_Grid_System CSG_Grid_File_Info::m_System

Definition at line 447 of file grid.h.

Referenced by Create(), and Save().

◆ m_Type

TSG_Data_Type CSG_Grid_File_Info::m_Type

Definition at line 443 of file grid.h.

Referenced by Create(), and Save().

◆ m_Unit

CSG_String CSG_Grid_File_Info::m_Unit

Definition at line 445 of file grid.h.

Referenced by Create(), and Save().

◆ m_zOffset

double CSG_Grid_File_Info::m_zOffset

Definition at line 441 of file grid.h.

Referenced by Create(), and Save().

◆ m_zScale

double CSG_Grid_File_Info::m_zScale

Definition at line 441 of file grid.h.

Referenced by Create(), and Save().


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