xccdf_item Struct Reference
[XCCDF]

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_itemxccdf_item_get_extends (const struct xccdf_item *item)
 Return item's parent in the inheritance hierarchy.
struct xccdf_itemxccdf_item_get_parent (const struct xccdf_item *item)
 Return item's parent in the grouping hierarchy.
struct xccdf_status_iteratorxccdf_item_get_statuses (const struct xccdf_item *item)
 Get an iterator to item statuses.
struct xccdf_reference_iteratorxccdf_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_status_current (const struct xccdf_item *item)
 Get item current status.
struct xccdf_benchmarkxccdf_item_cast_benchmark (struct xccdf_item *item)
 Convert the item to a benchmark.
struct xccdf_profilexccdf_item_cast_profile (struct xccdf_item *item)
 Convert the item to a profile.
struct xccdf_rulexccdf_item_cast_rule (struct xccdf_item *item)
 Convert the item to a rule.
struct xccdf_groupxccdf_item_cast_group (struct xccdf_item *item)
 Convert the item to a group.
struct xccdf_valuexccdf_item_cast_value (struct xccdf_item *item)
 Convert the item to a value.
struct xccdf_resultxccdf_item_cast_result (struct xccdf_item *item)
 Convert the item to a test result.

Detailed Description

A base class for XCCDF items.


The documentation for this struct was generated from the following files:

Generated on 29 Sep 2009 for Open SCAP Library by  doxygen 1.6.1