DD::Image::ReaderDescription Class Reference

Base class for Reader plugin descriptions. More...

Inherits DD::Image::Description.

Inherited by DD::Image::DeepReader::Description, DD::Image::GeoDescription, and DD::Image::Reader::Description.

Public Member Functions

 ReaderDescription (const char *n, const char *l)
 

Static Public Member Functions

static const Descriptionfind (const DescriptionList &list, const char *name, const char *pluginSuffix, const char *&triedPlugin)
 

Public Attributes

const char * names
 
const char * label
 
- Public Attributes inherited from DD::Image::Description
const char * compiled
 
const char * plugin
 
Licenselicense
 

Additional Inherited Members

- Public Types inherited from DD::Image::Description
typedef Node *(* NodeBuilder) (void *)
 
typedef std::vector< Description * > DescriptionList
 
- Protected Member Functions inherited from DD::Image::Description
void ctor (void(*f)(Description *))
 
void ctor (void(*f)(Description *), NodeBuilder nodeBuilder)
 

Detailed Description

Base class for Reader plugin descriptions.

Member Data Documentation

const char* DD::Image::ReaderDescription::names

Null separated list (as in "sgi\0rgb\0") of identifiers for this file type.

If "xyz" is in this list then a filename of "*.xyz" or "xyz:*" are considered to be of this type.

If test is not null this is only considered a hint. A filename of "*.xyz" is tested against this first, but all other types are tried if it fails. This allows a mis-named file to be read.

Referenced by DD::Image::Read::make_format().

const char* DD::Image::ReaderDescription::label

User-friendly version of the name.

Referenced by DD::Image::Read::_fetchMetaData().



©2021 The Foundry Visionmongers, Ltd. All Rights Reserved.
www.thefoundry.co.uk