DD::Image::Description Class Reference

Inherited by DD::Image::DeepWriter::Description, DD::Image::GeoWriter::Description, DD::Image::Op::Description, DD::Image::ReaderDescription, and DD::Image::Writer::Description.

List of all members.

Public Types

typedef Node *(* NodeBuilder )(void *)
typedef std::vector
< Description * > 
DescriptionList

Public Attributes

const char * compiled
const char * plugin
Licenselicense

Protected Member Functions

void ctor (void(*f)(Description *))
void ctor (void(*f)(Description *), NodeBuilder nodeBuilder)

Detailed Description

Describes an object provided by a plugin. Each different class of object has it's own subclass of Description. The base class mostly provides licensing check information. Writers of plugins can take advantage of this to prevent their plugin from working on unauthorized systems.


Member Function Documentation

void DD::Image::Description::ctor ( void(*)(Description *)  f) [inline, protected]

Subclasses should call this as part of their constructor. These constructors should be written in-line so that the compile-time information is inserted into the description.

The function f will be called if license is null or if the license check works.


Member Data Documentation

Date and DD_IMAGE_VERSION_LONG this was compiled for

Set to the plugin filename

If non-null, license check is run