Parameter Class Reference

#include <include/signature.h>

List of all members.


Detailed Description

Definition at line 39 of file signature.h.

Public Member Functions

Parameter * clone ()
const char * getBoundMax ()
Exp * getExp ()
const char * getName ()
Type * getType ()
bool operator== (Parameter &other)
 Parameter (Type *type, const char *name, Exp *exp=NULL, const char *boundMax="")
void setBoundMax (const char *nam)
void setExp (Exp *e)
void setName (const char *nam)
void setType (Type *ty)
virtual ~Parameter ()

Protected Member Functions

 Parameter ()

Private Attributes

std::string boundMax
Exp * exp
std::string name
Type * type

Friends

class XMLProgParser


Constructor & Destructor Documentation

Parameter::Parameter (  Type *  type,
const char *  name,
Exp *  exp = NULL,
const char *  boundMax = ""
)  [inline]
 

Definition at line 47 of file signature.h.

virtual Parameter::~Parameter (   )  [inline, virtual]
 

Definition at line 49 of file signature.h.

References exp, and type.

Parameter::Parameter (   )  [inline, protected]
 

Definition at line 66 of file signature.h.

Referenced by clone().


Member Function Documentation

Parameter * Parameter::clone (   ) 
 

Definition at line 258 of file signature.cpp.

References boundMax, Exp::clone(), Type::clone(), exp, name, Parameter(), and type.

const char* Parameter::getBoundMax (   )  [inline]
 

Definition at line 61 of file signature.h.

References boundMax.

Referenced by Signature::addParameter().

Exp* Parameter::getExp (   )  [inline]
 

Definition at line 57 of file signature.h.

References exp.

Referenced by Signature::addParameter(), and Cfg::findImplicitParamAssign().

const char* Parameter::getName (   )  [inline]
 

Definition at line 55 of file signature.h.

References name.

Referenced by Signature::addParameter(), and Cfg::findImplicitParamAssign().

Type* Parameter::getType (   )  [inline]
 

Definition at line 53 of file signature.h.

References type.

Referenced by Signature::addParameter().

bool Parameter::operator== (  Parameter &  other  ) 
 

Definition at line 1691 of file signature.cpp.

References exp, name, and type.

void Parameter::setBoundMax (  const char *  nam  ) 
 

Definition at line 262 of file signature.cpp.

References boundMax, and hack.

void Parameter::setExp (  Exp *  e  )  [inline]
 

Definition at line 58 of file signature.h.

References exp.

void Parameter::setName (  const char *  nam  )  [inline]
 

Definition at line 56 of file signature.h.

References name.

void Parameter::setType (  Type *  ty  )  [inline]
 

Definition at line 54 of file signature.h.

References type.


Friends And Related Function Documentation

friend class XMLProgParser [friend]
 

Definition at line 65 of file signature.h.


Member Data Documentation

std::string Parameter::boundMax [private]
 

Definition at line 44 of file signature.h.

Referenced by clone(), getBoundMax(), and setBoundMax().

Exp* Parameter::exp [private]
 

Definition at line 43 of file signature.h.

Referenced by clone(), getExp(), operator==(), setExp(), and ~Parameter().

std::string Parameter::name [private]
 

Definition at line 42 of file signature.h.

Referenced by clone(), getName(), operator==(), and setName().

Type* Parameter::type [private]
 

Definition at line 41 of file signature.h.

Referenced by clone(), getType(), operator==(), setType(), and ~Parameter().


The documentation for this class was generated from the following files:
Generated on Tue Sep 19 21:18:44 2006 for Boomerang by  doxygen 1.4.6