openPilotLog
OPL::Row Class Reference

The Row class provides an interface for retreiving and submitting entries from the database. It is a bass class and when instantiated, the appropriate subclass should be used. More...

#include <row.h>

Inheritance diagram for OPL::Row:
OPL::AircraftEntry OPL::CurrencyEntry OPL::FlightEntry OPL::PilotEntry OPL::SimulatorEntry OPL::TailEntry

Public Member Functions

 Row (OPL::DbTable table_name, int row_id, const RowData_T &row_data)
 
 Row (OPL::DbTable table_name, int row_id)
 
 Row (OPL::DbTable table_name)
 
 Row (const Row &)=default
 
Rowoperator= (const Row &)=default
 
RowData_T getData () const
 
void setData (const RowData_T &value)
 
int getRowId () const
 
void setRowId (int value)
 
OPL::DbTable getTableName () const
 
bool isValid () const
 
 operator QString () const
 

Protected Attributes

bool hasData
 
bool valid = true
 

Detailed Description

The Row class provides an interface for retreiving and submitting entries from the database. It is a bass class and when instantiated, the appropriate subclass should be used.


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