C++ interface to cisAsciiFileInput_t functionality. The CisAsciiFileInput class is a basic wrapper around the C cisAsciiFileInput_t structure and associated functions from the CisInterface.h header. It provides the user with C++ style access to basic ASCII file input operations.
More...
#include <CisInterface.hpp>
C++ interface to cisAsciiFileInput_t functionality. The CisAsciiFileInput class is a basic wrapper around the C cisAsciiFileInput_t structure and associated functions from the CisInterface.h header. It provides the user with C++ style access to basic ASCII file input operations.
◆ CisAsciiFileInput()
CisAsciiFileInput::CisAsciiFileInput |
( |
const char * |
name | ) |
|
|
inline |
Constructor for CisAsciiFileInput.
- Parameters
-
[in] | name | constant character pointer to the name of an input channel. |
◆ recv_line()
int CisAsciiFileInput::recv_line |
( |
char * |
line, |
|
|
const size_t |
n |
|
) |
| |
|
inline |
Receive a single line from an associated file or queue. See af_recv_line in CisInterface.h for details.
- Parameters
-
[out] | line | character pointer to allocate memory where the received line should be stored. |
[in] | n | size_t Size of the allocated memory block in bytes. |
- Returns
- int Number of bytes read/received. Negative values indicate that there was either an error or the EOF message was received.
The documentation for this class was generated from the following file: