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

element.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: element_8h-source.html,v 1.1 2002/07/18 14:58:45 cparpart Exp $
00006 //
00007 //  Copyright (c) 2000-2002 SurakWare Corp.
00008 //
00010 #ifndef sw_cbl_codetree_element_h
00011 #define sw_cbl_codetree_element_h
00012 
00013 #include 
00014 #include 
00015 
00016 namespace cbl {
00017 namespace codetree {
00018 
00019 namespace symbols {
00020     class TModuleSym;
00021 }
00022 
00023 // class TElement : public swl::TComponent {
00024 class TElement : public swl::TObject {
00025 private:
00026     TElement *FOwnerComponent;
00027 
00028     // to be moved to swl::TComponent
00029     std::deque *FComponents;
00030     // end
00031 
00032 protected:
00033     TElement(symbols::TModuleSym *AOwnerModule);
00034     TElement(const TElement& AElement);
00035     ~TElement();
00036 
00037 public:
00038     // to be moved to swl::TComponent
00039     void registerComponent(TElement *AComponent);
00040     void unregisterComponent(TElement *AComponent);
00041 
00042     void ownerComponent(TElement *AOwner);
00043     TElement *ownerComponent();
00044     const TElement *ownerComponent() const;
00045     // end
00046 
00047     void ownerModule(symbols::TModuleSym *AOwnerModule);// to be removed!
00048     symbols::TModuleSym *ownerModule();
00049     const symbols::TModuleSym *ownerModule() const;
00050 };
00051 
00052 } // namespace codetree
00053 } // namespace cbl
00054 
00055 #endif
00056 

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