Cortenn
Public Member Functions | Public Attributes | List of all members
llo::GenericRef Struct Reference

#include <data.hpp>

Public Member Functions

 GenericRef (char *data, ade::Shape shape, age::_GENERATED_DTYPE dtype)
 
 GenericRef (GenericData &generic)
 

Public Attributes

char * data_
 Raw pointer to a block of untyped data. More...
 
ade::Shape shape_
 Shape of data_. More...
 
age::_GENERATED_DTYPE dtype_
 Data type of data_. More...
 

Detailed Description

GenericRef for holding data Ref uses raw pointer instead of shared, so it's memory unsafe

Constructor & Destructor Documentation

◆ GenericRef() [1/2]

llo::GenericRef::GenericRef ( char *  data,
ade::Shape  shape,
age::_GENERATED_DTYPE  dtype 
)
inline

◆ GenericRef() [2/2]

llo::GenericRef::GenericRef ( GenericData generic)
inline

Member Data Documentation

◆ data_

char* llo::GenericRef::data_

Raw pointer to a block of untyped data.

◆ dtype_

age::_GENERATED_DTYPE llo::GenericRef::dtype_

Data type of data_.

◆ shape_

ade::Shape llo::GenericRef::shape_

Shape of data_.


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