OSrLWriter.h
Go to the documentation of this file.
1 /* $Id: OSrLWriter.h 5284 2017-12-08 13:52:50Z stefan $ */
17 #ifndef OSrLWRITER_H
18 #define OSrLWRITER_H
19 
20 #include "OSResult.h"
21 #include <string>
22 
23 
24 
31 {
32 private:
38 public:
39 
44  OSrLWriter( );
45 
50  ~OSrLWriter();
51 
59  std::string writeOSrL( OSResult *theosresult);
60 
61 
66 
70 
74  std::string m_sB64encoded;
83  //char* writeOSrLWrap( OSResult *theosresult);
84 };
85 #endif
bool m_bWhiteSpace
m_bWhiteSpace is set to true if we write white space in the file
Definition: OSrLWriter.h:69
OSrLWriter()
Default constructor.
Definition: OSrLWriter.cpp:34
The Result Class.
Definition: OSResult.h:2548
Take an OSResult object and write a string that validates against OSrL.
Definition: OSrLWriter.h:30
std::string writeOSrL(OSResult *theosresult)
create an osrl string from an OSResult object
Definition: OSrLWriter.cpp:45
OSResult * m_OSResult
m_OSResult is an object in the class OSResult, the data in m_OSResult are written to a string that va...
Definition: OSrLWriter.h:37
std::string m_sB64encoded
m_sB64encoded is a string of data (start, colIdx, rowIdx, or values) from linear constraints coeffici...
Definition: OSrLWriter.h:74
~OSrLWriter()
Class destructor.
Definition: OSrLWriter.cpp:40
bool m_bWriteBase64
m_bWriteBase64 is set to true if we encode the linear constraint coefficients in base64 binary ...
Definition: OSrLWriter.h:65