Ftdi::List - Online Linux Manual PageSection : 3
Updated : 17 Sep 2010
Source : Version 0.18
Note : libftdi
NAMEFtdi::List − Device list.
SYNOPSIS
#include <ftdi.hpp>
Classesclass Private
Public Typestypedef 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 FunctionsList (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 Functionsstatic List * find_all (int vendor, int product)
Detailed DescriptionDevice list. Definition at line 174 of file ftdi.hpp.
Member Typedef Documentation
typedef std::list<Context> Ftdi::List::ListTypeList type storing 'Context' objects. Definition at line 183 of file ftdi.hpp.
typedef ListType::iterator Ftdi::List::iteratorIterator type for the container. Definition at line 185 of file ftdi.hpp.
typedef ListType::const_iterator Ftdi::List::const_iteratorConst iterator type for the container. Definition at line 187 of file ftdi.hpp.
typedef ListType::reverse_iterator Ftdi::List::reverse_iteratorReverse iterator type for the container. Definition at line 189 of file ftdi.hpp.
typedef ListType::const_reverse_iterator Ftdi::List::const_reverse_iteratorConst reverse iterator type for the container. Definition at line 191 of file ftdi.hpp.
Constructor & Destructor Documentation
Ftdi::List::List (struct ftdi_device_list * devlist = 0)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().
Ftdi::List::~List ()Definition at line 479 of file ftdi.cpp.
Member Function Documentation
List * Ftdi::List::find_all (int vendor, int product) [static]Definition at line 630 of file ftdi.cpp. References ftdi_deinit(), ftdi_init(), ftdi_usb_find_all(), and List().
List::iterator Ftdi::List::begin () Return begin iterator for accessing the contained list elementsReturns: Iterator Definition at line 487 of file ftdi.cpp.
List::iterator Ftdi::List::end () Return end iterator for accessing the contained list elementsReturns: Iterator Definition at line 496 of file ftdi.cpp.
List::const_iterator Ftdi::List::begin () const Return begin iterator for accessing the contained list elementsReturns: Const iterator Definition at line 505 of file ftdi.cpp.
List::const_iterator Ftdi::List::end () const Return end iterator for accessing the contained list elementsReturns: Const iterator Definition at line 514 of file ftdi.cpp.
List::reverse_iterator Ftdi::List::rbegin () Return begin reverse iterator for accessing the contained list elementsReturns: Reverse iterator Definition at line 523 of file ftdi.cpp.
List::reverse_iterator Ftdi::List::rend () Return end reverse iterator for accessing the contained list elementsReturns: Reverse iterator Definition at line 532 of file ftdi.cpp.
List::const_reverse_iterator Ftdi::List::rbegin () const Return begin reverse iterator for accessing the contained list elementsReturns: Const reverse iterator Definition at line 541 of file ftdi.cpp.
List::const_reverse_iterator Ftdi::List::rend () const Return end reverse iterator for accessing the contained list elementsReturns: Const reverse iterator Definition at line 550 of file ftdi.cpp.
List::ListType::size_type Ftdi::List::size () const Get number of elements stored in the listReturns: Number of elements Definition at line 560 of file ftdi.cpp.
bool Ftdi::List::empty () const Check if list is emptyReturns: True if empty, false otherwise Definition at line 569 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 579 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 595 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 604 of file ftdi.cpp.
List::iterator Ftdi::List::erase (iterator pos) Erase one element pointed by iteratorParameters: pos Element to erase Returns: Position of the following element (or end()) Definition at line 614 of file ftdi.cpp.
List::iterator Ftdi::List::erase (iterator beg, iterator end) Erase a range of elementsParameters: beg Begin of range
end End of range Returns: Position of the element after the erased range (or end()) Definition at line 625 of file ftdi.cpp.
AuthorGenerated automatically by Doxygen for libftdi from the source code. 0
Johanes Gumabo
Data Size : 38,186 byte
man-Ftdi_List.3Build : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 4 / 166,261
Visitor ID : :
Visitor IP : 3.12.34.211 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.