design_pattern_for_c
V 1.00
|
Flyweight methods interface definition, to set flyweight_factory_new. More...
#include <flyweight.h>
Data Fields | |
void(* | constructor )(void *this, size_t size, void *input_parameter) |
constructor of class More... | |
int(* | equall_operand )(void *this, size_t size, void *input_parameter) |
operand == More... | |
int(* | setter )(void *this, size_t size, void *input_parameter) |
setter More... | |
void(* | destructor )(void *this) |
destructor More... | |
Flyweight methods interface definition, to set flyweight_factory_new.
This interface is used for generating instance into FlyweightFactory.
Definition at line 14 of file flyweight.h.
void(* constructor) (void *this, size_t size, void *input_parameter) |
constructor of class
[in] | this | class instance |
[in] | size | size of this instance |
[in] | input_parameter | input parameter related to flyweight_get |
Definition at line 22 of file flyweight.h.
void(* destructor) (void *this) |
destructor
[in] | this | class instance |
Definition at line 48 of file flyweight.h.
int(* equall_operand) (void *this, size_t size, void *input_parameter) |
operand ==
[in] | this | class instance |
[in] | size | size of this instance |
[in] | input_parameter | input parameter related to flyweight_get |
Definition at line 33 of file flyweight.h.
int(* setter) (void *this, size_t size, void *input_parameter) |
setter
[in] | this | class instance |
[in] | size | size of this instance |
[in] | input_parameter |
Definition at line 41 of file flyweight.h.