Ota::Network::HttpUpgrader::ItemList Class Reference

#include <HttpUpgrader.h>

Inheritance diagram for Ota::Network::HttpUpgrader::ItemList:
Collaboration diagram for Ota::Network::HttpUpgrader::ItemList:

Public Member Functions

bool addNew (Item *it)
 
- Public Member Functions inherited from Vector< Item >
 Vector (unsigned int initialCapacity=10, unsigned int capacityIncrement=10)
 
 Vector (const Vector &rhv)
 
unsigned int capacity () const
 
bool contains (const Item &elem) const
 
const Item & firstElement () const
 
int indexOf (const Item &elem) const
 
bool isEmpty () const
 
const Item & lastElement () const
 
int lastIndexOf (const Item &elem) const
 
unsigned int count () const override
 
unsigned int size () const
 
void copyInto (Item *array) const
 
bool add (const Item &obj)
 
bool addElement (const Item &obj)
 
bool addElement (Item *objp)
 
void clear ()
 
bool ensureCapacity (unsigned int minCapacity)
 
void removeAllElements ()
 
bool removeElement (const Item &obj)
 
bool setSize (unsigned int newSize)
 Reduce or increase number of items. More...
 
void trimToSize ()
 Reduce capacity to match current size. More...
 
const Item & elementAt (unsigned int index) const
 
bool insertElementAt (const Item &obj, unsigned int index)
 
bool remove (unsigned int index)
 
bool removeElementAt (unsigned int index)
 
bool setElementAt (const Item &obj, unsigned int index)
 
const Item & get (unsigned int index) const
 
const Item & operator[] (unsigned int index) const override
 
Item & operator[] (unsigned int index) override
 
const Vector< Item > & operator= (const Vector< Item > &rhv)
 
const Vector< Item > & operator= (Vector< Item > &&other) noexcept
 
void sort (Comparer compareFunction)
 
Iterator< false > begin ()
 
const Iterator< true > begin () const
 
Iterator< false > end ()
 
const Iterator< true > end () const
 
- Public Member Functions inherited from Countable< Item >
virtual ~Countable ()
 
const Item & at (unsigned int i) const
 

Additional Inherited Members

- Public Types inherited from Vector< Item >
using Comparer = int(*)(const Item &lhs, const Item &rhs)
 
- Protected Types inherited from Vector< Item >
using ElementList = wiring_private::List< Item >
 
- Protected Member Functions inherited from Vector< Item >
void copyFrom (const Vector &rhv)
 
- Protected Attributes inherited from Vector< Item >
unsigned int _size
 
unsigned int _increment
 
ElementList _data
 

Member Function Documentation

◆ addNew()

bool Ota::Network::HttpUpgrader::ItemList::addNew ( Item it)
inline

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