Virtual Testbed
Ship dynamics simulator for extreme conditions
Public Member Functions | Static Public Member Functions | List of all members
vtb::db::Ship< T > Class Template Reference

Public Member Functions

void clear ()
 
bool has_valid_id (sqlite::connection *db) const
 
void select (sqlite::connection *db)
 
void select_initial_blobs (sqlite::connection *db)
 
void select_final_blobs (sqlite::connection *db)
 
void save (sqlite::connection *db)
 
void remove (sqlite::connection *db)
 
void read (sqlite::statement &in)
 
void generate (const int3 &nrooms)
 
void install_compartments (T wall_thickness, T eps)
 
id_type id () const
 
void id (id_type rhs)
 
bool has_id () const
 
mass () const
 
hull_typehull ()
 
const hull_typehull () const
 
compartments_typecompartments ()
 
const compartments_typecompartments () const
 
ship_type make_ship (bool transform)
 

Static Public Member Functions

static std::vector< Ship< T > > all (sqlite::connection *db)
 

Detailed Description

template<class T>
class vtb::db::Ship< T >

Definition at line 15 of file db/ship.hh.