Take an OSResult object and write a string that validates against OSrL. More...
#include "OSrLWriter.h"
Public Member Functions | |
OSrLWriter () | |
Default constructor. More... | |
~OSrLWriter () | |
Class destructor. More... | |
std::string | writeOSrL (OSResult *theosresult) |
create an osrl string from an OSResult object More... | |
Public Attributes | |
bool | m_bWriteBase64 |
m_bWriteBase64 is set to true if we encode the linear constraint coefficients in base64 binary More... | |
bool | m_bWhiteSpace |
m_bWhiteSpace is set to true if we write white space in the file More... | |
std::string | m_sB64encoded |
m_sB64encoded is a string of data (start, colIdx, rowIdx, or values) from linear constraints coefficients encoded in base64 binary More... | |
Private Attributes | |
OSResult * | m_OSResult |
m_OSResult is an object in the class OSResult, the data in m_OSResult are written to a string that validates against OSrL More... | |
Take an OSResult object and write a string that validates against OSrL.
Definition at line 30 of file OSrLWriter.h.
OSrLWriter::OSrLWriter | ( | ) |
Default constructor.
Definition at line 34 of file OSrLWriter.cpp.
OSrLWriter::~OSrLWriter | ( | ) |
Class destructor.
Definition at line 40 of file OSrLWriter.cpp.
std::string OSrLWriter::writeOSrL | ( | OSResult * | theosresult | ) |
create an osrl string from an OSResult object
theosresult | is a pointer to an OSResult object |
Definition at line 45 of file OSrLWriter.cpp.
|
private |
m_OSResult is an object in the class OSResult, the data in m_OSResult are written to a string that validates against OSrL
Definition at line 37 of file OSrLWriter.h.
bool OSrLWriter::m_bWriteBase64 |
m_bWriteBase64 is set to true if we encode the linear constraint coefficients in base64 binary
Definition at line 65 of file OSrLWriter.h.
bool OSrLWriter::m_bWhiteSpace |
m_bWhiteSpace is set to true if we write white space in the file
Definition at line 69 of file OSrLWriter.h.
std::string OSrLWriter::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 74 of file OSrLWriter.h.