Arduino List Library  3.0.1
The Ultimate Collection of Lists
Data Structures | Macros
AbstractList.hpp File Reference
#include <stddef.h>

Go to the source code of this file.

Data Structures

class  AbstractList< T >
 Abstract class from which all lists can be derived. More...
 
class  AbstractList< T >::AbstractEntry
 

Macros

#define extendedIsIndexOutOfBounds(index)   ((index) != this->getSize() && this->isIndexOutOfBounds(index))
 Is the list mutable or immutable. More...
 

Detailed Description

This file is part of the List library. It extends the arduino ecosystem with easy-to-use list implementations. They are specially designed and optimized for different purposes.

Copyright (C) 2021-2024 Niklas Kaaf

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

Macro Definition Documentation

◆ extendedIsIndexOutOfBounds

#define extendedIsIndexOutOfBounds (   index)    ((index) != this->getSize() && this->isIndexOutOfBounds(index))

Is the list mutable or immutable.

Sometimes it is allowed, that index == this->getSize() to insert it behind the last entry