API Reference > Classes > Loader Classes > OdBmLoaderHostAppServices Class > OdBmLoaderHostAppServices Methods > OdBmLoaderHostAppServices::writeFile Method (OdStreamBufPtr, OdBmDatabase*, bool)
OdBmLoaderHostAppServices::writeFile Method (OdStreamBufPtr, OdBmDatabase*, bool)
Syntax
C++
virtual void writeFile(OdStreamBufPtr pStream, OdBmDatabase* pDb, bool partialSaving = false);
Parameters 
Description 
pStreamBuf 
[in] Pointer to the StreamBuf object to which the data is to be written. [in] Pointer to the OdBmDatabase object data that is to be written.  
partialLoad 
[in] Input partial saving of ODA BimRv files flag. If partial saving is true, modified elements will be written to a new stream in the file. If partial saving is false, streams for elements will be merged to one. It will contain the latest state of the elements. 

Writes the contents of this database to the specified StreamBuf object. 

 

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