#include <sparse-array-node.hpp>
Inheritance diagram for sparseArrayNode:
Definition at line 58 of file sparse-array-node.hpp.
Public Member Functions | |
sparseArrayNode () | |
sparseArrayNode (int row, int column) | |
sparseArrayNode * | getRight () |
void | setRight (sparseArrayNode *) |
sparseArrayNode * | getDown () |
void | setDown (sparseArrayNode *) |
int | getColumn () |
void | setColumn (int) |
int | getRow () |
void | setRow (int) |
sparseArrayNode::sparseArrayNode | ( | ) |
int sparseArrayNode::getColumn | ( | ) |
Return the column value for this node.
Definition at line 63 of file sparse-array-node.cpp.
Referenced by sparseArray::add(), sparseArray::addAt(), and subsector::addParsec().
Here is the caller graph for this function:
sparseArrayNode * sparseArrayNode::getDown | ( | ) |
No, we aren't asking the computer to get funky. This is to get the pointer to the node "below" this node in the sparse array.
Definition at line 79 of file sparse-array-node.cpp.
Referenced by sparseArray::addAt(), and sparseArray::findAt().
Here is the caller graph for this function:
sparseArrayNode * sparseArrayNode::getRight | ( | ) |
Returns a pointer to the node to the "right" of the current node. Null if there isn't one.
Definition at line 87 of file sparse-array-node.cpp.
int sparseArrayNode::getRow | ( | ) |
Get the value for the row of this node.
Definition at line 71 of file sparse-array-node.cpp.
Referenced by sparseArray::add(), sparseArray::addAt(), subsector::addParsec(), parsec::asText(), and sparseArray::findAt().
Here is the caller graph for this function:
void sparseArrayNode::setColumn | ( | int | ) |
set the value for the column for this node.
integer | value to set the column to. |
Definition at line 59 of file sparse-array-node.cpp.
Referenced by sparseArray::addAt().
Here is the caller graph for this function:
void sparseArrayNode::setDown | ( | sparseArrayNode * | ) |
Set the array "down" from this node to the value passed.
pointer | to a sparseArrayNode that will be put "below" this one. |
Definition at line 75 of file sparse-array-node.cpp.
Referenced by sparseArray::addAt().
Here is the caller graph for this function:
void sparseArrayNode::setRight | ( | sparseArrayNode * | ) |
Sets the value of the sparseArrayNode node to the "right" of the current node within the sparse array.
pointer | to a sparseArrayNode |
Definition at line 83 of file sparse-array-node.cpp.
void sparseArrayNode::setRow | ( | int | ) |
Set the value of the row fro this node.
integer | value of the row for this node. |
Definition at line 67 of file sparse-array-node.cpp.
Referenced by sparseArray::addAt().
Here is the caller graph for this function: