/* Code generated by IfcQuery EXPRESS generator, www.ifcquery.com */
#pragma once
#include <vector>
#include <map>
#include <sstream>
#include <string>
#include "ifcpp/model/GlobalDefines.h"
#include "ifcpp/model/BasicTypes.h"
#include "ifcpp/model/BuildingObject.h"
#include "IfcConstraint.h"
class IFCQUERY_EXPORT IfcConstraint;
class IFCQUERY_EXPORT IfcLogicalOperatorEnum;
class IFCQUERY_EXPORT IfcObjectiveEnum;
class IFCQUERY_EXPORT IfcLabel;
//ENTITY
class IFCQUERY_EXPORT IfcObjective : public IfcConstraint
{ 
public:
	IfcObjective() = default;
	IfcObjective( int id );
	~IfcObjective();
	virtual shared_ptr<BuildingObject> getDeepCopy( BuildingCopyOptions& options );
	virtual void getStepLine( std::stringstream& stream ) const;
	virtual void getStepParameter( std::stringstream& stream, bool is_select_type = false ) const;
	virtual void readStepArguments( const std::vector<std::wstring>& args, const std::map<int,shared_ptr<BuildingEntity> >& map );
	virtual void setInverseCounterparts( shared_ptr<BuildingEntity> ptr_self );
	virtual size_t getNumAttributes() { return 11; }
	virtual void getAttributes( std::vector<std::pair<std::string, shared_ptr<BuildingObject> > >& vec_attributes ) const;
	virtual void getAttributesInverse( std::vector<std::pair<std::string, shared_ptr<BuildingObject> > >& vec_attributes ) const;
	virtual void unlinkFromInverseCounterparts();
	virtual const char* className() const { return "IfcObjective"; }
	virtual const std::wstring toString() const;


	// IfcConstraint -----------------------------------------------------------
	// attributes:
	//  shared_ptr<IfcLabel>										m_Name;
	//  shared_ptr<IfcText>											m_Description;				//optional
	//  shared_ptr<IfcConstraintEnum>								m_ConstraintGrade;
	//  shared_ptr<IfcLabel>										m_ConstraintSource;			//optional
	//  shared_ptr<IfcActorSelect>									m_CreatingActor;			//optional
	//  shared_ptr<IfcDateTime>										m_CreationTime;				//optional
	//  shared_ptr<IfcLabel>										m_UserDefinedGrade;			//optional
	// inverse attributes:
	//  std::vector<weak_ptr<IfcExternalReferenceRelationship> >	m_HasExternalReferences_inverse;
	//  std::vector<weak_ptr<IfcResourceConstraintRelationship> >	m_PropertiesForConstraint_inverse;

	// IfcObjective -----------------------------------------------------------
	// attributes:
	std::vector<shared_ptr<IfcConstraint> >						m_BenchmarkValues;			//optional
	shared_ptr<IfcLogicalOperatorEnum>							m_LogicalAggregator;		//optional
	shared_ptr<IfcObjectiveEnum>								m_ObjectiveQualifier;
	shared_ptr<IfcLabel>										m_UserDefinedQualifier;		//optional
};

