SizeType Class Reference

#include <include/type.h>

Inheritance diagram for SizeType:

Type List of all members.

Detailed Description

Definition at line 590 of file type.h.

Public Member Functions

virtual Typeclone () const
virtual const char * getCtype (bool final=false) const
virtual unsigned getSize () const
virtual bool isCompatible (Type *other, bool all)
virtual bool isComplete ()
virtual bool isSize () const
virtual TypemeetWith (Type *other, bool &ch, bool bHighestPtr)
virtual TypemergeWith (Type *other)
virtual bool operator< (const Type &other) const
virtual bool operator== (const Type &other) const
virtual void setSize (unsigned sz)
 SizeType (unsigned sz)
 SizeType ()
virtual ~SizeType ()

Private Attributes

unsigned size

Friends

class XMLProgParser


Constructor & Destructor Documentation

SizeType::SizeType  )  [inline]
 

Definition at line 594 of file type.h.

Referenced by clone().

SizeType::SizeType unsigned  sz  )  [inline]
 

Definition at line 595 of file type.h.

virtual SizeType::~SizeType  )  [inline, virtual]
 

Definition at line 596 of file type.h.


Member Function Documentation

Type * SizeType::clone  )  const [virtual]
 

Implements Type.

Definition at line 238 of file type.cpp.

References size, and SizeType().

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

Implements Type.

Definition at line 860 of file type.cpp.

unsigned SizeType::getSize  )  const [virtual]
 

Implements Type.

Definition at line 300 of file type.cpp.

References size.

bool SizeType::isCompatible Type other,
bool  all
[virtual]
 

Implements Type.

Definition at line 1332 of file dfa.cpp.

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

virtual bool SizeType::isComplete  )  [inline, virtual]
 

Reimplemented from Type.

Definition at line 606 of file type.h.

virtual bool SizeType::isSize  )  const [inline, virtual]
 

Reimplemented from Type.

Definition at line 605 of file type.h.

Type * SizeType::meetWith Type other,
bool &  ch,
bool  bHighestPtr
[virtual]
 

Implements Type.

Definition at line 621 of file dfa.cpp.

References LOG, max(), Type::resolvesToSize(), Type::resolvesToVoid(), and size.

Referenced by DfaTest::testMeetSize().

Type * SizeType::mergeWith Type other  )  [virtual]
 

Reimplemented from Type.

Definition at line 1156 of file type.cpp.

References Type::clone(), and Type::setSize().

bool SizeType::operator< const Type other  )  const [virtual]
 

Implements Type.

Definition at line 622 of file type.cpp.

References Type::getId().

bool SizeType::operator== const Type other  )  const [virtual]
 

Implements Type.

Definition at line 504 of file type.cpp.

References Type::isSize(), and size.

virtual void SizeType::setSize unsigned  sz  )  [inline, virtual]
 

Definition at line 604 of file type.h.

References size.


Friends And Related Function Documentation

friend class XMLProgParser [friend]
 

Reimplemented from Type.

Definition at line 611 of file type.h.


Member Data Documentation

unsigned SizeType::size [private]
 

Definition at line 592 of file type.h.

Referenced by clone(), getSize(), isCompatible(), meetWith(), operator==(), and setSize().


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