SAGA API  v9.6
shapes_io.cpp File Reference
#include "shapes.h"
#include "table_dbase.h"
#include "tool_library.h"
#include "data_manager.h"

Go to the source code of this file.

Macros

#define Set_Content_Length(n)
 

Functions

bool SG_Shapes_Set_File_Format_Default (int Format)
 
TSG_Shape_File_Format SG_Shapes_Get_File_Format_Default (void)
 
CSG_String SG_Shapes_Get_File_Extension_Default (void)
 

Variables

static TSG_Shape_File_Format gSG_Shape_File_Format_Default = SHAPE_FILE_FORMAT_ESRI
 

Macro Definition Documentation

◆ Set_Content_Length

#define Set_Content_Length (   n)
Value:
Record_Header.Set_Value(4, (int)(n), true);\
fSHP.Write(Record_Header.Get_Data(), sizeof(int), 2);\
fSHX.Write_Int(fSHP_Size, true);\
fSHX.Write_Int((n) , true);\
fSHP_Size += 4 + (n);\
fSHX_Size += 4;

Definition at line 583 of file shapes_io.cpp.

Function Documentation

◆ SG_Shapes_Get_File_Extension_Default()

CSG_String SG_Shapes_Get_File_Extension_Default ( void  )

◆ SG_Shapes_Get_File_Format_Default()

TSG_Shape_File_Format SG_Shapes_Get_File_Format_Default ( void  )

Definition at line 118 of file shapes_io.cpp.

References gSG_Shape_File_Format_Default.

◆ SG_Shapes_Set_File_Format_Default()

bool SG_Shapes_Set_File_Format_Default ( int  Format)

Variable Documentation

◆ gSG_Shape_File_Format_Default