Unit Class Reference

#include <Folder.h>

Inheritance diagram for Unit:

DCUnit List of all members.

Public Member Functions

 Unit (const uint32 _id)
void print_extern_unk (Console &o, const uint32 isize) const
void print_unk (Console &o, const uint32 isize) const
void print_asm (Console &o) const
void print_bin (ODequeDataSource &o) const

Public Attributes

std::string name
uint32 id
std::set< DCCallNode * > externFuncs
std::set< DCCallNode * > externIntrinsics
std::deque< DCFuncNode * > functions

Detailed Description

Definition at line 33 of file Folder.h.


Constructor & Destructor Documentation

Unit::Unit ( const uint32  _id  )  [inline]

Definition at line 36 of file Folder.h.


Member Function Documentation

void Unit::print_asm ( Console o  )  const

Definition at line 76 of file Folder.cpp.

References functions, and Console::Putchar().

Referenced by DCUnit::fold(), and print_assert().

void Unit::print_bin ( ODequeDataSource o  )  const

Definition at line 85 of file Folder.cpp.

References ODequeDataSource::buf(), ODequeDataSource::clear(), con, functions, Console::Printf(), and Console::Putchar().

void Unit::print_extern_unk ( Console o,
const uint32  isize 
) const

Definition at line 35 of file Folder.cpp.

References externFuncs, externIntrinsics, indent(), Console::Print(), and Console::Putchar().

Referenced by DCUnit::fold().

void Unit::print_unk ( Console o,
const uint32  isize 
) const

Definition at line 57 of file Folder.cpp.

References functions, indent(), and Console::Print().

Referenced by DCUnit::fold(), and print_assert().


Member Data Documentation

std::set<DCCallNode *> Unit::externFuncs

Definition at line 46 of file Folder.h.

Referenced by print_extern_unk(), and DCUnit::registerExternFunc().

std::set<DCCallNode *> Unit::externIntrinsics

Definition at line 47 of file Folder.h.

Referenced by print_extern_unk(), and DCUnit::registerExternIntrinsic().

std::deque<DCFuncNode *> Unit::functions

Definition at line 48 of file Folder.h.

Referenced by DCUnit::fold(), print_asm(), print_assert(), print_bin(), and print_unk().

uint32 Unit::id

Definition at line 44 of file Folder.h.

Referenced by Folder::SelectUnit().

std::string Unit::name

Definition at line 43 of file Folder.h.

Referenced by DCUnit::setClassName().


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