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