Geogram  Version 1.9.1-rc
A programming library of geometric algorithms
GEO::geo_declare_image_serializer< T > Class Template Reference

Declares an image serializer for a given extension. More...

#include <geogram/image/image_library.h>

Public Member Functions

 geo_declare_image_serializer (const std::string &extension)
 Declares an image serializer for a given extension. More...
 

Detailed Description

template<class T>
class GEO::geo_declare_image_serializer< T >

Declares an image serializer for a given extension.

Template Parameters
Tthe type of the ImageSerializer

Definition at line 206 of file image_library.h.

Constructor & Destructor Documentation

◆ geo_declare_image_serializer()

template<class T >
GEO::geo_declare_image_serializer< T >::geo_declare_image_serializer ( const std::string &  extension)
inline

Declares an image serializer for a given extension.

Parameters
[in]extensionthe extension of the image file names without the "."

This function is supposed to be used in the initializers of the libraries. An example of usage:

ogf_declare_image_serializer<ImageSerializer_png>("png");

Definition at line 218 of file image_library.h.


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