AFF --- A container for numbers (array) by Friederich and Forbriger.
◆
write_access()
template<class T>
T&
aff::ConstSharedHeap
< T >::write_access
(
const
Tsubscript
&
i
)
const
inline
protected
inherited
write access to data
Definition at line
213
of file
sharedheap.h
.
References
AFF_assert
.
214
{
215
#ifdef AFF_INDEXCHECK
216
AFF_assert
(((i<
Tsubscript
(
Mheapstruct
->
Msize
)) && (i>=0)),
217
"SharedHeap: illegal index position!"
);
218
#endif
219
return
(
Mheapstruct
->
Mheap
[i]);
220
}
aff::ConstSharedHeap::Mheapstruct
Theapstruct * Mheapstruct
shared heap structure
Definition:
sharedheap.h:229
aff::util::SHeap::Msize
Tsize Msize
size (number of elements) of array
Definition:
sharedheap.h:113
aff::util::SHeap::Mheap
T * Mheap
shared raw array on heap
Definition:
sharedheap.h:112
AFF_assert
#define AFF_assert(C, M)
Check an assertion and report by throwing an exception.
Definition:
error.h:162
aff::Tsubscript
ptrdiff_t Tsubscript
Type to hold an array's subscript value.
Definition:
types.h:53
aff
SharedHeap
Generated on Mon Aug 21 2023 17:36:09 for AFF --- A container for numbers (array) by Friederich and Forbriger. by
1.8.14