openc2lib.types.targets.features

 1import openc2lib.types.base
 2from openc2lib.core.target import target
 3
 4@target('features')
 5class Features(openc2lib.types.base.ArrayOf(openc2lib.types.data.Feature)):
 6	""" OpenC2 Features
 7
 8		Implements the `features` target (Section 3.4.1.5).
 9		Just defines an `ArrayOf` `Feature`.
10	"""
11# TODO: implmement control on the max number of elements
12	pass
@target('features')
class Features(openc2lib.types.base.array_of.ArrayOf.__new__..ArrayOf):
 5@target('features')
 6class Features(openc2lib.types.base.ArrayOf(openc2lib.types.data.Feature)):
 7	""" OpenC2 Features
 8
 9		Implements the `features` target (Section 3.4.1.5).
10		Just defines an `ArrayOf` `Feature`.
11	"""
12# TODO: implmement control on the max number of elements
13	pass

OpenC2 Features

Implements the features target (Section 3.4.1.5). Just defines an ArrayOf Feature.

Inherited Members
builtins.list
list
clear
copy
append
insert
extend
pop
remove
index
count
reverse
sort
openc2lib.types.base.array_of.ArrayOf.__new__..ArrayOf
fieldtype
fromdict
openc2lib.types.base.array.Array
fieldtypes
todict