libdballe 9.14
dballe::db::v7::Batch Class Reference

Public Member Functions

 Batch (Transaction &transaction)
void set_write_attrs (bool write_attrs)
batch::Stationget_station (Tracer<> &trc, const dballe::DBStation &station, bool station_can_add)
batch::Stationget_station (Tracer<> &trc, const std::string &report, const Coords &coords, const Ident &ident)
void write_pending (Tracer<> &trc)
void clear ()
void dump (FILE *out) const

Public Attributes

Transactiontransaction
unsigned count_select_stations = 0
unsigned count_select_station_data = 0
unsigned count_select_data = 0

Protected Member Functions

bool have_station (const std::string &report, const Coords &coords, const Ident &ident)
void new_station (Tracer<> &trc, const std::string &report, const Coords &coords, const Ident &ident)

Protected Attributes

bool write_attrs = true
batch::Stationlast_station = nullptr

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