The SKIRT project
advanced radiative transfer for astrophysics
Public Member Functions | Private Attributes | List of all members
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

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

Private Attributes

 _name
 
 _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__()

def 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()

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

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

◆ perform()

def 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: