What is a protocol class?
Page 1 of 1
What is a protocol class?
An abstract class is a protocol class if:
1.it neither contains nor inherits from classes that contain member data, non-virtual functions, or private (or protected) members of any kind.
2.it has a non-inline virtual destructor defined with an empty implementation
3.all member functions other than the destructor including inherited functions, are declared pure virtual functions and left undefined.
1.it neither contains nor inherits from classes that contain member data, non-virtual functions, or private (or protected) members of any kind.
2.it has a non-inline virtual destructor defined with an empty implementation
3.all member functions other than the destructor including inherited functions, are declared pure virtual functions and left undefined.
Similar topics
» What is an adaptor class or Wrapper class?
» Differentiate between a template class and class template.
» What is a mixin class?
» What is a concrete class?
» What is the handle class?
» Differentiate between a template class and class template.
» What is a mixin class?
» What is a concrete class?
» What is the handle class?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum