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