Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

FCSDebugStack Class Reference

Debug representation of a stack of card.

#include <FCDebugState.h>

List of all members.

Public Member Functions

 FCSDebugStack ()
 Constructor.
int Compare (FCSDebugStack *Stack)
 Compare a stack to another.

Public Attributes

int m_NumberOfCards
 Number of cards in the stack.
FCSDebugCard m_Cards [MAX_NUM_CARDS_IN_A_STACK]
 Cards in the stack.


Detailed Description

Definition at line 99 of file FCDebugState.h.


Member Function Documentation

int FCSDebugStack::Compare FCSDebugStack Stack  ) 
 

Parameters:
Stack to be compared to
Returns:
-1 if this stack < Stack, 1 if stack > Stack, 0 if stack = Stack

Definition at line 85 of file FCDebugState.cpp.

References m_Cards, and m_NumberOfCards.


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 11:20:17 2005 for Cpp Freecell Solver by  doxygen 1.4.4