UltraScan III
List of all members | Public Member Functions | Public Attributes
US_Rotor::Lab Class Reference

the Lab class describes a location where AUC hardware is used More...

#include "us_rotor.h"

Public Member Functions

 Lab ()
 Generic constructor for the Lab class. More...
 
Status readDB (int, US_DB2 *=0)
 Function to read an entire lab structure from the DB. More...
 
void reset (void)
 Resets the class variables to default values. More...
 
void show (void)
 Displays the contents of the class variables in qDebug() statements. More...
 

Public Attributes

int ID
 The database ID of the lab. More...
 
QString GUID
 The GUID of the lab. More...
 
QString name
 The name of the lab. More...
 
QString building
 The building where the lab is located. More...
 
QString room
 The room where the lab is located. More...
 
QList< Instrumentinstruments
 A list of instruments in the lab. More...
 

Detailed Description

the Lab class describes a location where AUC hardware is used

Definition at line 54 of file us_rotor.h.

Constructor & Destructor Documentation

US_Rotor::Lab::Lab ( )

Generic constructor for the Lab class.

Definition at line 587 of file us_rotor.cpp.

Member Function Documentation

US_Rotor::Status US_Rotor::Lab::readDB ( int  labID,
US_DB2 db = 0 
)

Function to read an entire lab structure from the DB.

Parameters
labIDThe database labID of the desired abstract rotor
dbFor database access, an open database connection

Definition at line 593 of file us_rotor.cpp.

void US_Rotor::Lab::reset ( void  )

Resets the class variables to default values.

Definition at line 680 of file us_rotor.cpp.

void US_Rotor::Lab::show ( void  )

Displays the contents of the class variables in qDebug() statements.

Definition at line 690 of file us_rotor.cpp.

Member Data Documentation

QString US_Rotor::Lab::building

The building where the lab is located.

Definition at line 60 of file us_rotor.h.

QString US_Rotor::Lab::GUID

The GUID of the lab.

Definition at line 58 of file us_rotor.h.

int US_Rotor::Lab::ID

The database ID of the lab.

Definition at line 57 of file us_rotor.h.

QList< Instrument > US_Rotor::Lab::instruments

A list of instruments in the lab.

Definition at line 62 of file us_rotor.h.

QString US_Rotor::Lab::name

The name of the lab.

Definition at line 59 of file us_rotor.h.

QString US_Rotor::Lab::room

The room where the lab is located.

Definition at line 61 of file us_rotor.h.


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