Ignore:
Timestamp:
04/11/14 23:39:36 (11 years ago)
Author:
Maciej Komosinski
Message:

"Distributed" deserializable class registry, so that ExtValue? does not depend on so many other classes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/vm/classes/3dobject.cpp

    r197 r222  
    203203ExtObject Pt3D_Ext::makeDynamicObject(Pt3D_Ext* p)
    204204{return ExtObject(&getStaticParam(),p);}
     205
     206ExtObject Pt3D_Ext::makeDynamicObject(const Pt3D& p)
     207{
     208Pt3D_Ext *pe=new Pt3D_Ext(p);
     209return ExtObject(&getStaticParam(),pe);
     210}
    205211
    206212//////////////////////////////////////
     
    571577return (ReferenceObj*)v.getObjectTarget(getStaticParam().getName());
    572578}
     579
     580/////////////
     581
     582REGISTER_DESERIALIZABLE(Pt3D_Ext)
     583REGISTER_DESERIALIZABLE(Orient_Ext)
Note: See TracChangeset for help on using the changeset viewer.