For applications to use to manage list of unique clients. More...

#include <WifiSniffer.h>

Inheritance diagram for ClientInfoList:
[legend]
Collaboration diagram for ClientInfoList:
[legend]

Public Types

typedef int(* Comparer) (const ClientInfo &lhs, const ClientInfo &rhs)
 

Public Member Functions

int indexOf (const uint8_t station[])
 
unsigned int capacity () const
 
bool contains (const ClientInfo &elem) const
 
const ClientInfofirstElement () const
 
int indexOf (const ClientInfo &elem) const
 
bool isEmpty () const
 
const ClientInfolastElement () const
 
int lastIndexOf (const ClientInfo &elem) const
 
unsigned int count () const override
 
unsigned int size () const
 
void copyInto (ClientInfo *array) const
 
bool add (const ClientInfo &obj)
 
bool addElement (const ClientInfo &obj)
 
bool addElement (ClientInfo *objp)
 
void clear ()
 
bool ensureCapacity (unsigned int minCapacity)
 
void removeAllElements ()
 
bool removeElement (const ClientInfo &obj)
 
bool setSize (unsigned int newSize)
 
void trimToSize ()
 
const ClientInfoelementAt (unsigned int index) const
 
bool insertElementAt (const ClientInfo &obj, unsigned int index)
 
const void remove (unsigned int index)
 
void removeElementAt (unsigned int index)
 
bool setElementAt (const ClientInfo &obj, unsigned int index)
 
const ClientInfoget (unsigned int index) const
 
const ClientInfooperator[] (unsigned int index) const override
 
ClientInfooperator[] (unsigned int index) override
 
void sort (Comparer compareFunction)
 
const ClientInfoat (unsigned int i) const
 

Protected Member Functions

void copyFrom (const Vector &rhv)
 

Protected Attributes

unsigned int _size
 
unsigned int _capacity
 
unsigned int _increment
 
ClientInfo ** _data
 

Detailed Description

For applications to use to manage list of unique clients.

Member Typedef Documentation

◆ Comparer

typedef int(* Vector< ClientInfo >::Comparer) (const ClientInfo &lhs, const ClientInfo &rhs)
inherited

Member Function Documentation

◆ add()

bool Vector< ClientInfo >::add ( const ClientInfo obj)
inlineinherited

◆ addElement() [1/2]

bool Vector< ClientInfo >::addElement ( const ClientInfo obj)
inherited

◆ addElement() [2/2]

bool Vector< ClientInfo >::addElement ( ClientInfo objp)
inherited

◆ at()

const ClientInfo & Countable< ClientInfo >::at ( unsigned int  i) const
inlineinherited

◆ capacity()

unsigned int Vector< ClientInfo >::capacity ( ) const
inherited

◆ clear()

void Vector< ClientInfo >::clear ( void  )
inlineinherited

◆ contains()

bool Vector< ClientInfo >::contains ( const ClientInfo elem) const
inherited

◆ copyFrom()

void Vector< ClientInfo >::copyFrom ( const Vector< ClientInfo > &  rhv)
protectedinherited

◆ copyInto()

void Vector< ClientInfo >::copyInto ( ClientInfo array) const
inherited

◆ count()

unsigned int Vector< ClientInfo >::count ( ) const
inlineoverridevirtualinherited

◆ elementAt()

const ClientInfo & Vector< ClientInfo >::elementAt ( unsigned int  index) const
inherited

◆ ensureCapacity()

bool Vector< ClientInfo >::ensureCapacity ( unsigned int  minCapacity)
inherited

◆ firstElement()

const ClientInfo & Vector< ClientInfo >::firstElement ( ) const
inherited

◆ get()

const ClientInfo & Vector< ClientInfo >::get ( unsigned int  index) const
inlineinherited

◆ indexOf() [1/2]

int Vector< ClientInfo >::indexOf ( const ClientInfo elem) const
inherited

◆ indexOf() [2/2]

int ClientInfoList::indexOf ( const uint8_t  station[])
inline

◆ insertElementAt()

bool Vector< ClientInfo >::insertElementAt ( const ClientInfo obj,
unsigned int  index 
)
inherited

◆ isEmpty()

bool Vector< ClientInfo >::isEmpty ( ) const
inherited

◆ lastElement()

const ClientInfo & Vector< ClientInfo >::lastElement ( ) const
inherited

◆ lastIndexOf()

int Vector< ClientInfo >::lastIndexOf ( const ClientInfo elem) const
inherited

◆ operator[]() [1/2]

const ClientInfo & Vector< ClientInfo >::operator[] ( unsigned int  index) const
overridevirtualinherited

◆ operator[]() [2/2]

ClientInfo & Vector< ClientInfo >::operator[] ( unsigned int  index)
overridevirtualinherited

◆ remove()

const void Vector< ClientInfo >::remove ( unsigned int  index)
inherited

◆ removeAllElements()

void Vector< ClientInfo >::removeAllElements ( )
inherited

◆ removeElement()

bool Vector< ClientInfo >::removeElement ( const ClientInfo obj)
inherited

◆ removeElementAt()

void Vector< ClientInfo >::removeElementAt ( unsigned int  index)
inherited

◆ setElementAt()

bool Vector< ClientInfo >::setElementAt ( const ClientInfo obj,
unsigned int  index 
)
inherited

◆ setSize()

bool Vector< ClientInfo >::setSize ( unsigned int  newSize)
inherited

◆ size()

unsigned int Vector< ClientInfo >::size ( ) const
inherited

◆ sort()

void Vector< ClientInfo >::sort ( Comparer  compareFunction)
inherited

◆ trimToSize()

void Vector< ClientInfo >::trimToSize ( )
inherited

Member Data Documentation

◆ _capacity

unsigned int Vector< ClientInfo >::_capacity
protectedinherited

◆ _data

ClientInfo ** Vector< ClientInfo >::_data
protectedinherited

◆ _increment

unsigned int Vector< ClientInfo >::_increment
protectedinherited

◆ _size

unsigned int Vector< ClientInfo >::_size
protectedinherited

The documentation for this class was generated from the following file: