API Reference > OdBcf Namespace > Classes > OdBcfSession Class > OdBcfSession Methods > OdBcfSession::createObject Method
OdBcfSession::createObject Method
Syntax
C++
static OdSmartPtr<OdBcfSession> createObject(const OdString & author, const OdString & authoringToolId, const OdBcfDataAccessorPtr & pDataAccessor = OdBcfDataAccessorPtr());
Parameters 
Description 
const OdString & author 
[in] A string that contains the session author.  
const OdString & authoringToolId 
[in] A string that contains the identifier of the authoring application used by the author.  
const OdBcfDataAccessorPtr & pDataAccessor = OdBcfDataAccessorPtr() 
[in] A smart pointer to a data accessor object.  

A smart pointer to the created OdBcfSession instance.

Creates a new session object.

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