43 #ifndef AFF_DUMP_SHAREDHEAP_H_VERSION 45 #define AFF_DUMP_SHAREDHEAP_H_VERSION \ 46 "AFF_DUMP_SHAREDHEAP_H V1.2" 61 std::ostream& os=std::cout)
63 os <<
" SharedHeap object size: " 64 << sharedheap.
size() <<
" elements" << endl;
75 std::ostream& os=std::cout)
77 os <<
"dump of SharedHeap object:" << endl;
79 os <<
" element values:" << endl;
83 if (!i) { os <<
" "; }
85 os << sharedheap[k] <<
" ";
86 if (++i>7) { i=0; os << endl; }
93 #endif // AFF_DUMP_SHAREDHEAP_H_VERSION (includeguard) Root namespace of library.
void dump(const Strided &shape, std::ostream &os)
dump shape
const Tsize & size() const
shared heap representation (prototypes)
This is the base class for const elements.
void dump_layout(const aff::ConstSharedHeap< T > &sharedheap, std::ostream &os=std::cout)
Dump heap layout.
size_t Tsize
Type to hold the size of an array dimension.