|
DynaMix
1.3.7
A new take on polymorphism in C++
|
#include <mixin_type_info.hpp>
Public Member Functions | |
| bool | is_valid () const |
| Shows whether this is as initialized mixin type. | |
Public Attributes | |
| mixin_id | id |
| The mixin's id. | |
| const char * | name |
| size_t | size |
| Size of the mixin type. | |
| size_t | alignment |
| Alignment of the mixin type. | |
| mixin_allocator * | allocator |
| mixin_constructor_proc | constructor |
| mixin_destructor_proc | destructor |
| Procedure which calls the destructor of a mixin. Never null. | |
| mixin_copy_proc | copy_constructor |
| metric | num_mixins = {0} |
| Number of "living" mixins of this type. | |
Protected Member Functions | |
| basic_mixin_type_info (mixin_id i) | |
| basic_mixin_type_info (const basic_mixin_type_info &)=delete | |
| basic_mixin_type_info & | operator= (const basic_mixin_type_info &)=delete |
Public mixin type info. Contains a slice of the type info data which can be viewed by the library's users for all mixin allocation
| const char* dynamix::basic_mixin_type_info::name |
The mixin name: The class name or, in case mixin_name feature is provided, the manual name set from there
| mixin_allocator* dynamix::basic_mixin_type_info::allocator |
Allocator associated with this mixin type. If no special one was provided this will be equal to the allocator of the domain.
| mixin_constructor_proc dynamix::basic_mixin_type_info::constructor |
Procedure which calls the default constructor of a mixin. Might be left null if the mixin is not default-constructible.
| mixin_copy_proc dynamix::basic_mixin_type_info::copy_constructor |
Procedutre which calls the copy-constructor of a mixin. Might be left null for mixins which aren't copy-constructible