Used with StateBase::getArray() to describe a single parameter.  
 More...
#include <base.h>
 | 
| enum   | { maxdims =3
 } | 
|   | 
| enum   | Type { Double, 
Sizet
 } | 
|   | The parameter type Double (double) or Sizet (size_t) 
  | 
|   | 
 | 
| 
bool  | inbounds (size_t *d) const  | 
|   | is the given index valid? 
  | 
|   | 
| 
void *  | raw (size_t *d) | 
|   | 
| 
template<typename E >  | 
| E *  | get (size_t *d) | 
|   | Helper to fetch the pointer for a given index (assumed valid) 
  | 
|   | 
Used with StateBase::getArray() to describe a single parameter. 
Definition at line 48 of file base.h.
 
      
        
          | unsigned StateBase::ArrayInfo::ndim | 
        
      
 
Number of dimensions. Indicates how many entries in dim[] and stride[] are valid. ndim==0 indicates a scalar. 
- Precondition
 - ndim<=maxdims 
 
Definition at line 64 of file base.h.
 
 
      
        
          | void* StateBase::ArrayInfo::ptr | 
        
      
 
Pointer to parameter storage. Actual type depends on the type: Double (double) or Sizet (size_t) 
Definition at line 59 of file base.h.
 
 
The documentation for this struct was generated from the following file: