src/uml/src_gen/uml/impl/PackageImpl.cpp
std::shared_ptr<Subset<uml::Stereotype, uml::PackageableElement /*Subset does not reference a union*/>> PackageImpl::getOwnedStereotype() const
{
	if(m_ownedStereotype == nullptr)
	{
		/*Subset*/
		m_ownedStereotype.reset(new Subset<uml::Stereotype, uml::PackageableElement /*Subset does not reference a union*/ >());
		#ifdef SHOW_SUBSET_UNION
			std::cout << "Initialising shared pointer Subset: " << "m_ownedStereotype - Subset<uml::Stereotype, uml::PackageableElement /*Subset does not reference a union*/ >()" << std::endl;
		#endif
		
		/*Subset*/
		m_ownedStereotype->initSubset(getPackagedElement());
		#ifdef SHOW_SUBSET_UNION
			std::cout << "Initialising value Subset: " << "m_ownedStereotype - Subset<uml::Stereotype, uml::PackageableElement /*Subset does not reference a union*/ >(getPackagedElement())" << std::endl;
		#endif
		
	}

    return m_ownedStereotype;
}
/*
Getter & Setter for reference ownedStereotype
*/
Getter & Setter for reference ownedStereotype
Getter & Setter for reference ownedStereotype
std::shared_ptr<Subset<uml::Stereotype, uml::PackageableElement >> PackageImpl::getOwnedStereotype() const
{
	if(m_ownedStereotype == nullptr)
	{
		m_ownedStereotype.reset(new Subset<uml::Stereotype, uml::PackageableElement  >());
		#ifdef SHOW_SUBSET_UNION
			std::cout << "Initialising shared pointer Subset: " << "m_ownedStereotype - Subset<uml::Stereotype, uml::PackageableElement  >()" << std::endl;
		#endif
		m_ownedStereotype->initSubset(getPackagedElement());
		#ifdef SHOW_SUBSET_UNION
			std::cout << "Initialising value Subset: " << "m_ownedStereotype - Subset<uml::Stereotype, uml::PackageableElement  >(getPackagedElement())" << std::endl;
		#endif
	}
    return m_ownedStereotype;
}
std :: shared_ptr < Subset < uml :: Stereotype , uml :: PackageableElement > > PackageImpl :: getOwnedStereotype ( ) const { if ( m_ownedStereotype == nullptr ) { m_ownedStereotype . reset ( new Subset < uml :: Stereotype , uml :: PackageableElement > ( ) ) ; #ifdef SHOW_SUBSET_UNION std :: cout << " " << " " << std :: endl ; #endif m_ownedStereotype -> initSubset ( getPackagedElement ( ) ) ; #ifdef SHOW_SUBSET_UNION std :: cout << " " << " " << std :: endl ; #endif } return m_ownedStereotype ; }
Getter & Setter for reference ownedStereotype
Getter & Setter for reference ownedStereotype
/*Subset does not reference a union*/ /*Subset*/ /*Subset does not reference a union*/ /*Subset*/