Deluge Firmware
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
NamedThingVector Class Reference

#include <NamedThingVector.h>

Inheritance diagram for NamedThingVector:
Inheritance graph
Collaboration diagram for NamedThingVector:
Collaboration graph

Public Member Functions

 NamedThingVector (int newStringOffset)
 
int search (char const *searchString, int comparison, bool *foundExact=NULL)
 
void * getElement (int index)
 
void removeElement (int i)
 
int insertElement (void *namedThing)
 
int insertElement (void *namedThing, int i)
 
void renameMember (int i, String *newName)
 
- Public Member Functions inherited from ResizeableArray
 ResizeableArray (int newElementSize, int newMaxNumEmptySpacesToKeep=16, int newNumExtrarSpacesToAllocate=15)
 
 ~ResizeableArray ()
 
void init ()
 
bool cloneFrom (ResizeableArray *other)
 
void empty ()
 
void swapStateWith (ResizeableArray *other)
 
void deleteAtIndex (int i, int numToDelete=1, bool mayShortenMemoryAfter=true)
 
bool ensureEnoughSpaceAllocated (int numAdditionalElementsNeeded)
 
int insertAtIndex (int i, int numToInsert=1, void *thingNotToStealFrom=NULL)
 
void swapElements (int i1, int i2)
 
void repositionElement (int iFrom, int iTo)
 
int beenCloned ()
 
void setMemory (void *newMemory, int newMemorySize)
 
void setStaticMemory (void *newMemory, int newMemorySize)
 
void moveElementsLeft (int oldStartIndex, int oldStopIndex, int distance)
 
void moveElementsRight (int oldStartIndex, int oldStopIndex, int distance)
 
void * getElementAddress (int index)
 
int getNumElements ()
 

Public Attributes

const int stringOffset
 
- Public Attributes inherited from ResizeableArray
unsigned int elementSize
 
bool emptyingShouldFreeMemory
 
uint32_t staticMemoryAllocationSize
 

Additional Inherited Members

- Protected Attributes inherited from ResizeableArray
void * memory
 
int numElements
 
int memorySize
 
int memoryStart
 
bool lock
 

Constructor & Destructor Documentation

◆ NamedThingVector()

NamedThingVector::NamedThingVector ( int  newStringOffset)

Member Function Documentation

◆ getElement()

void * NamedThingVector::getElement ( int  index)

◆ insertElement() [1/2]

int NamedThingVector::insertElement ( void *  namedThing)

◆ insertElement() [2/2]

int NamedThingVector::insertElement ( void *  namedThing,
int  i 
)

◆ removeElement()

void NamedThingVector::removeElement ( int  i)

◆ renameMember()

void NamedThingVector::renameMember ( int  i,
String newName 
)

◆ search()

int NamedThingVector::search ( char const *  searchString,
int  comparison,
bool *  foundExact = NULL 
)

Member Data Documentation

◆ stringOffset

const int NamedThingVector::stringOffset

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