stec-platform
MemoryHeap Class Reference

The MemoryHeap class provides a memory atom for use anywhere based on insert and rules for memory atoms. More...

#include <memoryheap.h>

Collaboration diagram for MemoryHeap:

Public Member Functions

 MemoryHeap (VremVArray i1)
 MemoryHeap. More...
 
virtual VremVArray getArray ()
 returns the memory atom
 
virtual VremVArray getArray (int index, int count)
 returns the memory atom based on index and count
 
virtual int insertVariant (int index, QVariant &i1)
 insert a QVariant into a memory heap
 
virtual int insertArray (int index, const VremVArray &i1)
 insert an array of QVariants into a memory heap based on index
 
virtual void clear (void)
 clears the memory atom off
 
virtual int size (void)
 returns the size of the memory atom
 
virtual MemoryHeapoperator= (MemoryHeap &i1)
 simple operators
 
virtual MemoryHeapoperator= (VremVArray &i1)
 simple operators
 
const QVariant operator[] (int i)
 simple operator bases on index
 
const QVariant GetVariant (int i)
 gets a single QVariant based on index
 

Static Public Member Functions

static VremList toVremList (VremVArray i1)
 returns it a QList
 
static VremVArray toVremVArray (VremList i1)
 returns at VremVArray
 
static VremVArray toVremVArray (QStringList i1)
 returns VremVArray from QListString
 
static QStringList toQStringList (VremVArray)
 returns a QStringList from VremVArray
 
static VremVArray toOffest (VremVArray &i1, int index, int count)
 returns a VremVArray based on index and count
 

Protected Attributes

VremVArray storeRoom
 

Detailed Description

The MemoryHeap class provides a memory atom for use anywhere based on insert and rules for memory atoms.

Constructor & Destructor Documentation

◆ MemoryHeap()

MemoryHeap::MemoryHeap ( VremVArray  i1)
explicit

MemoryHeap.

Parameters
i1

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