Garmin Fleet Management Controller  2.19.0
InboxListItem.h
Go to the documentation of this file.
1 /*********************************************************************
2 *
3 * HEADER NAME:
4 * InboxListItem.h
5 *
6 * Copyright 2008-2011 by Garmin Ltd. or its subsidiaries.
7 *---------------------------------------------------------------------
8 * $NoKeywords$
9 *********************************************************************/
10 #ifndef INBOXLISTITEM_H
11 #define INBOXLISTITEM_H
12 
13 #include "ClientListItem.h"
14 #include "MessageId.h"
15 
16 //----------------------------------------------------------------------
18 //----------------------------------------------------------------------
20 {
21 public:
23 
24  void setId
25  (
26  const key_type & aId
27  );
28 
29  const key_type & getId() const;
30 
31  void setParent( FileBackedMap<InboxListItem> * aParent );
32 
33  void readFromStream( std::istream &aStream );
34 
35  void writeToStream( std::ofstream &aStream );
36 
37 private:
40 
41 };
42 #endif
MessageId key_type
Definition: InboxListItem.h:22
void setParent(FileBackedMap< InboxListItem > *aParent)
Set the parent of this item.
void writeToStream(std::ofstream &aStream)
Write an InboxListItem to an output stream.
void readFromStream(std::istream &aStream)
Read an InboxListItem from an istream.
FileBackedMap< InboxListItem > * mParent
Definition: InboxListItem.h:38
Stores the name associated with a list item that is sent to the client.
void setId(const key_type &aId)
Set the ID associated with this item.
const key_type & getId() const
Get the ID associated with this item.
Inbox List Item.
Definition: InboxListItem.h:19
Encapsulation of a message ID.
Definition: MessageId.h:26
MessageId messageId
Definition: InboxListItem.h:39