Global Class Reference

#include <include/prog.h>

List of all members.

Detailed Description

Definition at line 42 of file prog.h.

Public Member Functions

ADDRESS getAddress ()
ExpgetInitialValue (Prog *prog)
const char * getName ()
TypegetType ()
 Global (Type *type, ADDRESS uaddr, const char *nam)
void meetType (Type *ty)
void print (std::ostream &os, Prog *prog)
void setType (Type *ty)
virtual ~Global ()

Protected Member Functions

 Global ()

Private Attributes

std::string nam


class XMLProgParser

Constructor & Destructor Documentation

Global::Global Type type,
ADDRESS  uaddr,
const char *  nam

Definition at line 49 of file prog.h.

Global::~Global  )  [virtual]

Definition at line 1666 of file prog.cpp.

Global::Global  )  [inline, protected]

Definition at line 62 of file prog.h.

Member Function Documentation

ADDRESS Global::getAddress  )  [inline]

Definition at line 55 of file prog.h.

References uaddr.

Exp * Global::getInitialValue Prog prog  ) 

Definition at line 1670 of file prog.cpp.

References Prog::getSectionInfoByAddr(), SectionInfo::isAddressBss(), NULL, Prog::readNativeAs(), type, and uaddr.

Referenced by print().

const char* Global::getName  )  [inline]

Definition at line 56 of file prog.h.

References nam.

Type* Global::getType  )  [inline]

Definition at line 52 of file prog.h.

References type.

void Global::meetType Type ty  ) 

Definition at line 1797 of file prog.cpp.

References Type::meetWith(), and type.

void Global::print std::ostream &  os,
Prog prog

Definition at line 1682 of file prog.cpp.

References getInitialValue(), Exp::prints(), type, and uaddr.

void Global::setType Type ty  )  [inline]

Definition at line 53 of file prog.h.

References type.

Friends And Related Function Documentation

friend class XMLProgParser [friend]

Definition at line 63 of file prog.h.

Member Data Documentation

std::string Global::nam [private]

Definition at line 46 of file prog.h.

Referenced by getName(), and XMLProgParser::persistToXML().

Type* Global::type [private]

Definition at line 44 of file prog.h.

Referenced by getInitialValue(), getType(), meetType(), XMLProgParser::persistToXML(), print(), and setType().

ADDRESS Global::uaddr [private]

Definition at line 45 of file prog.h.

Referenced by getAddress(), getInitialValue(), XMLProgParser::persistToXML(), and print().

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