API Reference > Classes > OdIfcFile Class > OdIfcFile Methods > readFile Method > OdIfcFile::readFile Method (OdStreamBufPtr)
OdIfcFile::readFile Method (OdStreamBufPtr)
Syntax
C++
virtual OdResult readFile(OdStreamBufPtr pStream);
Parameters 
Description 
fileName 
[in] A smart pointer to the data buffer associated with the input IFC file.  

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

Reads data from a specified IFC file.

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