MarlinMT  0.1.0
marlinmt::book::Context Struct Reference

Data selection for the Entry to work properly. More...

#include <EntryData.h>

Public Member Functions

 Context ()=default
 default constructor More...
 
 Context (std::shared_ptr< MemLayout > memLayout, std::size_t numInstances)
 constructor More...
 

Public Attributes

std::shared_ptr< MemLayoutmem {nullptr}
 reference to Memory object. For editing and reading data. More...
 
std::size_t nInstances {0}
 

Detailed Description

Data selection for the Entry to work properly.

Definition at line 71 of file EntryData.h.

Constructor & Destructor Documentation

◆ Context() [1/2]

marlinmt::book::Context::Context ( )
default

default constructor

◆ Context() [2/2]

marlinmt::book::Context::Context ( std::shared_ptr< MemLayout memLayout,
std::size_t  numInstances 
)
inlineexplicit

constructor

Definition at line 77 of file EntryData.h.

Member Data Documentation

◆ mem

std::shared_ptr< MemLayout > marlinmt::book::Context::mem {nullptr}

reference to Memory object. For editing and reading data.

Definition at line 83 of file EntryData.h.

Referenced by marlinmt::book::EntrySingle< T >::handle(), marlinmt::book::EntryMultiCopy< T >::handle(), and marlinmt::book::EntryMultiShared< T >::handle().

◆ nInstances

std::size_t marlinmt::book::Context::nInstances {0}

Definition at line 84 of file EntryData.h.

Referenced by marlinmt::book::_fillers().


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