My Project
OSoLWriter.h
Go to the documentation of this file.
1/* $Id$ */
17#ifndef OSoLWRITER_H
18#define OSoLWRITER_H
19
20#include "OSOption.h"
21#include <string>
22
30{
31private:
36public:
37
42 OSoLWriter( );
43
49
57 std::string writeOSoL( OSOption *theosoption);
58
63
67
71 std::string m_sB64encoded;
72};
73#endif
The Option Class.
Definition OSOption.h:3565
Take an OSOption object and write a string that validates against the OSoL schema.
Definition OSoLWriter.h:30
std::string writeOSoL(OSOption *theosoption)
create an osol string from an OSOption object
bool m_bWriteBase64
m_bWriteBase64 is set to true if we encode the linear constraint coefficients in base64 binary
Definition OSoLWriter.h:62
bool m_bWhiteSpace
m_bWhiteSpace is set to true if we write white space in the file
Definition OSoLWriter.h:66
OSoLWriter()
Default constructor.
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()
Class destructor.
const OSOption * m_OSOption
m_OSOption is an object in the class OSOption
Definition OSoLWriter.h:35