We're a community of 1076K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,075,831 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

How to make a C++ wrapper class?

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

3
Contributors
2
Replies
5 Hours
Discussion Span
1 Year Ago
Last Updated
3
Views
sumit3gupta
Newbie Poster
4 posts since Jun 2010
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

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

thines01
Postaholic
Team Colleague
2,433 posts since Oct 2009
Reputation Points: 447
Solved Threads: 408
Skill Endorsements: 7

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.

Mr_Null_andVoid
Newbie Poster
8 posts since Dec 2011
Reputation Points: 10
Solved Threads: 5
Skill Endorsements: 0

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
 
© 2013 DaniWeb® LLC
Page rendered in 0.0590 seconds using 2.65MB