// Filename: cppClassTemplateParameter.h // Created by: drose (28Oct99) // //////////////////////////////////////////////////////////////////// #ifndef CPPCLASSTEMPLATEPARAMETER_H #define CPPCLASSTEMPLATEPARAMETER_H #include #include "cppType.h" class CPPIdentifier; /////////////////////////////////////////////////////////////////// // Class : CPPClassTemplateParameter // Description : //////////////////////////////////////////////////////////////////// class CPPClassTemplateParameter : public CPPType { public: CPPClassTemplateParameter(CPPIdentifier *ident, CPPType *default_type = NULL); virtual bool is_fully_specified() const; virtual void output(ostream &out, int indent_level, CPPScope *scope, bool complete) const; virtual SubType get_subtype() const; virtual CPPClassTemplateParameter *as_class_template_parameter(); CPPIdentifier *_ident; CPPType *_default_type; protected: virtual bool is_equal(const CPPDeclaration *other) const; virtual bool is_less(const CPPDeclaration *other) const; }; #endif