<div dir="ltr"><div>CBuilderFolder is missing SetName. This is an oversight.</div><div><br></div><div>You could set the name in the model like this:</div><div>CBuilderFolder *fldr = builder.GetRootFolder();<br></div>fldr->GetIFolder()->put_Name(_bstr_t("New name"));<br><div><br></div><div>But fldr->GetName() will return outdated data.</div><div><br></div><div>Kevin</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 7, 2015 at 4:26 AM, Patrick Lorrig <span dir="ltr"><<a href="mailto:plorrig@me.com" target="_blank">plorrig@me.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>hey everybody,<br><br>I have a short yet hard question.<br><br>I'm writing an interpreter at the moment. One step of the interpreter is to create a folder in the root folder. The issue is, that when I try to rename that folder (which is at the moment named " ") it seems that there is no option to do so, since the "name();" is protected. <br><br>The code which creates the new folder at the moment:<br>CBuilderFolder *GrTraceFolder = builder.GetRootFolder()->CreateNewFolder("GranulateTracing");<br><br>Do you know any option how to name that folder?<br><br>Thank you a lot in advance!<br></div></div>
<br>_______________________________________________<br>
gme-users mailing list<br>
<a href="mailto:gme-users@list.isis.vanderbilt.edu">gme-users@list.isis.vanderbilt.edu</a><br>
<a href="http://list.isis.vanderbilt.edu/cgi-bin/mailman/listinfo/gme-users" rel="noreferrer" target="_blank">http://list.isis.vanderbilt.edu/cgi-bin/mailman/listinfo/gme-users</a><br>
<br></blockquote></div><br></div>