API Reference > Classes > OdIfcHostAppServices Class > OdIfcHostAppServices Methods > readFile Method > OdIfcHostAppServices::readFile Method (OdStreamBuf*)
OdIfcHostAppServices::readFile Method (OdStreamBuf*)
Syntax
C++
virtual OdIfcFilePtr readFile(OdStreamBuf* pFileBuff);
Parameters 
Description 
OdStreamBuf* pFileBuff 
[in] A raw pointer to a stream to read data from.  

a smart pointer to the created IFC file object.

Reads an IFC file content from a specified stream and creates an instance of the OdIfcFile class.

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