"HASOWN" is the equivilant of the built in hasOwnProperty function and is meant to be used for iteration on
the structure members.
HASOWN(memberName, scopeFlags, typeFlags, isExclusive)
The flag filters the members iterated over based on their access level. These are:
crxOop.HASOWN_SCOPE_SHARED_PUBLIC = 8 for members that are "shared public"
crxOop.HASOWN_SCOPE_SHARED_PRIVATE = 16 for members that are "shared private"
crxOop.HASOWN_SCOPE_PRIVATE = 32 for members that are "private"
Defaults to 8 (crxOop.HASOWN_SCOPE_SHARED_PUBLIC)
The flag filters the members based on their type. These are:
crxOop.HASOWN_TYPE_VAR = 1 for members that are variables
crxOop.HASOWN_TYPE_FUNCTION = 2 for members that are functions
crxOop.HASOWN_TYPE_FOREIGN = 4 for members that were not defined in the structure definition
Defaults to 1 (crxOop.HASOWN_TYPE_VAR)
Foreign members are members declared in the constructor, not in the class definition. Such declaration
is highly discouraged, but allowed.
If true, selects only members belonging to the structure itself, which include those defined by the
structure and those defined by the structure's ancestors.
Otherwise, selects all memebers visible to the structure. Note that foreign members would not be
selected if set to true.