Deluge Firmware 1.3.0
Build date: 2025.04.16
Loading...
Searching...
No Matches
NamedThingVector Class Reference
Inheritance diagram for NamedThingVector:
Collaboration diagram for NamedThingVector:

Public Member Functions

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

Public Attributes

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

Private Member Functions

NamedThingVectorElementgetMemory (int32_t index)
 
StringgetName (void *namedThing)
 

Additional Inherited Members

- Protected Attributes inherited from ResizeableArray
void * memory
 
int32_t numElements
 
int32_t memorySize
 
int32_t memoryStart
 

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