Scopira 20080306

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

#include <narray.h>

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

List of all members.

Public Member Functions

 nindex (size_t v=0)
 ctor (implicit)
void clear (size_t v=0)
 clear
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< 1 > shrink (void) const
 returns the same, but one less
bool operator< (const this_type &rhs) const
 comparison
bool operator== (const this_type &rhs) const
 equality
size_t operator* (const this_type &rhs) const
 mult
const this_typeoperator= (const this_type &rhs)
 assignment
size_t & x (void)
 ref access
size_t x (void) const
 ref access
void set (size_t _x)
 set

Static Public Member Functions

static this_type steps (void)
 returns [0]

Detailed Description

template<>
class scopira::basekit::nindex< 1 >

a 2d coord (specialization)

Author:
Aleksander Demko

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