ESerializer::CreateFileReader
This method is deprecated: Instantiate directly EFileSerializer
using its constructor instead.
Returns an 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. suitable for reading from a file.
Namespace: Euresys::Open_eVision
[C++]
[[deprecated("Instantiate directly EFileSerializer
using its constructor instead.")]]
static std::unique_ptr<ESerializer
> CreateFileReader(
const std::string& filePath
)
Parameters
filePath
Full path and name specification of the file to be used to create the ESerializer
object.
Remarks
If the call does not succeed, it returns NULL
. Please check the Open eVision error code to get further informations.
Call to ESerializer::Close
is mandatory after usage to ensure the file handle used by this object
is properly released.
ESerializer.CreateFileReader
This method is deprecated: Instantiate directly EFileSerializer
using its constructor instead.
Returns an ESerializer
object suitable for reading from a file.
Namespace: Euresys.Open_eVision
[C#]
[Obsolete("Instantiate directly EFileSerializer
using its constructor instead.")]
static ESerializer
CreateFileReader(
string filePath
)
Parameters
filePath
Full path and name specification of the file to be used to create the ESerializer
object.
Remarks
If the call does not succeed, it returns NULL
. Please check the Open eVision error code to get further informations.
Call to ESerializer.Close
is mandatory after usage to ensure the file handle used by this object
is properly released.
ESerializer.CreateFileReader
This method is deprecated: Instantiate directly EFileSerializer
using its constructor instead.
Returns an ESerializer
object suitable for reading from a file.
Module: open_evision
[Python]
@staticmethod
CreateFileReader(
filePath: str
) -> ESerializer
# Deprecated: Instantiate directly `open_evision.EFileSerializer` using its constructor instead.
Parameters
filePath
Full path and name specification of the file to be used to create the ESerializer
object.
Remarks
If the call does not succeed, it returns NULL
. Please check the Open eVision error code to get further informations.
Call to ESerializer.Close
is mandatory after usage to ensure the file handle used by this object
is properly released.