FloatType Class Reference

#include <include/type.h>

Inheritance diagram for FloatType:

Type List of all members.

Detailed Description

Definition at line 308 of file type.h.

Public Member Functions

virtual Type * clone () const
 FloatType (int sz=64)
virtual const char * getCtype (bool final=false) const
virtual unsigned getSize () const
virtual std::string getTempName () const
virtual bool isCompatible (Type *other, bool all)
virtual bool isFloat () const
virtual Exp * match (Type *pattern)
virtual Type * meetWith (Type *other, bool &ch, bool bHighestPtr)
virtual bool operator< (const Type &other) const
virtual bool operator== (const Type &other) const
virtual void setSize (int sz)
virtual ~FloatType ()

Private Attributes

unsigned size

Friends

class XMLProgParser


Constructor & Destructor Documentation

FloatType::FloatType (  int  sz = 64  ) 
 

Definition at line 46 of file typeStubs.cpp.

FloatType::~FloatType (   )  [virtual]
 

Definition at line 47 of file typeStubs.cpp.


Member Function Documentation

Type * FloatType::clone (   )  const [virtual]
 

Implements Type.

Definition at line 48 of file typeStubs.cpp.

References NULL.

const char * FloatType::getCtype (  bool  final = false  )  const [virtual]
 

Implements Type.

Definition at line 797 of file type.cpp.

unsigned FloatType::getSize (   )  const [virtual]
 

Implements Type.

Definition at line 51 of file typeStubs.cpp.

std::string FloatType::getTempName (   )  const [virtual]
 

Reimplemented from Type.

Definition at line 53 of file typeStubs.cpp.

bool FloatType::isCompatible (  Type *  other,
bool  all
)  [virtual]
 

Implements Type.

Definition at line 1354 of file dfa.cpp.

References Type::isCompatibleWith(), Type::resolvesToArray(), Type::resolvesToFloat(), Type::resolvesToUnion(), Type::resolvesToVoid(), and size.

virtual bool FloatType::isFloat (   )  const [inline, virtual]
 

Reimplemented from Type.

Definition at line 315 of file type.h.

Exp * FloatType::match (  Type *  pattern  )  [virtual]
 

Reimplemented from Type.

Definition at line 665 of file type.cpp.

References Type::match().

Type * FloatType::meetWith (  Type *  other,
bool &  ch,
bool  bHighestPtr
)  [virtual]
 

Implements Type.

Definition at line 422 of file dfa.cpp.

References Type::asFloat(), max(), Type::resolvesToFloat(), Type::resolvesToVoid(), and size.

bool FloatType::operator< (  const Type &  other  )  const [virtual]
 

Implements Type.

Definition at line 50 of file typeStubs.cpp.

bool FloatType::operator== (  const Type &  other  )  const [virtual]
 

Implements Type.

Definition at line 49 of file typeStubs.cpp.

virtual void FloatType::setSize (  int  sz  )  [inline, virtual]
 

Reimplemented from Type.

Definition at line 325 of file type.h.

References size.


Friends And Related Function Documentation

friend class XMLProgParser [friend]
 

Reimplemented from Type.

Definition at line 335 of file type.h.


Member Data Documentation

unsigned FloatType::size [private]
 

Definition at line 310 of file type.h.

Referenced by isCompatible(), meetWith(), XMLProgParser::persistToXML(), and setSize().


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