OS  2.10.1
Functions
OSgLWriter.h File Reference
#include "OSGeneral.h"
#include "OSiLWriter.h"
#include "OSInstance.h"
#include "OSParameters.h"
#include "OSBase64.h"
#include "OSMathUtil.h"
#include <string>
#include <sstream>
+ Include dependency graph for OSgLWriter.h:

Go to the source code of this file.

Functions

std::string writeIntVectorData (IntVector *v, bool addWhiteSpace, bool writeBase64)
 Take an IntVector object and write a string that validates against the OSgL schema. More...
 
std::string writeGeneralFileHeader (GeneralFileHeader *v, bool addWhiteSpace)
 Take a GeneralFileHeader object and write a string that validates against the OSgL schema. More...
 
std::string writeOtherOptionOrResultEnumeration (OtherOptionOrResultEnumeration *e, bool addWhiteSpace, bool writeBase64)
 Take an OtherOptionOrResultEnumeration object and write a string that validates against the OSgL schema. More...
 
std::string writeDblVectorData (DoubleVector *v, bool addWhiteSpace, bool writeBase64)
 Take a DoubleVector object and write a string that validates against the OSgL schema. More...
 
std::string writeBasisStatus (BasisStatus *bs, bool addWhiteSpace, bool writeBase64)
 Take a BasisStatus object and write a string that validates against the OSgL schema. More...
 

Detailed Description

Author
Robert Fourer, Horand Gassmann, Jun Ma, Kipp Martin,
Version
1.0, 22/Oct/2010
Since
OS2.2
Remarks
Copyright (C) 2005-2010, Robert Fourer, Horand Gassmann, Jun Ma, Kipp Martin, Northwestern University, and the University of Chicago. All Rights Reserved. This software is licensed under the Eclipse Public License. Please see the accompanying LICENSE file in root directory for terms.

Definition in file OSgLWriter.h.

Function Documentation

§ writeIntVectorData()

std::string writeIntVectorData ( IntVector v,
bool  addWhiteSpace,
bool  writeBase64 
)

Take an IntVector object and write a string that validates against the OSgL schema.

Parameters
vis the IntVector to be output
addWhiteSpacecontrols whether whitespace (i.e., line feed) is to be added
writeBase64controls whether the IntVector is to be output in base64 format or as a sequence of <el> (including mult and incr attributes)

Take a DoubleVector object and write a string that validates against the OSgL schema.

Parameters
vis the DoubleVector to be output
addWhiteSpacecontrols whether whitespace (i.e., line feed) is to be added
writeBase64controls whether the IntVector is to be output in base64 format or as a sequence of <el> (including mult and incr attributes)

Take a BasisStatus object and write a string that validates against the OSgL schema.

Parameters
bsis the basisStatus object to be output
addWhiteSpacecontrols whether whitespace (i.e., line feed) is to be added
writeBase64controls whether the IntVectors contained in the enumerations are to be output in base64 format or as a sequence of <el> (including mult and incr attributes)

Take an IntVector object and write a string that validates against the OSgL schema.

Parameters
vis the IntVector to be output
addWhiteSpacecontrols whether whitespace (i.e., line feed) is to be added
writeBase64controls whether the IntVector is to be output in base64 format or as a sequence of <el> (including mult and incr attributes)

§ writeGeneralFileHeader()

std::string writeGeneralFileHeader ( GeneralFileHeader v,
bool  addWhiteSpace 
)

Take a GeneralFileHeader object and write a string that validates against the OSgL schema.

Parameters
vis the header to be output
addWhiteSpacecontrols whether whitespace (i.e., line feed) is to be added

§ writeOtherOptionOrResultEnumeration()

std::string writeOtherOptionOrResultEnumeration ( OtherOptionOrResultEnumeration e,
bool  addWhiteSpace,
bool  writeBase64 
)

Take an OtherOptionOrResultEnumeration object and write a string that validates against the OSgL schema.

Parameters
eis the OtherOptionOrResultEnumeration to be output
addWhiteSpacecontrols whether whitespace (i.e., line feed) is to be added
writeBase64controls whether the embedded integer array is to be output in base64 format or as a sequence of <el> (including mult and incr attributes)

§ writeDblVectorData()

std::string writeDblVectorData ( DoubleVector v,
bool  addWhiteSpace,
bool  writeBase64 
)

Take a DoubleVector object and write a string that validates against the OSgL schema.

Parameters
vis the DoubleVector to be output
addWhiteSpacecontrols whether whitespace (i.e., line feed) is to be added
writeBase64controls whether the IntVector is to be output in base64 format or as a sequence of <el> (including mult and incr attributes)

§ writeBasisStatus()

std::string writeBasisStatus ( BasisStatus bs,
bool  addWhiteSpace,
bool  writeBase64 
)

Take a BasisStatus object and write a string that validates against the OSgL schema.

Parameters
bsis the basisStatus object to be output
addWhiteSpacecontrols whether whitespace (i.e., line feed) is to be added
writeBase64controls whether the IntVectors contained in the enumerations are to be output in base64 format or as a sequence of <el> (including mult and incr attributes)