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