|
SAGA API v9.10
|
#include <api_core.h>
Public Member Functions | |
| CSG_Bytes (void) | |
| bool | Create (void) |
| CSG_Bytes (const CSG_Bytes &Bytes) | |
| bool | Create (const CSG_Bytes &Bytes) |
| CSG_Bytes (const BYTE *Bytes, int nBytes) | |
| bool | Create (const BYTE *Bytes, int nBytes) |
| virtual | ~CSG_Bytes (void) |
| bool | Destroy (void) |
| bool | Clear (void) |
| void | Rewind (void) |
| bool | is_EOF (void) |
| int | Get_Count (void) const |
| BYTE * | Get_Bytes (void) const |
| CSG_Bytes | Get_Bytes (int i) const |
| CSG_Bytes | operator+ (int i) const |
| BYTE | Get_Byte (int i) const |
| BYTE | operator[] (int i) const |
| bool | Assign (const CSG_Bytes &Bytes) |
| CSG_Bytes & | operator= (const CSG_Bytes &Bytes) |
| bool | Add (const CSG_Bytes &Bytes) |
| CSG_Bytes & | operator+= (const CSG_Bytes &Bytes) |
| bool | Add (void *Bytes, int nBytes, bool bSwapBytes) |
| bool | Add (BYTE Value) |
| CSG_Bytes & | operator+= (BYTE Value) |
| bool | Add (char Value) |
| CSG_Bytes & | operator+= (char Value) |
| bool | Add (short Value, bool bSwapBytes=false) |
| CSG_Bytes & | operator+= (short Value) |
| bool | Add (WORD Value, bool bSwapBytes=false) |
| CSG_Bytes & | operator+= (WORD Value) |
| bool | Add (int Value, bool bSwapBytes=false) |
| CSG_Bytes & | operator+= (int Value) |
| bool | Add (DWORD Value, bool bSwapBytes=false) |
| CSG_Bytes & | operator+= (DWORD Value) |
| bool | Add (float Value, bool bSwapBytes=false) |
| CSG_Bytes & | operator+= (float Value) |
| bool | Add (double Value, bool bSwapBytes=false) |
| CSG_Bytes & | operator+= (double Value) |
| BYTE | asByte (int i) const |
| char | asChar (int i) const |
| short | asShort (int i, bool bSwapBytes=false) const |
| WORD | asWord (int i, bool bSwapBytes=false) const |
| int | asInt (int i, bool bSwapBytes=false) const |
| DWORD | asDWord (int i, bool bSwapBytes=false) const |
| float | asFloat (int i, bool bSwapBytes=false) const |
| double | asDouble (int i, bool bSwapBytes=false) const |
| BYTE | Read_Byte (void) |
| char | Read_Char (void) |
| short | Read_Short (bool bSwapBytes=false) |
| WORD | Read_Word (bool bSwapBytes=false) |
| int | Read_Int (bool bSwapBytes=false) |
| DWORD | Read_DWord (bool bSwapBytes=false) |
| float | Read_Float (bool bSwapBytes=false) |
| double | Read_Double (bool bSwapBytes=false) |
| CSG_String | toHexString (void) const |
| bool | fromHexString (const CSG_String &HexString) |
Definition at line 813 of file api_core.h.
| CSG_Bytes::CSG_Bytes | ( | void | ) |
Definition at line 775 of file api_memory.cpp.
Referenced by Add(), Assign(), Create(), CSG_Bytes(), Get_Bytes(), operator+(), operator+=(), operator+=(), operator+=(), operator+=(), operator+=(), operator+=(), operator+=(), operator+=(), operator+=(), and operator=().
| CSG_Bytes::CSG_Bytes | ( | const CSG_Bytes & | Bytes | ) |
Definition at line 790 of file api_memory.cpp.
References Create(), and CSG_Bytes().
| CSG_Bytes::CSG_Bytes | ( | const BYTE * | Bytes, |
| int | nBytes ) |
Definition at line 806 of file api_memory.cpp.
References Create().
|
virtual |
Definition at line 824 of file api_memory.cpp.
References Destroy().
|
inline |
|
inline |
| bool CSG_Bytes::Add | ( | const CSG_Bytes & | Bytes | ) |
Definition at line 905 of file api_memory.cpp.
References Add(), and CSG_Bytes().
Referenced by Add(), Create(), fromHexString(), operator+=(), operator+=(), operator+=(), operator+=(), operator+=(), operator+=(), operator+=(), operator+=(), and operator+=().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| bool CSG_Bytes::Add | ( | void * | Bytes, |
| int | nBytes, | ||
| bool | bSwapBytes ) |
Definition at line 911 of file api_memory.cpp.
References SG_Swap_Bytes().
|
inline |
|
inline |
Definition at line 867 of file api_core.h.
References Get_Byte().
Referenced by Read_Byte(), and Read_Char().
|
inline |
Definition at line 868 of file api_core.h.
References Get_Byte().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| bool CSG_Bytes::Assign | ( | const CSG_Bytes & | Bytes | ) |
Definition at line 885 of file api_memory.cpp.
References CSG_Bytes(), and Destroy().
Referenced by Create(), and operator=().
|
inline |
| bool CSG_Bytes::Clear | ( | void | ) |
Definition at line 844 of file api_memory.cpp.
Referenced by CSG_HTTP::Request(), and CSG_Grid_OGIS_Converter::to_WKBinary().
| bool CSG_Bytes::Create | ( | const BYTE * | Bytes, |
| int | nBytes ) |
Definition at line 816 of file api_memory.cpp.
| bool CSG_Bytes::Create | ( | const CSG_Bytes & | Bytes | ) |
Definition at line 800 of file api_memory.cpp.
References Assign(), and CSG_Bytes().
| bool CSG_Bytes::Create | ( | void | ) |
Definition at line 784 of file api_memory.cpp.
References Destroy().
Referenced by CSG_Bytes(), and CSG_Bytes().
| bool CSG_Bytes::Destroy | ( | void | ) |
Definition at line 829 of file api_memory.cpp.
References SG_Free().
Referenced by Assign(), Create(), Create(), fromHexString(), CSG_Shapes_OGIS_Converter::to_WKBinary(), and ~CSG_Bytes().
| bool CSG_Bytes::fromHexString | ( | const CSG_String & | HexString | ) |
Definition at line 979 of file api_memory.cpp.
References Add(), CSG_String::c_str(), Destroy(), CSG_String::Length(), SG_Char, and SG_Hex_to_Byte().
|
inline |
Definition at line 839 of file api_core.h.
Referenced by asByte(), asChar(), and operator[]().
|
inline |
Definition at line 836 of file api_core.h.
References CSG_Bytes().
|
inline |
Definition at line 834 of file api_core.h.
Referenced by operator+(), CSG_Table_Value_Date::Set_Value(), CSG_Table_Value_Double::Set_Value(), CSG_Table_Value_Int::Set_Value(), CSG_Table_Value_Long::Set_Value(), and CSG_Table_Value_String::Set_Value().
|
inline |
Definition at line 833 of file api_core.h.
Referenced by CSG_Shapes_OGIS_Converter::from_WKBinary().
|
inline |
Definition at line 831 of file api_core.h.
|
inline |
Definition at line 837 of file api_core.h.
References CSG_Bytes(), and Get_Bytes().
|
inline |
Definition at line 851 of file api_core.h.
References Add(), and CSG_Bytes().
|
inline |
Definition at line 853 of file api_core.h.
References Add(), and CSG_Bytes().
Definition at line 846 of file api_core.h.
References Add(), and CSG_Bytes().
|
inline |
Definition at line 865 of file api_core.h.
References Add(), and CSG_Bytes().
|
inline |
Definition at line 861 of file api_core.h.
References Add(), and CSG_Bytes().
|
inline |
Definition at line 863 of file api_core.h.
References Add(), and CSG_Bytes().
|
inline |
Definition at line 859 of file api_core.h.
References Add(), and CSG_Bytes().
|
inline |
Definition at line 855 of file api_core.h.
References Add(), and CSG_Bytes().
|
inline |
Definition at line 857 of file api_core.h.
References Add(), and CSG_Bytes().
Definition at line 843 of file api_core.h.
References Assign(), and CSG_Bytes().
|
inline |
Definition at line 840 of file api_core.h.
References Get_Byte().
|
inline |
Definition at line 876 of file api_core.h.
References asByte().
Referenced by CSG_Grid_OGIS_Converter::from_WKBinary(), and CSG_Shapes_OGIS_Converter::from_WKBinary().
|
inline |
Definition at line 877 of file api_core.h.
References asByte().
Referenced by CSG_Grid_OGIS_Converter::from_WKBinary().
|
inline |
Definition at line 883 of file api_core.h.
References asDouble().
Referenced by CSG_Grid_OGIS_Converter::from_WKBinary().
|
inline |
Definition at line 881 of file api_core.h.
References asDWord().
Referenced by CSG_Grid_OGIS_Converter::from_WKBinary(), and CSG_Shapes_OGIS_Converter::from_WKBinary().
|
inline |
Definition at line 882 of file api_core.h.
References asFloat().
Referenced by CSG_Grid_OGIS_Converter::from_WKBinary().
|
inline |
Definition at line 880 of file api_core.h.
References asInt().
Referenced by CSG_Grid_OGIS_Converter::from_WKBinary().
|
inline |
Definition at line 878 of file api_core.h.
References asShort().
Referenced by CSG_Grid_OGIS_Converter::from_WKBinary().
|
inline |
Definition at line 879 of file api_core.h.
References asWord().
Referenced by CSG_Grid_OGIS_Converter::from_WKBinary().
|
inline |
Definition at line 830 of file api_core.h.
Referenced by CSG_Grid_OGIS_Converter::from_WKBinary(), and CSG_Shapes_OGIS_Converter::from_WKBinary().
| CSG_String CSG_Bytes::toHexString | ( | void | ) | const |
Definition at line 966 of file api_memory.cpp.
References CSG_String::Format(), and SG_T.