The SKIRT project
advanced radiative transfer for astrophysics
Static Public Member Functions | List of all members
LatexHierarchyWriter Class Referencefinal

#include <LatexHierarchyWriter.hpp>

Static Public Member Functions

static void write (Item *item, const SchemaDef *schema, string filePath, string dataset, string producer=string())
 

Detailed Description

This class offers a static function to write the structure and properties of a SMILE dataset representation in memory to a LaTeX source file so that it can be easily typeset. The class supports a number of text and unit string replacements to improve the quality of the TeX output. This capability is currently designed rather specifically for the contents of SKIRT parameter files.

Member Function Documentation

◆ write()

static void LatexHierarchyWriter::write ( Item item,
const SchemaDef schema,
string  filePath,
string  dataset,
string  producer = string() 
)
static

Writes the structure and properties of the specified SMILE dataset described by the given schema definition to a LaTeX source file with the specified file path. The dataset argument describes the dataset being written; e.g. it could be the filename from which the dataset has been loaded. The optional last argument specifies a producer identification string to be included as an attribute on the root element. If an error occurs, this function throws a fatal error.


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