API Reference > OdDAI Namespace > Classes > Repository Class > Repository Methods > readHeaderSection Method > Repository::readHeaderSection Method (OdStreamBufPtr)
Repository::readHeaderSection Method (OdStreamBufPtr)
Syntax
C++
static OdHeaderSectionPtr readHeaderSection(OdStreamBufPtr pStream);
Parameters 
Description 
OdStreamBufPtr pStream 
[in] A raw pointer to a file stream buffer to read data from.  

Returns a smart pointer to an instance of the OdHeaderSection class that contains read data.

Reads the header section data from a specified stream buffer associated with an IFC file.

This method is used to extract information about the IFC file without reading all of its content.

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