public void SetBooleanfunction(PBooleanfunction node) { if(_booleanfunction_ != null) { _booleanfunction_.Parent(null); } if(node != null) { if(node.Parent() != null) { node.Parent().RemoveChild(node); } node.Parent(this); } _booleanfunction_ = node; }
internal override void RemoveChild(Node child) { if ( _a_ == child ) { _a_ = null; return; } if ( _booleanfunction_ == child ) { _booleanfunction_ = null; return; } if ( _b_ == child ) { _b_ = null; return; } }
public ABooleanlogic( PSimple _a_, PBooleanfunction _booleanfunction_, PSimple _b_ ) { SetA (_a_); SetBooleanfunction (_booleanfunction_); SetB (_b_); }