Click here to Skip to main content
15,927,592 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralMemory Question.... Pin
Christian Graus20-Jun-02 1:16
protectorChristian Graus20-Jun-02 1:16 
GeneralRe: Memory Question.... Pin
Niklas L20-Jun-02 1:30
Niklas L20-Jun-02 1:30 
GeneralRe: Memory Question.... Pin
Christian Graus20-Jun-02 1:38
protectorChristian Graus20-Jun-02 1:38 
GeneralRe: Memory Question.... Pin
Niklas L20-Jun-02 1:42
Niklas L20-Jun-02 1:42 
GeneralRe: Memory Question.... Pin
jbarton20-Jun-02 10:47
jbarton20-Jun-02 10:47 
GeneralIGPEInformation and IGroupPolicyObject Pin
Andreas Saurwein20-Jun-02 1:05
Andreas Saurwein20-Jun-02 1:05 
GeneralFtpGetFile Pin
Brian Azzopardi20-Jun-02 0:29
Brian Azzopardi20-Jun-02 0:29 
QuestionWhat is a wrapper class?!! Pin
yeeeooowww19-Jun-02 23:54
yeeeooowww19-Jun-02 23:54 
Me and my friend were having a discussion abt when a class can be called a wrapper class..

eg:
Class CA
{
void SenttoPort(char * tstr);
}

Class CB: Class CA
{
void SendFrame(char Header, char Tail, char Body);
}
void CB::SendFrame(char Header, char Tail, char Body)
{
// format the header tail and body into one string
// temp = header + body+tail
Sendtoport(temp);
}

My doubt is , if a class (CB) is derived from another class (CA), and uses the member function of the parent class (CA), in a member function of its own which accepts different parameteres depending upon the problem domain,(as in the function SendFrame()), can we call the class (CB) as a Wrapper Class of class CA.

Please answer this question and if you can't understand the prob I face please define as to when we can call a class a wrapper of another class.


If you want a helping hand, you'll find one at the edof your arm.
AnswerRe: What is a wrapper class?!! Pin
benjymous20-Jun-02 0:29
benjymous20-Jun-02 0:29 
AnswerRe: What is a wrapper class?!! Pin
Christian Graus20-Jun-02 0:43
protectorChristian Graus20-Jun-02 0:43 
GeneralRe: What is a wrapper class?!! Pin
20-Jun-02 1:33
suss20-Jun-02 1:33 
GeneralRe: What is a wrapper class?!! Pin
Christian Graus20-Jun-02 3:07
protectorChristian Graus20-Jun-02 3:07 
AnswerRe: What is a wrapper class?!! Pin
Chris Losinger20-Jun-02 2:43
professionalChris Losinger20-Jun-02 2:43 
AnswerRe: What is a wrapper class?!! Pin
Joaquín M López Muñoz20-Jun-02 2:49
Joaquín M López Muñoz20-Jun-02 2:49 
GeneralRe: What is a wrapper class?!! Pin
yeeeooowww21-Jun-02 0:53
yeeeooowww21-Jun-02 0:53 
GeneralRe: What is a wrapper class?!! Pin
Joaquín M López Muñoz21-Jun-02 3:16
Joaquín M López Muñoz21-Jun-02 3:16 
GeneralCatching excel events inside DLL Pin
Zizilamoroso19-Jun-02 23:53
Zizilamoroso19-Jun-02 23:53 
GeneralRe: Catching excel events inside DLL Pin
Ramu Pulipati20-Jun-02 1:40
Ramu Pulipati20-Jun-02 1:40 
GeneralRe: Catching excel events inside DLL Pin
Zizilamoroso20-Jun-02 2:42
Zizilamoroso20-Jun-02 2:42 
Generalabout map ( STL ) Pin
Camel19-Jun-02 23:43
Camel19-Jun-02 23:43 
GeneralRe: about map ( STL ) Pin
Niklas L19-Jun-02 23:52
Niklas L19-Jun-02 23:52 
GeneralRe: about map ( STL ) Pin
Camel20-Jun-02 15:21
Camel20-Jun-02 15:21 
GeneralRe: about map ( STL ) Pin
20-Jun-02 3:10
suss20-Jun-02 3:10 
GeneralRe: about map ( STL ) Pin
Camel20-Jun-02 15:22
Camel20-Jun-02 15:22 
Questionhow do I derive a class from a template class? Pin
Klaus Petersen19-Jun-02 23:20
Klaus Petersen19-Jun-02 23:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.