10 #ifndef _WAYPOINTLISTITEM_H 11 #define _WAYPOINTLISTITEM_H 33 std::ofstream &aStream
void setParent(FileBackedMap< WaypointListItem > *aParent)
Set the parent.
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.
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.
Tracks a waypoint that has been sent to the client.
unsigned long int uint32
32-bit unsigned integer
virtual void writeToStream(std::ofstream &aStream) const
Write a ClientListItem to an output stream.