Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Dasher::CDasherNode Class Reference

#include </home/clem/local/src/opie/inputmethods/dasher/DasherNode.h>

Inheritance diagram for Dasher::CDasherNode:

Inheritance graph
[legend]
Collaboration diagram for Dasher::CDasherNode:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CDasherNode (CDasherNode *parent, symbol Symbol, unsigned int igroup, int iphase, Opts::ColorSchemes ColorScheme, int ilbnd, int ihbnd, CLanguageModel *lm, int Colour)
 ~CDasherNode ()
CDasherNode **const Children () const
unsigned int Lbnd () const
bool Alive ()
bool Control ()
void Kill ()
unsigned int Hbnd () const
unsigned int Group () const
unsigned int Age () const
symbol Symbol () const
unsigned int Chars () const
int Phase () const
Opts::ColorSchemes Cscheme () const
int Colour () const
CDasherNode *const Get_node_under (int, myint y1, myint y2, myint smousex, myint smousey)
void Get_string_under (const int, const myint y1, const myint y2, const myint smousex, const myint smousey, std::vector< symbol > &) const
void Generic_Push_Node (CLanguageModel::CNodeContext *context)
void Push_Node ()
void Push_Node (CLanguageModel::CNodeContext *context)
void Delete_children ()
void Dump_node () const

Public Attributes

bool m_bForce

Private Attributes

const unsigned int m_iLbnd
const unsigned int m_iHbnd
const unsigned int m_iGroup
unsigned int m_iChars
unsigned int m_iAge
bool m_bAlive
bool m_bControlNode
bool m_bControlChild
Opts::ColorSchemes m_ColorScheme
int m_iPhase
int m_iColour
const symbol m_Symbol
CLanguageModelm_languagemodel
CDasherNode ** m_Children
CDasherNodem_parent
CLanguageModel::CNodeContextm_context

Constructor & Destructor Documentation

CDasherNode::CDasherNode CDasherNode parent,
symbol  Symbol,
unsigned int  igroup,
int  iphase,
Opts::ColorSchemes  ColorScheme,
int  ilbnd,
int  ihbnd,
CLanguageModel lm,
int  Colour
[inline]
 

Definition at line 77 of file DasherNode.h.

Referenced by Generic_Push_Node().

CDasherNode::~CDasherNode  )  [inline]
 

Definition at line 132 of file DasherNode.h.

References Delete_children(), m_context, m_languagemodel, and Dasher::CLanguageModel::ReleaseNodeContext().


Member Function Documentation

unsigned int Dasher::CDasherNode::Age  )  const [inline]
 

Definition at line 52 of file DasherNode.h.

References m_iAge.

bool Dasher::CDasherNode::Alive  )  [inline]
 

Definition at line 47 of file DasherNode.h.

References m_bAlive.

unsigned int Dasher::CDasherNode::Chars  )  const [inline]
 

Definition at line 54 of file DasherNode.h.

References m_iChars.

CDasherNode** const Dasher::CDasherNode::Children  )  const [inline]
 

Definition at line 45 of file DasherNode.h.

References m_Children.

Referenced by Dasher::CDasherViewSquare::CheckForNewRoot(), Dasher::CDasherModel::Make_root(), and Dasher::CDasherView::RenderGroups().

int Dasher::CDasherNode::Colour  )  const [inline]
 

Definition at line 57 of file DasherNode.h.

References m_iColour.

Referenced by Dasher::CDasherView::RecursiveRender().

bool Dasher::CDasherNode::Control  )  [inline]
 

Definition at line 48 of file DasherNode.h.

References m_bControlChild.

Opts::ColorSchemes Dasher::CDasherNode::Cscheme  )  const [inline]
 

Definition at line 56 of file DasherNode.h.

References m_ColorScheme.

Referenced by Dasher::CDasherView::RecursiveRender().

void CDasherNode::Delete_children  )  [inline]
 

Definition at line 118 of file DasherNode.h.

References i, m_Children, and m_iChars.

Referenced by ~CDasherNode().

void CDasherNode::Dump_node  )  const
 

Definition at line 16 of file DasherNode.cpp.

Referenced by Dasher::CDasherModel::Dump().

void CDasherNode::Generic_Push_Node CLanguageModel::CNodeContext context  ) 
 

Definition at line 35 of file DasherNode.cpp.

References CDasherNode(), Dasher::CLanguageModel::EnterNodeSymbol(), Dasher::CLanguageModel::GetColour(), Dasher::CLanguageModel::GetNodeProbs(), i, m_bAlive, m_Children, m_ColorScheme, m_context, m_iAge, m_iChars, m_languagemodel, m_Symbol, Dasher::Opts::Nodes1, Dasher::Opts::Nodes2, Dasher::Opts::Special1, and Dasher::Opts::Special2.

Referenced by Push_Node().

CDasherNode *const CDasherNode::Get_node_under int  ,
myint  y1,
myint  y2,
myint  smousex,
myint  smousey
 

Definition at line 150 of file DasherNode.cpp.

References m_bAlive, m_iAge, and m_iChars.

Referenced by Dasher::CDasherModel::Get_node_under_crosshair(), and Dasher::CDasherModel::Get_node_under_mouse().

void Dasher::CDasherNode::Get_string_under const   int,
const myint  y1,
const myint  y2,
const myint  smousex,
const myint  smousey,
std::vector< symbol > & 
const
 

Referenced by Dasher::CDasherModel::Get_string_under_mouse().

unsigned int Dasher::CDasherNode::Group  )  const [inline]
 

Definition at line 51 of file DasherNode.h.

References m_iGroup.

Referenced by Dasher::CDasherView::RenderGroups().

unsigned int Dasher::CDasherNode::Hbnd  )  const [inline]
 

Definition at line 50 of file DasherNode.h.

References m_iHbnd.

Referenced by Dasher::CDasherViewSquare::CheckForNewRoot(), Dasher::CDasherModel::Make_root(), and Dasher::CDasherView::RecursiveRender().

void Dasher::CDasherNode::Kill  )  [inline]
 

Definition at line 49 of file DasherNode.h.

References m_bAlive, and m_iAge.

unsigned int Dasher::CDasherNode::Lbnd  )  const [inline]
 

Definition at line 46 of file DasherNode.h.

References m_iLbnd.

Referenced by Dasher::CDasherViewSquare::CheckForNewRoot(), Dasher::CDasherModel::Make_root(), Dasher::CDasherView::RecursiveRender(), and Dasher::CDasherView::RenderGroups().

int Dasher::CDasherNode::Phase  )  const [inline]
 

Definition at line 55 of file DasherNode.h.

References m_iPhase.

Referenced by Dasher::CDasherView::RecursiveRender().

void CDasherNode::Push_Node CLanguageModel::CNodeContext context  ) 
 

Definition at line 76 of file DasherNode.cpp.

References Dasher::CLanguageModel::CloneNodeContext(), Generic_Push_Node(), i, m_bAlive, m_Children, m_context, m_iAge, m_iChars, and m_languagemodel.

void CDasherNode::Push_Node  ) 
 

Definition at line 100 of file DasherNode.cpp.

References Dasher::CLanguageModel::CloneNodeContext(), Generic_Push_Node(), Dasher::CLanguageModel::GetRootNodeContext(), i, m_bAlive, m_Children, m_context, m_iAge, m_iChars, m_languagemodel, and m_parent.

Referenced by Dasher::CDasherModel::Start(), and Dasher::CDasherModel::Tap_on_display().

symbol Dasher::CDasherNode::Symbol  )  const [inline]
 

Definition at line 53 of file DasherNode.h.

References m_Symbol.

Referenced by Dasher::CDasherViewSquare::CheckForNewRoot(), Dasher::CDasherModel::Make_root(), and Dasher::CDasherView::RecursiveRender().


Member Data Documentation

bool Dasher::CDasherNode::m_bAlive [private]
 

Definition at line 25 of file DasherNode.h.

Referenced by Alive(), Generic_Push_Node(), Get_node_under(), Kill(), and Push_Node().

bool Dasher::CDasherNode::m_bControlChild [private]
 

Definition at line 27 of file DasherNode.h.

Referenced by Control().

bool Dasher::CDasherNode::m_bControlNode [private]
 

Definition at line 26 of file DasherNode.h.

bool Dasher::CDasherNode::m_bForce
 

Definition at line 42 of file DasherNode.h.

Referenced by Dasher::CDasherView::RecursiveRender().

CDasherNode** Dasher::CDasherNode::m_Children [private]
 

Definition at line 35 of file DasherNode.h.

Referenced by Children(), Delete_children(), Generic_Push_Node(), and Push_Node().

Opts::ColorSchemes Dasher::CDasherNode::m_ColorScheme [private]
 

Definition at line 29 of file DasherNode.h.

Referenced by Cscheme(), and Generic_Push_Node().

CLanguageModel::CNodeContext* Dasher::CDasherNode::m_context [private]
 

Definition at line 37 of file DasherNode.h.

Referenced by Generic_Push_Node(), Push_Node(), and ~CDasherNode().

unsigned int Dasher::CDasherNode::m_iAge [private]
 

Definition at line 24 of file DasherNode.h.

Referenced by Age(), Generic_Push_Node(), Get_node_under(), Kill(), and Push_Node().

unsigned int Dasher::CDasherNode::m_iChars [private]
 

Definition at line 24 of file DasherNode.h.

Referenced by Chars(), Delete_children(), Generic_Push_Node(), Get_node_under(), and Push_Node().

int Dasher::CDasherNode::m_iColour [private]
 

Definition at line 31 of file DasherNode.h.

Referenced by Colour().

const unsigned int Dasher::CDasherNode::m_iGroup [private]
 

Definition at line 23 of file DasherNode.h.

Referenced by Group().

const unsigned int Dasher::CDasherNode::m_iHbnd [private]
 

Definition at line 22 of file DasherNode.h.

Referenced by Hbnd().

const unsigned int Dasher::CDasherNode::m_iLbnd [private]
 

Definition at line 22 of file DasherNode.h.

Referenced by Lbnd().

int Dasher::CDasherNode::m_iPhase [private]
 

Definition at line 30 of file DasherNode.h.

Referenced by Phase().

CLanguageModel* Dasher::CDasherNode::m_languagemodel [private]
 

Definition at line 34 of file DasherNode.h.

Referenced by Generic_Push_Node(), Push_Node(), and ~CDasherNode().

CDasherNode* Dasher::CDasherNode::m_parent [private]
 

Definition at line 36 of file DasherNode.h.

Referenced by Push_Node().

const symbol Dasher::CDasherNode::m_Symbol [private]
 

Definition at line 33 of file DasherNode.h.

Referenced by Generic_Push_Node(), and Symbol().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:58:33 2005 for OPIE by  doxygen 1.4.2