frame_t Namespace Reference


Functions

 frame_t ()
 frame_t (void *p)
 frame_t (const frame_t &frame)
 ~frame_t ()
const frame_toperator= (const frame_t &frame)
bool operator== (const frame_t &frame) const
bool operator!= (const frame_t &frame) const
uint32_t getSize () const
symbol_t getSymbol (int32_t n)
symbol_t operator[] (int32_t n)
const symbol_t operator[] (int32_t n) const
symbol_t addSymbol (string name, type_t type, void *user)
void add (symbol_t symbol)
 Add symbol.
void add (frame_t frame)
 Add all symbols in the given frame.
int32_t getIndexOf (string name) const
bool resolve (string name, symbol_t &symbol)
 Resolves the name in this frame or the parent frame and returns the corresponding symbol.
frame_t getParent () throw (NoParentException)
bool hasParent () const
frame_t createFrame ()
frame_t createFrame (const frame_t &parent)


Function Documentation

frame_t::frame_t (  ) 

frame_t::frame_t ( void *  p  ) 

frame_t::frame_t ( const frame_t frame  ) 

frame_t::~frame_t (  ) 

const frame_t& frame_t::operator= ( const frame_t frame  ) 

bool frame_t::operator== ( const frame_t frame  )  const

bool frame_t::operator!= ( const frame_t frame  )  const

uint32_t frame_t::getSize (  )  const

symbol_t frame_t::getSymbol ( int32_t  n  ) 

symbol_t frame_t::operator[] ( int32_t  n  ) 

const symbol_t frame_t::operator[] ( int32_t  n  )  const

symbol_t frame_t::addSymbol ( string  name,
type_t  type,
void *  user 
)

void frame_t::add ( symbol_t  symbol  ) 

Add symbol.

Notice that the symbol will be in two frames at the same time, but the symbol will only "point back" to the first frame it was added to.

void frame_t::add ( frame_t  frame  ) 

Add all symbols in the given frame.

Notice that the symbols will be in two frames at the same time, but the symbol will only "point back" to the first frame it was added to.

int32_t frame_t::getIndexOf ( string  name  )  const

bool frame_t::resolve ( string  name,
symbol_t symbol 
)

Resolves the name in this frame or the parent frame and returns the corresponding symbol.

frame_t frame_t::getParent (  )  throw (NoParentException)

bool frame_t::hasParent (  )  const

frame_t frame_t::createFrame (  ) 

frame_t frame_t::createFrame ( const frame_t parent  ) 


Generated on Thu Feb 22 14:46:52 2007 for libutap by  doxygen 1.4.7