Geogram  Version 1.9.1
A programming library of geometric algorithms
GEO::ImageSerializerSTBReadWrite Class Reference

An image serializer that can read and write images. More...

#include <geogram/image/image_serializer_stb.h>

Inheritance diagram for GEO::ImageSerializerSTBReadWrite:
GEO::ImageSerializerSTB GEO::ImageSerializer GEO::Counted

Public Member Functions

 ImageSerializerSTBReadWrite ()
 ImageSerializerSTBReadWrite constructor.
 
 ~ImageSerializerSTBReadWrite () override
 ImageSerializerSTBReadWrite destructor.
 
- Public Member Functions inherited from GEO::ImageSerializerSTB
 ImageSerializerSTB (bool read, bool write)
 ImageSerializerSTB constructor. More...
 
Imageserialize_read (const std::string &file_name) override
 
bool serialize_write (const std::string &file_name, const Image *image) override
 
bool binary () const override
 Tests whether the file format is binary or ASCII. More...
 
bool streams_supported () const override
 Tests whether the functions that use streams are supported. More...
 
bool read_supported () const override
 Tests whether reading is implemented. More...
 
bool write_supported () const override
 Tests whether writing is implemented. More...
 
- Public Member Functions inherited from GEO::ImageSerializer
virtual Imageserialize_read (std::istream &stream)
 reads an image from a stream. More...
 
virtual bool serialize_write (std::ostream &stream, const Image *image)
 writes an image into a stream. More...
 
- Public Member Functions inherited from GEO::Counted
void ref () const
 Increments the reference count. More...
 
void unref () const
 Decrements the reference count. More...
 
bool is_shared () const
 Check if the object is shared. More...
 
int nb_refs () const
 Gets the number of references that point to this object. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from GEO::Counted
static void ref (const Counted *counted)
 Increments the reference count. More...
 
static void unref (const Counted *counted)
 Decrements the reference count. More...
 
- Protected Member Functions inherited from GEO::Counted
 Counted ()
 Creates a reference counted object. More...
 
virtual ~Counted ()
 Destroys a reference counted object. More...
 

Detailed Description

An image serializer that can read and write images.

Definition at line 129 of file image_serializer_stb.h.


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