SST/macro
|
#include <variable.h>
Public Member Functions | |
VariablePtr () | |
template<typename U , typename = std::enable_if<std::is_convertible<T*,U>::value>> | |
VariablePtr (const U &u) | |
VariablePtr (uint64_t &nops_elem) | |
VariablePtr (const VariablePtr &vp) | |
~VariablePtr () | |
void | resize (size_t n) |
void | clear () |
Variable< T > & | operator[] (int idx) |
const Variable< T > & | operator[] (int idx) const |
Variable< T > & | operator[] (Variable< int > idx) |
const Variable< T > & | operator[] (Variable< int > idx) const |
Variable< T > & | operator* () |
const Variable< T > & | operator* () const |
VariablePtr< T > & | operator= (const VariablePtr &ptr) |
template<class U , typename = std::enable_if<std::is_convertible<T*,U>::value>> | |
VariablePtr< T > & | operator= (const U &ptr) |
template<class U , typename = std::enable_if<std::is_convertible<T*,U>::value>> | |
const VariablePtr< T > & | operator= (const U &ptr) const |
template<class U , typename = std::enable_if<std::is_convertible<T*,U>::value>> | |
bool | operator== (const U &ptr) const |
template<class U , typename = std::enable_if<std::is_convertible<T*,U>::value>> | |
bool | operator!= (const U &ptr) const |
constexpr | operator void * () const |
VariablePtr< T > & | operator+= (const ptrdiff_t &offset) |
VariablePtr< T > & | operator-= (const ptrdiff_t &offset) |
Private Attributes | |
uint64_t & | nops |
Variable< T > | elem |
Friends | |
void * | memset (const VariablePtr< T > &t, int value, size_t size) |
void * | memcpy (const VariablePtr< T > &dst, const VariablePtr< T > &src, size_t size) |
Definition at line 31 of file variable.h.
|
inline |
Definition at line 259 of file variable.h.
|
inline |
Definition at line 268 of file variable.h.
|
inline |
Definition at line 275 of file variable.h.
|
inline |
Definition at line 280 of file variable.h.
|
inline |
Definition at line 287 of file variable.h.
References sstmac::sw::operating_system::current_thread(), and sstmac::sw::thread::remove_perf_ctr_variable().
|
inline |
Definition at line 294 of file variable.h.
|
inline |
Definition at line 353 of file variable.h.
|
inline |
Definition at line 349 of file variable.h.
|
inline |
Definition at line 312 of file variable.h.
References VariablePtr< T >::elem.
|
inline |
Definition at line 316 of file variable.h.
References VariablePtr< T >::elem.
|
inline |
Definition at line 358 of file variable.h.
|
inline |
Definition at line 363 of file variable.h.
|
inline |
Definition at line 321 of file variable.h.
|
inline |
Definition at line 328 of file variable.h.
|
inline |
Definition at line 335 of file variable.h.
|
inline |
Definition at line 342 of file variable.h.
|
inline |
Definition at line 296 of file variable.h.
References VariablePtr< T >::elem.
|
inline |
Definition at line 300 of file variable.h.
References VariablePtr< T >::elem.
|
inline |
Definition at line 304 of file variable.h.
References VariablePtr< T >::elem.
|
inline |
Definition at line 308 of file variable.h.
References VariablePtr< T >::elem.
|
inline |
Definition at line 292 of file variable.h.
|
friend |
Definition at line 381 of file variable.h.
|
friend |
Definition at line 374 of file variable.h.
|
private |
Definition at line 369 of file variable.h.
Referenced by VariablePtr< T >::operator*(), and VariablePtr< T >::operator[]().
|
private |
Definition at line 368 of file variable.h.