SAGA API v9.10
Loading...
Searching...
No Matches
table.h File Reference
#include "dataobject.h"
#include "table_value.h"

Go to the source code of this file.

Classes

class  CSG_Table_Record
class  CSG_Table
class  CSG_Table::CSG_Field_Info

Macros

#define SG_TABLE_REC_FLAG_Modified   0x01
#define SG_TABLE_REC_FLAG_Selected   0x02

Enumerations

enum  TSG_Table_File_Type { TABLE_FILETYPE_Undefined = 0 , TABLE_FILETYPE_Text , TABLE_FILETYPE_Text_NoHeadLine , TABLE_FILETYPE_DBase }
enum  TSG_Table_Index_Order { TABLE_INDEX_None = 0 , TABLE_INDEX_Ascending , TABLE_INDEX_Descending }

Functions

SAGA_API_DLL_EXPORT CSG_TableSG_Create_Table (void)
SAGA_API_DLL_EXPORT CSG_TableSG_Create_Table (const CSG_Table &Table)
SAGA_API_DLL_EXPORT CSG_TableSG_Create_Table (CSG_Table *pTemplate)
SAGA_API_DLL_EXPORT CSG_TableSG_Create_Table (const char *File, TSG_Table_File_Type Format=TABLE_FILETYPE_Undefined, int Encoding=SG_FILE_ENCODING_UNDEFINED)
SAGA_API_DLL_EXPORT CSG_TableSG_Create_Table (const wchar_t *File, TSG_Table_File_Type Format=TABLE_FILETYPE_Undefined, int Encoding=SG_FILE_ENCODING_UNDEFINED)
SAGA_API_DLL_EXPORT CSG_TableSG_Create_Table (const CSG_String &File, TSG_Table_File_Type Format=TABLE_FILETYPE_Undefined, int Encoding=SG_FILE_ENCODING_UNDEFINED)
SAGA_API_DLL_EXPORT CSG_TableSG_Create_Table (const char *File, TSG_Table_File_Type Format, const SG_Char Separator, int Encoding=SG_FILE_ENCODING_UNDEFINED)
SAGA_API_DLL_EXPORT CSG_TableSG_Create_Table (const wchar_t *File, TSG_Table_File_Type Format, const SG_Char Separator, int Encoding=SG_FILE_ENCODING_UNDEFINED)
SAGA_API_DLL_EXPORT CSG_TableSG_Create_Table (const CSG_String &File, TSG_Table_File_Type Format, const SG_Char Separator, int Encoding=SG_FILE_ENCODING_UNDEFINED)

Detailed Description

The table data container, a specialized CSG_Table class following a geometry object based approach.

See also
CSG_Table_Value
CSG_Table_Record
CSG_Table
CSG_Data_Object

Definition in file table.h.

Macro Definition Documentation

◆ SG_TABLE_REC_FLAG_Modified

#define SG_TABLE_REC_FLAG_Modified   0x01

◆ SG_TABLE_REC_FLAG_Selected

Enumeration Type Documentation

◆ TSG_Table_File_Type

Enumerator
TABLE_FILETYPE_Undefined 
TABLE_FILETYPE_Text 
TABLE_FILETYPE_Text_NoHeadLine 
TABLE_FILETYPE_DBase 

Definition at line 92 of file table.h.

◆ TSG_Table_Index_Order

Enumerator
TABLE_INDEX_None 
TABLE_INDEX_Ascending 
TABLE_INDEX_Descending 

Definition at line 102 of file table.h.

Function Documentation

◆ SG_Create_Table() [1/9]

SAGA_API_DLL_EXPORT CSG_Table * SG_Create_Table ( const char * File,
TSG_Table_File_Type Format,
const SG_Char Separator,
int Encoding = SG_FILE_ENCODING_UNDEFINED )

Safe table construction

Definition at line 125 of file table.cpp.

References SG_Char, and SG_Create_Table().

◆ SG_Create_Table() [2/9]

SAGA_API_DLL_EXPORT CSG_Table * SG_Create_Table ( const char * File,
TSG_Table_File_Type Format = TABLE_FILETYPE_Undefined,
int Encoding = SG_FILE_ENCODING_UNDEFINED )

Safe table construction

Definition at line 110 of file table.cpp.

References SG_Create_Table().

◆ SG_Create_Table() [3/9]

SAGA_API_DLL_EXPORT CSG_Table * SG_Create_Table ( const CSG_String & File,
TSG_Table_File_Type Format,
const SG_Char Separator,
int Encoding = SG_FILE_ENCODING_UNDEFINED )

Safe table construction

Definition at line 127 of file table.cpp.

References CSG_Table::Create(), and SG_Char.

◆ SG_Create_Table() [4/9]

Safe table construction

Definition at line 112 of file table.cpp.

References CSG_Table::Create().

◆ SG_Create_Table() [5/9]

SAGA_API_DLL_EXPORT CSG_Table * SG_Create_Table ( const CSG_Table & Table)

◆ SG_Create_Table() [6/9]

SAGA_API_DLL_EXPORT CSG_Table * SG_Create_Table ( const wchar_t * File,
TSG_Table_File_Type Format,
const SG_Char Separator,
int Encoding = SG_FILE_ENCODING_UNDEFINED )

Safe table construction

Definition at line 126 of file table.cpp.

References SG_Char, and SG_Create_Table().

◆ SG_Create_Table() [7/9]

SAGA_API_DLL_EXPORT CSG_Table * SG_Create_Table ( const wchar_t * File,
TSG_Table_File_Type Format = TABLE_FILETYPE_Undefined,
int Encoding = SG_FILE_ENCODING_UNDEFINED )

Safe table construction

Definition at line 111 of file table.cpp.

References SG_Create_Table().

◆ SG_Create_Table() [8/9]

SAGA_API_DLL_EXPORT CSG_Table * SG_Create_Table ( CSG_Table * pTemplate)

◆ SG_Create_Table() [9/9]

SAGA_API_DLL_EXPORT CSG_Table * SG_Create_Table ( void )

Safe table construction

Definition at line 65 of file table.cpp.

Referenced by SG_Create_Table(), SG_Create_Table(), SG_Create_Table(), and SG_Create_Table().