#include <OSoLWriter.h>
Collaboration diagram for OSoLWriter:
Public Member Functions | |
OSoLWriter () | |
Default constructor. | |
~OSoLWriter () | |
Class destructor. | |
std::string | writeOSoL (OSOption *theosoption) |
create an osol string from an OSOption object | |
Public Attributes | |
bool | m_bWriteBase64 |
m_bWriteBase64 is set to true if we encode the linear constraint coefficients in base64 binary | |
bool | m_bWhiteSpace |
m_bWhiteSpace is set to true if we write white space in the file | |
std::string | m_sB64encoded |
m_sB64encoded is a string of data (start, colIdx, rowIdx, or values) from linear constraints coefficients encoded in base64 binary | |
Private Attributes | |
const OSOption * | m_OSOption |
m_OSOption is an object in the class OSOption |
Definition at line 29 of file OSoLWriter.h.
OSoLWriter::OSoLWriter | ( | ) |
Default constructor.
Definition at line 35 of file OSoLWriter.cpp.
References m_bWhiteSpace, and m_bWriteBase64.
OSoLWriter::~OSoLWriter | ( | ) |
std::string OSoLWriter::writeOSoL | ( | OSOption * | theosoption | ) |
create an osol string from an OSOption object
theosoption | is a pointer to an OSOption object |
Put the <system> element
Put the <service> element
Put the <job> element
Put the <optimization> element
Definition at line 56 of file OSoLWriter.cpp.
References GeneralOption::contact, StorageCapacity::description, OtherOption::description, OSOption::general, GeneralOption::instanceLocation, GeneralOption::instanceName, GeneralOption::jobID, GeneralOption::license, InstanceLocationOption::locationType, m_OSOption, SystemOption::minDiskSpace, OtherOption::name, OtherOptions::numberOfOtherOptions, OSOption::optionHeader, os_dtoa_format(), OS_SCHEMA_VERSION, OSIsnan(), OtherOptions::other, GeneralOption::otherOptions, GeneralOption::password, GeneralOption::serviceName, GeneralOption::serviceURI, GeneralOption::solverToInvoke, OSOption::system, ContactOption::transportType, StorageCapacity::unit, GeneralOption::userName, StorageCapacity::value, OtherOption::value, ContactOption::value, InstanceLocationOption::value, writeGeneralFileHeader(), and writeStringData().
Referenced by kill(), knock(), main(), retrieve(), and send().
const OSOption* OSoLWriter::m_OSOption [private] |
m_OSOption is an object in the class OSOption
Definition at line 35 of file OSoLWriter.h.
Referenced by writeOSoL().
m_bWriteBase64 is set to true if we encode the linear constraint coefficients in base64 binary
Definition at line 62 of file OSoLWriter.h.
Referenced by main(), and OSoLWriter().
m_bWhiteSpace is set to true if we write white space in the file
Definition at line 66 of file OSoLWriter.h.
Referenced by main(), and OSoLWriter().
std::string OSoLWriter::m_sB64encoded |
m_sB64encoded is a string of data (start, colIdx, rowIdx, or values) from linear constraints coefficients encoded in base64 binary
Definition at line 71 of file OSoLWriter.h.