src/uml/src_gen/uml/impl/BehaviorImpl.cpp
std::shared_ptr<Subset<uml::Constraint, uml::Constraint /*Subset does not reference a union*/>> BehaviorImpl::getPrecondition() const
{
	if(m_precondition == nullptr)
	{
		/*Subset*/
		m_precondition.reset(new Subset<uml::Constraint, uml::Constraint /*Subset does not reference a union*/ >());
		#ifdef SHOW_SUBSET_UNION
			std::cout << "Initialising shared pointer Subset: " << "m_precondition - Subset<uml::Constraint, uml::Constraint /*Subset does not reference a union*/ >()" << std::endl;
		#endif
		
		/*Subset*/
		m_precondition->initSubset(getOwnedRule());
		#ifdef SHOW_SUBSET_UNION
			std::cout << "Initialising value Subset: " << "m_precondition - Subset<uml::Constraint, uml::Constraint /*Subset does not reference a union*/ >(getOwnedRule())" << std::endl;
		#endif
		
	}

    return m_precondition;
}
/*
Getter & Setter for reference precondition
*/
Getter & Setter for reference precondition
Getter & Setter for reference precondition
std::shared_ptr<Subset<uml::Constraint, uml::Constraint >> BehaviorImpl::getPrecondition() const
{
	if(m_precondition == nullptr)
	{
		m_precondition.reset(new Subset<uml::Constraint, uml::Constraint  >());
		#ifdef SHOW_SUBSET_UNION
			std::cout << "Initialising shared pointer Subset: " << "m_precondition - Subset<uml::Constraint, uml::Constraint  >()" << std::endl;
		#endif
		m_precondition->initSubset(getOwnedRule());
		#ifdef SHOW_SUBSET_UNION
			std::cout << "Initialising value Subset: " << "m_precondition - Subset<uml::Constraint, uml::Constraint  >(getOwnedRule())" << std::endl;
		#endif
	}
    return m_precondition;
}
std :: shared_ptr < Subset < uml :: Constraint , uml :: Constraint > > BehaviorImpl :: getPrecondition ( ) const { if ( m_precondition == nullptr ) { m_precondition . reset ( new Subset < uml :: Constraint , uml :: Constraint > ( ) ) ; #ifdef SHOW_SUBSET_UNION std :: cout << " " << " " << std :: endl ; #endif m_precondition -> initSubset ( getOwnedRule ( ) ) ; #ifdef SHOW_SUBSET_UNION std :: cout << " " << " " << std :: endl ; #endif } return m_precondition ; }
Getter & Setter for reference precondition
Getter & Setter for reference precondition
/*Subset does not reference a union*/ /*Subset*/ /*Subset does not reference a union*/ /*Subset*/