Module Import alias Import alias Import alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Num Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Num Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str Str Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str ListLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str Str Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str Str Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str ListLoad Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str ListLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str Str Call AttributeLoad NameLoad attr ListLoad Str Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str Str Call AttributeLoad NameLoad attr ListLoad Num Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str ListLoad Str Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str Str Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str Str decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A IECore N/A Gaffer N/A GafferTest NodeAlgoTest N/A N/A GafferTest TestCase N/A test N/A N/A self N/A N/A N/A node N/A N/A GafferTest AddNode N/A N/A N/A self assertEqual N/A N/A N/A node N/A op1 getValue 0 N/A N/A N/A self assertFalse N/A N/A N/A Gaffer NodeAlgo hasUserDefault N/A node N/A op1 N/A N/A N/A N/A Gaffer Metadata registerPlugValue N/A N/A N/A GafferTest AddNode staticTypeId op1 userDefault N/A N/A IECore IntData 7 N/A N/A N/A self assertTrue N/A N/A N/A Gaffer NodeAlgo hasUserDefault N/A node N/A op1 N/A N/A N/A self assertFalse N/A N/A N/A Gaffer NodeAlgo isSetToUserDefault N/A node N/A op1 N/A N/A N/A N/A Gaffer NodeAlgo applyUserDefaults node N/A N/A N/A self assertEqual N/A N/A N/A node N/A op1 getValue 7 N/A N/A N/A self assertTrue N/A N/A N/A Gaffer NodeAlgo isSetToUserDefault N/A node N/A op1 N/A node2 N/A N/A GafferTest AddNode N/A N/A N/A self assertEqual N/A N/A N/A node2 N/A op1 getValue 0 N/A N/A N/A N/A Gaffer NodeAlgo applyUserDefaults node2 N/A N/A N/A self assertEqual N/A N/A N/A node2 N/A op1 getValue 7 N/A N/A N/A N/A node2 N/A op1 setValue 1 N/A N/A N/A N/A Gaffer NodeAlgo applyUserDefault N/A node2 N/A op1 N/A N/A N/A self assertEqual N/A N/A N/A node2 N/A op1 getValue 7 N/A node3 N/A N/A GafferTest AddNode N/A N/A N/A N/A Gaffer Metadata registerPlugValue N/A N/A N/A GafferTest AddNode staticTypeId op1 userDefault None N/A N/A N/A self assertFalse N/A N/A N/A Gaffer NodeAlgo hasUserDefault N/A node3 N/A op1 N/A N/A N/A N/A Gaffer NodeAlgo applyUserDefaults node3 N/A N/A N/A self assertEqual N/A N/A N/A node3 N/A op1 getValue 0 N/A N/A N/A self assertFalse N/A N/A N/A Gaffer NodeAlgo isSetToUserDefault N/A node N/A op1 N/A testCompoundPlug N/A N/A self N/A N/A N/A node N/A N/A GafferTest CompoundPlugNode N/A N/A N/A self assertEqual N/A N/A N/A N/A node N/A p N/A s getValue N/A N/A N/A N/A Gaffer Metadata registerPlugValue N/A N/A N/A GafferTest CompoundPlugNode staticTypeId p.s userDefault N/A N/A IECore StringData from the metadata N/A N/A N/A self assertFalse N/A N/A N/A Gaffer NodeAlgo isSetToUserDefault N/A N/A node N/A p N/A s N/A N/A N/A N/A Gaffer NodeAlgo applyUserDefaults node N/A N/A N/A self assertEqual N/A N/A N/A N/A node N/A p N/A s getValue from the metadata N/A N/A N/A self assertTrue N/A N/A N/A Gaffer NodeAlgo isSetToUserDefault N/A N/A node N/A p N/A s N/A N/A N/A N/A Gaffer Metadata registerPlugValue N/A N/A node N/A p N/A s userDefault N/A N/A IECore StringData i am special N/A N/A N/A self assertFalse N/A N/A N/A Gaffer NodeAlgo isSetToUserDefault N/A N/A node N/A p N/A s N/A N/A N/A N/A Gaffer NodeAlgo applyUserDefaults node N/A N/A N/A self assertEqual N/A N/A N/A N/A node N/A p N/A s getValue i am special N/A N/A N/A self assertTrue N/A N/A N/A Gaffer NodeAlgo isSetToUserDefault N/A N/A node N/A p N/A s N/A node2 N/A N/A GafferTest CompoundPlugNode N/A N/A N/A self assertFalse N/A N/A N/A Gaffer NodeAlgo isSetToUserDefault N/A N/A node2 N/A p N/A s N/A N/A N/A N/A Gaffer NodeAlgo applyUserDefaults node2 N/A N/A N/A self assertEqual N/A N/A N/A N/A node2 N/A p N/A s getValue from the metadata N/A N/A N/A self assertTrue N/A N/A N/A Gaffer NodeAlgo isSetToUserDefault N/A N/A node2 N/A p N/A s N/A testSeveral N/A N/A self N/A N/A N/A node N/A N/A GafferTest AddNode N/A node2 N/A N/A GafferTest AddNode N/A N/A N/A self assertEqual N/A N/A N/A node N/A op1 getValue 0 N/A N/A N/A self assertEqual N/A N/A N/A node2 N/A op1 getValue 0 N/A N/A N/A N/A Gaffer Metadata registerPlugValue N/A N/A N/A GafferTest AddNode staticTypeId op1 userDefault N/A N/A IECore IntData 1 N/A N/A N/A N/A Gaffer Metadata registerPlugValue N/A node2 N/A op1 userDefault N/A N/A IECore IntData 2 N/A N/A N/A N/A Gaffer NodeAlgo applyUserDefaults N/A node node2 N/A N/A N/A self assertEqual N/A N/A N/A node N/A op1 getValue 1 N/A N/A N/A self assertEqual N/A N/A N/A node2 N/A op1 getValue 2 N/A testPresets N/A N/A self N/A N/A N/A node N/A N/A GafferTest AddNode N/A N/A N/A self assertEqual N/A N/A N/A Gaffer NodeAlgo presets N/A node N/A op1 N/A N/A N/A N/A self assertEqual N/A N/A N/A Gaffer NodeAlgo currentPreset N/A node N/A op1 None N/A N/A N/A N/A Gaffer Metadata registerPlugValue N/A node N/A op1 preset:one 1 N/A N/A N/A N/A Gaffer Metadata registerPlugValue N/A node N/A op1 preset:two 2 N/A N/A N/A self assertEqual N/A N/A N/A Gaffer NodeAlgo presets N/A node N/A op1 N/A one two N/A N/A N/A self assertEqual N/A N/A N/A Gaffer NodeAlgo currentPreset N/A node N/A op1 None N/A N/A N/A N/A Gaffer NodeAlgo applyPreset N/A node N/A op1 one N/A N/A N/A self assertEqual N/A N/A N/A node N/A op1 getValue 1 N/A N/A N/A self assertEqual N/A N/A N/A Gaffer NodeAlgo currentPreset N/A node N/A op1 one N/A N/A N/A N/A Gaffer NodeAlgo applyPreset N/A node N/A op1 two N/A N/A N/A self assertEqual N/A N/A N/A node N/A op1 getValue 2 N/A N/A N/A self assertEqual N/A N/A N/A Gaffer NodeAlgo currentPreset N/A node N/A op1 two N/A testPresetsArray N/A N/A self N/A N/A N/A node N/A N/A GafferTest AddNode N/A N/A N/A self assertEqual N/A N/A N/A Gaffer NodeAlgo presets N/A node N/A op1 N/A N/A N/A N/A N/A Gaffer Metadata registerPlugValue N/A node N/A op1 presetNames N/A N/A IECore StringVectorData N/A a b c N/A N/A N/A N/A Gaffer Metadata registerPlugValue N/A node N/A op1 presetValues N/A N/A IECore IntVectorData N/A 1 2 3 N/A N/A N/A self assertEqual N/A N/A N/A Gaffer NodeAlgo presets N/A node N/A op1 N/A a b c N/A N/A N/A N/A Gaffer NodeAlgo applyPreset N/A node N/A op1 a N/A N/A N/A self assertEqual N/A N/A N/A node N/A op1 getValue 1 N/A N/A N/A self assertEqual N/A N/A N/A Gaffer NodeAlgo currentPreset N/A node N/A op1 a N/A N/A N/A N/A Gaffer NodeAlgo applyPreset N/A node N/A op1 b N/A N/A N/A self assertEqual N/A N/A N/A node N/A op1 getValue 2 N/A N/A N/A self assertEqual N/A N/A N/A Gaffer NodeAlgo currentPreset N/A node N/A op1 b N/A N/A N/A N/A Gaffer NodeAlgo applyPreset N/A node N/A op1 c N/A N/A N/A self assertEqual N/A N/A N/A node N/A op1 getValue 3 N/A N/A N/A self assertEqual N/A N/A N/A Gaffer NodeAlgo currentPreset N/A node N/A op1 c N/A N/A N/A N/A Gaffer Metadata registerPlugValue N/A node N/A op1 preset:c 10 N/A N/A N/A self assertEqual N/A N/A N/A Gaffer NodeAlgo currentPreset N/A node N/A op1 None N/A N/A N/A N/A Gaffer NodeAlgo applyPreset N/A node N/A op1 c N/A N/A N/A self assertEqual N/A N/A N/A node N/A op1 getValue 10 N/A N/A N/A self assertEqual N/A N/A N/A Gaffer NodeAlgo currentPreset N/A node N/A op1 c N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main