src/uml/src_gen/uml/impl/PackageImpl.cpp
std::shared_ptr<SubsetUnion<uml::PackageableElement, uml::NamedElement>> PackageImpl::getPackagedElement() const
{
	if(m_packagedElement == nullptr)
	{
		/*SubsetUnion*/
		m_packagedElement.reset(new SubsetUnion<uml::PackageableElement, uml::NamedElement >());
		#ifdef SHOW_SUBSET_UNION
			std::cout << "Initialising shared pointer SubsetUnion: " << "m_packagedElement - SubsetUnion<uml::PackageableElement, uml::NamedElement >()" << std::endl;
		#endif
		
		/*SubsetUnion*/
		m_packagedElement->initSubsetUnion(getOwnedMember());
		#ifdef SHOW_SUBSET_UNION
			std::cout << "Initialising value SubsetUnion: " << "m_packagedElement - SubsetUnion<uml::PackageableElement, uml::NamedElement >(getOwnedMember())" << std::endl;
		#endif
		
	}

    return m_packagedElement;
}
/*
Getter & Setter for reference packagedElement
*/
Getter & Setter for reference packagedElement
Getter & Setter for reference packagedElement
std::shared_ptr<SubsetUnion<uml::PackageableElement, uml::NamedElement>> PackageImpl::getPackagedElement() const
{
	if(m_packagedElement == nullptr)
	{
		m_packagedElement.reset(new SubsetUnion<uml::PackageableElement, uml::NamedElement >());
		#ifdef SHOW_SUBSET_UNION
			std::cout << "Initialising shared pointer SubsetUnion: " << "m_packagedElement - SubsetUnion<uml::PackageableElement, uml::NamedElement >()" << std::endl;
		#endif
		m_packagedElement->initSubsetUnion(getOwnedMember());
		#ifdef SHOW_SUBSET_UNION
			std::cout << "Initialising value SubsetUnion: " << "m_packagedElement - SubsetUnion<uml::PackageableElement, uml::NamedElement >(getOwnedMember())" << std::endl;
		#endif
	}
    return m_packagedElement;
}
std :: shared_ptr < SubsetUnion < uml :: PackageableElement , uml :: NamedElement > > PackageImpl :: getPackagedElement ( ) const { if ( m_packagedElement == nullptr ) { m_packagedElement . reset ( new SubsetUnion < uml :: PackageableElement , uml :: NamedElement > ( ) ) ; #ifdef SHOW_SUBSET_UNION std :: cout << " " << " " << std :: endl ; #endif m_packagedElement -> initSubsetUnion ( getOwnedMember ( ) ) ; #ifdef SHOW_SUBSET_UNION std :: cout << " " << " " << std :: endl ; #endif } return m_packagedElement ; }
Getter & Setter for reference packagedElement
Getter & Setter for reference packagedElement
/*SubsetUnion*/ /*SubsetUnion*/