cppTypedef.h 815 B

123456789101112131415161718192021222324252627282930313233
  1. // Filename: cppTypedef.h
  2. // Created by: drose (19Oct99)
  3. //
  4. ////////////////////////////////////////////////////////////////////
  5. #ifndef CPPTYPEDEF_H
  6. #define CPPTYPEDEF_H
  7. #include <dtoolbase.h>
  8. #include "cppInstance.h"
  9. ///////////////////////////////////////////////////////////////////
  10. // Class : CPPTypedef
  11. // Description :
  12. ////////////////////////////////////////////////////////////////////
  13. class CPPTypedef : public CPPInstance {
  14. public:
  15. CPPTypedef(CPPInstance *instance, bool global);
  16. virtual CPPDeclaration *substitute_decl(SubstDecl &subst,
  17. CPPScope *current_scope,
  18. CPPScope *global_scope);
  19. virtual void output(ostream &out, int indent_level, CPPScope *scope,
  20. bool complete) const;
  21. virtual SubType get_subtype() const;
  22. virtual CPPTypedef *as_typedef();
  23. };
  24. #endif