Derecho  0.9
Distributed systems toolkit for RDMA
Public Member Functions | List of all members
sst::SSTField< T > Class Template Reference

Clients should use instances of this class with the appropriate template parameter to declare fields in their SST; for example, SSTField<int> is the type of an integer-valued SST field. More...

#include <sst.hpp>

Inheritance diagram for sst::SSTField< T >:
Inheritance graph
[legend]
Collaboration diagram for sst::SSTField< T >:
Collaboration graph
[legend]

Public Member Functions

 SSTField ()
 
volatile T & operator[] (const size_t row_idx) const
 
volatile T const & operator() (const size_t row_idx) const
 
void operator() (const size_t row_idx, T const v)
 
- Public Member Functions inherited from sst::_SSTField
 _SSTField (const size_t field_len)
 
size_t set_base (volatile char *const base)
 
char * get_base ()
 
void set_rowLen (const size_t &_rowLen)
 

Additional Inherited Members

- Public Attributes inherited from sst::_SSTField
volatile char * base
 
size_t rowLen
 
size_t field_len
 

Detailed Description

template<typename T>
class sst::SSTField< T >

Clients should use instances of this class with the appropriate template parameter to declare fields in their SST; for example, SSTField<int> is the type of an integer-valued SST field.

Definition at line 65 of file sst.hpp.

Constructor & Destructor Documentation

◆ SSTField()

template<typename T>
sst::SSTField< T >::SSTField ( )
inline

Definition at line 71 of file sst.hpp.

Member Function Documentation

◆ operator()() [1/2]

template<typename T>
volatile T const& sst::SSTField< T >::operator() ( const size_t  row_idx) const
inline

Definition at line 78 of file sst.hpp.

◆ operator()() [2/2]

template<typename T>
void sst::SSTField< T >::operator() ( const size_t  row_idx,
T const  v 
)
inline

Definition at line 83 of file sst.hpp.

◆ operator[]()

template<typename T>
volatile T& sst::SSTField< T >::operator[] ( const size_t  row_idx) const
inline

Definition at line 75 of file sst.hpp.


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