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 a Step Physical File.

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

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