SAGA API v9.10
Loading...
Searching...
No Matches
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)
#define GET_RECORD(i)
#define GET_RECORD(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)
Value:
(n < 256 ? 1 : (n < 8192 ? 128 : 1024))

Definition at line 772 of file table.cpp.

◆ GET_RECORD [1/2]

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

Referenced by CSG_Table::Find_Record(), and CSG_Table::Find_Record().

◆ GET_RECORD [2/2]

#define GET_RECORD ( i)
Value:
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 125 of file table.cpp.

References SG_Char, and 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 127 of file table.cpp.

References CSG_Table::Create(), and SG_Char.

◆ 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.

References CSG_Table::Create().

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

References SG_Char, and 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(), SG_Create_Table(), SG_Create_Table(), and SG_Create_Table().