My Project
 All Classes Namespaces Functions Friends
Public Member Functions | List of all members
ganlib::Cle2000 Class Reference

#include <Cle2000.hxx>

Public Member Functions

 Cle2000 (std::string sname)
 
 Cle2000 (std::string sname, int_32 edit)
 
 Cle2000 (std::string sname, LifoPtr jstack)
 
 Cle2000 (std::string sname, int_32 edit, LifoPtr jstack)
 
 ~Cle2000 () throw (Cle2000Exception)
 
void setLifo (LifoPtr myLifo)
 
void exec () throw (Cle2000Exception)
 

Detailed Description

Call a parametrized CLE-2000 procedure. A CLE-2000 procedure is implemented as a 80-column ascii file. The name of that file must have a ".c2m" suffix. A Lifo object is used to manage input/output parameters for this CLE-2000 procedure.

Author
Alain Hebert, Ecole Polytechnique de Montreal (2012)

Constructor & Destructor Documentation

ganlib::Cle2000::Cle2000 ( std::string  sname)

use this constructor to create a new CLE-2000 object

Parameters
snamestring containing the name of the ascii file containing the CLE-2000 procedure (without the ".c2m" suffix)
ganlib::Cle2000::Cle2000 ( std::string  sname,
int_32  edit 
)

use this constructor to create a new Cle2000 object

Parameters
snamestring containing the name of the ascii file containing the CLE-2000 procedure (without the ".c2m" suffix)
edituser-defined edition index. Increasing value of edit will cause increasing amount of listing information. Set edit to zero to avoid listing information.
ganlib::Cle2000::Cle2000 ( std::string  sname,
LifoPtr  jstack 
)

use this constructor to create a new Cle2000 object with an embedded Lifo stack

Parameters
snamestring containing the name of the ascii file containing the CLE-2000 procedure (without the ".c2m" suffix)
jstackLifo stack to include in Cle2000 object
ganlib::Cle2000::Cle2000 ( std::string  sname,
int_32  edit,
LifoPtr  jstack 
)

use this constructor to create a new Cle2000 object with an embedded Lifo stack

Parameters
snamestring containing the name of the ascii file containing the CLE-2000 procedure (without the ".c2m" suffix)
edituser-defined edition index. Increasing value of edit will cause increasing amount of listing information. Set edit to zero to avoid listing information.
jstackLifo stack to include in Cle2000 object
ganlib::Cle2000::~Cle2000 ( ) throw (Cle2000Exception)

Close and destroy a Cle2000 object.

Member Function Documentation

void ganlib::Cle2000::exec ( ) throw (Cle2000Exception)

call the native CLE-2000 procedure

void ganlib::Cle2000::setLifo ( LifoPtr  myLifo)

attach a lifo stack to the Cle2000 object

Parameters
myLifoLifo stack containing input/output parameters

The documentation for this class was generated from the following files: