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