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 > &) |
The internal structure of a buffer component.
Definition at line 11 of file us_buffer.h.
|
staticprivate |
Definition at line 100 of file us_buffer.cpp.
|
static |
Get all component data from the DB
masterPW | The user's master password. |
componentList | A reference to where the data should be placed. |
Definition at line 9 of file us_buffer.cpp.
|
static |
Get all component data from the etc/buffer_comp.xml file
componentList | A 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.
db | A US_DB2 structure to an opened connection to the DB. |
Definition at line 40 of file us_buffer.cpp.
|
static |
Write all component data from the etc/buffer_comp.xml file
componentList | A reference to where the data is found. |
Definition at line 149 of file us_buffer.cpp.
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.