cis_config
Public Member Functions | List of all members
CisAsciiArrayOutput Class Reference

C++ interface to cisAsciiTableOutput_t functionality with arrays. More...

#include <CisInterface.hpp>

Inheritance diagram for CisAsciiArrayOutput:
CisAsciiFileOutput CisOutput

Public Member Functions

 CisAsciiArrayOutput (const char *name, const char *format_str)
 Constructor for CisAsciiArrayOutput. More...
 
- Public Member Functions inherited from CisAsciiFileOutput
 CisAsciiFileOutput (const char *name)
 Constructor for CisAsciiFileOutput. More...
 
 CisAsciiFileOutput (cisOutput_t x)
 Empty constructor for inheritance.
 
int send_line (const char *line)
 Send a single line to a file or queue. More...
 
- Public Member Functions inherited from CisOutput
 CisOutput (const char *name)
 Constructor for CisOutput. More...
 
 CisOutput (const char *name, const char *fmt)
 Constructor for CisOutput with format. More...
 
 CisOutput (cisOutput_t x)
 Empty constructor for inheritance.
 
void _destroy_pi ()
 Alias to allow freeing of underlying C struct at the class level.
 
 ~CisOutput ()
 Destructor for CisOutput. See cis_free in CisInterface.h for details.
 
cisOutput_t pi ()
 Return the cisOutput_t structure. More...
 
int send (const char *data, const size_t len)
 Send a message smaller than CIS_MSG_MAX to the output queue. If the message is larger than CIS_MSG_MAX an error code will be returned. See cis_send in CisInterface.h for details. More...
 
int send (const int nargs,...)
 Format and send a message smaller than CIS_MSG_MAX to the output queue. See cisSend from CisInterface.h for details. More...
 
int send_nolimit (const char *data, const size_t len)
 Send a message larger than CIS_MSG_MAX to the output queue. See cis_send_nolimit in CisInterface.h for details. More...
 
int send_nolimit (const int nargs,...)
 Format and send a message larger than CIS_MSG_MAX to the output queue. See cisSend from CisInterface.h for details. More...
 
int send_eof ()
 Send EOF message to output file, closing it. More...
 

Detailed Description

C++ interface to cisAsciiTableOutput_t functionality with arrays.

The CisAsciiArrayOutput class is a basic wrapper around the C cisAsciiTableOutput_t structure and associated functions from the CisInterface.h header. It provides the user with C++ style access to basic ASCII table output operations.

Constructor & Destructor Documentation

◆ CisAsciiArrayOutput()

CisAsciiArrayOutput::CisAsciiArrayOutput ( const char *  name,
const char *  format_str 
)
inline

Constructor for CisAsciiArrayOutput.

Parameters
[in]nameconstant character pointer to the name of an output channel.
[in]format_strcharacter pointer to format string that should be used to format arrays into a table.

The documentation for this class was generated from the following file: