src/uml/src_gen/uml/impl/InformationFlowImpl.cpp
std::shared_ptr<Subset<uml::NamedElement, uml::Element>> InformationFlowImpl::getInformationTarget() const
{
	if(m_informationTarget == nullptr)
	{
		/*Subset*/
		m_informationTarget.reset(new Subset<uml::NamedElement, uml::Element >());
		#ifdef SHOW_SUBSET_UNION
			std::cout << "Initialising shared pointer Subset: " << "m_informationTarget - Subset<uml::NamedElement, uml::Element >()" << std::endl;
		#endif
		
		/*Subset*/
		m_informationTarget->initSubset(getTarget());
		#ifdef SHOW_SUBSET_UNION
			std::cout << "Initialising value Subset: " << "m_informationTarget - Subset<uml::NamedElement, uml::Element >(getTarget())" << std::endl;
		#endif
		
	}
//assert(m_informationTarget);
    return m_informationTarget;
}
/*
Getter & Setter for reference informationTarget
*/
Getter & Setter for reference informationTarget
Getter & Setter for reference informationTarget
std::shared_ptr<Subset<uml::NamedElement, uml::Element>> InformationFlowImpl::getInformationTarget() const
{
	if(m_informationTarget == nullptr)
	{
		m_informationTarget.reset(new Subset<uml::NamedElement, uml::Element >());
		#ifdef SHOW_SUBSET_UNION
			std::cout << "Initialising shared pointer Subset: " << "m_informationTarget - Subset<uml::NamedElement, uml::Element >()" << std::endl;
		#endif
		m_informationTarget->initSubset(getTarget());
		#ifdef SHOW_SUBSET_UNION
			std::cout << "Initialising value Subset: " << "m_informationTarget - Subset<uml::NamedElement, uml::Element >(getTarget())" << std::endl;
		#endif
	}
    return m_informationTarget;
}
std :: shared_ptr < Subset < uml :: NamedElement , uml :: Element > > InformationFlowImpl :: getInformationTarget ( ) const { if ( m_informationTarget == nullptr ) { m_informationTarget . reset ( new Subset < uml :: NamedElement , uml :: Element > ( ) ) ; #ifdef SHOW_SUBSET_UNION std :: cout << " " << " " << std :: endl ; #endif m_informationTarget -> initSubset ( getTarget ( ) ) ; #ifdef SHOW_SUBSET_UNION std :: cout << " " << " " << std :: endl ; #endif } return m_informationTarget ; }
Getter & Setter for reference informationTarget
Getter & Setter for reference informationTarget
/*Subset*/ /*Subset*/ //assert(m_informationTarget);