Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdOleStorage::openStream Method
Syntax
C++
virtual OdStreamBufPtr openStream(const OdString & filename, bool createIfNotFound = false, int accessMode = Oda::kFileRead) = 0;

Opens an OdStreamBuf for this OleStorage object. For internal use only. 

 

Parameters
Description
filename
[in] Filename.
createIfNotFound
[in] Controls the creation of the file if it does not exist.
accessMode
[in] Mode in which to open this OleStorage object.

Returns a SmartPointer for the newly created OdStreamBuf object.

accessMode must be a combination of one or more of the following: 

 

Name
Value
Description
Oda::kFileRead
0x80000000
Read access.
Oda::kFileWrite
0x40000000
Write access.

 

createIfNotFound is for internal use only, and should always be false for client applications.

Copyright © 2002-2022. Open Design Alliance All rights reserved.