API Reference > Other Classes > OdOleStorage Class > OdOleStorage Methods > OdOleStorage::init Method
OdOleStorage::init Method
Syntax
C++
virtual void init(OdByteData* pByteData, int accessMode = Oda::kFileRead) = 0;
Parameters 
Description 
OdByteData* pByteData 
[in] Pointer to the OdByteData for this OleStorage object.  
int accessMode = Oda::kFileRead 
[in] Mode in which to open this OleStorage object. 

Initializes this OleStorage 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. 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.