◆ writeStoredBinaryValueToStringStream()
| void FiftyoneDegrees::Common::writeStoredBinaryValueToStringStream | ( | const fiftyoneDegreesStoredBinaryValue * | binaryValue, |
| fiftyoneDegreesPropertyValueType | valueType, | ||
| std::stringstream & | stream, | ||
| uint8_t | decimalPlaces, | ||
| fiftyoneDegreesException * | exception | ||
| ) |
Converts stored binary value to text and pushes into a string stream.
- Parameters
-
- binaryValue - stored binary value from data file
- stream - string stream to push WKT into.
- decimalPlaces - precision for numbers (places after the decimal dot).
- exception - pointer to the exception struct.
◆ writeWkbStringToStringStream()
fiftyoneDegreesWkbtotResult FiftyoneDegrees::Common::writeWkbStringToStringStream ( const fiftyoneDegreesVarLengthByteArray * wkbString, fiftyoneDegreesWkbtotReductionMode reductionMode, std::stringstream & stream, uint8_t decimalPlaces, fiftyoneDegreesException * exception ) Converts WKB "string" to WKT string and pushes into a string stream.
- Parameters
-
- wkbString - "string" containing WKB geometry.
- reductionMode - type/value reduction applied to decrease WKB size.
- stream - string stream to push WKT into.
- decimalPlaces - precision for numbers (places after the decimal dot).
- exception - pointer to the exception struct.
- Returns
- How many bytes were written to the buffer and if it was too small.
