The C++ framework for developing highly scalable, high performance servers on Windows platforms.

DeclareSimpleDerivedClass.h File Reference


Defines

#define DECLARE_DERIVED_CLASS(_Derived, _Base)   class _Derived : public _Base {}
#define DECLARE_DERIVED_CLASS_SINGLE_ARG_CTOR(_Derived, _ArgType, _Base)
#define DECLARE_DERIVED_CLASS_SINGLE_ARG_AND_DEFAULT_CTOR(_Derived, _ArgType, _Base)
#define DECLARE_DERIVED_CLASS_SINGLE_ARG_AND_TWO_ARG_CTORS(_Derived, _Arg1of1Type, _Arg1of2Type, _Arg2of2Type, _Base)
#define DECLARE_DERIVED_TEMPLATE_CLASS_1(_Derived, _Args, _Base)   template <typename _Args> class _Derived : public _Base<_Args> {}


Define Documentation

#define DECLARE_DERIVED_CLASS ( _Derived,
_Base   )     class _Derived : public _Base {}

#define DECLARE_DERIVED_CLASS_SINGLE_ARG_AND_DEFAULT_CTOR ( _Derived,
_ArgType,
_Base   ) 

Value:

class _Derived : public _Base       \
{                                   \
   public :                         \
                                    \
      _Derived() = default;         \
                                    \
      explicit _Derived(            \
         _ArgType arg)              \
         :  _Base(                  \
               arg)                 \
      {                             \
      }                             \
}

#define DECLARE_DERIVED_CLASS_SINGLE_ARG_AND_TWO_ARG_CTORS ( _Derived,
_Arg1of1Type,
_Arg1of2Type,
_Arg2of2Type,
_Base   ) 

Value:

class _Derived : public _Base       \
{                                   \
   public :                         \
                                    \
      explicit _Derived(            \
         _Arg1of1Type arg)          \
         :  _Base(                  \
               arg)                 \
      {                             \
      }                             \
                                    \
      explicit _Derived(            \
         _Arg1of2Type arg1,         \
         _Arg2of2Type arg2)         \
         :  _Base(                  \
               arg1,                \
               arg2)                \
      {                             \
      }                             \
}

#define DECLARE_DERIVED_CLASS_SINGLE_ARG_CTOR ( _Derived,
_ArgType,
_Base   ) 

Value:

class _Derived : public _Base       \
{                                   \
   public :                         \
                                    \
      explicit _Derived(            \
         _ArgType arg)              \
         :  _Base(                  \
               arg)                 \
      {                             \
      }                             \
}

#define DECLARE_DERIVED_TEMPLATE_CLASS_1 ( _Derived,
_Args,
_Base   )     template <typename _Args> class _Derived : public _Base<_Args> {}


Generated on Sun Sep 12 19:06:42 2021 for The Server Framework - v7.4 by doxygen 1.5.3