10 #ifndef DRIVERLOGINITEM_H 11 #define DRIVERLOGINITEM_H 32 const key_type &
getId()
const;
37 void setId(
const key_type & aId);
void save()
Save this item.
CString getDriverId() const
Get the driver ID as a CString.
FileBackedMap< DriverLoginItem > * mParent
The map that this DriverLoginItem is a part of.
std::string mDriverId
The driver ID, UTF8 encoded.
void writeToStream(std::ofstream &aStream) const
Write a DriverLoginItem to an output stream.
void setParent(FileBackedMap< DriverLoginItem > *aParent)
Set the parent map of this item.
DriverLoginItem()
Constructor.
Stores the name associated with a list item that is sent to the client.
void readFromStream(std::istream &aStream)
Read a DriverLoginItem from an input stream.
void setId(const key_type &aId)
Set the ID (key) of this item.
std::string mDriverPassword
The driver password, UTF8 encoded.
CString getPassword() const
Set the ID (key) of this item.
const key_type & getId() const
Get item's ID.
void setPassword(const std::string &aPassword)
Set the password of this driver.
Data structure to holds an allowed driver login (ID and password). Used by the FmiApplicationLayer to...
virtual ~DriverLoginItem()
Destructor.