Represents a list of reliable headers. More...
Public Member Functions | |
void | AddAfter (ReliableHeader *after, ReliableHeader *item) |
Adds the specified item after another specified item in the list. More... | |
void | AddBefore (ReliableHeader *before, ReliableHeader *item) |
Adds the specified item before another specified item in the list. More... | |
void | AddFirst (ReliableHeader *item) |
Adds the specified item to the beginning of the list. More... | |
void | AddLast (ReliableHeader *item) |
Adds the specified item to the end of the list. More... | |
bool | IsInList (ReliableHeader *item) |
void | Remove (ReliableHeader *item) |
Removes the specified item from the list. More... | |
ReliableHeader * | RemoveHead () |
Removes and returns the head element of the list. More... | |
Public Attributes | |
int | Count |
Gets or sets the number of items in the list. More... | |
ReliableHeader * | Head |
Gets or sets the head of the list. More... | |
ReliableHeader * | Tail |
Gets or sets the tail of the list. More... | |
Represents a list of reliable headers.
void AddAfter | ( | ReliableHeader * | after, |
ReliableHeader * | item | ||
) |
Adds the specified item after another specified item in the list.
after | The item after which the new item will be added. |
item | The item to add to the list. |
void AddBefore | ( | ReliableHeader * | before, |
ReliableHeader * | item | ||
) |
Adds the specified item before another specified item in the list.
before | The item before which the new item will be added. |
item | The item to add to the list. |
void AddFirst | ( | ReliableHeader * | item | ) |
Adds the specified item to the beginning of the list.
item | The item to add to the beginning of the list. |
void AddLast | ( | ReliableHeader * | item | ) |
Adds the specified item to the end of the list.
item | The item to add to the end of the list. |
void Remove | ( | ReliableHeader * | item | ) |
Removes the specified item from the list.
item | The item to remove. |
ReliableHeader* RemoveHead | ( | ) |
Removes and returns the head element of the list.
int Count |
Gets or sets the number of items in the list.
ReliableHeader* Head |
Gets or sets the head of the list.
ReliableHeader* Tail |
Gets or sets the tail of the list.