nk 1.0.0
C++ Numerical Computing Runtime
Loading...
Searching...
No Matches
nk::HeapObject Struct Reference

Public Member Functions

 HeapObject (const HeapObject &)=delete
HeapObject & operator= (const HeapObject &)=delete
void addRef ()
bool release ()
HeapObject * clone () const

Public Attributes

std::atomic< int > refCount {1}
ValueType type = ValueType::EMPTY
Dims dims
std::pmr::memory_resource * mr = nullptr
DataBuffer * buffer = nullptr
std::pmr::vector< Value > * cellData = nullptr
std::pmr::vector< std::pmr::map< std::string, Value > > * structArray = nullptr
std::pmr::vector< std::string > * fieldOrder = nullptr
std::string * funcName = nullptr
std::string * funcSource = nullptr
std::string * objClass = nullptr
std::vector< std::shared_ptr< ObjectState > > objStates
bool objIsHandle = false
size_t appendCapacity = 0

Detailed Description

Definition at line 26 of file heap_object.hpp.

Member Function Documentation

◆ addRef()

void nk::HeapObject::addRef ( )
inline

Definition at line 82 of file heap_object.hpp.

◆ release()

bool nk::HeapObject::release ( )
inline

Definition at line 83 of file heap_object.hpp.

Member Data Documentation

◆ appendCapacity

size_t nk::HeapObject::appendCapacity = 0

Definition at line 74 of file heap_object.hpp.

◆ buffer

DataBuffer* nk::HeapObject::buffer = nullptr

Definition at line 34 of file heap_object.hpp.

◆ cellData

std::pmr::vector<Value>* nk::HeapObject::cellData = nullptr

Definition at line 48 of file heap_object.hpp.

◆ dims

Dims nk::HeapObject::dims

Definition at line 30 of file heap_object.hpp.

◆ fieldOrder

std::pmr::vector<std::string>* nk::HeapObject::fieldOrder = nullptr

Definition at line 56 of file heap_object.hpp.

◆ funcName

std::string* nk::HeapObject::funcName = nullptr

Definition at line 57 of file heap_object.hpp.

◆ funcSource

std::string* nk::HeapObject::funcSource = nullptr

Definition at line 61 of file heap_object.hpp.

◆ mr

std::pmr::memory_resource* nk::HeapObject::mr = nullptr

Definition at line 31 of file heap_object.hpp.

◆ objClass

std::string* nk::HeapObject::objClass = nullptr

Definition at line 69 of file heap_object.hpp.

◆ objIsHandle

bool nk::HeapObject::objIsHandle = false

Definition at line 71 of file heap_object.hpp.

◆ objStates

std::vector<std::shared_ptr<ObjectState> > nk::HeapObject::objStates

Definition at line 70 of file heap_object.hpp.

◆ refCount

std::atomic<int> nk::HeapObject::refCount {1}

Definition at line 28 of file heap_object.hpp.

◆ structArray

std::pmr::vector<std::pmr::map<std::string, Value> >* nk::HeapObject::structArray = nullptr

Definition at line 49 of file heap_object.hpp.

◆ type

ValueType nk::HeapObject::type = ValueType::EMPTY

Definition at line 29 of file heap_object.hpp.


The documentation for this struct was generated from the following file: