ESerializer Class

Abstract interface for file-like objects.

Remarks

The ESerializer object In a general content, the term object should be understood with the meaning of a class instance. In EasyObject, an object is a maximally-sized area of adjacent connected pixels belonging to the layer foreground. manages operations of reading from and writing to an archive (a file on the system hard disk, for instance). ESerializer objects cannot be instantiated directly. To create an ESerializer object, one of the following static factory methods has to be used:

Note. An ESerializer object can not be used in the same time for reading and writing. So, ESerializer::CreateFileWriter creates an ESerializer object that should be used with Save methods and ESerializer::CreateFileReader creates an ESerializer object that should be used with Load methods.

Derived Class(es):EFileSerializer, EMemorySerializer

Namespace: Euresys::Open_eVision

Properties

Indicates if the ESerializer is closed or not.

The current mode of the serializer.

This property is deprecated: Use ESerializer::Mode instead.

Methods

Closes the ESerializer object and frees any underlying ressource it could have reserved.

This method is always called implicitly during the destruction of the object. It is still recommended to call it explicitly in programming languages other than C++ to ensure the underlying ressources are correctly released.

This method never throws exceptions.

This method is deprecated: Instantiate directly EFileSerializer using its constructor instead.

This method is deprecated: Instantiate directly EFileSerializer using its constructor instead.

This method is deprecated: Instantiate directly a EMemorySerializer using its constructor instead.

This method is deprecated: Instantiate directly EMemorySerializer using its constructor instead.

ESerializer Class

Abstract interface for file-like objects.

Remarks

The ESerializer object manages operations of reading from and writing to an archive (a file on the system hard disk, for instance). ESerializer objects cannot be instantiated directly. To create an ESerializer object, one of the following static factory methods has to be used:

Note. An ESerializer object can not be used in the same time for reading and writing. So, ESerializer.CreateFileWriter creates an ESerializer object that should be used with Save methods and ESerializer.CreateFileReader creates an ESerializer object that should be used with Load methods.

Derived Class(es):EFileSerializer, EMemorySerializer

Namespace: Euresys.Open_eVision

Properties

Indicates if the ESerializer is closed or not.

The current mode of the serializer.

This property is deprecated: Use ESerializer.Mode instead.

Methods

Closes the ESerializer object and frees any underlying ressource it could have reserved.

This method is always called implicitly during the destruction of the object. It is still recommended to call it explicitly in programming languages other than C++ to ensure the underlying ressources are correctly released.

This method never throws exceptions.

This method is deprecated: Instantiate directly EFileSerializer using its constructor instead.

This method is deprecated: Instantiate directly EFileSerializer using its constructor instead.

This method is deprecated: Instantiate directly a EMemorySerializer using its constructor instead.

This method is deprecated: Instantiate directly EMemorySerializer using its constructor instead.

ESerializer Class

Abstract interface for file-like objects.

Remarks

The ESerializer object manages operations of reading from and writing to an archive (a file on the system hard disk, for instance). ESerializer objects cannot be instantiated directly. To create an ESerializer object, one of the following static factory methods has to be used:

Note. An ESerializer object can not be used in the same time for reading and writing. So, ESerializer.CreateFileWriter creates an ESerializer object that should be used with Save methods and ESerializer.CreateFileReader creates an ESerializer object that should be used with Load methods.

Derived Class(es):EFileSerializer, EMemorySerializer

Module: open_evision

Properties

Indicates if the ESerializer is closed or not.

The current mode of the serializer.

This property is deprecated: Use ESerializer.Mode instead.

Methods

Closes the ESerializer object and frees any underlying ressource it could have reserved.

This method is always called implicitly during the destruction of the object. It is still recommended to call it explicitly in programming languages other than C++ to ensure the underlying ressources are correctly released.

This method never throws exceptions.

This method is deprecated: Instantiate directly EFileSerializer using its constructor instead.

This method is deprecated: Instantiate directly EFileSerializer using its constructor instead.

This method is deprecated: Instantiate directly a EMemorySerializer using its constructor instead.

This method is deprecated: Instantiate directly EMemorySerializer using its constructor instead.