10 #ifndef _CLIENTLISTITEM_H 11 #define _CLIENTLISTITEM_H 37 const key_type &
getId()
const;
68 std::ofstream &aStream
BOOL isValid() const
Check whether this item is valid.
ClientListItem()
Constructor.
void setId(const key_type &aId)
Set item's ID.
virtual void readFromStream(std::istream &aStream)
Read a ClientListItem from an input stream.
virtual void save()
Save this item.
CString getCurrentName() const
Get the current name of this item.
CString mUpdateName
The last name entered by the user.
const key_type & getId() const
Get item's ID.
void commitName()
Commit the item name.
void setValid(BOOL aValid=TRUE)
Set this item as valid.
virtual void writeToStream(std::ofstream &aStream) const
Write a ClientListItem to an output stream.
CString mCurrentName
The last name acknowledged by the client.
void setUpdateName(CString aName)
Set pending name.
Stores the name associated with a list item that is sent to the client.
BOOL mIsValid
True if this list item is mIsValid.
void setParent(FileBackedMap< ClientListItem > *aParent)
Set the parent.
FileBackedMap< ClientListItem > * mParent
The map that this item belongs to, or NULL if none.
key_type mId
The unique ID of this item.
unsigned long int uint32
32-bit unsigned integer