src/uml/src_gen/uml/impl/CallActionImpl.cpp
//*********************************
// References
//*********************************
/*
Getter & Setter for reference result
*/
References
Getter & Setter for reference result
References Getter & Setter for reference result
std::shared_ptr<Subset<uml::OutputPin, uml::OutputPin>> CallActionImpl::getResult() const
{
	if(m_result == nullptr)
	{
		m_result.reset(new Subset<uml::OutputPin, uml::OutputPin >());
		#ifdef SHOW_SUBSET_UNION
			std::cout << "Initialising shared pointer Subset: " << "m_result - Subset<uml::OutputPin, uml::OutputPin >()" << std::endl;
		#endif
		m_result->initSubset(getOutput());
		#ifdef SHOW_SUBSET_UNION
			std::cout << "Initialising value Subset: " << "m_result - Subset<uml::OutputPin, uml::OutputPin >(getOutput())" << std::endl;
		#endif
	}
    return m_result;
}
std :: shared_ptr < Subset < uml :: OutputPin , uml :: OutputPin > > CallActionImpl :: getResult ( ) const { if ( m_result == nullptr ) { m_result . reset ( new Subset < uml :: OutputPin , uml :: OutputPin > ( ) ) ; #ifdef SHOW_SUBSET_UNION std :: cout << " " << " " << std :: endl ; #endif m_result -> initSubset ( getOutput ( ) ) ; #ifdef SHOW_SUBSET_UNION std :: cout << " " << " " << std :: endl ; #endif } return m_result ; }
References
Getter & Setter for reference result
References Getter & Setter for reference result
/*Subset*/ /*Subset*/