|
RNifti
Fast R and C++ Access to NIfTI Images
|
Inner class representing a single element in the data blob. More...
#include <NiftiImage.h>
Public Member Functions | |
| ElementProxy (const NiftiImageData &parent, void *ptr=NULL) | |
| Primary constructor. More... | |
| template<typename SourceType > | |
| ElementProxy & | operator= (const SourceType &value) |
| Copy assignment operator. More... | |
| template<typename TargetType > | |
| operator TargetType () const | |
| Implicit type-cast operator, suitable for implicit conversion to basic numeric types. | |
| ElementProxy & | operator= (const ElementProxy &other) |
| Copy assignment operator. More... | |
Inner class representing a single element in the data blob.
|
inline |
Primary constructor.
| parent | A reference to the parent object |
| ptr | An opaque pointer to the element. If NULL, the start of the data blob encapsulated by the parent will be used |
|
inline |
Copy assignment operator.
| value | The value to assign. Any basic numeric type supported by NIfTI-1 is allowed, but int is used as an intermediate type for all integers, so values unrepresentable in a signed 32-bit integer may overflow |
|
inline |
Copy assignment operator.
| other | Another data element |
1.8.15