====== XConnection ====== **//Inherited from//** [[class::xcondition|XCondition]], **//Inherited by//** NULL **//Friend class//** NULL **//Description//** **//Public interface//** * [[xconnection#xconnection1|XConnection]](ulong id, int type) * [[xconnection#~xconnection|~XConnection]]() * const XConnection * [[xconnection#toconnection|toConnection]]() const * XConnection * [[xconnection#toconnection|toConnection]]() * uint8 [[xconnection#getconstraintdof|getConstraintDoF]]() const * void [[xconnection#cleartarget|clearTarget]]() * bool [[xconnection#checktargets|checkTargets]](ConditionContext *context) const * const XArray * [[xconnection#getmastertargets|getMasterTargets]]() const * const XArray * [[xconnection#getslavetargets|getSlaveTargets]]() const * void [[xconnection#setmastertargets|setMasterTargets]](vector * tars) * void [[xconnection#setslavetargets|setSlaveTargets]](vector * tars) * ulong [[xconnection#getmastertarcount|getMasterTarcount]]() const * ulong [[xconnection#getslavetarcount|getSlaveTarcount]]() const * void [[xconnection#getmasternodes|getMasterNodes]](ConditionContext *context, vector * nodes) const * void [[xconnection#getslavenodes|getSlaveNodes]](ConditionContext *context, vector * nodes) const * void [[xconnection#searchnodepairs|searchNodePairs]](ConditionContext *context, double tol, vector & nodes0, vector & nodes1, bool b1V1) const * void [[xconnection#clear|clear]]() * void [[xconnection#write|write]](XBinaryIO * io) const * ErrorCode [[xconnection#read|read]](XBinaryIO * io) ---- {{anchor:xconnection1}} **XConnection(ulong id, int type)** *function: *parameters: - [i]ulong id: - [i] int type: *return value: {{anchor:~xconnection}} **~XConnection()** *function: *parameters: NULL *return value: {{anchor:toconnection}} **const XConnection * toConnection() const** *function: *parameters: NULL *return value: {{anchor:toconnection}} **XConnection * toConnection()** *function: *parameters: NULL *return value: {{anchor:getconstraintdof}} **uint8 getConstraintDoF() const** *function: *parameters: NULL *return value: {{anchor:cleartarget}} **void clearTarget()** *function: *parameters: NULL *return value: {{anchor:checktargets}} **bool checkTargets(ConditionContext *context) const** *function: *parameters: - [i]ConditionContext *context: *return value: {{anchor:getmastertargets}} **const XArray * getMasterTargets() const** *function: *parameters: NULL *return value: {{anchor:getslavetargets}} **const XArray * getSlaveTargets() const** *function: *parameters: NULL *return value: {{anchor:setmastertargets}} **void setMasterTargets(vector * tars)** *function: *parameters: - [i]vector * tars: *return value: {{anchor:setslavetargets}} **void setSlaveTargets(vector * tars)** *function: *parameters: - [i]vector * tars: *return value: {{anchor:getmastertarcount}} **ulong getMasterTarcount() const** *function: *parameters: NULL *return value: {{anchor:getslavetarcount}} **ulong getSlaveTarcount() const** *function: *parameters: NULL *return value: {{anchor:getmasternodes}} **void getMasterNodes(ConditionContext *context, vector * nodes) const** *function: *parameters: - [i]ConditionContext *context: - [i] vector * nodes: *return value: {{anchor:getslavenodes}} **void getSlaveNodes(ConditionContext *context, vector * nodes) const** *function: *parameters: - [i]ConditionContext *context: - [i] vector * nodes: *return value: {{anchor:searchnodepairs}} **void searchNodePairs(ConditionContext *context, double tol, vector & nodes0, vector & nodes1, bool b1V1) const** *function: *parameters: - [i]ConditionContext *context: - [i] double tol: - [i] vector & nodes0: - [i] vector & nodes1: - [i] bool b1V1: *return value: {{anchor:clear}} **void clear()** *function: *parameters: NULL *return value: {{anchor:write}} **void write(XBinaryIO * io) const** *function: *parameters: - [i]XBinaryIO * io: *return value: {{anchor:read}} **ErrorCode read(XBinaryIO * io)** *function: *parameters: - [i]XBinaryIO * io: *return value: