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