4#ifndef RUDIMENTS_DYNAMICARRAY_H
5#define RUDIMENTS_DYNAMICARRAY_H
7#include <rudiments/private/dynamicarrayincludes.h>
51template <
class valuetype>
61 dynamicarray(uint64_t initiallength, uint64_t incrementlength);
87 void zero(uint64_t count);
91 void zero(uint64_t start, uint64_t count);
95 void set(byte_t value, uint64_t count);
99 void set(byte_t value, uint64_t start, uint64_t count);
106 uint64_t getInitialCount();
110 uint64_t getIncrementCount();
122 bool clear(uint64_t initiallength, uint64_t incrementlength);
124 #include <rudiments/private/dynamicarray.h>
127#include <rudiments/private/dynamicarrayinlines.h>
Definition arraycollection.h:13
Definition dynamicarray.h:52
dynamicarray()
Definition dynamicarrayinlines.h:9
bool clear()
Definition dynamicarrayinlines.h:254
void zero(uint64_t count)
Definition dynamicarrayinlines.h:127
~dynamicarray()
Definition dynamicarrayinlines.h:121
uint64_t getCount()
Definition dynamicarrayinlines.h:196
dynamicarray< valuetype > & operator=(dynamicarray< valuetype > &v)
Definition dynamicarrayinlines.h:40
valuetype & operator[](uint64_t index)
Definition dynamicarrayinlines.h:155
void set(byte_t value, uint64_t count)
Definition dynamicarrayinlines.h:139