Phoenix Logo

phoenix_title wx.lib.pubsub.core.validatedefnargs

Some topic definition validation functions.

copyright:Copyright since 2006 by Oliver Schoenborn, all rights reserved.
license:BSD, see LICENSE_BSD_Simple.txt for details.

function_summary Functions Summary

verifyArgsDifferent Verify that allArgs does not contain any of allParentArgs. Raise
verifySubset Verify that sub is a subset of all for topicName. Raise

Functions



verifyArgsDifferent(allArgs, allParentArgs, topicName)

Verify that allArgs does not contain any of allParentArgs. Raise MessageDataSpecError if fail.



verifySubset(all, sub, topicName, extraMsg='')

Verify that sub is a subset of all for topicName. Raise MessageDataSpecError if fail.