/* Code generated by IfcQuery EXPRESS generator, www.ifcquery.com */
#include <map>
#include "ifcpp/model/BasicTypes.h"
#include "ifcpp/model/BuildingException.h"
#include "ifcpp/reader/ReaderUtil.h"
#include "ifcpp/IFC4X3/include/IfcColour.h"
#include "ifcpp/IFC4X3/include/IfcFillStyleSelect.h"

// TYPE IfcFillStyleSelect = SELECT	(IfcColour	,IfcExternallyDefinedHatchStyle	,IfcFillAreaStyleHatching	,IfcFillAreaStyleTiles);
shared_ptr<IFC4X3::IfcFillStyleSelect> IFC4X3::IfcFillStyleSelect::createObjectFromSTEP( const std::string& arg, const std::map<int,shared_ptr<BuildingEntity> >& map, std::stringstream& errorStream )
{
	if( arg.empty() ){ return shared_ptr<IfcFillStyleSelect>(); }
	if( arg.compare("$")==0 )
	{
		return shared_ptr<IfcFillStyleSelect>();
	}
	if( arg.compare("*")==0 )
	{
		return shared_ptr<IfcFillStyleSelect>();
	}
	shared_ptr<IfcFillStyleSelect> result_object;
	readSelectType( arg, result_object, map, errorStream );
	return result_object;
}
