View Single Post
  #4 (permalink)  
Old 09-22-2007, 03:14 AM
vijayanand vijayanand is offline
D-Web Analyst
 
Join Date: Feb 2007
Posts: 293
vijayanand is on a distinguished road
Default Re: Differennt types of class

Protocol class

An abstract class is a protocol class if:
  • it neither contains nor inherits from classes that contain member data, non-virtual functions, or private (or protected) members of any kind.
  • it has a non-inline virtual destructor defined with an empty implementation,
  • all member functions other than the destructor including inherited functions, are declared pure virtual functions and left undefined
__________________

J.Vijayanand
Reply With Quote