[Insight-developers] itk::AutoPointer
Miller, James V (Research)
millerjv at crd.ge.com
Thu, 4 Mar 2004 12:49:04 -0500
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C40210.FC125012
Content-Type: text/plain;
charset="iso-8859-1"
Is there a limitation on the types of objects itk::AutoPointer<T> can
operate on?
It looks as though it requires an object that has a method Print(). Which
would seem to limit it to ITK objects.
I was hoping that I could use an itk::AutoPointer<std:vector<T> >
On as side note, I also had a problem compiling
itk::AutoPointer<>::operator=(AutoPointer()) when my type was a pointer to
an std::vector<>
Jim Miller
_____________________________________
Visualization & Computer Vision
GE Research
Bldg. KW, Room C218B
P.O. Box 8, Schenectady NY 12301
millerjv at research.ge.com <mailto:millerjv at research.ge.com>
james.miller at research.ge.com
(518) 387-4005, Dial Comm: 8*833-4005,
Cell: (518) 505-7065, Fax: (518) 387-6981
------_=_NextPart_001_01C40210.FC125012
Content-Type: text/html;
charset="iso-8859-1"
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1276" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=941214217-04032004><FONT size=2>Is there a limitation on the
types of objects itk::AutoPointer<T> can operate on?</FONT></SPAN></DIV>
<DIV><SPAN class=941214217-04032004><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=941214217-04032004></SPAN><SPAN class=941214217-04032004><FONT
size=2>It looks as though it requires an object that has a method Print(). Which
would seem to limit it to ITK objects.</FONT></SPAN></DIV>
<DIV><SPAN class=941214217-04032004><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=941214217-04032004><FONT size=2>I was hoping that I could use
an itk::AutoPointer<std:vector<T> ></FONT></SPAN></DIV>
<DIV><SPAN class=941214217-04032004><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=941214217-04032004><FONT size=2>On as side note, I also had a
problem compiling itk::AutoPointer<>::operator=(AutoPointer()) when
my type was a pointer to an std::vector<></FONT></SPAN></DIV>
<DIV><SPAN class=941214217-04032004><FONT size=2></FONT></SPAN> </DIV>
<DIV>
<P style="MARGIN: 0in 0in 0pt"><B><SPAN
style="COLOR: navy; FONT-FAMILY: 'Comic Sans MS'">Jim Miller</SPAN></B>
<BR><B><I><SPAN
style="FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: Arial">_____________________________________</SPAN></I></B><BR><EM><SPAN
style="FONT-SIZE: 7.5pt; COLOR: black; FONT-FAMILY: Arial">Visualization &
Computer Vision</SPAN></EM><I><SPAN
style="FONT-SIZE: 7.5pt; COLOR: black; FONT-FAMILY: Arial"><BR><EM>GE
Research</EM><BR><EM>Bldg. KW, Room C218B</EM><BR><EM>P.O. Box 8, Schenectady NY
12301</EM><BR><BR></SPAN></I><EM><U><SPAN
style="FONT-SIZE: 7.5pt; COLOR: blue"><A
href="mailto:millerjv at research.ge.com">millerjv at research.ge.com</A></SPAN></U></EM></P>
<P style="MARGIN: 0in 0in 0pt"><EM><U><SPAN
style="FONT-SIZE: 7.5pt; COLOR: blue">james.miller at research.ge.com</SPAN></U></EM><BR><I><SPAN
style="FONT-SIZE: 7.5pt; COLOR: black; FONT-FAMILY: Arial">(518) 387-4005, Dial
Comm: 8*833-4005, </SPAN></I><BR><I><SPAN
style="FONT-SIZE: 7.5pt; COLOR: black; FONT-FAMILY: Arial">Cell: (518) 505-7065,
Fax: (518) 387-6981</SPAN></I> </P></DIV>
<DIV> </DIV></BODY></HTML>
------_=_NextPart_001_01C40210.FC125012--