SAGA API  v9.5
table.cpp File Reference
#include "table.h"
#include "shapes.h"
#include "tool_library.h"

Go to the source code of this file.

Macros

#define GET_GROW_SIZE(n)   (n < 256 ? 1 : (n < 8192 ? 128 : 1024))
 
#define GET_RECORD(i)   Get_Record_byIndex(bAscending ? (iRecord = i) : m_nRecords - 1 - (iRecord = i))
 
#define GET_RECORD(i)   Get_Record_byIndex(bAscending ? (iRecord = i) : m_nRecords - 1 - (iRecord = i))
 

Functions

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

Macro Definition Documentation

◆ GET_GROW_SIZE

#define GET_GROW_SIZE (   n)    (n < 256 ? 1 : (n < 8192 ? 128 : 1024))

Definition at line 744 of file table.cpp.

◆ GET_RECORD [1/2]

#define GET_RECORD (   i)    Get_Record_byIndex(bAscending ? (iRecord = i) : m_nRecords - 1 - (iRecord = i))

◆ GET_RECORD [2/2]

#define GET_RECORD (   i)    Get_Record_byIndex(bAscending ? (iRecord = i) : m_nRecords - 1 - (iRecord = i))

Function Documentation

◆ SG_Create_Table() [1/9]

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 118 of file table.cpp.

References SG_Create_Table().

◆ SG_Create_Table() [2/9]

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]

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 120 of file table.cpp.

◆ SG_Create_Table() [4/9]

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

Safe table construction

Definition at line 112 of file table.cpp.

◆ SG_Create_Table() [5/9]

CSG_Table* SG_Create_Table ( const CSG_Table Table)

◆ SG_Create_Table() [6/9]

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 119 of file table.cpp.

References SG_Create_Table().

◆ SG_Create_Table() [7/9]

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]

CSG_Table* SG_Create_Table ( CSG_Table pTemplate)

◆ SG_Create_Table() [9/9]

CSG_Table* SG_Create_Table ( void  )

Safe table construction

Definition at line 65 of file table.cpp.

Referenced by SG_Create_Table().