Public Member Functions |
| ArrayFile (Encoding type) |
virtual Encoding | type () const throw () |
| Get the name of the dba_file.
|
virtual bool | read (Rawmsg &msg) |
| Read a message from the file.
|
virtual void | write (const Rawmsg &msg) |
| Write the encoded message data to the file.
|
Data Fields |
std::vector< Rawmsg > | msgs |
unsigned | current |
Protected Attributes |
Encoding | file_type |
Member Function Documentation
Read a message from the file.
- Parameters:
-
msg | The Rawmsg that will hold the data. |
- Returns:
- true if a message has been found in the file, else false.
Implements dballe::File.
Get the name of the dba_file.
- Returns:
- The file name.
Implements dballe::File.
Write the encoded message data to the file.
- Parameters:
-
msg | The ::dba_rawmsg with the encoded data to write |
Reimplemented from dballe::File.
The documentation for this class was generated from the following file: