xorp

Push Class Reference

Push operation. More...

#include <instruction.hh>

Inheritance diagram for Push:
NONCOPYABLE Instruction

List of all members.

Public Member Functions

 Push (Element *e)
 Element is owned by Push.
 INSTR_VISITABLE ()
const Elementelem () const

Private Attributes

Element_elem

Detailed Description

Push operation.

Pushes a single element on the stack.

The Push instruction owns the element.


Constructor & Destructor Documentation

Push::Push ( Element e) [inline]

Element is owned by Push.

Caller must not delete element.

Parameters:
eelement associated with push.

Member Function Documentation

const Element& Push::elem ( ) const [inline]
Returns:
element associated with push.

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations