Main Page | Class Hierarchy | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

xpSampleBase Class Reference

The "Sample information" base object for the expert system. More...

#include <XPS4XPS.H>

Inheritance diagram for xpSampleBase:

Inheritance graph
[legend]
Collaboration diagram for xpSampleBase:

Collaboration graph
[legend]

Public Member Functions

 xpSampleBase ()
 xpSampleBase (xpSpectrumBase *Parent)
xboolean::xbool GetContainsCarbon (void)
xpSpectrumBaseGetSpectrum ()
void SetContainsCarbon (xboolean::xbool B)

Protected Attributes

xboolean::xbool ContainsCarbon
xpSpectrumBaseParentSpectrum

Detailed Description

The "Sample information" base object for the expert system.

It implements the generic behaviour of spectrum-attached sample info.


Constructor & Destructor Documentation

xpSampleBase::xpSampleBase  )  [inline]
 

Default constructor. Set back pointer to the parent spectrum to NULL and sets xpSampleBase::ContainsCarbon to Unknown.

xpSampleBase::xpSampleBase xpSpectrumBase Parent  )  [inline]
 

Constructor. Save back pointer to the parent spectrum in xpSampleBase::ParentSpectrum and saves pointer to this sample in the parent spectrum's member xpSpectrumBase::sample, furthermore sets xpSampleBase::ContainsCarbon to Unknown.


Member Function Documentation

xboolean::xbool xpSampleBase::GetContainsCarbon void   )  [inline]
 

Returns xpSampleBase::ContainsCarbon

Returns:
the status if the sample contains carbon
See also:
SetContainsCarbon

xpSpectrumBase* xpSampleBase::GetSpectrum void   )  [inline]
 

Returns xpSampleBase::ParentSpectrum

Returns:
the pointer to the parent spectrum.

void xpSampleBase::SetContainsCarbon xboolean::xbool  B  )  [inline]
 

Set xpSampleBase::ContainsCarbon

Parameters:
B the new status if the sample contains carbon
See also:
GetContainsCarbon


Field Documentation

xboolean::xbool xpSampleBase::ContainsCarbon [protected]
 

If sample contains Carbon: True, False or Unknown.

xpSpectrumBase* xpSampleBase::ParentSpectrum [protected]
 

Back pointer to the parent spectrum.


The documentation for this class was generated from the following file:
Generated on Tue Dec 23 10:24:44 2003 for xps4xps by doxygen 1.3.5