SST/macro
|
Network payload consisting of a boost multiarray. More...
#include <vector_payload.h>
Public Types | |
typedef sprockit::refcount_ptr< vector1_payload< Type, VectorType > > | ptr |
typedef sprockit::refcount_ptr< const vector1_payload< Type, VectorType > > | const_ptr |
typedef vector1_payload< Type, VectorType > | Vector1Payload |
Public Member Functions | |
vector1_payload () | |
virtual | ~vector1_payload () |
void | assign (void *data) |
payload::const_ptr | clone () const |
Clone this object. More... | |
void * | data () const |
Access the underlying data in a const context. More... | |
const Type * | typed_data () const |
int | get_dim () const |
virtual long | byte_length () const |
virtual payload::const_ptr | add (const payload::const_ptr &other) const |
Add operator. More... | |
virtual payload::const_ptr | prod (const payload::const_ptr &other) const |
virtual payload::const_ptr | min (const payload::const_ptr &other) const |
Less than comparator. More... | |
virtual payload::const_ptr | max (const payload::const_ptr &other) const |
Greater than comparator. More... | |
virtual bool | equals (const payload::const_ptr &other) const |
Equals comparator. More... | |
virtual payload::const_ptr | logical_or (const payload::const_ptr &other) const |
Logical or comparator. More... | |
virtual payload::const_ptr | logical_xor (const payload::const_ptr &other) const |
Logical xor comparator. More... | |
virtual payload::const_ptr | logical_and (const payload::const_ptr &other) const |
Logical and comparator. More... | |
virtual payload::const_ptr | bitwise_or (const payload::const_ptr &other) const |
Logical or comparator. More... | |
virtual payload::const_ptr | bitwise_xor (const payload::const_ptr &other) const |
Logical xor comparator. More... | |
virtual payload::const_ptr | bitwise_and (const payload::const_ptr &other) const |
Logical and comparator. More... | |
virtual void | serialize_order (serializer &ser) |
virtual std::string | to_string () const |
Strinfier. More... | |
Static Public Member Functions | |
static ptr | construct () |
static const_ptr | construct (const arraytype &inval, int dim1, ptrdiff_t stride=1) |
Protected Member Functions | |
vector1_payload (const arraytype &inval, int dim1, ptrdiff_t stride) | |
vector1_payload (Type *inval, int dim1, bool cloning, ptrdiff_t stride) | |
Protected Attributes | |
std::vector< int > | dims_ |
Type * | underneath_ |
Network payload consisting of a boost multiarray.
Definition at line 27 of file vector_payload.h.
typedef sprockit::refcount_ptr<const vector1_payload<Type, VectorType> > sstmac::vector1_payload< Type, VectorType >::const_ptr |
Definition at line 40 of file vector_payload.h.
typedef sprockit::refcount_ptr<vector1_payload<Type, VectorType> > sstmac::vector1_payload< Type, VectorType >::ptr |
Definition at line 31 of file vector_payload.h.
typedef vector1_payload<Type, VectorType> sstmac::vector1_payload< Type, VectorType >::Vector1Payload |
Definition at line 99 of file vector_payload.h.
|
inline |
Definition at line 43 of file vector_payload.h.
|
inlinevirtual |
Definition at line 45 of file vector_payload.h.
References sstmac::vector1_payload< Type, VectorType >::underneath_.
|
inlineprotected |
Definition at line 329 of file vector_payload.h.
References sstmac::vector1_payload< Type, VectorType >::dims_, and sstmac::vector1_payload< Type, VectorType >::underneath_.
|
inlineprotected |
Definition at line 340 of file vector_payload.h.
References sstmac::vector1_payload< Type, VectorType >::dims_, and sstmac::vector1_payload< Type, VectorType >::underneath_.
|
inlinevirtual |
Add operator.
other |
Definition at line 107 of file vector_payload.h.
References sstmac::vector1_payload< Type, VectorType >::dims_, ptr_safe_cast, and sstmac::vector1_payload< Type, VectorType >::underneath_.
|
inline |
Definition at line 50 of file vector_payload.h.
References sstmac::vector1_payload< Type, VectorType >::dims_, and sstmac::vector1_payload< Type, VectorType >::underneath_.
|
inlinevirtual |
Logical and comparator.
other |
Definition at line 306 of file vector_payload.h.
References spkt_throw_printf.
|
inlinevirtual |
Logical or comparator.
other |
Definition at line 286 of file vector_payload.h.
References spkt_throw_printf.
|
inlinevirtual |
Logical xor comparator.
other |
Definition at line 296 of file vector_payload.h.
References spkt_throw_printf.
|
inlinevirtual |
Definition at line 91 of file vector_payload.h.
References sstmac::vector1_payload< Type, VectorType >::dims_.
|
inline |
Clone this object.
Definition at line 70 of file vector_payload.h.
References sstmac::vector1_payload< Type, VectorType >::dims_, and sstmac::vector1_payload< Type, VectorType >::underneath_.
|
inlinestatic |
Definition at line 59 of file vector_payload.h.
|
inlinestatic |
Definition at line 64 of file vector_payload.h.
|
inline |
Access the underlying data in a const context.
Definition at line 76 of file vector_payload.h.
References sstmac::vector1_payload< Type, VectorType >::underneath_.
|
inlinevirtual |
Equals comparator.
other |
Definition at line 201 of file vector_payload.h.
References sstmac::vector1_payload< Type, VectorType >::dims_, ptr_safe_cast, and sstmac::vector1_payload< Type, VectorType >::underneath_.
|
inline |
Definition at line 86 of file vector_payload.h.
References sstmac::vector1_payload< Type, VectorType >::dims_.
|
inlinevirtual |
Logical and comparator.
other |
Definition at line 264 of file vector_payload.h.
References sstmac::vector1_payload< Type, VectorType >::dims_, ptr_safe_cast, and sstmac::vector1_payload< Type, VectorType >::underneath_.
|
inlinevirtual |
Logical or comparator.
other |
Definition at line 219 of file vector_payload.h.
References sstmac::vector1_payload< Type, VectorType >::dims_, ptr_safe_cast, and sstmac::vector1_payload< Type, VectorType >::underneath_.
|
inlinevirtual |
Logical xor comparator.
other |
Definition at line 241 of file vector_payload.h.
References sstmac::vector1_payload< Type, VectorType >::dims_, ptr_safe_cast, and sstmac::vector1_payload< Type, VectorType >::underneath_.
|
inlinevirtual |
Greater than comparator.
other |
Definition at line 175 of file vector_payload.h.
References sstmac::vector1_payload< Type, VectorType >::dims_, ptr_safe_cast, and sstmac::vector1_payload< Type, VectorType >::underneath_.
|
inlinevirtual |
Less than comparator.
other |
Definition at line 150 of file vector_payload.h.
References sstmac::vector1_payload< Type, VectorType >::dims_, ptr_safe_cast, and sstmac::vector1_payload< Type, VectorType >::underneath_.
|
inlinevirtual |
Definition at line 126 of file vector_payload.h.
References sstmac::vector1_payload< Type, VectorType >::dims_, ptr_safe_cast, and sstmac::vector1_payload< Type, VectorType >::underneath_.
|
inlinevirtual |
Definition at line 311 of file vector_payload.h.
References spkt_throw_printf.
|
inlinevirtual |
Strinfier.
Definition at line 320 of file vector_payload.h.
References sstmac::vector1_payload< Type, VectorType >::dims_.
|
inline |
Definition at line 81 of file vector_payload.h.
References sstmac::vector1_payload< Type, VectorType >::underneath_.
|
protected |
Definition at line 351 of file vector_payload.h.
Referenced by sstmac::vector1_payload< Type, VectorType >::add(), sstmac::vector1_payload< Type, VectorType >::assign(), sstmac::vector1_payload< Type, VectorType >::byte_length(), sstmac::vector1_payload< Type, VectorType >::clone(), sstmac::vector1_payload< Type, VectorType >::equals(), sstmac::vector1_payload< Type, VectorType >::get_dim(), sstmac::vector1_payload< Type, VectorType >::logical_and(), sstmac::vector1_payload< Type, VectorType >::logical_or(), sstmac::vector1_payload< Type, VectorType >::logical_xor(), sstmac::vector1_payload< Type, VectorType >::max(), sstmac::vector1_payload< Type, VectorType >::min(), sstmac::vector1_payload< Type, VectorType >::prod(), sstmac::vector1_payload< Type, VectorType >::to_string(), and sstmac::vector1_payload< Type, VectorType >::vector1_payload().
|
protected |
Definition at line 353 of file vector_payload.h.
Referenced by sstmac::vector1_payload< Type, VectorType >::add(), sstmac::vector1_payload< Type, VectorType >::assign(), sstmac::vector1_payload< Type, VectorType >::clone(), sstmac::vector1_payload< Type, VectorType >::data(), sstmac::vector1_payload< Type, VectorType >::equals(), sstmac::vector1_payload< Type, VectorType >::logical_and(), sstmac::vector1_payload< Type, VectorType >::logical_or(), sstmac::vector1_payload< Type, VectorType >::logical_xor(), sstmac::vector1_payload< Type, VectorType >::max(), sstmac::vector1_payload< Type, VectorType >::min(), sstmac::vector1_payload< Type, VectorType >::prod(), sstmac::vector1_payload< Type, VectorType >::typed_data(), sstmac::vector1_payload< Type, VectorType >::vector1_payload(), and sstmac::vector1_payload< Type, VectorType >::~vector1_payload().