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 
30 {
31 private:
36 public:
37 
42  OSiLWriter( );
43 
48  ~OSiLWriter();
49 
57  std::string writeOSiL( const OSInstance *theosinstance);
58 
59 
60 
65 
69 
73  std::string m_sB64encoded;
74 };
75 #endif
bool m_bWriteBase64
m_bWriteBase64 is set to true if we encode the linear constraint coefficients in base64 binary ...
Definition: OSiLWriter.h:64
const OSInstance * m_OSInstance
m_OSInstance is an object in the class OSInstance
Definition: OSiLWriter.h:35
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()
Default constructor.
Definition: OSiLWriter.cpp:30
bool m_bWhiteSpace
m_bWhiteSpace is set to true if we write white space in the file
Definition: OSiLWriter.h:68
std::string writeOSiL(const OSInstance *theosinstance)
create an osil string from an OSInstance object
Definition: OSiLWriter.cpp:40
~OSiLWriter()
Class destructor.
Definition: OSiLWriter.cpp:36
The in-memory representation of an OSiL instance..
Definition: OSInstance.h:2262
Take an OSInstance object and write a string that validates against the OSiL schema.
Definition: OSiLWriter.h:29