A base class for XCCDF items. More...
#include <xccdf.h>
Data Fields | |
xccdf_type_t | type |
struct xccdf_item_base | item |
union { | |
struct xccdf_profile_item profile | |
struct xccdf_benchmark_item bench | |
struct xccdf_rule_item rule | |
struct xccdf_group_item group | |
struct xccdf_value_item value | |
struct xccdf_result_item result | |
} | sub |
Related Functions | |
(Note that these are not member functions.) | |
xccdf_type_t | xccdf_item_get_type (const struct xccdf_item *item) |
Get item type. | |
const char * | xccdf_item_get_id (const struct xccdf_item *item) |
Get item ID. | |
const char * | xccdf_item_get_title (const struct xccdf_item *item) |
Get item title. | |
const char * | xccdf_item_get_description (const struct xccdf_item *item) |
Get item description. | |
const char * | xccdf_item_get_version (const struct xccdf_item *item) |
Get item version. | |
struct xccdf_item * | xccdf_item_get_extends (const struct xccdf_item *item) |
Return item's parent in the inheritance hierarchy. | |
struct xccdf_item * | xccdf_item_get_parent (const struct xccdf_item *item) |
Return item's parent in the grouping hierarchy. | |
struct xccdf_status_iterator * | xccdf_item_get_statuses (const struct xccdf_item *item) |
Get an iterator to item statuses. | |
struct xccdf_reference_iterator * | xccdf_item_get_references (const struct xccdf_item *item) |
Get an iterator to the XCCDF references of the item. | |
xccdf_status_type_t | xccdf_item_get_current_status (const struct xccdf_item *item) |
Get item current status. |
A base class for XCCDF items.