OSoLWriter.h
Go to the documentation of this file.
1 /* $Id: OSoLWriter.h 5284 2017-12-08 13:52:50Z stefan $ */
17 #ifndef OSoLWRITER_H
18 #define OSoLWRITER_H
19 
20 #include "OSOption.h"
21 #include <string>
22 
30 {
31 private:
36 public:
37 
42  OSoLWriter( );
43 
48  ~OSoLWriter();
49 
57  std::string writeOSoL( OSOption *theosoption);
58 
63 
67 
71  std::string m_sB64encoded;
72 };
73 #endif
~OSoLWriter()
Class destructor.
Definition: OSoLWriter.cpp:40
Take an OSOption object and write a string that validates against the OSoL schema.
Definition: OSoLWriter.h:29
const OSOption * m_OSOption
m_OSOption is an object in the class OSOption
Definition: OSoLWriter.h:35
The Option Class.
Definition: OSOption.h:3564
OSoLWriter()
Default constructor.
Definition: OSoLWriter.cpp:34
std::string writeOSoL(OSOption *theosoption)
create an osol string from an OSOption object
Definition: OSoLWriter.cpp:45
bool m_bWriteBase64
m_bWriteBase64 is set to true if we encode the linear constraint coefficients in base64 binary ...
Definition: OSoLWriter.h:62
std::string m_sB64encoded
m_sB64encoded is a string of data (start, colIdx, rowIdx, or values) from linear constraints coeffici...
Definition: OSoLWriter.h:71
bool m_bWhiteSpace
m_bWhiteSpace is set to true if we write white space in the file
Definition: OSoLWriter.h:66