30 const Index expectedSize,
35 m_size(expectedSize + 1),
44 m_firstFree(other.m_firstFree),
91 return index && index <
m_size;
119 targetSize = std::numeric_limits< Index >::max();
121 m_store = (
unsigned char*)std::realloc(
167 std::deque< Index > adjustedDeallocations;
174 adjustedDeallocations.push_front(*dlc + 1);
350 return Access(internal) == external;
#define BIO_SANITIZE(test, success, failure)
virtual SmartIterator End() const
virtual SmartIterator Begin() const
virtual ByteStream Access(const Index index)
virtual Index GetCapacity() const
virtual bool AreEqual(Index internal, const ByteStream external) const
Container(const Index expectedSize=2, std::size_t stepSize=sizeof(ByteStream))
virtual bool IsInRange(const Index index) const
virtual Index Insert(const ByteStream content, const Index index)
virtual Index GetNextAvailableIndex()
virtual Index GetNumberOfElements() const
Index SeekTo(const ByteStream content) const
virtual bool IsFree(const Index index) const
virtual bool IsAllocated(const Index index) const
virtual ByteStream operator[](const Index index)
virtual Index GetAllocatedSize() const
virtual const std::size_t GetStepSize() const
virtual Index GetBeginIndex() const
virtual void Import(const Container *other)
bool Has(const ByteStream content) const
virtual Index Add(const ByteStream content)
std::deque< Index > m_deallocated
virtual bool Erase(Index index)
virtual Iterator * ConstructClassIterator(const Index index=InvalidIndex()) const
virtual Index GetEndIndex() const
bool MoveTo(const Index index)
virtual bool IsAtBeginning() const
const Index InvalidIndex()