The SKIRT project
advanced radiative transfer for astrophysics
pts.storedtable.conversionspec.ConversionSpecs Class Reference

An instance of this class aggregates a set of ConversionSpec instances with facilities to perform them as a group. More...

Public Member Functions

 __init__ (self, name)
 The constructor remembers the given name for the set and initializes an empty list of conversion specs.
 add (self, spec)
 This function adds the given conversion spec to the list aggregated by this instance.
 perform (self)
 This function performs all of the conversion specs currently in the list.

Protected Attributes

 _name
list _specs

Detailed Description

An instance of this class aggregates a set of ConversionSpec instances with facilities to perform them as a group.

Constructor & Destructor Documentation

◆ __init__()

pts.storedtable.conversionspec.ConversionSpecs.__init__ ( self,
name )

The constructor remembers the given name for the set and initializes an empty list of conversion specs.

Member Function Documentation

◆ add()

pts.storedtable.conversionspec.ConversionSpecs.add ( self,
spec )

This function adds the given conversion spec to the list aggregated by this instance.

◆ perform()

pts.storedtable.conversionspec.ConversionSpecs.perform ( self)

This function performs all of the conversion specs currently in the list.


The documentation for this class was generated from the following file: