Terminology

From: al (allin_at_168.net)
Date: 12/22/03

  • Next message: Phlip: "Re: Terminology"
    Date: Mon, 22 Dec 2003 19:19:37 GMT
    
    

    In C++, any class having at least one pure virtual function makes itself an
    Abstract Base Class.

    If an Abstract Base Class has only pure virtual functions, neither data
    member nor non-virtual function, is there a term for it in C++? "interface
    base classes"?

    If an Abstract Base Class has pure virtual functions and non-virtual
    functions, but no data member, is there a term for it?

    If an Abstract Base Class has pure virtual functions and data members, but
    no non-virtual function, is there a term for it?

    What is exactly an Interface in C++?

    What makes an Interface differ from an Abstract Base Class?

    Thank you very much!


  • Next message: Phlip: "Re: Terminology"

    Relevant Pages

    • Re: Terminology
      ... > If an Abstract Base Class has only pure virtual functions, ... > functions, but no data member, is there a term for it? ... > What makes an Interface differ from an Abstract Base Class? ...
      (comp.object)
    • Re: Terminology
      ... > If an Abstract Base Class has only pure virtual functions, ... The language doesn't support the notion of Interfaces directly, ... > What makes an Interface differ from an Abstract Base Class? ...
      (comp.object)
    • Re: Adding abstract class...
      ... >> Strictly speaking this is not correct, an abstract base class by definition ... an "abstract base class" is separate ...
      (comp.object)
    • Re: Concrete class
      ... Kutty Banerjee wrote in message ... > abstract class with ALL pure virtual functions. ... > above philosophy then it means that your Shape is an interface. ... of doing this is to keep the inheritance hierarchy at a low depths" is ...
      (comp.lang.cpp)
    • Re: Adding abstract class...
      ... > former consists only pure virtual functions but no member of data and ... In Java, an interface only consists of pure virtual functions and constants, ... general principles. ...
      (comp.object)