home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 10 / ioProg_10.iso / soft / optima / hpp.z / MMREFITM.HPP < prev    next >
Encoding:
C/C++ Source or Header  |  1996-03-26  |  1020 b   |  36 lines

  1. #ifndef _MMREFITM_HPP
  2. #define _MMREFITM_HPP
  3.  
  4. #include "mmcommon.hpp"
  5. #include "mmcomp.hpp"
  6. #include "mmprop.hpp"
  7. #include "mmstyle.hpp"
  8. #include "mmmethod.hpp"
  9.  
  10. class METACLASSDEF MMReferenceNode : public MMCommon {
  11.     public:
  12.         enum RefKind {
  13.             RK_None,
  14.             RK_Component,
  15.             RK_Method,
  16.             RK_Style,
  17.             RK_Property,
  18.         };
  19.  
  20.     public:
  21.         MMReferenceNode( const MMReferenceNodeData * ref );
  22.         MMReferenceNode() {}
  23.  
  24.         virtual const MMReferenceNode * GetChild() const;
  25.         virtual const MMReferenceNode * GetSibling() const;
  26.         virtual WBool                   GetIsLeaf() const;
  27.         virtual RefKind                 GetKind() const;
  28.  
  29.         virtual const MMComponent *     GetComponent() const;
  30.         virtual const MMMethod *        GetMethod() const;
  31.         virtual const MMStyle *         GetStyle() const;
  32.         virtual const MMProperty *      GetProperty() const;
  33. };
  34.  
  35. #endif // _MMREFITM_HPP
  36.