impulse::Frame Class Reference

A Frame is a container for storing Symbol to Value references. More...

#include <frame.h>

Inherited by impulse::Array, impulse::Assign, impulse::Express, impulse::Expression, impulse::Float, impulse::Lobby, impulse::Message, impulse::Method< T >, impulse::Nil, impulse::Object, impulse::parser::Lexer, impulse::parser::Parser, impulse::parser::Token, impulse::Socket, impulse::Stream, impulse::String, impulse::Symbol, and impulse::Test.

List of all members.

Public Member Functions

void * operator new (size_t size)
 Frame (Frame *proto=NULL)
virtual ~Frame ()
Value getSlot (Symbol &symbol)
Value setSlot (Symbol &symbol, Value value)
virtual Value eval (Array &args, Value self)
Value send (Symbol &selector, Array &args)
Value send (Symbol &selector, Array &args, Value self)
virtual void initSlots ()
map< Symbol *, Value > & slots ()
Frame *& proto ()
virtual string inspect ()

Friends

class Value


Detailed Description

A Frame is a container for storing Symbol to Value references.

It includes methods for evaluating, sending messages, proto lookup, inspection and garbage collection.


Constructor & Destructor Documentation

impulse::Frame::Frame ( Frame proto = NULL  )  [inline]

impulse::Frame::~Frame (  )  [virtual]


Member Function Documentation

void * impulse::Frame::operator new ( size_t  size  )  [inline]

Value impulse::Frame::getSlot ( Symbol symbol  )  [inline]

Value impulse::Frame::setSlot ( Symbol symbol,
Value  value 
) [inline]

Value impulse::Frame::eval ( Array args,
Value  self 
) [virtual]

Value impulse::Frame::send ( Symbol selector,
Array args 
) [inline]

Value impulse::Frame::send ( Symbol selector,
Array args,
Value  self 
) [inline]

virtual void impulse::Frame::initSlots (  )  [inline, virtual]

map<Symbol*, Value>& impulse::Frame::slots (  )  [inline]

Frame*& impulse::Frame::proto (  )  [inline]

string impulse::Frame::inspect (  )  [virtual]


Friends And Related Function Documentation

friend class Value [friend]


The documentation for this class was generated from the following files:

Generated on Wed May 13 20:04:19 2009 for impulse by  doxygen 1.5.8