InstructionArgs Class Reference

#include <InstructionArgs.h>

List of all members.

Public Member Functions

 InstructionArgs (const vector< RegisterReference * > o)
 InstructionArgs (const vector< RegisterReference * > o, TProgramCounter p)
const TProgramCounter getPC ()
const vector< RegisterReference * > & getOperands ()
const RegisterReferenceoperator[] (int i)

Private Attributes

vector< RegisterReference * > operands
TProgramCounter pc
bool pcSet


Detailed Description

Definition at line 40 of file InstructionArgs.h.


Constructor & Destructor Documentation

InstructionArgs::InstructionArgs ( const vector< RegisterReference * >  o  )  [inline, explicit]

Definition at line 44 of file InstructionArgs.h.

00045         : operands(o),
00046           pcSet(false)
00047     {
00048     }

InstructionArgs::InstructionArgs ( const vector< RegisterReference * >  o,
TProgramCounter  p 
) [inline, explicit]

Definition at line 51 of file InstructionArgs.h.

00054         : operands(o),
00055           pc(p),
00056           pcSet(true)
00057     {
00058     }


Member Function Documentation

const TProgramCounter InstructionArgs::getPC (  )  [inline]

Definition at line 61 of file InstructionArgs.h.

00062     {
00063         assert(pcSet);
00064         return pc;
00065     }

const vector<RegisterReference*>& InstructionArgs::getOperands (  )  [inline]

Definition at line 68 of file InstructionArgs.h.

00069     {
00070         return operands;
00071     }

const RegisterReference* InstructionArgs::operator[] ( int  i  )  [inline]

Definition at line 74 of file InstructionArgs.h.

00075     {
00076         return operands[i];
00077     }


Member Data Documentation

vector<RegisterReference*> InstructionArgs::operands [private]

Definition at line 80 of file InstructionArgs.h.

TProgramCounter InstructionArgs::pc [private]

Definition at line 81 of file InstructionArgs.h.

bool InstructionArgs::pcSet [private]

Definition at line 82 of file InstructionArgs.h.


The documentation for this class was generated from the following file:
Generated on Mon Jun 22 04:00:32 2009 for Fennel by  doxygen 1.5.1