AccessObject Class Reference

#include <AccessObject.hh>

Inheritance diagram for AccessObject:

Inheritance graph
[legend]
Collaboration diagram for AccessObject:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 AccessObject (const AccessTypeInfo &initTypeInfo)
 AccessObject (const AccessObject &)
 ~AccessObject ()
const string & getDataType () const
void serialize (SerializedInstance *) const
AccessObjectoperator= (const AccessObject &)
AccessObjectoperator= (const string &newVal)
void print (ostream &os) const
 Virtualized printing.
virtual Value length (const RValue &=UniversalInteger(1)) const
void advance (int amount)
int getIntValue () const
LONG getInt64Value () const
double getDoubleValue () const
void setVal (const string &)
const string & getVal ()
bool operator== (const RValue &compareTo) const
bool operator!= (const RValue &compareTo) const
bool operator> (const RValue &compareTo) const
bool operator>= (const RValue &compareTo) const
bool operator< (const RValue &compareTo) const
bool operator<= (const RValue &compareTo) const
void printstr (ostream &os)
bool eatwhite ()
 Eats whitespace starting at currentPos.
void append (const string &)
void reset ()
const RValuereadVal () const
RValuereadVal ()
void updateVal (const RValue &newValue)
RValueoperator= (const RValue &)
RValueclone () const
 Clone this object.
string toString () const
 Get a string representation of the value.
bool isCompositeType () const
 Does this value have a composite type?
bool isScalarType () const
 Does this value have a scalar type?
bool isPhysicalType () const
 Does this value have a physical type?
const RValueoperator[] (int) const
 Array access operators, should only be called on array typed RValues.
RValueoperator[] (int)
const RValueoperator[] (const RValue &) const
RValueoperator[] (const RValue &)
Value getSlice (const ScalarTypeInfo &sliceSpecifier) const
RValuegetField (int) const
 Get the field at the index.
RValuegetField (int)
 Get the field at the index.
const RValuegetField (const RValue &) const
 Get the field found at the index passed in.
RValuegetField (const RValue &)
 Get the field found at the index passed in.
const string & getUnit () const
 Get the unit string for a PhysicalLiteral.
LONG getValue () const
 Returns the value portion of a physical type.
int getUnits () const
 Returns the units portion of a physical type.
const TypeInfogetTypeInfo () const
 Get the TypeInfo for this RValue.
const EnumerationLiteralvhdlEqual (const RValue &) const
 Relational Operators.
const EnumerationLiteralvhdlNotEqual (const RValue &) const
const EnumerationLiteralvhdlGreaterThan (const RValue &) const
const EnumerationLiteralvhdlGreaterThanEqual (const RValue &) const
const EnumerationLiteralvhdlLessThan (const RValue &) const
const EnumerationLiteralvhdlLessThanEqual (const RValue &) const
Value vhdlConcatenate (const RValue &) const
 Concatenate the argument with "this" and return the result.
RValueall ()
 Methods support access types.
const RValueall () const
Value vhdlPlus (const RValue &) const
 Arithmetic Operators.
Value vhdlMinus (const RValue &) const
Value vhdlMultiply (const RValue &) const
Value vhdlDivide (const RValue &) const
Value vhdlMod (const RValue &) const
Value vhdlRem (const RValue &) const
Value vhdlPow (const RValue &) const
SignalNetinfoaddToFanOut (VHDLKernel *)
 SignalNetinfo stuff.
SignalNetinfoaddChild (SignalNetinfo &, VHDLKernel *)

Static Public Member Functions

static const string & getAccessObjectType ()

Private Member Functions

void die () const

Private Attributes

const AccessTypeInfomyTypeInfo
int curPos
RValueval

Constructor & Destructor Documentation

AccessObject::AccessObject const AccessTypeInfo initTypeInfo  ) 
 

AccessObject::AccessObject const AccessObject  ) 
 

AccessObject::~AccessObject  ) 
 


Member Function Documentation

SignalNetinfo& AccessObject::addChild SignalNetinfo ,
VHDLKernel
[virtual]
 

Implements LValue.

SignalNetinfo& AccessObject::addToFanOut VHDLKernel  )  [virtual]
 

SignalNetinfo stuff.

Implements LValue.

void AccessObject::advance int  amount  )  [inline]
 

const RValue& AccessObject::all  )  const [virtual]
 

Implements RValue.

RValue& AccessObject::all  )  [virtual]
 

Methods support access types.

Implements RValue.

void AccessObject::append const string &   )  [inline]
 

RValue* AccessObject::clone  )  const [virtual]
 

Clone this object.

Implements RValue.

void AccessObject::die  )  const [private]
 

bool AccessObject::eatwhite  )  [inline]
 

Eats whitespace starting at currentPos.

Returns true if we're still inside the string at the end, false otherwhise.

static const string& AccessObject::getAccessObjectType  )  [inline, static]
 

const string& AccessObject::getDataType  )  const [inline]
 

double AccessObject::getDoubleValue  )  const [inline, virtual]
 

Implements RValue.

RValue& AccessObject::getField const RValue  )  [virtual]
 

Get the field found at the index passed in.

Generates a runtime error if the index does not exist.

Implements RValue.

const RValue& AccessObject::getField const RValue  )  const [virtual]
 

Get the field found at the index passed in.

Generates a runtime error if the index does not exist.

Implements RValue.

RValue& AccessObject::getField int   )  [virtual]
 

Get the field at the index.

Only for composite types unless the index is 0.

Implements RValue.

RValue& AccessObject::getField int   )  const [virtual]
 

Get the field at the index.

Only for composite types unless the index is 0.

Implements RValue.

LONG AccessObject::getInt64Value  )  const [inline, virtual]
 

Implements RValue.

int AccessObject::getIntValue  )  const [inline, virtual]
 

Implements RValue.

Value AccessObject::getSlice const ScalarTypeInfo sliceSpecifier  )  const [virtual]
 

Implements RValue.

const TypeInfo& AccessObject::getTypeInfo  )  const [virtual]
 

Get the TypeInfo for this RValue.

Implements RValue.

const string& AccessObject::getUnit  )  const [virtual]
 

Get the unit string for a PhysicalLiteral.

If it's not a PhysicalLiteral, will return "";

Implements RValue.

int AccessObject::getUnits  )  const [virtual]
 

Returns the units portion of a physical type.

Has to be applied to the typeInfo to get full unit information.

Implements RValue.

const string& AccessObject::getVal  )  [inline]
 

LONG AccessObject::getValue  )  const [virtual]
 

Returns the value portion of a physical type.

Implements RValue.

bool AccessObject::isCompositeType  )  const [virtual]
 

Does this value have a composite type?

Implements RValue.

bool AccessObject::isPhysicalType  )  const [virtual]
 

Does this value have a physical type?

Implements RValue.

bool AccessObject::isScalarType  )  const [virtual]
 

Does this value have a scalar type?

Implements RValue.

virtual Value AccessObject::length const RValue = UniversalInteger(1)  )  const [inline, virtual]
 

Implements RValue.

bool AccessObject::operator!= const RValue compareTo  )  const [inline, virtual]
 

Implements RValue.

bool AccessObject::operator< const RValue compareTo  )  const [inline, virtual]
 

Implements RValue.

bool AccessObject::operator<= const RValue compareTo  )  const [inline, virtual]
 

Implements RValue.

RValue& AccessObject::operator= const RValue  )  [virtual]
 

Implements RValue.

AccessObject& AccessObject::operator= const string &  newVal  ) 
 

AccessObject& AccessObject::operator= const AccessObject  ) 
 

bool AccessObject::operator== const RValue compareTo  )  const [inline, virtual]
 

Implements RValue.

bool AccessObject::operator> const RValue compareTo  )  const [inline, virtual]
 

Implements RValue.

bool AccessObject::operator>= const RValue compareTo  )  const [inline, virtual]
 

Implements RValue.

RValue& AccessObject::operator[] const RValue  )  [virtual]
 

Implements RValue.

const RValue& AccessObject::operator[] const RValue  )  const [virtual]
 

Implements RValue.

RValue& AccessObject::operator[] int   )  [virtual]
 

Implements RValue.

const RValue& AccessObject::operator[] int   )  const [virtual]
 

Array access operators, should only be called on array typed RValues.

Implements RValue.

void AccessObject::print ostream &  os  )  const [virtual]
 

Virtualized printing.

Implements RValue.

void AccessObject::printstr ostream &  os  )  [inline]
 

RValue& AccessObject::readVal  )  [virtual]
 

Implements LValue.

const RValue& AccessObject::readVal  )  const [virtual]
 

Implements RValue.

void AccessObject::reset  ) 
 

void AccessObject::serialize SerializedInstance *   )  const [inline]
 

void AccessObject::setVal const string &   )  [inline]
 

string AccessObject::toString  )  const [virtual]
 

Get a string representation of the value.

Implements RValue.

void AccessObject::updateVal const RValue newValue  )  [virtual]
 

Implements LValue.

Value AccessObject::vhdlConcatenate const RValue  )  const [virtual]
 

Concatenate the argument with "this" and return the result.

Implements RValue.

Value AccessObject::vhdlDivide const RValue  )  const [virtual]
 

Implements RValue.

const EnumerationLiteral& AccessObject::vhdlEqual const RValue  )  const [virtual]
 

Relational Operators.

Implements RValue.

const EnumerationLiteral& AccessObject::vhdlGreaterThan const RValue  )  const [virtual]
 

Implements RValue.

const EnumerationLiteral& AccessObject::vhdlGreaterThanEqual const RValue  )  const [virtual]
 

Implements RValue.

const EnumerationLiteral& AccessObject::vhdlLessThan const RValue  )  const [virtual]
 

Implements RValue.

const EnumerationLiteral& AccessObject::vhdlLessThanEqual const RValue  )  const [virtual]
 

Implements RValue.

Value AccessObject::vhdlMinus const RValue  )  const [virtual]
 

Implements RValue.

Value AccessObject::vhdlMod const RValue  )  const [virtual]
 

Implements RValue.

Value AccessObject::vhdlMultiply const RValue  )  const [virtual]
 

Implements RValue.

const EnumerationLiteral& AccessObject::vhdlNotEqual const RValue  )  const [virtual]
 

Implements RValue.

Value AccessObject::vhdlPlus const RValue  )  const [virtual]
 

Arithmetic Operators.

Implements RValue.

Value AccessObject::vhdlPow const RValue  )  const [virtual]
 

Implements RValue.

Value AccessObject::vhdlRem const RValue  )  const [virtual]
 

Implements RValue.


Member Data Documentation

int AccessObject::curPos [private]
 

const AccessTypeInfo* AccessObject::myTypeInfo [private]
 

RValue* AccessObject::val [private]
 


The documentation for this class was generated from the following file:
Generated on Fri Mar 31 11:12:03 2006 for Tyvis by  doxygen 1.4.6