67 std::ofstream &aStream
void setParent(FileBackedMap< WaypointListItem > *aParent)
Set the parent.
virtual void readFromStream(std::istream &aStream)
Read a ClientListItem from an input stream.
virtual void readFromStream(std::istream &aStream)
Read a ClientListItem from an input stream.
uint16 mCategories
The categories that this waypoint is part of. (bit mapped)
uint16 getCategories() const
Get categories that this waypoint is part of.
virtual void writeToStream(std::ofstream &aStream) const
Write a ClientListItem to an output stream.
FileBackedMap< WaypointListItem > * mParent
The map that this item belongs to, or NULL if none.
unsigned short int uint16
16-bit unsigned integer
WaypointListItem()
Constructor.
virtual void save()
Save this item.
Stores the name associated with a list item that is sent to the client.
void setCategories(uint16 val)
Set the waypoint's categories.
void save()
Save the map to disk.
virtual void writeToStream(std::ofstream &aStream) const
Write a ClientListItem to an output stream.