OS
2.10.2
src
OSCommonInterfaces
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
29
class
OSoLWriter
30
{
31
private
:
35
const
OSOption
*m_OSOption;
36
public
:
37
42
OSoLWriter
( );
43
48
~OSoLWriter
();
49
57
std::string
writeOSoL
(
OSOption
*theosoption);
58
62
bool
m_bWriteBase64
;
63
66
bool
m_bWhiteSpace
;
67
71
std::string
m_sB64encoded
;
72
};
73
#endif
OSoLWriter::~OSoLWriter
~OSoLWriter()
Class destructor.
OSoLWriter::OSoLWriter
OSoLWriter()
Default constructor.
OSOption.h
OSoLWriter::m_bWriteBase64
bool m_bWriteBase64
m_bWriteBase64 is set to true if we encode the linear constraint coefficients in base64 binary
Definition:
OSoLWriter.h:62
OSoLWriter::m_sB64encoded
std::string m_sB64encoded
m_sB64encoded is a string of data (start, colIdx, rowIdx, or values) from linear constraints coeffici...
Definition:
OSoLWriter.h:71
OSoLWriter::writeOSoL
std::string writeOSoL(OSOption *theosoption)
create an osol string from an OSOption object
OSoLWriter::m_bWhiteSpace
bool m_bWhiteSpace
m_bWhiteSpace is set to true if we write white space in the file
Definition:
OSoLWriter.h:66
OSOption
The Option Class.
Definition:
OSOption.h:3565
OSoLWriter
Take an OSOption object and write a string that validates against the OSoL schema.
Definition:
OSoLWriter.h:30
Generated by
1.8.18