From: <sv...@ww...> - 2004-08-08 18:37:35
|
Author: mkrose Date: 2004-08-08 11:37:28 -0700 (Sun, 08 Aug 2004) New Revision: 1209 Modified: trunk/CSP/CSPSim/CHANGES.current trunk/CSP/CSPSim/Source/ObjectModel.cpp trunk/CSP/SimData/CHANGES.current trunk/CSP/SimData/Include/SimData/ObjectInterface.h trunk/CSP/SimData/Include/SimData/Ref.h trunk/CSP/SimData/Source/DataArchive.cpp trunk/CSP/SimData/Source/Link.cpp Log: Removed restriction on serializing null+none Links. Added a validation callback in ObjectInterface to catch null+none Links for required fields. Changed Ref assignment back to throwing an exception for incompatible types. This is the correct default behavior. If you expect a Ref assignment to fail, either use Ref<FOO>::compatible() to explicitly test for compatibility without throwing an exception, or catch the ConversionError. Minor logging improvements. Tweaked animation channel binding in CSPSim to explicitly test type- compatibility before assigning. Browse at: https://www.zerobar.net/viewcvs/viewcvs.cgi?view=rev&rev=1209 Diff omitted (11522 bytes). |