Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

cbl::codetree::def::TRangeDef Class Reference

#include <defrange.h>

Inheritance diagram for cbl::codetree::def::TRangeDef:

cbl::codetree::def::TDef cbl::codetree::TElement cbl::codetree::def::TEnumDef cbl::codetree::def::TEnumRangeDef List of all members.

Public Types

enum   TBaseType {
  btAuto, btEnum, btVoid, btBool8,
  btBool16, btBool32, btChar8, btChar16,
  btUInt8, btInt8, btUInt16, btInt16,
  btUInt32, btInt32, btUInt64, btInt64
}

Public Methods

  TRangeDef (const TRangeDef &)
  ~TRangeDef ()
virtual unsigned  size () const
TBaseType  baseType () const
bool  isInteger () const
bool  isChar () const
bool  isBoolean () const
void  min (crosspl::int64)
crosspl::int64  min () const
void  max (crosspl::int64)
crosspl::int64  max () const
virtual void  accept (TDefVisitor &)
virtual TRangeDef *  clone () const

Protected Methods

void  baseType (TBaseType ABaseType)
  TRangeDef (symbols::TModuleSym *AOwner, crosspl::int64 AMin, crosspl::int64 AMax, TBaseType ABaseType=btAuto)
  TRangeDef (symbols::TModuleSym *AOwner, TBaseType ABaseType)

Friends

class  symbols::TModuleSym

Member Enumeration Documentation

enum cbl::codetree::def::TRangeDef::TBaseType
 

Enumeration values:
btAuto 
btEnum 
btVoid 
btBool8 
btBool16 
btBool32 
btChar8 
btChar16 
btUInt8 
btInt8 
btUInt16 
btInt16 
btUInt32 
btInt32 
btUInt64 
btInt64 

Definition at line 23 of file defrange.h.

00023                    {
00024         btAuto, btEnum, btVoid,
00025         btBool8, btBool16, btBool32,
00026         btChar8, btChar16,
00027         btUInt8, btInt8,
00028         btUInt16, btInt16,
00029         btUInt32, btInt32,
00030         btUInt64, btInt64
00031     };

Constructor & Destructor Documentation

cbl::codetree::def::TRangeDef::TRangeDef symbols::TModuleSym   AOwner,
crosspl::int64    AMin,
crosspl::int64    AMax,
TBaseType    ABaseType = btAuto
[protected]
 

cbl::codetree::def::TRangeDef::TRangeDef symbols::TModuleSym   AOwner,
TBaseType    ABaseType
[protected]
 

cbl::codetree::def::TRangeDef::TRangeDef const TRangeDef &   
 

cbl::codetree::def::TRangeDef::~TRangeDef  
 


Member Function Documentation

virtual void cbl::codetree::def::TRangeDef::accept TDefVisitor &    [virtual]
 

Implements cbl::codetree::def::TDef.

Reimplemented in cbl::codetree::def::TEnumDef.

TBaseType cbl::codetree::def::TRangeDef::baseType   const
 

void cbl::codetree::def::TRangeDef::baseType TBaseType    ABaseType [protected]
 

virtual TRangeDef* cbl::codetree::def::TRangeDef::clone   const [virtual]
 

Implements cbl::codetree::def::TDef.

Reimplemented in cbl::codetree::def::TEnumDef.

bool cbl::codetree::def::TRangeDef::isBoolean   const
 

bool cbl::codetree::def::TRangeDef::isChar   const
 

bool cbl::codetree::def::TRangeDef::isInteger   const
 

crosspl::int64 cbl::codetree::def::TRangeDef::max   const
 

void cbl::codetree::def::TRangeDef::max crosspl::int64   
 

crosspl::int64 cbl::codetree::def::TRangeDef::min   const
 

void cbl::codetree::def::TRangeDef::min crosspl::int64   
 

virtual unsigned cbl::codetree::def::TRangeDef::size   const [virtual]
 

Implements cbl::codetree::def::TDef.

Reimplemented in cbl::codetree::def::TEnumDef.


Friends And Related Function Documentation

friend class symbols::TModuleSym [friend]
 

Reimplemented in cbl::codetree::def::TEnumDef.

Definition at line 46 of file defrange.h.


The documentation for this class was generated from the following file:
Generated on Sat Apr 6 19:07:26 2002 for Compiler Backend Library by doxygen1.2.14 written by , © 1997-2002