|
World Ocean Simulation System (WOSS) library
|
Abstraction layer for database and data manipulation. More...
#include <sediment-deck41-db-logic-control.h>

Public Member Functions | |
| Deck41TypeTests () | |
| bool | conditionFloorA (const Deck41Types &types) const |
| bool | conditionFloorB (const Deck41Types &types) const |
| bool | conditionFloorC (const Deck41Types &types) const |
| bool | conditionFloorD (const Deck41Types &types) const |
| bool | conditionFloorE (const Deck41Types &types) const |
| bool | conditionFloorF (const Deck41Types &types) const |
| bool | conditionFloorG (const Deck41Types &types) const |
| bool | getConditionA () const |
| bool | getConditionB () const |
| bool | getConditionC () const |
| bool | getConditionD () const |
| bool | getConditionE () const |
| bool | getConditionF () const |
| bool | getConditionG () const |
| void | updateAllConditions (const Deck41Types &types) |
Private Attributes | |
| bool | condition_a |
| bool | condition_b |
| bool | condition_c |
| bool | condition_d |
| bool | condition_e |
| bool | condition_f |
| bool | condition_g |
Abstraction layer for database and data manipulation.
Deck41TypeTests helps SedimDeck41Db deciding what is the best DECK41 Sediment value to return. To this purpose it provides 8 conditional tests
| Deck41TypeTests::Deck41TypeTests | ( | ) |
Deck41TypeTests default constructor
|
inline |
Deck41TypeTests test A. If it succeed SedimDeck41Db will return DECK41 main type as Sediment
| types | const reference to a Deck41Types object |
Referenced by updateAllConditions().
|
inline |
Deck41TypeTests test B. If it succeed SedimDeck41Db will return DECK41 secondary type as Sediment
| types | const reference to a Deck41Types object |
Referenced by updateAllConditions().
|
inline |
Deck41TypeTests test C. If it succeed SedimDeck41Db will try other coordinates, if those fails it will return DECK41 main type as Sediment
| types | const reference to a Deck41Types object |
Referenced by updateAllConditions().
|
inline |
Deck41TypeTests test D. If it succeed SedimDeck41Db will try other coordinates, if those fails it will return DECK41 secondary type as Sediment
| types | const reference to a Deck41Types object |
Referenced by updateAllConditions().
|
inline |
Deck41TypeTests test E. If it succeed SedimDeck41Db will return DECK41 a weighted average of both main and secondary type as Sediment
| types | const reference to a Deck41Types object |
Referenced by updateAllConditions().
|
inline |
Deck41TypeTests test F. If it succeed SedimDeck41Db will return DECK41 a weighted average of both main and secondary type as Sediment
| types | const reference to a Deck41Types object |
Referenced by updateAllConditions().
|
inline |
Deck41TypeTests test G. If it succeed SedimDeck41Db will try other coordinates, if those fails a Sediment not valid will be returned
| types | const reference to a Deck41Types object |
Referenced by updateAllConditions().
|
inline |
Gets condition_a bool value
Referenced by woss::SedimDeck41Db::calculateSediment(), and woss::SedimDeck41Db::doTestA().
|
inline |
Gets condition_b bool value
Referenced by woss::SedimDeck41Db::calculateSediment(), and woss::SedimDeck41Db::doTestA().
|
inline |
Gets condition_c bool value
Referenced by woss::SedimDeck41Db::calculateSediment(), woss::SedimDeck41Db::doTestB(), and woss::SedimDeck41Db::doTestC().
|
inline |
Gets condition_d bool value
Referenced by woss::SedimDeck41Db::calculateSediment(), woss::SedimDeck41Db::doTestB(), and woss::SedimDeck41Db::doTestC().
|
inline |
Gets condition_e bool value
Referenced by woss::SedimDeck41Db::calculateSediment(), and woss::SedimDeck41Db::doTestA().
|
inline |
Gets condition_f bool value
Referenced by woss::SedimDeck41Db::calculateSediment(), and woss::SedimDeck41Db::doTestA().
|
inline |
|
inline |
Performs all tests at once
| types | const reference to a Deck41Types object |
References conditionFloorA(), conditionFloorB(), conditionFloorC(), conditionFloorD(), conditionFloorE(), conditionFloorF(), and conditionFloorG().
Referenced by woss::SedimDeck41Db::calculateDeck41Types().
