Public Member Functions | Public Attributes | Private Attributes | List of all members
OSrLWriter Class Reference

Take an OSResult object and write a string that validates against OSrL. More...

#include "OSrLWriter.h"

Collaboration diagram for OSrLWriter:
Collaboration graph
[legend]

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

OSResultm_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...
 

Detailed Description

Take an OSResult object and write a string that validates against OSrL.

Definition at line 30 of file OSrLWriter.h.

Constructor & Destructor Documentation

OSrLWriter::OSrLWriter ( )

Default constructor.

Definition at line 34 of file OSrLWriter.cpp.

OSrLWriter::~OSrLWriter ( )

Class destructor.

Definition at line 40 of file OSrLWriter.cpp.

Member Function Documentation

std::string OSrLWriter::writeOSrL ( OSResult theosresult)

create an osrl string from an OSResult object

Parameters
theosresultis a pointer to an OSResult object
Returns
a string with the OSResult data that validates against the OSrL schema.

Definition at line 45 of file OSrLWriter.cpp.

Member Data Documentation

OSResult* OSrLWriter::m_OSResult
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.


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