LoopNode Class Reference

#include <LoopScriptNodes.h>

Inheritance diagram for LoopNode:

ColNode Node PrintHelperNode List of all members.

Public Member Functions

 LoopNode ()
 LoopNode (const uint32 opcode, const uint32 offset, const uint32 newCurrObj, const uint32 newStrSize, const uint32 newSearchType)
 ~LoopNode ()
void print_unk (Console &o, const uint32 isize) const
void print_asm (Console &o) const
void print_bin (ODequeDataSource &o) const
bool fold (DCUnit *unit, std::deque< Node * > &nodes)

Private Attributes

uint32 currObj
uint32 strSize
uint32 searchType

Detailed Description

Definition at line 50 of file LoopScriptNodes.h.


Constructor & Destructor Documentation

LoopNode::LoopNode (  )  [inline]

Definition at line 53 of file LoopScriptNodes.h.

LoopNode::LoopNode ( const uint32  opcode,
const uint32  offset,
const uint32  newCurrObj,
const uint32  newStrSize,
const uint32  newSearchType 
) [inline]

Definition at line 54 of file LoopScriptNodes.h.

References acceptOp().

LoopNode::~LoopNode (  )  [inline]

Definition at line 59 of file LoopScriptNodes.h.


Member Function Documentation

bool LoopNode::fold ( DCUnit unit,
std::deque< Node * > &  nodes 
) [virtual]

Implements Node.

Definition at line 66 of file LoopScriptNodes.cpp.

References acceptOp(), Node::fold_linenum(), Node::grab(), and ColNode::pnode.

void LoopNode::print_asm ( Console o  )  const [virtual]

Reimplemented from Node.

Definition at line 103 of file LoopScriptNodes.cpp.

References currObj, ColNode::pnode, Node::print_asm(), suc::print_bp(), Node::print_linenum_asm(), Console::Printf(), Console::Putchar(), searchType, and strSize.

void LoopNode::print_bin ( ODequeDataSource o  )  const [virtual]

Implements Node.

Definition at line 114 of file LoopScriptNodes.cpp.

References currObj, ColNode::pnode, Node::print_linenum_bin(), searchType, strSize, and ODequeDataSource::write1().

void LoopNode::print_unk ( Console o,
const uint32  isize 
) const [virtual]

Implements Node.

Definition at line 91 of file LoopScriptNodes.cpp.

References currObj, ColNode::pnode, Console::Print(), suc::print_bp(), Node::print_linenum_unk(), Console::Printf(), Console::Putchar(), and searchType.


Member Data Documentation

uint32 LoopNode::currObj [private]

Definition at line 70 of file LoopScriptNodes.h.

Referenced by print_asm(), print_bin(), and print_unk().

uint32 LoopNode::searchType [private]

Definition at line 72 of file LoopScriptNodes.h.

Referenced by print_asm(), print_bin(), and print_unk().

uint32 LoopNode::strSize [private]

Definition at line 71 of file LoopScriptNodes.h.

Referenced by print_asm(), and print_bin().


The documentation for this class was generated from the following files:
Generated on Fri Jul 27 22:29:31 2007 for pentagram by  doxygen 1.4.7