libdballe 9.6
Public Member Functions | Public Attributes | List of all members
dballe::DBStation Struct Reference
Inheritance diagram for dballe::DBStation:
dballe::Station dballe::db::v7::batch::Station

Public Member Functions

bool is_missing () const
 Return true if all the station fields are empty.
 
bool operator== (const DBStation &o) const
 
bool operator!= (const DBStation &o) const
 
bool operator< (const DBStation &o) const
 
bool operator<= (const DBStation &o) const
 
bool operator> (const DBStation &o) const
 
bool operator>= (const DBStation &o) const
 
int print (FILE *out, const char *end="\n") const
 Print the Station to a FILE*.
 
std::string to_string (const char *undef="-") const
 Format to a string.
 
- Public Member Functions inherited from dballe::Station
bool is_missing () const
 Return true if all the station fields are empty.
 
bool operator== (const Station &o) const
 
bool operator!= (const Station &o) const
 
bool operator< (const Station &o) const
 
bool operator<= (const Station &o) const
 
bool operator> (const Station &o) const
 
bool operator>= (const Station &o) const
 
int print (FILE *out, const char *end="\n") const
 Print the Station to a FILE*.
 
std::string to_string (const char *undef="-") const
 Format to a string.
 

Public Attributes

int id = MISSING_INT
 Database ID of the station.
 
- Public Attributes inherited from dballe::Station
std::string report
 Report name for this station.
 
Coords coords
 Station coordinates.
 
Ident ident
 Mobile station identifier.
 

Member Function Documentation

◆ print()

int dballe::DBStation::print ( FILE *  out,
const char *  end = "\n" 
) const

Print the Station to a FILE*.

Parameters
outThe output stream
endString to print after the Station

Member Data Documentation

◆ id

int dballe::DBStation::id = MISSING_INT

Database ID of the station.

It will be filled when the Station is inserted on the database.


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