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

defenumrange.h

Go to the documentation of this file.
00001 
00002 //
00003 //  Borland C++ 5.5, GNU C++ 3.0
00004 //  Compiler Backend Library
00005 //  $Id: defenumrange_8h-source.html,v 1.1 2002/07/18 14:58:45 cparpart Exp $
00006 //
00007 //  Copyright (c) 2000-2001 SurakWare Corp.
00008 //
00010 #ifndef sw_cbl_codetree_defenumrange_h
00011 #define sw_cbl_codetree_defenumrange_h
00012 
00013 #include <cbl/codetree/defrange.h>
00014 
00015 #include 
00016 
00017 namespace cbl {
00018 namespace codetree {
00019 namespace def {
00020 
00021 class TEnumDef;
00022 
00023 // TEnumRangeDef
00024 class TEnumRangeDef : public TRangeDef {
00025 private:
00026     TEnumDef *FBaseEnum;
00027 
00028 protected:
00029     TEnumRangeDef(symbols::TModuleSym *AOwner, TEnumDef *ABaseEnum, 
00030         crosspl::int64 AMin, crosspl::int64 AMax);
00031 
00032     friend class symbols::TModuleSym;
00033 
00034 public:
00035     // baseEnum
00036     const TEnumDef *baseEnum() const;
00037     void baseEnum(TEnumDef *);
00038 
00039     // visitor pattern
00040     virtual void accept(TDefVisitor&);
00041 
00042     // object cloning
00043     virtual TEnumRangeDef *clone() const;
00044 };
00045 
00046 } // namespace def
00047 } // namespace codetree
00048 } // namespace cbl
00049 
00050 #endif

Generated on Sat Apr 6 19:07:25 2002 for Compiler Backend Library by doxygen1.2.14 written by , © 1997-2002