casa::IDL Class Reference

A class to start IDL and execute commands, etc. More...

#include <IDL.h>

List of all members.

Public Member Functions

 IDL (Int options=0)
 The constructor will start IDL.
 IDL (const IDL &other)
 Copy constructor.
IDLoperator= (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 ()

Detailed Description

A class to start IDL and execute commands, etc.

Intended use:

Public interface

Prerequisite

Etymology

IDL is the class for running IDL from inside AIPS++

Synopsis

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.

Example

Motivation

Get access to IDL functionality

Definition at line 76 of file IDL.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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]
IDL& casa::IDL::operator= ( const IDL other  ) 

Assignment operator.

Bool casa::IDL::runCommand ( const String &  command,
Bool  log = True 
)

Run a single IDL command.

Bool casa::IDL::runCommands ( const Vector< String > &  commands,
Bool  log = True 
)

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.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1