TM writer output stream.
More...
#include <tdme/engine/fileio/models/TMWriter.h>
TM writer output stream.
- Author
- Andreas Drewke
- Version
- $Id$
Definition at line 49 of file TMWriter.h.
◆ TMWriterOutputStream()
Constructor.
- Parameters
-
data | data vector to write TM to |
Definition at line 58 of file TMWriter.h.
◆ getData()
vector< uint8_t > * getData |
( |
| ) |
|
|
inline |
Get data.
- Returns
- data
Definition at line 66 of file TMWriter.h.
◆ writeBoolean()
void writeBoolean |
( |
bool |
b | ) |
|
|
inline |
Writes a boolean to output stream.
- Exceptions
-
- Parameters
-
Definition at line 75 of file TMWriter.h.
◆ writeByte()
void writeByte |
( |
uint8_t |
b | ) |
|
|
inline |
Writes a byte to output stream.
- Exceptions
-
- Parameters
-
Definition at line 84 of file TMWriter.h.
◆ writeFloat()
void writeFloat |
( |
float |
f | ) |
|
|
inline |
Writes a float to output stream.
- Parameters
-
- Exceptions
-
Definition at line 105 of file TMWriter.h.
◆ writeFloatArray() [1/6]
void writeFloatArray |
( |
const array< float, 16 > & |
f | ) |
|
|
inline |
Writes a float array to output stream.
- Parameters
-
- Exceptions
-
Definition at line 180 of file TMWriter.h.
◆ writeFloatArray() [2/6]
void writeFloatArray |
( |
const array< float, 2 > & |
f | ) |
|
|
inline |
Writes a float array to output stream.
- Parameters
-
- Exceptions
-
Definition at line 132 of file TMWriter.h.
◆ writeFloatArray() [3/6]
void writeFloatArray |
( |
const array< float, 3 > & |
f | ) |
|
|
inline |
Writes a float array to output stream.
- Parameters
-
- Exceptions
-
Definition at line 144 of file TMWriter.h.
◆ writeFloatArray() [4/6]
void writeFloatArray |
( |
const array< float, 4 > & |
f | ) |
|
|
inline |
Writes a float array to output stream.
- Parameters
-
- Exceptions
-
Definition at line 156 of file TMWriter.h.
◆ writeFloatArray() [5/6]
void writeFloatArray |
( |
const array< float, 9 > & |
f | ) |
|
|
inline |
Writes a float array to output stream.
- Parameters
-
- Exceptions
-
Definition at line 168 of file TMWriter.h.
◆ writeFloatArray() [6/6]
void writeFloatArray |
( |
const vector< float > & |
f | ) |
|
|
inline |
Writes a float array to output stream.
- Parameters
-
- Exceptions
-
Definition at line 192 of file TMWriter.h.
◆ writeInt()
void writeInt |
( |
int32_t |
i | ) |
|
|
inline |
Writes a integer to output stream.
- Exceptions
-
- Parameters
-
Definition at line 93 of file TMWriter.h.
◆ writeString()
void writeString |
( |
const string & |
s | ) |
|
|
inline |
Writes a string to output stream.
- Parameters
-
- Exceptions
-
Definition at line 115 of file TMWriter.h.
◆ writeUInt8tArray()
void writeUInt8tArray |
( |
const vector< uint8_t > & |
d | ) |
|
|
inline |
Writes a uint8_t array to output stream, note that no size information is given in this case.
- Parameters
-
- Exceptions
-
Definition at line 204 of file TMWriter.h.
◆ data
The documentation for this class was generated from the following file:
- /home/andreas/Development/drewke.net/tdme2/src/tdme/engine/fileio/models/TMWriter.h