API Reference > OdBcf Namespace > OdBcf::Utils Namespace > Functions > OdBcf::Utils::createConstructedChild Function
OdBcf::Utils::createConstructedChild Function
Syntax
C++
OdResult createConstructedChild(TiXmlElement * pParent, const char * name, const OdBcfElement * pValue);

BcfUtils.h

Parameters 
Description 
TiXmlElement * pParent 
[in] A raw pointer to the parent of the new element.  
const char * name 
[in] A string that contains the name of the new element.  
const OdBcfElement * pValue 
[in] A raw pointer to an object that is responsible for creating of the new element value.  

eOk if the element was successfully created; otherwise, the method returns an appropriate error code.

Adds a newly constructed child to a specified XML structure.

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