#include <absorption.h>
Public Member Functions | |
LineshapeRecord () | |
Default constructor. | |
LineshapeRecord (const String &name, const String &description, lsf_type function) | |
Initializing constructor, used to build the lookup table. | |
const String & | Name () const |
Return the name of this lineshape. | |
const String & | Description () const |
Return the description text. | |
lsf_type | Function () const |
Return pointer to lineshape function. | |
Private Attributes | |
String | mname |
Name of the function (e.g., Lorentz). | |
String | mdescription |
Short description. | |
lsf_type | mfunction |
Pointer to lineshape function. |
There is one LineshapeRecord for each available lineshape function.
Definition at line 52 of file absorption.h.
LineshapeRecord::LineshapeRecord | ( | ) | [inline] |
LineshapeRecord::LineshapeRecord | ( | const String & | name, | |
const String & | description, | |||
lsf_type | function | |||
) | [inline] |
Initializing constructor, used to build the lookup table.
Definition at line 62 of file absorption.h.
const String& LineshapeRecord::Name | ( | ) | const [inline] |
const String& LineshapeRecord::Description | ( | ) | const [inline] |
lsf_type LineshapeRecord::Function | ( | ) | const [inline] |
Return pointer to lineshape function.
Definition at line 74 of file absorption.h.
References mfunction.
String LineshapeRecord::mname [private] |
Name of the function (e.g., Lorentz).
Definition at line 76 of file absorption.h.
Referenced by Name().
String LineshapeRecord::mdescription [private] |
lsf_type LineshapeRecord::mfunction [private] |
Pointer to lineshape function.
Definition at line 78 of file absorption.h.
Referenced by Function().