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

#include <CStringArray.h>

Inheritance diagram for CStringArray:
Inheritance graph
Collaboration diagram for CStringArray:
Collaboration graph

Public Member Functions

 CStringArray (int newElementSize)
 
void sortForStrings ()
 
int search (char const *searchString, bool *foundExact=NULL)
 
- 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 ()
 

Additional Inherited Members

- Public Attributes inherited from ResizeableArray
unsigned int elementSize
 
bool emptyingShouldFreeMemory
 
uint32_t staticMemoryAllocationSize
 
- Protected Attributes inherited from ResizeableArray
void * memory
 
int numElements
 
int memorySize
 
int memoryStart
 
bool lock
 

Constructor & Destructor Documentation

◆ CStringArray()

CStringArray::CStringArray ( int  newElementSize)
inline

Member Function Documentation

◆ search()

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

◆ sortForStrings()

void CStringArray::sortForStrings ( )

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