My Project
OSrLWriter Class Reference

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

#include "OSrLWriter.h"

Public Member Functions

 OSrLWriter ()
 Default constructor.
 
 ~OSrLWriter ()
 Class destructor.
 
std::string writeOSrL (OSResult *theosresult)
 create an osrl string from an OSResult 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

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
 

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::OSrLWriter ( )

Default constructor.

Definition at line 34 of file OSrLWriter.cpp.

◆ ~OSrLWriter()

OSrLWriter::~OSrLWriter ( )

Class destructor.

Definition at line 40 of file OSrLWriter.cpp.

Member Function Documentation

◆ writeOSrL()

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

◆ m_OSResult

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.

◆ m_bWriteBase64

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.

◆ m_bWhiteSpace

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.

◆ m_sB64encoded

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: