occt: master ce8b059a

Author Committer Branch Timestamp Parent
abv abv master 2015-06-29 06:17:43 master 83eaf3e8
Affected Issues  0024023: Revamp the OCCT Handle
Changeset 0024023: Revamp the OCCT Handle -- plugin

Definition of PLUGINFACTORY function changed to return Standard_Transient* instead of Handle(Standard_Transient), which cannot be returned by C-style function.
Default implementation of PLUGINFACTORY() instantiated by macro PLUGIN() is corrected accordingly.
Methods Factory() in persistence packages are made returning const & to handle; this is to reflect the fact that returned handle should point to existing object (usually statically allocated) rather than new one.
mod - src/BinDrivers/BinDrivers.cdl Diff File
mod - src/BinDrivers/BinDrivers.cxx Diff File
mod - src/BinLDrivers/BinLDrivers.cdl Diff File
mod - src/BinLDrivers/BinLDrivers.cxx Diff File
mod - src/BinTObjDrivers/BinTObjDrivers.cxx Diff File
mod - src/BinTObjDrivers/BinTObjDrivers.hxx Diff File
mod - src/BinXCAFDrivers/BinXCAFDrivers.cdl Diff File
mod - src/BinXCAFDrivers/BinXCAFDrivers.cxx Diff File
mod - src/FWOSDriver/FWOSDriver.cdl Diff File
mod - src/FWOSDriver/FWOSDriver.cxx Diff File
mod - src/Plugin/Plugin.cxx Diff File
mod - src/Plugin/Plugin_Macro.hxx Diff File
mod - src/XmlDrivers/XmlDrivers.cdl Diff File
mod - src/XmlDrivers/XmlDrivers.cxx Diff File
mod - src/XmlLDrivers/XmlLDrivers.cdl Diff File
mod - src/XmlLDrivers/XmlLDrivers.cxx Diff File
mod - src/XmlTObjDrivers/XmlTObjDrivers.cxx Diff File
mod - src/XmlTObjDrivers/XmlTObjDrivers.hxx Diff File
mod - src/XmlXCAFDrivers/XmlXCAFDrivers.cdl Diff File
mod - src/XmlXCAFDrivers/XmlXCAFDrivers.cxx Diff File