APIΒΆ
PyOpenCAP exposes two OpenCAP classes to Python: System
and CAP
. All data returned
by the methods of these objects is passed as a copy, and the underlying C++ code
retains ownership of the original data. Data passed to these objects from Python is passed
by reference, but is not modified in any way by the underlying C++ code.