API Reference > OdDAI Namespace > Classes > Repository Class > Repository Methods > Repository::writeStream Method
Repository::writeStream Method
Syntax
C++
virtual OdResult writeStream(OdStreamBufPtr pStream, bool saveLogFile = false);
Parameters 
Description 
OdStreamBufPtr pStream 
[in] A smart pointer to the output stream buffer object to wtite data.  
bool saveLogFile = false 
[in] A flag that determines whether the log file should be also written (if equal to true) or not (if equal to false).  

eOk if the data was successfully written; otherwise, the method returns an appropriate error code.

Writes data from the specified stream buffer to a physical file.

This method does not support writing to Zip format.

Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.