K
Klaus
Hi all:
I want to have something like the following (incorrect!):
class Base {
public:
virtual void MakeSomething();
};
class BehaviourModelOne {
public:
void MakeSomething();
};
class BehaviourModelOne {
public:
void MakeSomething();
};
class AnyDerived: public Base , BehaviourModelOne {
};
The idea is, that I want to create subclasses which use some special
Funktions from ModelOne or ModelTwo and they could be used as normal
virtual functions.
But this is not allowed this way. Any idea how I can do this?
Additional problem is, that Base comes from an library which should
not changed!
Thanks
Klaus
I want to have something like the following (incorrect!):
class Base {
public:
virtual void MakeSomething();
};
class BehaviourModelOne {
public:
void MakeSomething();
};
class BehaviourModelOne {
public:
void MakeSomething();
};
class AnyDerived: public Base , BehaviourModelOne {
};
The idea is, that I want to create subclasses which use some special
Funktions from ModelOne or ModelTwo and they could be used as normal
virtual functions.
But this is not allowed this way. Any idea how I can do this?
Additional problem is, that Base comes from an library which should
not changed!
Thanks
Klaus