cppUsing.h 795 B

12345678910111213141516171819202122232425262728293031323334
  1. // Filename: cppUsing.h
  2. // Created by: drose (16Nov99)
  3. //
  4. ////////////////////////////////////////////////////////////////////
  5. #ifndef CPPUSING_H
  6. #define CPPUSING_H
  7. #include <dtoolbase.h>
  8. #include "cppDeclaration.h"
  9. class CPPIdentifier;
  10. class CPPScope;
  11. ///////////////////////////////////////////////////////////////////
  12. // Class : CPPUsing
  13. // Description :
  14. ////////////////////////////////////////////////////////////////////
  15. class CPPUsing : public CPPDeclaration {
  16. public:
  17. CPPUsing(CPPIdentifier *ident, bool full_namespace, const CPPFile &file);
  18. virtual void output(ostream &out, int indent_level, CPPScope *scope,
  19. bool complete) const;
  20. virtual SubType get_subtype() const;
  21. virtual CPPUsing *as_using();
  22. CPPIdentifier *_ident;
  23. bool _full_namespace;
  24. };
  25. #endif