Sophie

Sophie

distrib > Mandriva > current > x86_64 > by-pkgid > 3736f276bb1ccfbcee6cb2d27b25d981 > files > 829

openscap-devel-0.5.7-1mdv2010.1.x86_64.rpm

\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 
\hypertarget{group__OVALDEF_ga2f9667276e93ad35d76db1dcffc2fc79}{
struct \hyperlink{structoval__object__content}{oval\_\-object\_\-content} $\ast$ {\bfseries 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)}
\label{group__OVALDEF_ga2f9667276e93ad35d76db1dcffc2fc79}

\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 
\hypertarget{group__OVALDEF_gab9b8acc8417e50346277434664580d70}{
char $\ast$ \hyperlink{group__OVALDEF_gab9b8acc8417e50346277434664580d70}{oval\_\-object\_\-content\_\-get\_\-field\_\-name} (struct \hyperlink{structoval__object__content}{oval\_\-object\_\-content} $\ast$)}
\label{group__OVALDEF_gab9b8acc8417e50346277434664580d70}

\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$)
\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 
\hypertarget{group__OVALDEF_ga34bbb9c642f068ee2804948a5aa6e0fa}{
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$)}
\label{group__OVALDEF_ga34bbb9c642f068ee2804948a5aa6e0fa}

\begin{DoxyCompactList}\small\item\em Get varCheck 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 
\hypertarget{group__OVALDEF_gab7cd02df736c511429724559d867df19}{
bool \hyperlink{group__OVALDEF_gab7cd02df736c511429724559d867df19}{oval\_\-object\_\-content\_\-is\_\-valid} (struct \hyperlink{structoval__object__content}{oval\_\-object\_\-content} $\ast$object\_\-content)}
\label{group__OVALDEF_gab7cd02df736c511429724559d867df19}

\begin{DoxyCompactList}\small\item\em Return {\bfseries true} if the object\_\-content instance is valid. \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/openscap/openscap-\/0.5.7/src/OVAL/\hyperlink{oval__objectContent_8c}{oval\_\-objectContent.c}\item 
/home/pvrabec/openscap/openscap-\/0.5.7/src/OVAL/public/\hyperlink{oval__definitions_8h}{oval\_\-definitions.h}\end{DoxyCompactItemize}