|  | SAGA API v9.10
    | 
#include <api_core.h>
| Public Member Functions | |
| CSG_Buffer (void) | |
| bool | Create (void) | 
| CSG_Buffer (const CSG_Buffer &Buffer) | |
| bool | Create (const CSG_Buffer &Buffer) | 
| CSG_Buffer (size_t Size) | |
| bool | Create (size_t Size) | 
| virtual | ~CSG_Buffer (void) | 
| void | Destroy (void) | 
| bool | Set_Size (size_t Size, bool bShrink=true) | 
| bool | Inc_Size (size_t Size) | 
| size_t | Get_Size (void) const | 
| bool | Set_Data (const char *Data, size_t Size, bool bShrink=true) | 
| char * | Get_Data (int Offset=0) const | 
| CSG_Buffer & | operator= (const CSG_Buffer &Buffer) | 
| char & | operator[] (int Position) | 
| char | operator[] (int Position) const | 
| void | Add_Value (char Value, bool bBigEndian=false) | 
| void | Add_Value (short Value, bool bBigEndian=false) | 
| void | Add_Value (int Value, bool bBigEndian=false) | 
| void | Add_Value (float Value, bool bBigEndian=false) | 
| void | Add_Value (double Value, bool bBigEndian=false) | 
| CSG_Buffer & | operator+= (char Value) | 
| CSG_Buffer & | operator+= (short Value) | 
| CSG_Buffer & | operator+= (int Value) | 
| CSG_Buffer & | operator+= (float Value) | 
| CSG_Buffer & | operator+= (double Value) | 
| void | Set_Value (int Offset, char Value, bool bBigEndian=false) | 
| void | Set_Value (int Offset, short Value, bool bBigEndian=false) | 
| void | Set_Value (int Offset, int Value, bool bBigEndian=false) | 
| void | Set_Value (int Offset, float Value, bool bBigEndian=false) | 
| void | Set_Value (int Offset, double Value, bool bBigEndian=false) | 
| short | asShort (int Offset, bool bBigEndian=false) const | 
| int | asInt (int Offset, bool bBigEndian=false) const | 
| float | asFloat (int Offset, bool bBigEndian=false) const | 
| double | asDouble (int Offset, bool bBigEndian=false) const | 
Definition at line 223 of file api_core.h.
| CSG_Buffer::CSG_Buffer | ( | void | ) | 
Definition at line 673 of file api_memory.cpp.
Referenced by Create(), CSG_Buffer(), operator+=(), operator+=(), operator+=(), operator+=(), operator+=(), and operator=().
| CSG_Buffer::CSG_Buffer | ( | const CSG_Buffer & | Buffer | ) | 
Definition at line 687 of file api_memory.cpp.
References Create(), and CSG_Buffer().
| CSG_Buffer::CSG_Buffer | ( | size_t | Size | ) | 
Definition at line 701 of file api_memory.cpp.
References Create().
| 
 | virtual | 
Definition at line 715 of file api_memory.cpp.
References Destroy().
| 
 | inline | 
Definition at line 250 of file api_core.h.
References Inc_Size(), and Set_Value().
Referenced by operator+=(), operator+=(), operator+=(), operator+=(), and operator+=().
| 
 | inline | 
Definition at line 254 of file api_core.h.
References Inc_Size(), and Set_Value().
| 
 | inline | 
Definition at line 253 of file api_core.h.
References Inc_Size(), and Set_Value().
| 
 | inline | 
Definition at line 252 of file api_core.h.
References Inc_Size(), and Set_Value().
| 
 | inline | 
Definition at line 251 of file api_core.h.
References Inc_Size(), and Set_Value().
| 
 | inline | 
Definition at line 271 of file api_core.h.
References SG_Swap_Bytes().
| 
 | inline | 
Definition at line 270 of file api_core.h.
References SG_Swap_Bytes().
| 
 | inline | 
Definition at line 269 of file api_core.h.
References SG_Swap_Bytes().
| 
 | inline | 
Definition at line 268 of file api_core.h.
References SG_Swap_Bytes().
| bool CSG_Buffer::Create | ( | const CSG_Buffer & | Buffer | ) | 
Definition at line 695 of file api_memory.cpp.
References CSG_Buffer(), and Set_Data().
| bool CSG_Buffer::Create | ( | size_t | Size | ) | 
Definition at line 709 of file api_memory.cpp.
References Set_Size().
| bool CSG_Buffer::Create | ( | void | ) | 
Definition at line 679 of file api_memory.cpp.
References Destroy().
Referenced by CSG_Buffer(), CSG_Buffer(), and operator=().
| void CSG_Buffer::Destroy | ( | void | ) | 
Definition at line 720 of file api_memory.cpp.
References SG_Free().
Referenced by Create(), Set_Size(), and ~CSG_Buffer().
| 
 | inline | 
Definition at line 244 of file api_core.h.
Referenced by CSG_File::Read(), CSG_Table_DBase::Set_Value(), CSG_String::to_ASCII(), CSG_String::to_MBChar(), and CSG_String::to_UTF8().
| 
 | inline | 
Definition at line 241 of file api_core.h.
Referenced by CSG_Table_DBase::Set_Value(), CSG_String::to_ASCII(), CSG_String::to_MBChar(), and CSG_String::to_UTF8().
| 
 | inline | 
Definition at line 240 of file api_core.h.
References Set_Size().
Referenced by Add_Value(), Add_Value(), Add_Value(), Add_Value(), and Add_Value().
| 
 | inline | 
Definition at line 256 of file api_core.h.
References Add_Value(), and CSG_Buffer().
| 
 | inline | 
Definition at line 260 of file api_core.h.
References Add_Value(), and CSG_Buffer().
| 
 | inline | 
Definition at line 259 of file api_core.h.
References Add_Value(), and CSG_Buffer().
| 
 | inline | 
Definition at line 258 of file api_core.h.
References Add_Value(), and CSG_Buffer().
| 
 | inline | 
Definition at line 257 of file api_core.h.
References Add_Value(), and CSG_Buffer().
| 
 | inline | 
Definition at line 246 of file api_core.h.
References Create(), and CSG_Buffer().
| 
 | inline | 
Definition at line 247 of file api_core.h.
| 
 | inline | 
Definition at line 248 of file api_core.h.
| bool CSG_Buffer::Set_Data | ( | const char * | Data, | 
| size_t | Size, | ||
| bool | bShrink = true ) | 
Definition at line 755 of file api_memory.cpp.
References Set_Size().
Referenced by Create(), CSG_String::to_ASCII(), CSG_String::to_MBChar(), and CSG_String::to_UTF8().
| bool CSG_Buffer::Set_Size | ( | size_t | Size, | 
| bool | bShrink = true ) | 
Definition at line 732 of file api_memory.cpp.
References Destroy(), and SG_Realloc().
Referenced by Create(), Inc_Size(), and Set_Data().
| 
 | inline | 
Definition at line 262 of file api_core.h.
Referenced by Add_Value(), Add_Value(), Add_Value(), Add_Value(), and Add_Value().
| 
 | inline | 
Definition at line 266 of file api_core.h.
References SG_Swap_Bytes().
| 
 | inline | 
Definition at line 265 of file api_core.h.
References SG_Swap_Bytes().
| 
 | inline | 
Definition at line 264 of file api_core.h.
References SG_Swap_Bytes().
| 
 | inline | 
Definition at line 263 of file api_core.h.
References SG_Swap_Bytes().