pd_class_definitions$has
Usage
pd_class_definitions$has(name)
Check if a class defining function has
'is' and 'in' function defined for it.pd_class_definitions$add
or pd_add_class
Usage
pd_class_definitions$add(name, .exists=TRUE, .overwrite=FALSE)pd_add_class(name, .exists=TRUE, .overwrite=FALSE)
Add a def with default 'is' and 'in' functions defined.pd_class_definitions$add_definition
or pd_add_class_definition
Usage
pd_class_definitions$add_definition(name, test.is, test.in, .exists=TRUE, .overwrite=FALSE)pd_add_class_definition(name, test.is, test.in, .exists=TRUE, .overwrite=FALSE)
Add a class defining function with custom 'is' and 'in' functions defined.pd_class_definitions$rm
Usage
pd_class_definitions$rm(name)
Remove the testing functions for the class.pd_class_definitions$names
Usage
pd_class_definitions$names()
Return a vector of the classed for which tests are defined.pd_class_definitions$test_is
Usage
pd_class_definitions$test_is(id, pd, check=TRUE)
Test if id
is associated with each of
defined class definitions.pd_class_definitions$test_is_in
Usage
pd_class_definitions$test_is_in(id, pd, check=TRUE)
Test if id
is contained within each of
defined class definitions.pd_class_definitions$which
Usage
pd_class_definitions$which(id, pd, check=TRUE)
Return the name of the class, if any,
which id
corresponds to.pd_class_definitions$in_which
Usage
pd_class_definitions$in_which(id, pd, check=TRUE)
Returns a vector of the classes, if any,
of the classes which id
is contained in.pd_is_class_definition
Returns TRUE
if the id corresponds to any of the
class defining calls.