<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Hi Yakun,</div><div><br></div><div>Sorry for the delayed reply.  Can you tell me what is the way you're trying to construct names.  The current interface in Name class is far from perfect and I would love to have suggestions on how to improve it.</div><div><br></div><div>Right now, one of the Name constructors takes a list of references to string as input parameter, but it most likely not going to work in your case (it works with GetSubComponents).</div><div><br></div><div>With header->GetName() there should not be a problem, since you can either assign the output to another Name object or construct a new name object using the return value of GetName.</div><div><br>---<div>Alex</div></div><div><br>On Mar 16, 2013, at 12:47 AM, "Minerva" <<a href="mailto:xuyakunkun@gmail.com">xuyakunkun@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div>

<meta content="text/html; charset=gb2312" http-equiv="Content-Type">
<meta name="GENERATOR" content="MSHTML 9.00.8112.16464"><link rel="stylesheet" href="BLOCKQUOTE{margin-Top: 0px; margin-Bottom: 0px; margin-Left: 2em}">

<div>Hi Alex,</div>
<div>  The function <font color="#ff0000"><em>"GetComponets()" 
</em></font><font color="#000000">in<em> <font color="#ff0000">"name.cc"</font></em> 
can convert the namecomponent structure to a list.</font></div>
<div>  I'm wondering if there is an <span id="tran_2_5" jquery17109821136496124967="27" data-aligning="#src_2_5,#tran_2_5">inverse 
function that can convert the list to nameconponent structure as well as<font color="#ff0000"> header->GetName</font>. </span></div>
<div><span jquery17109821136496124967="27" data-aligning="#src_2_5,#tran_2_5">  If so, would you please show me an 
example how to use it? </span></div>
<div><span jquery17109821136496124967="27" data-aligning="#src_2_5,#tran_2_5">  Many thanks.</span></div>
<div><span jquery17109821136496124967="27" data-aligning="#src_2_5,#tran_2_5"><span data-aligning="#src_3_13,#tran_3_10" jquery171013208210001641163="247">
<div><font face="Verdana"></font> </div>
<div><font face="Verdana"></font> </div>
<div><font face="Verdana"></font> </div>
<div><font face="Verdana">Sincerely,</font></div>
<div><font face="Verdana">Yakun Xu</font></div>
<div><font face="Verdana"></font></div>
<div><font face="Verdana">National Engineering Laboratory for Next Generation 
Internet Interconnection Devices<br>Beijing Jiaotong University, 
China</font></div>
<div><font face="Verdana">Email:<span class="Apple-converted-space"> 
</span></font><a href="mailto:11111015@bjtu.edu.cn"><font color="#0000ff" face="Verdana">11111015@bjtu.edu.cn</font></a><font color="#0000ff"><font face="Verdana"><span class="Apple-converted-space"> </span>or<span class="Apple-converted-space"> </span></font></font><a href="mailto:xuyakunkun@gmail.com"><font color="#0000ff" face="Verdana">xuyakunkun@gmail.com</font></a></div></span></span></div>
<div align="left"><font color="#c0c0c0">祝您工作顺利,身体健康!</font></div>
<div align="left"><font color="#c0c0c0">2013-03-16 </font></div>
<hr style="WIDTH: 122px; HEIGHT: 2px" align="left" size="2">

<div><font color="#c0c0c0"><span>Minerva</span> </font></div>
</div></blockquote></body></html>