This class implements a test output stream for BDEX externalization.
Synopsis
Declared in <bslx_testoutstream.h>
class TestOutStream;
Description
This class implements output methods to externalize fundamental types and their associated type identification data. It stores the accumulated result in network byte order. See the bslx package‐level documentation for the definition of the BDEX OutStream protocol.
Member Functions
Name |
Description |
|
Constructors |
|
Destroy this object. |
Return the |
|
Return the address of this stream's contiguous internal memory buffer. |
|
Put this output stream in an invalid state. This function has no effect if this stream is already invalid. |
|
Return |
|
Return the number of bytes in this stream. |
|
Make the next output operation emit the invalid data indicator. |
|
Write an array of single‐precision floating‐point values to this stream. |
|
Write an array of double‐precision floating‐point values to this stream. |
|
Write an array of two‐byte signed integers to this stream. |
|
Write an array of three‐byte signed integers to this stream. |
|
Write an array of four‐byte signed integers to this stream. |
|
Write an array of five‐byte signed integers to this stream. |
|
Write an array of six‐byte signed integers to this stream. |
|
Write an array of seven‐byte signed integers to this stream. |
|
Write an array of eight‐byte signed integers to this stream. |
|
Write an array of one‐byte signed integers to this stream. |
|
Write an array of two‐byte unsigned integers to this stream. |
|
Write an array of three‐byte unsigned integers to this stream. |
|
Write an array of four‐byte unsigned integers to this stream. |
|
Write an array of five‐byte unsigned integers to this stream. |
|
Write an array of six‐byte unsigned integers to this stream. |
|
Write an array of seven‐byte unsigned integers to this stream. |
|
Write an array of eight‐byte unsigned integers to this stream. |
|
Write an array of one‐byte unsigned integers to this stream. |
|
Write a single‐precision floating‐point value to this stream. |
|
Write a double‐precision floating‐point value to this stream. |
|
Write a two‐byte signed integer value to this stream. |
|
Write a three‐byte signed integer value to this stream. |
|
Write a four‐byte signed integer value to this stream. |
|
Write a five‐byte signed integer value to this stream. |
|
Write a six‐byte signed integer value to this stream. |
|
Write a seven‐byte signed integer value to this stream. |
|
Write an eight‐byte signed integer value to this stream. |
|
Write a one‐byte signed integer value to this stream. |
|
Write a BDEX length value to this stream. |
|
Write a string value to this stream. |
|
Write a two‐byte unsigned integer value to this stream. |
|
Write a three‐byte unsigned integer value to this stream. |
|
Write a four‐byte unsigned integer value to this stream. |
|
Write a five‐byte unsigned integer value to this stream. |
|
Write a six‐byte unsigned integer value to this stream. |
|
Write a seven‐byte unsigned integer value to this stream. |
|
Write an eight‐byte unsigned integer value to this stream. |
|
Write a one‐byte unsigned integer value to this stream. |
|
Write a BDEX version value to this stream. |
|
Set the internal buffer size of this stream to be at least the specified |
|
Remove all content in this stream and validate this stream if it is currently invalid. |
|
Return a non‐zero value if this stream is valid, and 0 otherwise. |
Friends
Name |
Description |
Write the specified |
Non-Member Functions
Name |
Description |
Write a BDEX‐compliant |
Created with MrDocs