src/uml/src_gen/uml/impl/RegionImpl.cpp
/*
Getter & Setter for reference transition
*/
Getter & Setter for reference transition
Getter & Setter for reference transition
std::shared_ptr<Subset<uml::Transition, uml::NamedElement>> RegionImpl::getTransition() const
{
	if(m_transition == nullptr)
	{
		m_transition.reset(new Subset<uml::Transition, uml::NamedElement >());
		#ifdef SHOW_SUBSET_UNION
			std::cout << "Initialising shared pointer Subset: " << "m_transition - Subset<uml::Transition, uml::NamedElement >()" << std::endl;
		#endif
		m_transition->initSubset(getOwnedMember());
		#ifdef SHOW_SUBSET_UNION
			std::cout << "Initialising value Subset: " << "m_transition - Subset<uml::Transition, uml::NamedElement >(getOwnedMember())" << std::endl;
		#endif
	}
    return m_transition;
}
std :: shared_ptr < Subset < uml :: Transition , uml :: NamedElement > > RegionImpl :: getTransition ( ) const { if ( m_transition == nullptr ) { m_transition . reset ( new Subset < uml :: Transition , uml :: NamedElement > ( ) ) ; #ifdef SHOW_SUBSET_UNION std :: cout << " " << " " << std :: endl ; #endif m_transition -> initSubset ( getOwnedMember ( ) ) ; #ifdef SHOW_SUBSET_UNION std :: cout << " " << " " << std :: endl ; #endif } return m_transition ; }
Getter & Setter for reference transition
Getter & Setter for reference transition
/*Subset*/ /*Subset*/