Satsuma
a delicious .NET graph library
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Pages
Public Member Functions | Static Public Member Functions | Properties | List of all members
Satsuma.Node Struct Reference

Represents a graph node, consisting of a wrapped Id. More...

Inheritance diagram for Satsuma.Node:

Public Member Functions

bool Equals (Node other)
 
override bool Equals (object obj)
 
override int GetHashCode ()
 
 Node (long id)
 Creates a Node which has the supplied id. More...
 
override string ToString ()
 

Static Public Member Functions

static bool operator!= (Node a, Node b)
 
static bool operator== (Node a, Node b)
 

Properties

long Id [get, set]
 The integer which uniquely identifies the node within its containing graph. More...
 
static Node Invalid [get]
 A special node value, denoting an invalid node. More...
 

Detailed Description

Represents a graph node, consisting of a wrapped Id.

Definition at line 31 of file Graph.cs.

Constructor & Destructor Documentation

Satsuma.Node.Node ( long  id)

Creates a Node which has the supplied id.

Definition at line 38 of file Graph.cs.

Member Function Documentation

bool Satsuma.Node.Equals ( Node  other)

Definition at line 51 of file Graph.cs.

override bool Satsuma.Node.Equals ( object  obj)

Definition at line 56 of file Graph.cs.

override int Satsuma.Node.GetHashCode ( )

Definition at line 62 of file Graph.cs.

static bool Satsuma.Node.operator!= ( Node  a,
Node  b 
)
static

Definition at line 77 of file Graph.cs.

static bool Satsuma.Node.operator== ( Node  a,
Node  b 
)
static

Definition at line 72 of file Graph.cs.

override string Satsuma.Node.ToString ( )

Definition at line 67 of file Graph.cs.

Property Documentation

long Satsuma.Node.Id
getset

The integer which uniquely identifies the node within its containing graph.

Note
Nodes belonging to different graph objects may have the same Id.

Definition at line 35 of file Graph.cs.

Node Satsuma.Node.Invalid
staticget

A special node value, denoting an invalid node.

This is the default value for the Node type.

Definition at line 47 of file Graph.cs.


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