Scopira 20080306

scopira::basekit::nindex< 3 > Class Template Reference

#include <narray.h>

Inheritance diagram for scopira::basekit::nindex< 3 >:
scopira::tool::fixed_array< size_t, 3 >

List of all members.

Public Member Functions

 nindex (size_t _x, size_t _y, size_t _z=0)
 nindex (size_t v=0)
 ctor (implicit)
 nindex (const this_type &rhs)
 copy ctor
void clear (size_t v=0)
size_t product (void) const
 gets it multed
size_t offset (const this_type &c) const
 calc ofset, using this as the size
this_type strides (void) const
 stride offset array
nindex< 2 > shrink (void) const
 returns the same, but one less
bool operator< (const this_type &rhs) const
bool operator== (const this_type &rhs) const
size_t operator* (const this_type &rhs) const
const this_typeoperator= (const this_type &rhs)
size_t & x (void)
 ref access
size_t x (void) const
 ref access
size_t & y (void)
 ref access
size_t y (void) const
 ref access
size_t & z (void)
 ref access
size_t z (void) const
 ref access

Static Public Member Functions

static this_type steps (void)
 returns [0,1,2]

Detailed Description

class scopira::basekit::nindex< 3 >

a 3d coord (specialization)

Aleksander Demko

The documentation for this class was generated from the following file: