src/uml/src_gen/uml/impl/EncapsulatedClassifierImpl.cpp
std::shared_ptr<Subset<uml::Port, uml::Property /*Subset does not reference a union*/>> EncapsulatedClassifierImpl::getOwnedPort() const
{
	if(m_ownedPort == nullptr)
	{
		/*Subset*/
		m_ownedPort.reset(new Subset<uml::Port, uml::Property /*Subset does not reference a union*/ >());
		#ifdef SHOW_SUBSET_UNION
			std::cout << "Initialising shared pointer Subset: " << "m_ownedPort - Subset<uml::Port, uml::Property /*Subset does not reference a union*/ >()" << std::endl;
		#endif
		
		/*Subset*/
		m_ownedPort->initSubset(getOwnedAttribute());
		#ifdef SHOW_SUBSET_UNION
			std::cout << "Initialising value Subset: " << "m_ownedPort - Subset<uml::Port, uml::Property /*Subset does not reference a union*/ >(getOwnedAttribute())" << std::endl;
		#endif
		
	}

    return m_ownedPort;
}
//*********************************
// References
//*********************************
/*
Getter & Setter for reference ownedPort
*/
References
Getter & Setter for reference ownedPort
References Getter & Setter for reference ownedPort
std::shared_ptr<Subset<uml::Port, uml::Property >> EncapsulatedClassifierImpl::getOwnedPort() const
{
	if(m_ownedPort == nullptr)
	{
		m_ownedPort.reset(new Subset<uml::Port, uml::Property  >());
		#ifdef SHOW_SUBSET_UNION
			std::cout << "Initialising shared pointer Subset: " << "m_ownedPort - Subset<uml::Port, uml::Property  >()" << std::endl;
		#endif
		m_ownedPort->initSubset(getOwnedAttribute());
		#ifdef SHOW_SUBSET_UNION
			std::cout << "Initialising value Subset: " << "m_ownedPort - Subset<uml::Port, uml::Property  >(getOwnedAttribute())" << std::endl;
		#endif
	}
    return m_ownedPort;
}
std :: shared_ptr < Subset < uml :: Port , uml :: Property > > EncapsulatedClassifierImpl :: getOwnedPort ( ) const { if ( m_ownedPort == nullptr ) { m_ownedPort . reset ( new Subset < uml :: Port , uml :: Property > ( ) ) ; #ifdef SHOW_SUBSET_UNION std :: cout << " " << " " << std :: endl ; #endif m_ownedPort -> initSubset ( getOwnedAttribute ( ) ) ; #ifdef SHOW_SUBSET_UNION std :: cout << " " << " " << std :: endl ; #endif } return m_ownedPort ; }
References
Getter & Setter for reference ownedPort
References Getter & Setter for reference ownedPort
/*Subset does not reference a union*/ /*Subset*/ /*Subset does not reference a union*/ /*Subset*/