Hi,
I want to know how to make a C++ wrapper class.
Ex. Plugin.hpp
if i have coded for Plugin.h and Plugin.cpp

Re: How to make a C++ wrapper class? 80 80

Are you saying you want your code inside your header file?
...or something else?

Re: How to make a C++ wrapper class? 80 80

A wrapper class is any class which "wraps" or "encapsulates" the functionality of another class or component. These are useful by providing a level of abstraction from the implementation of the underlying class or component; for example, wrapper classes that wrap COM components can manage the process of invoking the COM component without bothering the calling code with it. They can also simplify the use of the underlying object by reducing the number interface points involved; frequently, this makes for more secure use of underlying components.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.