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