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