#include <ftdi.hpp>
Public Types | |
| typedef std::list< Context > | ListType |
| List type storing "Context" objects. | |
| typedef ListType::iterator | iterator |
| Iterator type for the container. | |
| typedef ListType::const_iterator | const_iterator |
| Const iterator type for the container. | |
| typedef ListType::reverse_iterator | reverse_iterator |
| Reverse iterator type for the container. | |
| typedef ListType::const_reverse_iterator | const_reverse_iterator |
| Const reverse iterator type for the container. | |
Public Member Functions | |
| List (struct ftdi_device_list *devlist=0) | |
| ~List () | |
| iterator | begin () |
| iterator | end () |
| const_iterator | begin () const |
| const_iterator | end () const |
| reverse_iterator | rbegin () |
| reverse_iterator | rend () |
| const_reverse_iterator | rbegin () const |
| const_reverse_iterator | rend () const |
| ListType::size_type | size () const |
| bool | empty () const |
| void | clear () |
| void | push_back (const Context &element) |
| void | push_front (const Context &element) |
| iterator | erase (iterator pos) |
| iterator | erase (iterator beg, iterator end) |
Static Public Member Functions | |
| List * | find_all (int vendor, int product) |
Definition at line 174 of file ftdi.hpp.
|
|
List type storing "Context" objects.
Definition at line 183 of file ftdi.hpp. Referenced by clear(). |
|
|
Iterator type for the container.
|
|
|
Const iterator type for the container.
|
|
|
Reverse iterator type for the container.
|
|
|
Const reverse iterator type for the container.
|
|
|
Definition at line 463 of file ftdi.cpp. References ftdi_device_list::dev, Ftdi::Context::get_strings(), ftdi_device_list::next, and Ftdi::Context::set_usb_device(). Referenced by find_all(). |
|
|
|
|
||||||||||||
|
Definition at line 630 of file ftdi.cpp. References ftdi_deinit(), ftdi_init(), ftdi_usb_find_all(), and List(). |
|
|
Return begin iterator for accessing the contained list elements
|
|
|
Return end iterator for accessing the contained list elements
|
|
|
Return begin iterator for accessing the contained list elements
|
|
|
Return end iterator for accessing the contained list elements
|
|
|
Return begin reverse iterator for accessing the contained list elements
|
|
|
Return end reverse iterator for accessing the contained list elements
|
|
|
Return begin reverse iterator for accessing the contained list elements
|
|
|
Return end reverse iterator for accessing the contained list elements
|
|
|
Get number of elements stored in the list
|
|
|
Check if list is empty
|
|
|
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 579 of file ftdi.cpp. References ftdi_list_free(), and ListType. |
|
|
Appends a copy of the element as the new last element.
|
|
|
Adds a copy of the element as the new first element.
|
|
|
Erase one element pointed by iterator
|
|
||||||||||||
|
Erase a range of elements
|
1.3.9.1