OS  2.10.1
OSiLWriter.h
Go to the documentation of this file.
1 /* $Id: OSiLWriter.h 4562 2013-01-02 12:31:12Z Gassmann $ */
17 #ifndef OSiLWRITER_H
18 #define OSiLWRITER_H
19 
20 #include <string>
21 #include "OSInstance.h"
22 
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 
65 
69 
73  std::string m_sB64encoded;
74 };
75 #endif
~OSiLWriter()
Class destructor.
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
bool m_bWhiteSpace
m_bWhiteSpace is set to true if we write white space in the file
Definition: OSiLWriter.h:68
The in-memory representation of an OSiL instance.
Definition: OSInstance.h:2262
This file defines the OSInstance class along with its supporting classes.
Take an OSInstance object and write a string that validates against the OSiL schema.
Definition: OSiLWriter.h:29
bool m_bWriteBase64
m_bWriteBase64 is set to true if we encode the linear constraint coefficients in base64 binary ...
Definition: OSiLWriter.h:64
std::string writeOSiL(const OSInstance *theosinstance)
create an osil string from an OSInstance object