src/uml/src_gen/uml/impl/ActionImpl.cpp
/*
Getter & Setter for reference localPrecondition
*/
Getter & Setter for reference localPrecondition
Getter & Setter for reference localPrecondition
std::shared_ptr<Subset<uml::Constraint, uml::Element>> ActionImpl::getLocalPrecondition() const
{
	if(m_localPrecondition == nullptr)
	{
		m_localPrecondition.reset(new Subset<uml::Constraint, uml::Element >());
		#ifdef SHOW_SUBSET_UNION
			std::cout << "Initialising shared pointer Subset: " << "m_localPrecondition - Subset<uml::Constraint, uml::Element >()" << std::endl;
		#endif
		m_localPrecondition->initSubset(getOwnedElement());
		#ifdef SHOW_SUBSET_UNION
			std::cout << "Initialising value Subset: " << "m_localPrecondition - Subset<uml::Constraint, uml::Element >(getOwnedElement())" << std::endl;
		#endif
	}
    return m_localPrecondition;
}
std :: shared_ptr < Subset < uml :: Constraint , uml :: Element > > ActionImpl :: getLocalPrecondition ( ) const { if ( m_localPrecondition == nullptr ) { m_localPrecondition . reset ( new Subset < uml :: Constraint , uml :: Element > ( ) ) ; #ifdef SHOW_SUBSET_UNION std :: cout << " " << " " << std :: endl ; #endif m_localPrecondition -> initSubset ( getOwnedElement ( ) ) ; #ifdef SHOW_SUBSET_UNION std :: cout << " " << " " << std :: endl ; #endif } return m_localPrecondition ; }
Getter & Setter for reference localPrecondition
Getter & Setter for reference localPrecondition
/*Subset*/ /*Subset*/