|
libbio
|

Go to the source code of this file.
Macros | |
| #define | BIO_CONSTRUCTORS(thisClass, finalClass) |
| #define | BIO_CONSTRUCTORS_WITH_COMMON_CONSTRUCTOR(thisClass, finalClass) |
| #define BIO_CONSTRUCTORS | ( | thisClass, | |
| finalClass | |||
| ) |
Defines constructors for classes deriving from any Final class.
These will allow you to construct your object with either a name or an id.
We also define the empty constructor for when neither name nor id are supplied.
NOTE: if your class has multiple template args or otherwise uses commas in its name, you must enclose it in BIO_SINGLE_ARG() so as to not have it be considered part of the VA_ARGS.
| thisClass | the name of the class to construct |
| finalClass | the name of the Final____ class *this is deriving from. |
| #define BIO_CONSTRUCTORS_WITH_COMMON_CONSTRUCTOR | ( | thisClass, | |
| finalClass | |||
| ) |
Defines constructors for classes deriving from any Final class.
All constructors call a CommonConstructor() method with no args.
These will allow you to construct your object with either a name or an id.
We also define the empty constructor for when neither name nor id are supplied.
NOTE: if your class has multiple template args or otherwise uses commas in its name, you must enclose it in BIO_SINGLE_ARG() so as to not have it be considered part of the VA_ARGS.
| thisClass | the name of the class to construct |
| finalClass | the name of the Final____ class *this is deriving from. |