Documentation Portal      

What are you looking for?

ESerializer::CreateFileWriter

Returns an ESerializer object suitable for opening a file and writing into it.

Namespace: Euresys::Open_eVision_2_6

[C++]

ESerializer* CreateFileWriter(
   const std::string& filePath,
   Euresys::Open_eVision_2_6::ESerializerFileWriterMode mode
)

Parameters

filePath

Full path and name specification of the file to be used to create the ESerializer object.

mode

Creation mode of the storage file, as defined by ESerializerFileWriterMode (by default, Create).

Remarks

The ESerializerFileWriterMode parameter is an enumerated type that allows to control what happens when the file already exists: * If mode is Create, the call will not succeed if the file already exists. * If mode is Overwrite, the existing file will be overwritten. * If mode is Append, the new data will be appended to the existing file content. It is up to users to delete the ESerializer object when they have done using it in Save calls. If the call does not succeed, it returns NULL. Please check the Open eVision error code to get further information.

ESerializer.CreateFileWriter

Returns an ESerializer object suitable for opening a file and writing into it.

Namespace: Euresys.Open_eVision_2_6

[C#]

Euresys.Open_eVision_2_6.ESerializer CreateFileWriter(
   string filePath,
   Euresys.Open_eVision_2_6.ESerializerFileWriterMode mode
)

Parameters

filePath

Full path and name specification of the file to be used to create the ESerializer object.

mode

Creation mode of the storage file, as defined by ESerializerFileWriterMode (by default, Create).

Remarks

The ESerializerFileWriterMode parameter is an enumerated type that allows to control what happens when the file already exists: * If mode is Create, the call will not succeed if the file already exists. * If mode is Overwrite, the existing file will be overwritten. * If mode is Append, the new data will be appended to the existing file content. It is up to users to delete the ESerializer object when they have done using it in Save calls. If the call does not succeed, it returns NULL. Please check the Open eVision error code to get further information.

Which API shall we display?

© 2018 EURESYS s.a.  -  About Documentation  -  Open Source Licenses  -  Open eVision 2.6.1.1110