SAGA API
v9.6
|
#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 811 of file api_core.h.
CSG_Bytes::CSG_Bytes | ( | void | ) |
Definition at line 775 of file api_memory.cpp.
CSG_Bytes::CSG_Bytes | ( | const CSG_Bytes & | Bytes | ) |
Definition at line 790 of file api_memory.cpp.
References Create().
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.
Referenced by Create(), and fromHexString().
|
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 865 of file api_core.h.
|
inline |
Definition at line 866 of file api_core.h.
|
inline |
Definition at line 872 of file api_core.h.
References SG_Swap_Bytes().
|
inline |
Definition at line 870 of file api_core.h.
References SG_Swap_Bytes().
|
inline |
Definition at line 871 of file api_core.h.
References SG_Swap_Bytes().
|
inline |
Definition at line 869 of file api_core.h.
References SG_Swap_Bytes().
|
inline |
Definition at line 867 of file api_core.h.
References SG_Swap_Bytes().
bool CSG_Bytes::Assign | ( | const CSG_Bytes & | Bytes | ) |
|
inline |
Definition at line 868 of file api_core.h.
References SG_Swap_Bytes().
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().
bool CSG_Bytes::Create | ( | void | ) |
Definition at line 784 of file api_memory.cpp.
References Destroy().
Referenced by CSG_Bytes(), and CSG_Table_Value_Binary::Set_Value().
bool CSG_Bytes::Destroy | ( | void | ) |
Definition at line 829 of file api_memory.cpp.
References SG_Free().
Referenced by Assign(), Create(), fromHexString(), CSG_Table_Record::Set_NoData(), CSG_Table_Value_Binary::Set_NoData(), 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 837 of file api_core.h.
|
inline |
Definition at line 834 of file api_core.h.
|
inline |
Definition at line 832 of file api_core.h.
Referenced by CSG_Table_Value_Binary::asString(), CSG_Table_Value_String::Set_Value(), CSG_Table_Value_Date::Set_Value(), CSG_Table_Value_Int::Set_Value(), CSG_Table_Value_Long::Set_Value(), and CSG_Table_Value_Double::Set_Value().
|
inline |
Definition at line 831 of file api_core.h.
Referenced by CSG_Table_Value_Binary::asInt(), CSG_Table_Value_Binary::asLong(), CSG_Shapes_OGIS_Converter::from_WKBinary(), and CSG_Table_Value_Binary::is_NoData().
|
inline |
Definition at line 829 of file api_core.h.
|
inline |
Definition at line 835 of file api_core.h.
|
inline |
Definition at line 849 of file api_core.h.
|
inline |
Definition at line 851 of file api_core.h.
Definition at line 844 of file api_core.h.
|
inline |
Definition at line 863 of file api_core.h.
|
inline |
Definition at line 859 of file api_core.h.
|
inline |
Definition at line 861 of file api_core.h.
|
inline |
Definition at line 857 of file api_core.h.
|
inline |
Definition at line 853 of file api_core.h.
|
inline |
Definition at line 855 of file api_core.h.
Definition at line 841 of file api_core.h.
|
inline |
Definition at line 838 of file api_core.h.
|
inline |
Definition at line 874 of file api_core.h.
Referenced by CSG_Grid_OGIS_Converter::from_WKBinary(), and CSG_Shapes_OGIS_Converter::from_WKBinary().
|
inline |
Definition at line 875 of file api_core.h.
Referenced by CSG_Grid_OGIS_Converter::from_WKBinary().
|
inline |
Definition at line 881 of file api_core.h.
Referenced by CSG_Grid_OGIS_Converter::from_WKBinary().
|
inline |
Definition at line 879 of file api_core.h.
Referenced by CSG_Grid_OGIS_Converter::from_WKBinary(), and CSG_Shapes_OGIS_Converter::from_WKBinary().
|
inline |
Definition at line 880 of file api_core.h.
Referenced by CSG_Grid_OGIS_Converter::from_WKBinary().
|
inline |
Definition at line 878 of file api_core.h.
Referenced by CSG_Grid_OGIS_Converter::from_WKBinary().
|
inline |
Definition at line 876 of file api_core.h.
Referenced by CSG_Grid_OGIS_Converter::from_WKBinary().
|
inline |
Definition at line 877 of file api_core.h.
Referenced by CSG_Grid_OGIS_Converter::from_WKBinary().
|
inline |
Definition at line 828 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.