|
| static void | ref (const Counted *counted) |
| | Increments the reference count.
|
| |
| static void | unref (const Counted *counted) |
| | Decrements the reference count.
|
| |
| | Counted () |
| | Creates a reference counted object.
|
| |
| virtual | ~Counted () |
| | Destroys a reference counted object.
|
| |
Definition at line 50 of file image_serializer_pgm.h.
◆ binary()
| bool GEO::ImageSerializer_pgm::binary |
( |
| ) |
const |
|
overridevirtual |
Tests whether the file format is binary or ASCII.
It is used to determine whether a stream should be opened in ASCII or binary mode for loading image files. Default implementation in base class returns true.
- Return values
-
| true | if the file format is binary |
| false | if the file format is ASCII |
Reimplemented from GEO::ImageSerializer.
◆ read_supported()
| bool GEO::ImageSerializer_pgm::read_supported |
( |
| ) |
const |
|
overridevirtual |
Tests whether reading is implemented.
Some serializers implement only reading or only writing. Default implementation returns false
- Return values
-
| true | if reading is supported |
| false | otherwise |
Reimplemented from GEO::ImageSerializer.
◆ serialize_read()
| Image * GEO::ImageSerializer_pgm::serialize_read |
( |
const std::string & |
file_name | ) |
|
|
overridevirtual |
The documentation for this class was generated from the following file: