<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Problem with association and Smart Pointer"]]></title>
		<link>http://forums.visual-paradigm.com/posts/1.html</link>
		<description><![CDATA[Latest messages posted in the topic "Problem with association and Smart Pointer"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Problem with association and Smart Pointer</title>
				<description><![CDATA[ Hi there. <br> My company finally purchased VP, mainly due to a lot of pressure I've put to replace Visio. I've imported my C++ classes from code and Visio. It looks great and the current version + sp looks far more mature than the evaluation I've tried a year ago.<br> <br> The first thing that troubles me is that I use a lot of Smart Pointers (mainly boost library Shared Pointer template). <br> <br> A lot of Class's Data members that look  like this:<br> <br> -m_Member : boost.shared_ptr<Associated_Class> <br> <br> Are actually associations to the class – regular pointers wrapped by mini-garbage collector.  VP however doesn't recognize those members as associations to the Associated_Class, but as associations to boost.shared_ptr. <br> This is a reasonable behavior, but is there any way to bypass that?<br> boost.shared_ptr<Class X> is really the same (UML wise) as *X (A pointer to class X). <br> I want VP to interpret  boost.shared_ptr<Class X> as a regular association type with my Class X. <br> ]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/2925#23530.html</guid>
				<link>http://forums.visual-paradigm.com/posts/2925#23530.html</link>
				<pubDate><![CDATA[Wed, 12 Mar 2008 18:57:44]]></pubDate>
				<author><![CDATA[ orenshochat]]></author>
			</item>
			<item>
				<title>Re:Problem with association and Smart Pointer</title>
				<description><![CDATA[ Hi orenshochat,<br> <br> Thank you for choosing Visual Paradigm, and bringing your problem into our attention. I will ask our engineers if we can support your requirement. Will keep you informed.<br> <br> Best regards,<br> Jick<br> ]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/2925#23583.html</guid>
				<link>http://forums.visual-paradigm.com/posts/2925#23583.html</link>
				<pubDate><![CDATA[Fri, 14 Mar 2008 08:34:43]]></pubDate>
				<author><![CDATA[ Jick]]></author>
			</item>
			<item>
				<title>Re:Problem with association and Smart Pointer</title>
				<description><![CDATA[ Hi orenshochat,<br> <br> Could you provide me with some sample code to reproduce the problem?<br> <br> Best regards,<br> Jick]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/2925#23633.html</guid>
				<link>http://forums.visual-paradigm.com/posts/2925#23633.html</link>
				<pubDate><![CDATA[Fri, 14 Mar 2008 18:47:51]]></pubDate>
				<author><![CDATA[ Jick]]></author>
			</item>
			<item>
				<title>Re:Problem with association and Smart Pointer</title>
				<description><![CDATA[ This is not really a bug, it is a WAD - Worked As Designed. <br> But I'm looking for a way to bypass that.<br> <br> Some background:<br> A smart pointer is a template for holding a simple pointer. It provides with automatic memory freeing once the pointer loses scope. It is very common practice in C++. <br> I'm using Boost free library smart pointers (also a common practice in c++)<br> <br> Sample<br> <br> Class A<br> {<br> };<br> <br> Class B<br> {<br> <br> boost::smart_ptr<A> m_pToType_A;<br> };<br> <br> Class B has a smart pointer member that points to an A type object. This is really similar to :<br> <br> Class B<br> {<br> <br> A* m_pToType_A;<br> };<br> <br> However visual paradigm doesn't see it that way and doesn't create the association between Class A and B. Instead it builds an association between B and smart_ptr.<br> <br> I need a way to bypass that, a way to tell VP that  "boost::smart_ptr<A> " is the same as "*A" regarding association<br> <br> ]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/2925#23687.html</guid>
				<link>http://forums.visual-paradigm.com/posts/2925#23687.html</link>
				<pubDate><![CDATA[Sun, 16 Mar 2008 17:00:05]]></pubDate>
				<author><![CDATA[ orenshochat]]></author>
			</item>
			<item>
				<title>Problem with association and Smart Pointer</title>
				<description><![CDATA[ Sorry "A*" and not "*A"]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/2925#23688.html</guid>
				<link>http://forums.visual-paradigm.com/posts/2925#23688.html</link>
				<pubDate><![CDATA[Sun, 16 Mar 2008 17:01:29]]></pubDate>
				<author><![CDATA[ orenshochat]]></author>
			</item>
			<item>
				<title>Problem with association and Smart Pointer</title>
				<description><![CDATA[ Hello orenshochat,<br> <br> Thanks for the samples. I've forwarded the details to our engineers to follow-up. Once there are any feedbacks, I'll comeback to you immediately. If you need any help, please do not hesitate to contact me again.<br> <br> Best regards,<br> Rain Wong]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/2925#23782.html</guid>
				<link>http://forums.visual-paradigm.com/posts/2925#23782.html</link>
				<pubDate><![CDATA[Tue, 18 Mar 2008 10:27:00]]></pubDate>
				<author><![CDATA[ Rain]]></author>
			</item>
			<item>
				<title>Re:Problem with association and Smart Pointer</title>
				<description><![CDATA[ Hello orenshochat, <br> <br> Our engineers had tested your issue but unable to repeat your problem. Attached is the sample we used and the generated project file. Can you have a look and see is the sample correct?<br> <br> Best regards,<br> Rain Wong]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/2925#23815.html</guid>
				<link>http://forums.visual-paradigm.com/posts/2925#23815.html</link>
				<pubDate><![CDATA[Tue, 18 Mar 2008 15:49:07]]></pubDate>
				<author><![CDATA[ Rain]]></author>
			</item>
			<item>
				<title>Problem with association and Smart Pointer</title>
				<description><![CDATA[ Take the sample you placed.  <br> Delete the association arrow. Now we have class A and Class B on the Static (class) diagam. <br> Left Click on Class B Attribute - "-m_pToType_A : boost.smart_ptr<A>"<br> Right Click on it.  The popup menu has only "Create association" not SHOW association. <br> It can only create association between B and  boost.smart_ptr. <br> I wish to bypass that.<br> <br> ]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/2925#23822.html</guid>
				<link>http://forums.visual-paradigm.com/posts/2925#23822.html</link>
				<pubDate><![CDATA[Tue, 18 Mar 2008 17:15:09]]></pubDate>
				<author><![CDATA[ orenshochat]]></author>
			</item>
			<item>
				<title>Re:Problem with association and Smart Pointer</title>
				<description><![CDATA[ Hi orenshochat,<br> <br> Thank you for your details. Our engineers have investigated and fixed the problem already. Please download and try the patch in the following link and see if it solves the problem.<br> <a href="http://files4.visual-paradigm.com/200803/Patch/sp1_20080311x/VP_Suite_Windows_3_2_sp1_20080311x.exe" target="_blank" rel="nofollow">http://files4.visual-paradigm.com/200803/Patch/sp1_20080311x/VP_Suite_Windows_3_2_sp1_20080311x.exe</a><br> <br> To use the patch:<br> 1. Exit any running instance of VP<br> 2. Install by overwriting the current installation<br> 3. Restart the product.<br> <br> Note: This patch is made for VP Suite 3.2 SP1 (VP-UML 6.2 SP1). Please make sure you have a valid product license. Otherwise you won't be able to start up the product after the installation.<br> <br> If there are any inquiries, please feel free to contact me.<br> <br> Best regards,<br> Lilian Wong]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/2925#24622.html</guid>
				<link>http://forums.visual-paradigm.com/posts/2925#24622.html</link>
				<pubDate><![CDATA[Fri, 28 Mar 2008 15:43:11]]></pubDate>
				<author><![CDATA[ LilianWong]]></author>
			</item>
	</channel>
</rss>