Geogram  Version 1.9.1-rc
A programming library of geometric algorithms
GEO::FactoryCreator0< Type > Struct Template Reference

Factory creator without constructor arguments. More...

#include <geogram/basic/factory.h>

Public Types

typedef Type *(* CreatorType) ()
 Type of the creation function.
 

Static Public Member Functions

template<class ConcreteType >
static Type * create ()
 Creation function. More...
 

Detailed Description

template<class Type>
struct GEO::FactoryCreator0< Type >

Factory creator without constructor arguments.

This defines the function to create objects with no constructor arguments.

Template Parameters
Typebase type of the created objects

Definition at line 268 of file factory.h.

Member Function Documentation

◆ create()

template<class Type >
template<class ConcreteType >
static Type* GEO::FactoryCreator0< Type >::create ( )
inlinestatic

Creation function.

Template Parameters
ConcreteTypeactual type of the object to create.

Definition at line 279 of file factory.h.


The documentation for this struct was generated from the following file: