FuncMutatorNode Class Reference

#include <FuncNodes.h>

Inheritance diagram for FuncMutatorNode:

Node PrintHelperNode List of all members.

Public Member Functions

 FuncMutatorNode (const uint32 opcode, const uint32 offset, const uint32 newValue1)
 FuncMutatorNode (const uint32 opcode, const uint32 offset, const uint32 newSymbolOffset, const std::string &newClassName)
 FuncMutatorNode (const uint32 opcode, const uint32 offset)
 ~FuncMutatorNode ()
void print_unk (Console &o, const uint32 isize, const bool comment) const
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)
uint32 a_initsize () const

Protected Types

 RET
 INIT
 LINE_NUMBER
 SYMBOL_INFO
 SUSPEND
 END
enum  mutatortype {
  RET, INIT, LINE_NUMBER, SYMBOL_INFO,
  SUSPEND, END
}

Protected Attributes

enum FuncMutatorNode::mutatortype mtype

Private Attributes

uint32 _initsize
uint32 _linenum
uint32 _symboloffset
std::string _classname

Detailed Description

Definition at line 29 of file FuncNodes.h.


Member Enumeration Documentation

enum FuncMutatorNode::mutatortype [protected]

Enumerator:
RET 
INIT 
LINE_NUMBER 
SYMBOL_INFO 
SUSPEND 
END 

Definition at line 73 of file FuncNodes.h.


Constructor & Destructor Documentation

FuncMutatorNode::FuncMutatorNode ( const uint32  opcode,
const uint32  offset,
const uint32  newValue1 
) [inline]

Definition at line 32 of file FuncNodes.h.

References acceptOp(), INIT, LINE_NUMBER, and mtype.

FuncMutatorNode::FuncMutatorNode ( const uint32  opcode,
const uint32  offset,
const uint32  newSymbolOffset,
const std::string &  newClassName 
) [inline]

Definition at line 44 of file FuncNodes.h.

References acceptOp(), mtype, and SYMBOL_INFO.

FuncMutatorNode::FuncMutatorNode ( const uint32  opcode,
const uint32  offset 
) [inline]

Definition at line 52 of file FuncNodes.h.

References acceptOp(), END, mtype, RET, and SUSPEND.

FuncMutatorNode::~FuncMutatorNode (  )  [inline]

Definition at line 64 of file FuncNodes.h.


Member Function Documentation

uint32 FuncMutatorNode::a_initsize (  )  const [inline]

Definition at line 82 of file FuncNodes.h.

References _initsize, INIT, mtype, and Node::opcode().

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

Implements Node.

Definition at line 101 of file FuncNodes.cpp.

References _classname, _symboloffset, END, Node::fold_linenum(), mtype, print_assert(), DCUnit::setClassName(), DCUnit::setDebugOffset(), and SYMBOL_INFO.

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

Reimplemented from Node.

Definition at line 66 of file FuncNodes.cpp.

References _classname, _linenum, _symboloffset, END, INIT, LINE_NUMBER, mtype, Node::print_asm(), print_assert(), Node::print_linenum_asm(), Console::Printf(), RET, Node::rtype(), SUSPEND, SYMBOL_INFO, and Type::T_INVALID.

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

Implements Node.

Definition at line 85 of file FuncNodes.cpp.

References _classname, _linenum, Node::_offset, _symboloffset, END, INIT, LINE_NUMBER, mtype, print_assert(), Node::print_linenum_bin(), RET, Node::rtype(), SUSPEND, SYMBOL_INFO, Type::T_INVALID, ODequeDataSource::write(), ODequeDataSource::write1(), and ODequeDataSource::write2().

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

Implements Node.

Definition at line 67 of file FuncNodes.h.

References print_unk().

void FuncMutatorNode::print_unk ( Console o,
const uint32  isize,
const bool  comment 
) const

Definition at line 34 of file FuncNodes.cpp.

References _classname, _linenum, _symboloffset, END, INIT, LINE_NUMBER, mtype, print_assert(), Node::print_linenum_unk(), Console::Printf(), RET, Node::rtype(), SUSPEND, SYMBOL_INFO, and Type::T_INVALID.

Referenced by print_unk().


Member Data Documentation

std::string FuncMutatorNode::_classname [private]

Definition at line 79 of file FuncNodes.h.

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

uint32 FuncMutatorNode::_initsize [private]

Definition at line 76 of file FuncNodes.h.

Referenced by a_initsize().

uint32 FuncMutatorNode::_linenum [private]

Definition at line 77 of file FuncNodes.h.

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

uint32 FuncMutatorNode::_symboloffset [private]

Definition at line 78 of file FuncNodes.h.

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

enum FuncMutatorNode::mutatortype FuncMutatorNode::mtype [protected]

Referenced by a_initsize(), fold(), FuncMutatorNode(), print_asm(), print_bin(), and print_unk().


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