design_pattern_for_c  V 1.00
prototype_factory.h File Reference

This is API for PrototypeFactoryInstance class. More...

#include "prototype.h"
Include dependency graph for prototype_factory.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef struct prototype_factory_instance_t prototype_factory_instance_t
 
typedef struct prototype_factory_instance_tPrototypeFactoryInstance
 

Functions

PrototypeFactoryInstance prototype_factory_instance_new (void *base, size_t base_length, prototype_factory_method_t *factory_method)
 new More...
 
void prototype_factory_instance_free (PrototypeFactoryInstance this)
 free More...
 
void * prototype_factory_instance_clone_data (PrototypeFactoryInstance this)
 clone data More...
 
void prototype_factory_instance_free_data (PrototypeFactoryInstance this, void *data)
 free data More...
 

Detailed Description

This is API for PrototypeFactoryInstance class.

Definition in file prototype_factory.h.

Typedef Documentation

◆ prototype_factory_instance_t

◆ PrototypeFactoryInstance

Definition at line 11 of file prototype_factory.h.

Function Documentation

◆ prototype_factory_instance_clone_data()

void* prototype_factory_instance_clone_data ( PrototypeFactoryInstance  this)

clone data

Definition at line 77 of file prototype_factory.c.

Here is the caller graph for this function:

◆ prototype_factory_instance_free()

void prototype_factory_instance_free ( PrototypeFactoryInstance  this)

free

Definition at line 71 of file prototype_factory.c.

Here is the caller graph for this function:

◆ prototype_factory_instance_free_data()

void prototype_factory_instance_free_data ( PrototypeFactoryInstance  this,
void *  data 
)

free data

Definition at line 82 of file prototype_factory.c.

Here is the caller graph for this function:

◆ prototype_factory_instance_new()

PrototypeFactoryInstance prototype_factory_instance_new ( void *  base,
size_t  base_length,
prototype_factory_method_t factory_method 
)

new

Definition at line 55 of file prototype_factory.c.

Here is the caller graph for this function: