RefPolicy
RefPolicy
Section titled “RefPolicy”#include <storage.hh>struct RefPolicyDefined in src/lib/ncarray/storage.hh:156
Inherits:
StoragePolicy< RefPolicy >,RefTag
The RefPolicy dictates arrays which hold pointers to the individual components of the array.
List of all members
Section titled “List of all members”| Name | Kind | Owner |
|---|---|---|
storage_repr |
function |
Declared here |
m_ref_ptrs |
variable |
Declared here |
MemType |
typedef |
Declared here |
StoragePolicy |
function |
Inherited from StoragePolicy |
StoragePolicy |
function |
Inherited from StoragePolicy |
data |
function |
Inherited from StoragePolicy |
itemsize |
function |
Inherited from StoragePolicy |
dtype |
function |
Inherited from StoragePolicy |
read_only |
function |
Inherited from StoragePolicy |
storage_repr |
function |
Inherited from StoragePolicy |
m_dtype |
variable |
Inherited from StoragePolicy |
m_data |
variable |
Inherited from StoragePolicy |
m_read_only |
variable |
Inherited from StoragePolicy |
MemType |
typedef |
Inherited from StoragePolicy |
Inherited from StoragePolicy
Section titled “Inherited from StoragePolicy”| Kind | Name | Description |
|---|---|---|
function |
StoragePolicy |
Defaulted constructor. |
function |
StoragePolicy inline |
|
function |
data const inline |
|
function |
itemsize const inline |
|
function |
dtype const inline |
|
function |
read_only const inline |
|
function |
storage_repr const inline |
The repr functions return a string to identify the storage policy when writing out string representations of the array. |
variable |
m_dtype |
|
variable |
m_data |
|
variable |
m_read_only |
|
typedef |
MemType |
Public Methods
Section titled “Public Methods”| Return | Name | Description |
|---|---|---|
NCA_HD const char * |
storage_repr const inline |
storage_repr
Section titled “storage_repr”const inline
inline NCA_HD const char * storage_repr() constDefined in src/lib/ncarray/storage.hh:160
Protected Attributes
Section titled “Protected Attributes”| Return | Name | Description |
|---|---|---|
void * |
m_ref_ptrs |
m_ref_ptrs
Section titled “m_ref_ptrs”void * m_ref_ptrsDefined in src/lib/ncarray/storage.hh:163
Public Types
Section titled “Public Types”| Name | Description |
|---|---|
MemType |
MemType
Section titled “MemType”using MemType = HostTagDefined in src/lib/ncarray/storage.hh:158