/home/coin/SVN-release/OS-2.4.2/OS/applications/parsingTest/parsingTest.cpp File Reference

This file tests the validity of an OSiL, OSoL or OSrL file. More...

#include <cppad/cppad.hpp>
#include "OSConfig.h"
#include "OSInstance.h"
#include "OSOption.h"
#include "OSResult.h"
#include "OSiLReader.h"
#include "OSiLWriter.h"
#include "OSoLReader.h"
#include "OSoLWriter.h"
#include "OSrLReader.h"
#include "OSrLWriter.h"
#include "OSFileUtil.h"
#include "CoinError.hpp"
#include "OSWSUtil.h"
#include "OShL.h"
#include "OSErrorClass.h"
#include "OSBase64.h"
#include "OSMathUtil.h"
#include <CoinMpsIO.hpp>
#include <CoinPackedMatrix.hpp>
#include "CoinHelperFunctions.hpp"

Include dependency graph for parsingTest.cpp:

Go to the source code of this file.

Defines

#define MY_DEBUG

Functions

bool interactiveShell (std::string *schema, std::string *testFileName, std::string *outFileName, bool *compress, bool *addWhiteSpace, bool *verifyObjects, unsigned int *seed, int *nrep, double *density, bool *conformant)
void printHelp ()
std::string getUserInput (bool defaultPresent)
int main (int argC, char *argV[])


Detailed Description

This file tests the validity of an OSiL, OSoL or OSrL file.

Author:
Horand Gassmann, Jun Ma, Kipp Martin
Remarks:
Copyright (C) 2010-2011, Horand Gassmann, Jun Ma, Kipp Martin, Dalhousie University, 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 parsingTest.cpp.


Define Documentation

#define MY_DEBUG

Definition at line 85 of file parsingTest.cpp.


Function Documentation

bool interactiveShell ( std::string *  schema,
std::string *  testFileName,
std::string *  outFileName,
bool *  compress,
bool *  addWhiteSpace,
bool *  verifyObjects,
unsigned int *  seed,
int *  nrep,
double *  density,
bool *  conformant 
)

Definition at line 617 of file parsingTest.cpp.

References getUserInput().

Referenced by main().

void printHelp (  ) 

Definition at line 714 of file parsingTest.cpp.

Referenced by main().

std::string getUserInput ( bool  defaultPresent  ) 

Definition at line 731 of file parsingTest.cpp.

Referenced by interactiveShell().

int main ( int  argC,
char *  argV[] 
)

Definition at line 94 of file parsingTest.cpp.

References ErrorClass::errormsg, FileUtil::getFileAsString(), interactiveShell(), OSInstance::IsEqual(), OSResult::IsEqual(), OSOption::IsEqual(), OSrLWriter::m_bWhiteSpace, OSoLWriter::m_bWhiteSpace, OSiLWriter::m_bWhiteSpace, OSrLWriter::m_bWriteBase64, OSoLWriter::m_bWriteBase64, OSiLWriter::m_bWriteBase64, nrep, os_strtod(), osinstance, osoption, osresult, printHelp(), OSiLReader::readOSiL(), OSoLReader::readOSoL(), OSrLReader::readOSrL(), OSResult::setRandom(), OSOption::setRandom(), FileUtil::writeFileFromString(), OSiLWriter::writeOSiL(), OSoLWriter::writeOSoL(), and OSrLWriter::writeOSrL().


Generated on Wed Nov 30 03:09:52 2011 by  doxygen 1.4.7