OS  2.10.2
Public Member Functions | Public Attributes | List of all members
OSoLWriter Class Reference

Take an OSOption object and write a string that validates against the OSoL schema. More...

#include "OSoLWriter.h"

+ Collaboration diagram for OSoLWriter:

Public Member Functions

 OSoLWriter ()
 Default constructor. More...
 
 ~OSoLWriter ()
 Class destructor. More...
 
std::string writeOSoL (OSOption *theosoption)
 create an osol string from an OSOption 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...
 

Detailed Description

Take an OSOption object and write a string that validates against the OSoL schema.

Definition at line 29 of file OSoLWriter.h.

Constructor & Destructor Documentation

◆ OSoLWriter()

OSoLWriter::OSoLWriter ( )

Default constructor.

◆ ~OSoLWriter()

OSoLWriter::~OSoLWriter ( )

Class destructor.

Member Function Documentation

◆ writeOSoL()

std::string OSoLWriter::writeOSoL ( OSOption theosoption)

create an osol string from an OSOption object

Parameters
theosoptionis a pointer to an OSOption object
Returns
a string with the OSOption data that validates against the OSoL schema.

Member Data Documentation

◆ m_bWriteBase64

bool OSoLWriter::m_bWriteBase64

m_bWriteBase64 is set to true if we encode the linear constraint coefficients in base64 binary

Definition at line 62 of file OSoLWriter.h.

◆ m_bWhiteSpace

bool OSoLWriter::m_bWhiteSpace

m_bWhiteSpace is set to true if we write white space in the file

Definition at line 66 of file OSoLWriter.h.

◆ m_sB64encoded

std::string OSoLWriter::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 71 of file OSoLWriter.h.


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