1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117
|
\hypertarget{structoval__object__content}{
\section{oval\_\-object\_\-content Struct Reference}
\label{structoval__object__content}\index{oval\_\-object\_\-content@{oval\_\-object\_\-content}}
}
An Oval\_\-object\_\-content instance specifies an \hyperlink{structoval__object}{oval\_\-object} field.
{\ttfamily \#include $<$oval\_\-definitions.h$>$}\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item
\hypertarget{group__OVALDEF_ga4fbd4a25697327d43ccf8530bc79b950}{
struct \hyperlink{structoval__object__content}{oval\_\-object\_\-content} $\ast$ {\bfseries oval\_\-object\_\-content\_\-new} (struct \hyperlink{structoval__definition__model}{oval\_\-definition\_\-model} $\ast$model, \hyperlink{group__OVALDEF_gaf5a61d142a62eb195ad4483627e458b4}{oval\_\-object\_\-content\_\-type\_\-t} type)}
\label{group__OVALDEF_ga4fbd4a25697327d43ccf8530bc79b950}
\item
struct \hyperlink{structoval__object__content}{oval\_\-object\_\-content} $\ast$ \hyperlink{group__OVALDEF_ga2f9667276e93ad35d76db1dcffc2fc79}{oval\_\-object\_\-content\_\-clone} (struct \hyperlink{structoval__definition__model}{oval\_\-definition\_\-model} $\ast$new\_\-model, struct \hyperlink{structoval__object__content}{oval\_\-object\_\-content} $\ast$old\_\-content)
\item
\hypertarget{group__OVALDEF_gafb7f03c84ad7656013309383f602b195}{
void {\bfseries oval\_\-object\_\-content\_\-free} (struct \hyperlink{structoval__object__content}{oval\_\-object\_\-content} $\ast$)}
\label{group__OVALDEF_gafb7f03c84ad7656013309383f602b195}
\end{DoxyCompactItemize}
\begin{Indent}{\bf Setters}\par
{\em \label{_amgrp6e47466b75bb957a603aa54c079ac8bf}
}\begin{DoxyCompactItemize}
\item
\hypertarget{group__OVALDEF_gaf3b573bc09b9b836e8e9ab5340e1ee80}{
void {\bfseries oval\_\-object\_\-content\_\-set\_\-type} (struct \hyperlink{structoval__object__content}{oval\_\-object\_\-content} $\ast$, \hyperlink{group__OVALDEF_gaf5a61d142a62eb195ad4483627e458b4}{oval\_\-object\_\-content\_\-type\_\-t})}
\label{group__OVALDEF_gaf3b573bc09b9b836e8e9ab5340e1ee80}
\item
\hypertarget{group__OVALDEF_ga71f9b3678c420a99fe85758149c705ba}{
void {\bfseries oval\_\-object\_\-content\_\-set\_\-field\_\-name} (struct \hyperlink{structoval__object__content}{oval\_\-object\_\-content} $\ast$, char $\ast$)}
\label{group__OVALDEF_ga71f9b3678c420a99fe85758149c705ba}
\item
\hypertarget{group__OVALDEF_ga97f968d3a803bba48282f6bb482ecd31}{
void {\bfseries oval\_\-object\_\-content\_\-set\_\-entity} (struct \hyperlink{structoval__object__content}{oval\_\-object\_\-content} $\ast$, struct \hyperlink{structoval__entity}{oval\_\-entity} $\ast$)}
\label{group__OVALDEF_ga97f968d3a803bba48282f6bb482ecd31}
\item
\hypertarget{group__OVALDEF_gaf7b7aa56aae34b3fa94cc07a05095396}{
void {\bfseries oval\_\-object\_\-content\_\-set\_\-varCheck} (struct \hyperlink{structoval__object__content}{oval\_\-object\_\-content} $\ast$, \hyperlink{group__OVALDEF_ga926ba821c14d2faac9a23b8908c23d70}{oval\_\-check\_\-t})}
\label{group__OVALDEF_gaf7b7aa56aae34b3fa94cc07a05095396}
\item
\hypertarget{group__OVALDEF_gab7619136a02d18bf08f86934894225e6}{
void {\bfseries oval\_\-object\_\-content\_\-set\_\-setobject} (struct \hyperlink{structoval__object__content}{oval\_\-object\_\-content} $\ast$, struct \hyperlink{structoval__setobject}{oval\_\-setobject} $\ast$)}
\label{group__OVALDEF_gab7619136a02d18bf08f86934894225e6}
\end{DoxyCompactItemize}
\end{Indent}
\begin{Indent}{\bf Getters}\par
{\em \label{_amgrpc9fd0bcb5385a65354c37f1bb504399d}
}\begin{DoxyCompactItemize}
\item
char $\ast$ \hyperlink{group__OVALDEF_gab9b8acc8417e50346277434664580d70}{oval\_\-object\_\-content\_\-get\_\-field\_\-name} (struct \hyperlink{structoval__object__content}{oval\_\-object\_\-content} $\ast$)
\begin{DoxyCompactList}\small\item\em Get field name of a object content. \item\end{DoxyCompactList}\item
\hypertarget{group__OVALDEF_ga79f8fa287122993924a3fcb91e9c5f0a}{
\hyperlink{group__OVALDEF_gaf5a61d142a62eb195ad4483627e458b4}{oval\_\-object\_\-content\_\-type\_\-t} \hyperlink{group__OVALDEF_ga79f8fa287122993924a3fcb91e9c5f0a}{oval\_\-object\_\-content\_\-get\_\-type} (struct \hyperlink{structoval__object__content}{oval\_\-object\_\-content} $\ast$)}
\label{group__OVALDEF_ga79f8fa287122993924a3fcb91e9c5f0a}
\begin{DoxyCompactList}\small\item\em Get type of a object content (entity or set). \item\end{DoxyCompactList}\item
struct \hyperlink{structoval__entity}{oval\_\-entity} $\ast$ \hyperlink{group__OVALDEF_ga74d796e4b2e67c4365199ff25e4cbf3b}{oval\_\-object\_\-content\_\-get\_\-entity} (struct \hyperlink{structoval__object__content}{oval\_\-object\_\-content} $\ast$)
\begin{DoxyCompactList}\small\item\em Get entity of a simple object content. \item\end{DoxyCompactList}\item
\hypertarget{group__OVALDEF_ga9e12c8f8a4b0abbfb4e2a87de61f0857}{
\hyperlink{group__OVALDEF_ga926ba821c14d2faac9a23b8908c23d70}{oval\_\-check\_\-t} \hyperlink{group__OVALDEF_ga9e12c8f8a4b0abbfb4e2a87de61f0857}{oval\_\-object\_\-content\_\-get\_\-varCheck} (struct \hyperlink{structoval__object__content}{oval\_\-object\_\-content} $\ast$)}
\label{group__OVALDEF_ga9e12c8f8a4b0abbfb4e2a87de61f0857}
\begin{DoxyCompactList}\small\item\em Get varCheck of a simple object content. \item\end{DoxyCompactList}\item
struct \hyperlink{structoval__setobject}{oval\_\-setobject} $\ast$ \hyperlink{group__OVALDEF_ga34bbb9c642f068ee2804948a5aa6e0fa}{oval\_\-object\_\-content\_\-get\_\-setobject} (struct \hyperlink{structoval__object__content}{oval\_\-object\_\-content} $\ast$)
\begin{DoxyCompactList}\small\item\em Get setobject of a set object content. \item\end{DoxyCompactList}\item
bool \hyperlink{group__OVALDEF_gae28871e58b480ceac1a2a49e91cfcb1b}{oval\_\-object\_\-content\_\-is\_\-locked} (struct \hyperlink{structoval__object__content}{oval\_\-object\_\-content} $\ast$object\_\-content)
\begin{DoxyCompactList}\small\item\em return {\bfseries true} if the object\_\-content instance is locked. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}
\begin{Indent}{\bf Evaluators}\par
{\em \label{_amgrp1fdbbbb8aba6580be2c9cb4b12e86ca2}
}\begin{DoxyCompactItemize}
\item
bool \hyperlink{group__OVALDEF_gab7cd02df736c511429724559d867df19}{oval\_\-object\_\-content\_\-is\_\-valid} (struct \hyperlink{structoval__object__content}{oval\_\-object\_\-content} $\ast$object\_\-content)
\begin{DoxyCompactList}\small\item\em Return {\bfseries true} if the object\_\-content instance is valid An Oval\_\-object\_\-content is valid if one of the following is true:
\begin{DoxyItemize}
\item The type attribute is OVAL\_\-OBJECTCONTENT\_\-ENTITY -\/-\/ AND
\begin{DoxyItemize}
\item The \hyperlink{structoval__entity}{oval\_\-entity} is valid.
\end{DoxyItemize}
\end{DoxyItemize}\item\end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}
\subsection*{Data Fields}
\begin{DoxyCompactItemize}
\item
\hypertarget{structoval__object__content_a7c26aad15561f9a16f357978d92ddedf}{
struct \hyperlink{structoval__definition__model}{oval\_\-definition\_\-model} $\ast$ {\bfseries model}}
\label{structoval__object__content_a7c26aad15561f9a16f357978d92ddedf}
\item
\hypertarget{structoval__object__content_a0467eb57e4b1ae1c81618e1d898a2298}{
char $\ast$ {\bfseries fieldName}}
\label{structoval__object__content_a0467eb57e4b1ae1c81618e1d898a2298}
\item
\hypertarget{structoval__object__content_a1bc7c623c96bec347ac7321827e0aa66}{
\hyperlink{group__OVALDEF_gaf5a61d142a62eb195ad4483627e458b4}{oval\_\-object\_\-content\_\-type\_\-t} {\bfseries type}}
\label{structoval__object__content_a1bc7c623c96bec347ac7321827e0aa66}
\end{DoxyCompactItemize}
\subsection{Detailed Description}
An Oval\_\-object\_\-content instance specifies an \hyperlink{structoval__object}{oval\_\-object} field.
The documentation for this struct was generated from the following files:\begin{DoxyCompactItemize}
\item
/home/pvrabec/project/openscap/openscap-\/0.5.12/src/OVAL/\hyperlink{oval__objectContent_8c}{oval\_\-objectContent.c}\item
/home/pvrabec/project/openscap/openscap-\/0.5.12/src/OVAL/public/\hyperlink{oval__definitions_8h}{oval\_\-definitions.h}\end{DoxyCompactItemize}
|