src/uml/src_gen/uml/impl/ArtifactImpl.cpp
/*
Getter & Setter for reference nestedArtifact
*/
Getter & Setter for reference nestedArtifact
Getter & Setter for reference nestedArtifact
std::shared_ptr<Subset<uml::Artifact, uml::NamedElement>> ArtifactImpl::getNestedArtifact() const
{
	if(m_nestedArtifact == nullptr)
	{
		m_nestedArtifact.reset(new Subset<uml::Artifact, uml::NamedElement >());
		#ifdef SHOW_SUBSET_UNION
			std::cout << "Initialising shared pointer Subset: " << "m_nestedArtifact - Subset<uml::Artifact, uml::NamedElement >()" << std::endl;
		#endif
		m_nestedArtifact->initSubset(getOwnedMember());
		#ifdef SHOW_SUBSET_UNION
			std::cout << "Initialising value Subset: " << "m_nestedArtifact - Subset<uml::Artifact, uml::NamedElement >(getOwnedMember())" << std::endl;
		#endif
	}
    return m_nestedArtifact;
}
std :: shared_ptr < Subset < uml :: Artifact , uml :: NamedElement > > ArtifactImpl :: getNestedArtifact ( ) const { if ( m_nestedArtifact == nullptr ) { m_nestedArtifact . reset ( new Subset < uml :: Artifact , uml :: NamedElement > ( ) ) ; #ifdef SHOW_SUBSET_UNION std :: cout << " " << " " << std :: endl ; #endif m_nestedArtifact -> initSubset ( getOwnedMember ( ) ) ; #ifdef SHOW_SUBSET_UNION std :: cout << " " << " " << std :: endl ; #endif } return m_nestedArtifact ; }
Getter & Setter for reference nestedArtifact
Getter & Setter for reference nestedArtifact
/*Subset*/ /*Subset*/