OS  2.10.1
Public Member Functions | Public Attributes | List of all members
OSiLWriter Class Reference

Take an OSInstance object and write a string that validates against the OSiL schema. More...

#include "OSiLWriter.h"

+ Collaboration diagram for OSiLWriter:

Public Member Functions

 OSiLWriter ()
 Default constructor. More...
 
 ~OSiLWriter ()
 Class destructor. More...
 
std::string writeOSiL (const OSInstance *theosinstance)
 create an osil string from an OSInstance 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 OSInstance object and write a string that validates against the OSiL schema.

Definition at line 29 of file OSiLWriter.h.

Constructor & Destructor Documentation

OSiLWriter::OSiLWriter ( )

Default constructor.

OSiLWriter::~OSiLWriter ( )

Class destructor.

Member Function Documentation

std::string OSiLWriter::writeOSiL ( const OSInstance theosinstance)

create an osil string from an OSInstance object

Parameters
theosinstanceis a pointer to an OSInstance object
Returns
a string with the OSInstance data that validates against the OSiL schema.

Member Data Documentation

bool OSiLWriter::m_bWriteBase64

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

Definition at line 64 of file OSiLWriter.h.

bool OSiLWriter::m_bWhiteSpace

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

Definition at line 68 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 73 of file OSiLWriter.h.


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