Device list.
More...
#include <ftdi.hpp>
List of all members.
Detailed Description
Device list.
Definition at line 174 of file ftdi.hpp.
Member Typedef Documentation
List type storing "Context" objects.
Definition at line 183 of file ftdi.hpp.
Iterator type for the container.
Definition at line 185 of file ftdi.hpp.
Const iterator type for the container.
Definition at line 187 of file ftdi.hpp.
Reverse iterator type for the container.
Definition at line 189 of file ftdi.hpp.
Const reverse iterator type for the container.
Definition at line 191 of file ftdi.hpp.
Constructor & Destructor Documentation
Member Function Documentation
List * Ftdi::List::find_all |
( |
int |
vendor, |
|
|
int |
product |
|
) |
| [static] |
Return begin iterator for accessing the contained list elements
- Returns:
- Iterator
Definition at line 488 of file ftdi.cpp.
Return end iterator for accessing the contained list elements
- Returns:
- Iterator
Definition at line 497 of file ftdi.cpp.
Return begin iterator for accessing the contained list elements
- Returns:
- Const iterator
Definition at line 506 of file ftdi.cpp.
Return end iterator for accessing the contained list elements
- Returns:
- Const iterator
Definition at line 515 of file ftdi.cpp.
Return begin reverse iterator for accessing the contained list elements
- Returns:
- Reverse iterator
Definition at line 524 of file ftdi.cpp.
Return end reverse iterator for accessing the contained list elements
- Returns:
- Reverse iterator
Definition at line 533 of file ftdi.cpp.
Return begin reverse iterator for accessing the contained list elements
- Returns:
- Const reverse iterator
Definition at line 542 of file ftdi.cpp.
Return end reverse iterator for accessing the contained list elements
- Returns:
- Const reverse iterator
Definition at line 551 of file ftdi.cpp.
List::ListType::size_type Ftdi::List::size |
( |
| ) |
const |
Get number of elements stored in the list
- Returns:
- Number of elements
Definition at line 561 of file ftdi.cpp.
bool Ftdi::List::empty |
( |
| ) |
const |
Check if list is empty
- Returns:
- True if empty, false otherwise
Definition at line 570 of file ftdi.cpp.
void Ftdi::List::clear |
( |
| ) |
|
Removes all elements. Invalidates all iterators. Do it in a non-throwing way and also make sure we really free the allocated memory.
Definition at line 580 of file ftdi.cpp.
References ftdi_list_free().
void Ftdi::List::push_back |
( |
const Context & |
element | ) |
|
Appends a copy of the element as the new last element.
- Parameters:
-
element | Value to copy and append |
Definition at line 596 of file ftdi.cpp.
void Ftdi::List::push_front |
( |
const Context & |
element | ) |
|
Adds a copy of the element as the new first element.
- Parameters:
-
element | Value to copy and add |
Definition at line 605 of file ftdi.cpp.
Erase one element pointed by iterator
- Parameters:
-
- Returns:
- Position of the following element (or end())
Definition at line 615 of file ftdi.cpp.
Erase a range of elements
- Parameters:
-
beg | Begin of range |
end | End of range |
- Returns:
- Position of the element after the erased range (or end())
Definition at line 626 of file ftdi.cpp.
The documentation for this class was generated from the following files: