virtual void CopyObject(CObjectStreamCopier& copier,
                            const CObjectTypeInfo& passed_info)
    {
        cout << copier.In().GetStackPath() << endl;
#if 1
        DefaultCopy(copier, passed_info);

#else
#if 1
// or skip the object
        copier.In().SkipObject(passed_info.GetTypeInfo());
#endif
#if 0
// or read object
        CSeq_annot annot;
        copier.In().ReadObject(&annot, CSeq_annot::GetTypeInfo());
        cout << MSerial_AsnText << annot << endl;
// and maybe write it as well
        copier.Out().WriteObject(&annot, CSeq_annot::GetTypeInfo());
#endif
#if 0
// or read object and write it
        CObjectInfo oi(passed_info.GetTypeInfo());
        copier.In().ReadObject(oi);
        copier.Out().WriteObject(oi);
#endif
        
        // typeinfo of the object (Seq-annot)
        TTypeInfo ti = passed_info.GetTypeInfo();
#endif
    }
Beispiel #2
0
 virtual void CopyClassMember(CObjectStreamCopier& copier,
                              const CObjectTypeInfoMI& passed_info)
 {
     DefaultCopy(copier, passed_info);
 }
void cFCOPropUint64::Copy(const iFCOProp* rhs)
{
    DefaultCopy(this, rhs);
}
void cFCOPropTSTRING::Copy(const iFCOProp* rhs)
{
    DefaultCopy(this, rhs);
}
void cFCOPropInt32::Copy(const iFCOProp* rhs)
{
    DefaultCopy(this, rhs);
}