OS
2.10.2
src
OSCommonInterfaces
OSiLWriter.h
Go to the documentation of this file.
1
/* $Id: OSiLWriter.h 5284 2017-12-08 13:52:50Z stefan $ */
17
#ifndef OSiLWRITER_H
18
#define OSiLWRITER_H
19
20
#include <string>
21
#include "
OSInstance.h
"
22
29
class
OSiLWriter
30
{
31
private
:
35
const
OSInstance
*m_OSInstance;
36
public
:
37
42
OSiLWriter
( );
43
48
~OSiLWriter
();
49
57
std::string
writeOSiL
(
const
OSInstance
*theosinstance);
58
59
60
64
bool
m_bWriteBase64
;
65
68
bool
m_bWhiteSpace
;
69
73
std::string
m_sB64encoded
;
74
};
75
#endif
OSiLWriter::m_bWhiteSpace
bool m_bWhiteSpace
m_bWhiteSpace is set to true if we write white space in the file
Definition:
OSiLWriter.h:68
OSInstance
The in-memory representation of an OSiL instance..
Definition:
OSInstance.h:2263
OSInstance.h
This file defines the OSInstance class along with its supporting classes.
OSiLWriter::m_bWriteBase64
bool m_bWriteBase64
m_bWriteBase64 is set to true if we encode the linear constraint coefficients in base64 binary
Definition:
OSiLWriter.h:64
OSiLWriter::writeOSiL
std::string writeOSiL(const OSInstance *theosinstance)
create an osil string from an OSInstance object
OSiLWriter::OSiLWriter
OSiLWriter()
Default constructor.
OSiLWriter::~OSiLWriter
~OSiLWriter()
Class destructor.
OSiLWriter
Take an OSInstance object and write a string that validates against the OSiL schema.
Definition:
OSiLWriter.h:30
OSiLWriter::m_sB64encoded
std::string m_sB64encoded
m_sB64encoded is a string of data (start, colIdx, rowIdx, or values) from linear constraints coeffici...
Definition:
OSiLWriter.h:73
Generated by
1.8.18