UltraScan III
List of all members | Public Member Functions | Static Public Member Functions | Public Attributes | Static Private Member Functions
US_BufferComponent Class Reference

The internal structure of a buffer component. More...

#include "us_buffer.h"

Public Member Functions

void getInfoFromDB (US_DB2 *=0)
 

Static Public Member Functions

static void getAllFromDB (const QString &, QMap< QString, US_BufferComponent > &)
 
static void getAllFromHD (QMap< QString, US_BufferComponent > &)
 
static void putAllToHD (const QMap< QString, US_BufferComponent > &)
 

Public Attributes

QString componentID
 The BufferComponentID field in the DB. More...
 
QString name
 The buffer component's description. More...
 
QString unit
 The buffer component value's unit. More...
 
double dens_coeff [6]
 The density coefficients. More...
 
double visc_coeff [6]
 The viscosity coefficients. More...
 
QString range
 The buffer component's range. More...
 
bool grad_form
 Flag if gradient forming. More...
 

Static Private Member Functions

static void component (QXmlStreamReader &, QMap< QString, US_BufferComponent > &)
 

Detailed Description

The internal structure of a buffer component.

Definition at line 11 of file us_buffer.h.

Member Function Documentation

void US_BufferComponent::component ( QXmlStreamReader &  xml,
QMap< QString, US_BufferComponent > &  componentList 
)
staticprivate

Definition at line 100 of file us_buffer.cpp.

void US_BufferComponent::getAllFromDB ( const QString &  masterPW,
QMap< QString, US_BufferComponent > &  componentList 
)
static

Get all component data from the DB

Parameters
masterPWThe user's master password.
componentListA reference to where the data should be placed.

Definition at line 9 of file us_buffer.cpp.

void US_BufferComponent::getAllFromHD ( QMap< QString, US_BufferComponent > &  componentList)
static

Get all component data from the etc/buffer_comp.xml file

Parameters
componentListA reference to where the data should be placed.

Definition at line 69 of file us_buffer.cpp.

void US_BufferComponent::getInfoFromDB ( US_DB2 db = 0)

Get the info for an individual component from the DB.

Parameters
dbA US_DB2 structure to an opened connection to the DB.

Definition at line 40 of file us_buffer.cpp.

void US_BufferComponent::putAllToHD ( const QMap< QString, US_BufferComponent > &  componentList)
static

Write all component data from the etc/buffer_comp.xml file

Parameters
componentListA reference to where the data is found.

Definition at line 149 of file us_buffer.cpp.

Member Data Documentation

QString US_BufferComponent::componentID

The BufferComponentID field in the DB.

Definition at line 14 of file us_buffer.h.

double US_BufferComponent::dens_coeff[6]

The density coefficients.

Definition at line 17 of file us_buffer.h.

bool US_BufferComponent::grad_form

Flag if gradient forming.

Definition at line 20 of file us_buffer.h.

QString US_BufferComponent::name

The buffer component's description.

Definition at line 15 of file us_buffer.h.

QString US_BufferComponent::range

The buffer component's range.

Definition at line 19 of file us_buffer.h.

QString US_BufferComponent::unit

The buffer component value's unit.

Definition at line 16 of file us_buffer.h.

double US_BufferComponent::visc_coeff[6]

The viscosity coefficients.

Definition at line 18 of file us_buffer.h.


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