base-class
Can I have a base class where each derived class has its own copy of a static property?
I have something like the following situation below: class Base { public static int x; public int myMethod()[详细]
2023-02-12 09:45 分类:问答Property page for custom Directshow filter
I managed to create a custom DirectShow transform filter, register it, and export it in a DLL. It now works properly in both GraphEdit and a C++ test program. My next goal is to create a custom interf[详细]
2023-02-11 11:58 分类:问答C++ STL container for template base class
I am attempting to store objects derived from a templated base class in an STL map.However, attempting to insert derived (or indeed base) objects returns:[详细]
2023-02-08 17:56 分类:问答Remove field from a subclass of base abstract class Django
I am creating an application which needs a commenting system. I decided to use the comment app of Django, but needed to alter it a bit. First I do not want the user\'s email id to be mandatory and nex[详细]
2023-02-07 20:15 分类:问答Tracing instantiation in a base class
Currently I trace number of instances of a base class this way: private static int _instanceCount = 0;[详细]
2023-02-06 07:05 分类:问答c++ casting base class to derived class mess
If I were to create a base class called base and derived classes called derived_1, derived_2 etc... I use 开发者_如何学Ca collection of instances of the base class, then when I retrieved an element an[详细]
2023-02-03 16:40 分类:问答Interface + Baseclass - What pattern is this?
I have defined an interface that is implemented by a base class. This base class provides basic functionalities. Now I have multiple implementations that implement the base class and expand these func[详细]
2023-02-03 14:51 分类:问答How to overload and call a method in a derived class which was previously defined in its base class?
This is the base class: template <class T> class DataLogger { // ... public: void AddData(T Data); // ...[详细]
2023-02-03 01:40 分类:问答Strange error c2660 "function does not take 1 arguments"
My base class has this function LRESULT CBaseClass::OnTestFunction(WPARAM id, LPARAM=0) { ... } Wh开发者_StackOverflow中文版en the derived class calls this function[详细]
2023-01-30 17:37 分类:问答Define a property of a base class (ascx) in a custom UserControl, and instanciate a child class in the aspx
I defined 3 custom usercontrols like that : public partial abstract class MyAbstractControl : Usercontrol{[详细]
2023-01-30 10:04 分类:问答
加载中,请稍侯......