Public Member Functions | Private Attributes
isam::SparseVectorIter Class Reference

#include <SparseVector.h>

List of all members.

Public Member Functions

int get () const
int get (double &val) const
double get_val () const
void next ()
 SparseVectorIter (const SparseVector &sv)
bool valid () const

Private Attributes

int index
const SparseVectors

Detailed Description

Definition at line 199 of file SparseVector.h.


Constructor & Destructor Documentation

Iterator for SparseVector.

Parameters:
svSparseVector.

Definition at line 207 of file SparseVector.h.


Member Function Documentation

int isam::SparseVectorIter::get ( ) const [inline]

Get current element index.

Returns:
Current element index.

Definition at line 221 of file SparseVector.h.

int isam::SparseVectorIter::get ( double &  val) const [inline]

Get current element index and value.

Parameters:
valCurrent element value returned.
Returns:
Current element index.

Definition at line 232 of file SparseVector.h.

double isam::SparseVectorIter::get_val ( ) const [inline]

Get current element value.

Returns:
Current element value returned.

Definition at line 242 of file SparseVector.h.

void isam::SparseVectorIter::next ( ) [inline]

Go to next element.

Definition at line 250 of file SparseVector.h.

bool isam::SparseVectorIter::valid ( ) const [inline]

Check if current element valid, ie. if we have not reached the end yet.

Returns:
True if we still have a valid entry.

Definition at line 213 of file SparseVector.h.


Member Data Documentation

Definition at line 201 of file SparseVector.h.

Definition at line 200 of file SparseVector.h.


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


demo_rgbd
Author(s): Ji Zhang
autogenerated on Sun Oct 5 2014 23:25:12