Modern IDL by Michael Galloy

API documentation for example code

Directory: objects/

Examples of object-oriented programming in IDL.

.pro files

idl_object__define.pro

This class is used to inherit from in IDL versions before 8.0, allowing operator overloaded classes to still compile on earlier versions (though not to offer operator overloading, of course).

list__move.pro
mg_container__define.pro

Subclass of IDL_Container that also has a getByName method.

mg_string__define.pro

Class representing a string and an example of using operator overloading available in IDL 8.0.

mgcohashtable__define.pro

A hash table which can hash any kind of IDL variables.

mgdgvars__define.pro

Object to save/restore direct graphics system variables.

mgffprefs__define.pro

Class responsible for storing and retrieving preferences.

objects_chapter.pro

Batch file containing all the code intended to be typed at the command line from the "Objects" chapter.

Contents