casa
$Rev:20696$
|
A class to start IDL and execute commands, etc. More...
#include <IDL.h>
Public Member Functions | |
IDL (Int options=0) | |
The constructor will start IDL. | |
IDL (const IDL &other) | |
Copy constructor. | |
IDL & | operator= (const IDL &other) |
Assignment operator. | |
~IDL () | |
The destructor will stop IDL. | |
Bool | runCommands (const Vector< String > &commands, Bool log=True) |
Run a sequence of IDL commands. | |
Bool | runCommand (const String &command, Bool log=True) |
Run a single IDL command. | |
Bool | sendArray (const Array< Float > &a, String aname) |
Send an array to IDL and name it. | |
Array< Float > | getArray (String aname) |
Get an array from IDL. | |
Float | getFloat (String aname) |
Get an scalar from IDL. | |
Int | getInt (String aname) |
Get an scalar from IDL. | |
Bool | setPath (const Vector< String > &) |
Set the path inside IDL. | |
Protected Member Functions | |
char * | getIDLName (const String) |
void | ok () |
A class to start IDL and execute commands, etc.
Public interface
IDL is the class for running IDL from inside AIPS++
We can start IDL, execute commands, send and retreive named arrays, etc using this class. The initial use of this class is to allow Pixon processing to be performed using the IDL code.
Get access to IDL functionality
casa::IDL::IDL | ( | Int | options = 0 | ) |
The constructor will start IDL.
casa::IDL::IDL | ( | const IDL & | other | ) |
Copy constructor.
casa::IDL::~IDL | ( | ) |
The destructor will stop IDL.
Array<Float> casa::IDL::getArray | ( | String | aname | ) |
Get an array from IDL.
Float casa::IDL::getFloat | ( | String | aname | ) |
Get an scalar from IDL.
char* casa::IDL::getIDLName | ( | const String | ) | [protected] |
Int casa::IDL::getInt | ( | String | aname | ) |
Get an scalar from IDL.
void casa::IDL::ok | ( | ) | [protected] |
Run a sequence of IDL commands.
Bool casa::IDL::sendArray | ( | const Array< Float > & | a, |
String | aname | ||
) |
Send an array to IDL and name it.
Bool casa::IDL::setPath | ( | const Vector< String > & | ) |
Set the path inside IDL.