Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CATXMLFactory::Create
CATResult CATXMLFactory::Create ( const CATWChar objectType,
CATXMLAttribs attributes,
CATXMLObject parent,
CATXMLObject *&  newObject 
)

Called by parser to create an object.

Parameters:
objectType Type of object (XML Tag)
attributes Attributes vector
parent Parent object
newObject Set to new object on success.
Returns:
CATResult CAT_SUCCESS on success.

Definition at line 28 of file CATXMLFactory.cpp.

References CATXMLObject::AddChild(), CAT_ERR_XML_CREATE_FAILED, CAT_SUCCESS, CreateObject(), and CATXMLObject::SetAttributes().

Referenced by CATXMLParser::StartElement().


Generated on Mon Feb 11 04:11:28 2008 for Game Accessibility Suite by doxygen 1.5.4