[Insight-users] odd error on GetOutput() call

Aaron Cois cacst11+@pitt.edu
Wed, 09 Apr 2003 01:51:22 -0400


I have created a DataObject and a Process which uses that DataObject as 
its output type.  However when i create an instance of that DataObject 
and then set it equal to GetOutput() of the aforementioned Process, I am 
getting the error:

f:\Projects\Development\ChimeraTest\main.cpp(392): error C2679: binary 
'=' : no operator found which takes a right-hand operand of type 
'itk::MedialNodePairCorrespondenceProcess<TSourceImage>::DataStructureType 
*' (or there is no acceptable conversion)
        with
        [
            TSourceImage=BloxCAImageType
        ]


I havent had this problem with othe rprocesses and objects i have 
created in a similar fasion, and am aving a little trouble deducing the 
source of the error...should i be overloading the = operator in a 
certain way in the DataObject or something?

    -Aaron