Take an OSInstance object and write a string that validates against the OSiL schema. More...
#include <OSiLWriter.h>
Public Member Functions | |
OSiLWriter () | |
Default constructor. | |
~OSiLWriter () | |
Class destructor. | |
std::string | writeOSiL (const OSInstance *theosinstance) |
create an osil string from an OSInstance object | |
Public Attributes | |
bool | m_bWriteBase64 |
m_bWriteBase64 is set to true if we encode the linear constraint coefficients in base64 binary | |
bool | m_bWhiteSpace |
m_bWhiteSpace is set to true if we write white space in the file | |
std::string | m_sB64encoded |
m_sB64encoded is a string of data (start, colIdx, rowIdx, or values) from linear constraints coefficients encoded in base64 binary | |
Private Attributes | |
const OSInstance * | m_OSInstance |
m_OSInstance is an object in the class OSInstance |
Take an OSInstance object and write a string that validates against the OSiL schema.
Definition at line 29 of file OSiLWriter.h.
OSiLWriter::OSiLWriter | ( | ) |
Default constructor.
OSiLWriter::~OSiLWriter | ( | ) |
Class destructor.
std::string OSiLWriter::writeOSiL | ( | const OSInstance * | theosinstance | ) |
create an osil string from an OSInstance object
theosinstance | is a pointer to an OSInstance object |
const OSInstance* OSiLWriter::m_OSInstance [private] |
m_OSInstance is an object in the class OSInstance
Definition at line 34 of file OSiLWriter.h.
m_bWriteBase64 is set to true if we encode the linear constraint coefficients in base64 binary
Definition at line 63 of file OSiLWriter.h.
m_bWhiteSpace is set to true if we write white space in the file
Definition at line 67 of file OSiLWriter.h.
std::string OSiLWriter::m_sB64encoded |
m_sB64encoded is a string of data (start, colIdx, rowIdx, or values) from linear constraints coefficients encoded in base64 binary
Definition at line 72 of file OSiLWriter.h.