src/uml/src_gen/uml/impl/InteractionImpl.cpp
std::shared_ptr<Subset<uml::Action, uml::Element>> InteractionImpl::getAction() const
{
	if(m_action == nullptr)
	{
		/*Subset*/
		m_action.reset(new Subset<uml::Action, uml::Element >());
		#ifdef SHOW_SUBSET_UNION
			std::cout << "Initialising shared pointer Subset: " << "m_action - Subset<uml::Action, uml::Element >()" << std::endl;
		#endif
		
		/*Subset*/
		m_action->initSubset(getOwnedElement());
		#ifdef SHOW_SUBSET_UNION
			std::cout << "Initialising value Subset: " << "m_action - Subset<uml::Action, uml::Element >(getOwnedElement())" << std::endl;
		#endif
		
	}

    return m_action;
}
//*********************************
// References
//*********************************
/*
Getter & Setter for reference action
*/
References
Getter & Setter for reference action
References Getter & Setter for reference action
std::shared_ptr<Subset<uml::Action, uml::Element>> InteractionImpl::getAction() const
{
	if(m_action == nullptr)
	{
		m_action.reset(new Subset<uml::Action, uml::Element >());
		#ifdef SHOW_SUBSET_UNION
			std::cout << "Initialising shared pointer Subset: " << "m_action - Subset<uml::Action, uml::Element >()" << std::endl;
		#endif
		m_action->initSubset(getOwnedElement());
		#ifdef SHOW_SUBSET_UNION
			std::cout << "Initialising value Subset: " << "m_action - Subset<uml::Action, uml::Element >(getOwnedElement())" << std::endl;
		#endif
	}
    return m_action;
}
std :: shared_ptr < Subset < uml :: Action , uml :: Element > > InteractionImpl :: getAction ( ) const { if ( m_action == nullptr ) { m_action . reset ( new Subset < uml :: Action , uml :: Element > ( ) ) ; #ifdef SHOW_SUBSET_UNION std :: cout << " " << " " << std :: endl ; #endif m_action -> initSubset ( getOwnedElement ( ) ) ; #ifdef SHOW_SUBSET_UNION std :: cout << " " << " " << std :: endl ; #endif } return m_action ; }
References
Getter & Setter for reference action
References Getter & Setter for reference action
/*Subset*/ /*Subset*/