Mantid
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
MantidQt::MantidWidgets::FunctionModelDataset Struct Reference

#include <FunctionModelDataset.h>

Public Member Functions

QString datasetName () const noexcept
 
QStringList domainNames () const
 Returns the names given to each domain (i.e. More...
 
 FunctionModelDataset (QString workspaceName, FunctionModelSpectra spectra)
 
std::size_t numberOfSpectra () const noexcept
 

Private Attributes

FunctionModelSpectra m_spectra
 
QString m_workspaceName
 

Detailed Description

Definition at line 25 of file FunctionModelDataset.h.

Constructor & Destructor Documentation

◆ FunctionModelDataset()

MantidQt::MantidWidgets::FunctionModelDataset::FunctionModelDataset ( QString  workspaceName,
FunctionModelSpectra  spectra 
)

Definition at line 14 of file FunctionModelDataset.cpp.

Member Function Documentation

◆ datasetName()

QString MantidQt::MantidWidgets::FunctionModelDataset::datasetName ( ) const
inlinenoexcept

Definition at line 29 of file FunctionModelDataset.h.

◆ domainNames()

QStringList MantidQt::MantidWidgets::FunctionModelDataset::domainNames ( ) const

Returns the names given to each domain (i.e.

spectrum) in this dataset. This is required for display in the EditLocalParameter Dialog.

Returns
the names given to each domain (i.e. spectrum) in this dataset.

Definition at line 23 of file FunctionModelDataset.cpp.

References domainNames(), m_spectra, m_workspaceName, numberOfSpectra(), MantidQt::MantidWidgets::FunctionModelSpectra::size(), and MantidQt::MantidWidgets::IndexType< Class >::value.

Referenced by domainNames().

◆ numberOfSpectra()

std::size_t MantidQt::MantidWidgets::FunctionModelDataset::numberOfSpectra ( ) const
inlinenoexcept

Definition at line 32 of file FunctionModelDataset.h.

Referenced by domainNames().

Member Data Documentation

◆ m_spectra

FunctionModelSpectra MantidQt::MantidWidgets::FunctionModelDataset::m_spectra
private

Definition at line 36 of file FunctionModelDataset.h.

Referenced by domainNames().

◆ m_workspaceName

QString MantidQt::MantidWidgets::FunctionModelDataset::m_workspaceName
private

Definition at line 35 of file FunctionModelDataset.h.

Referenced by domainNames().


The documentation for this struct was generated from the following files: