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

A smart pointer to an OdPrcFile object that contains the read data.

Reads .prc file content from a specified stream and returns a smart pointer to the created OdPrcFile object. 

 

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