Sophie

Sophie

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

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

\hypertarget{structoval__value}{
\section{oval\_\-value Struct Reference}
\label{structoval__value}\index{oval\_\-value@{oval\_\-value}}
}


OVAL object or item entity value.  


{\ttfamily \#include $<$oval\_\-definitions.h$>$}\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{group__OVALDEF_gaa4709ee7da1c5848fd1e840cd58152d1}{
struct \hyperlink{structoval__value}{oval\_\-value} $\ast$ {\bfseries oval\_\-value\_\-new} (\hyperlink{group__OVALDEF_gaf069fe2fb2a9ae3abe47cab55b89827e}{oval\_\-datatype\_\-t} datatype, char $\ast$text\_\-value)}
\label{group__OVALDEF_gaa4709ee7da1c5848fd1e840cd58152d1}

\item 
\hypertarget{group__OVALDEF_ga7fe14f1f36f8bcd9ed374c682d3553b7}{
struct \hyperlink{structoval__value}{oval\_\-value} $\ast$ {\bfseries oval\_\-value\_\-clone} (struct \hyperlink{structoval__value}{oval\_\-value} $\ast$old\_\-value)}
\label{group__OVALDEF_ga7fe14f1f36f8bcd9ed374c682d3553b7}

\item 
\hypertarget{group__OVALDEF_gafd80c3c46b4772e95f2f91fd3794352e}{
void {\bfseries oval\_\-value\_\-free} (struct \hyperlink{structoval__value}{oval\_\-value} $\ast$)}
\label{group__OVALDEF_gafd80c3c46b4772e95f2f91fd3794352e}

\end{DoxyCompactItemize}
\begin{Indent}{\bf Getters}\par
{\em \label{_amgrpc9fd0bcb5385a65354c37f1bb504399d}
 }\begin{DoxyCompactItemize}
\item 
\hypertarget{group__OVALDEF_ga0f6246b022711228e2da00a6ace24c50}{
\hyperlink{group__OVALDEF_gaf069fe2fb2a9ae3abe47cab55b89827e}{oval\_\-datatype\_\-t} \hyperlink{group__OVALDEF_ga0f6246b022711228e2da00a6ace24c50}{oval\_\-value\_\-get\_\-datatype} (struct \hyperlink{structoval__value}{oval\_\-value} $\ast$)}
\label{group__OVALDEF_ga0f6246b022711228e2da00a6ace24c50}

\begin{DoxyCompactList}\small\item\em Get OVAL value datatype. \item\end{DoxyCompactList}\item 
\hypertarget{group__OVALDEF_gada8afe096881f72f6ab3f44f31129be1}{
char $\ast$ \hyperlink{group__OVALDEF_gada8afe096881f72f6ab3f44f31129be1}{oval\_\-value\_\-get\_\-text} (struct \hyperlink{structoval__value}{oval\_\-value} $\ast$)}
\label{group__OVALDEF_gada8afe096881f72f6ab3f44f31129be1}

\begin{DoxyCompactList}\small\item\em Get OVAL value as a text. \item\end{DoxyCompactList}\item 
\hypertarget{group__OVALDEF_ga6fc144e2ea0cef2e43c2cb803ecc5de8}{
unsigned char $\ast$ \hyperlink{group__OVALDEF_ga6fc144e2ea0cef2e43c2cb803ecc5de8}{oval\_\-value\_\-get\_\-binary} (struct \hyperlink{structoval__value}{oval\_\-value} $\ast$)}
\label{group__OVALDEF_ga6fc144e2ea0cef2e43c2cb803ecc5de8}

\begin{DoxyCompactList}\small\item\em Get OVAL value as a piece of raw binary data. \item\end{DoxyCompactList}\item 
\hypertarget{group__OVALDEF_ga569e211c05bd7df5af57956c0c073e6a}{
bool \hyperlink{group__OVALDEF_ga569e211c05bd7df5af57956c0c073e6a}{oval\_\-value\_\-get\_\-boolean} (struct \hyperlink{structoval__value}{oval\_\-value} $\ast$)}
\label{group__OVALDEF_ga569e211c05bd7df5af57956c0c073e6a}

\begin{DoxyCompactList}\small\item\em Get OVAL value as a boolean. \item\end{DoxyCompactList}\item 
\hypertarget{group__OVALDEF_gaf2e020f7d2ef8ca9d471a8eab07bb57c}{
float \hyperlink{group__OVALDEF_gaf2e020f7d2ef8ca9d471a8eab07bb57c}{oval\_\-value\_\-get\_\-float} (struct \hyperlink{structoval__value}{oval\_\-value} $\ast$)}
\label{group__OVALDEF_gaf2e020f7d2ef8ca9d471a8eab07bb57c}

\begin{DoxyCompactList}\small\item\em Get OVAL value as a floating point number. \item\end{DoxyCompactList}\item 
\hypertarget{group__OVALDEF_gaadf003c2e5105fdd96e531a88824d669}{
long \hyperlink{group__OVALDEF_gaadf003c2e5105fdd96e531a88824d669}{oval\_\-value\_\-get\_\-integer} (struct \hyperlink{structoval__value}{oval\_\-value} $\ast$)}
\label{group__OVALDEF_gaadf003c2e5105fdd96e531a88824d669}

\begin{DoxyCompactList}\small\item\em Get OVAL value as an integer. \item\end{DoxyCompactList}\item 
bool \hyperlink{group__OVALDEF_gadbcd7d50988fc8450f3821a6f075062d}{oval\_\-value\_\-is\_\-locked} (struct \hyperlink{structoval__value}{oval\_\-value} $\ast$value)
\begin{DoxyCompactList}\small\item\em return {\bfseries true} if the value instance is locked. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}
\begin{Indent}{\bf Evaluators}\par
{\em \label{_amgrp1fdbbbb8aba6580be2c9cb4b12e86ca2}
 }\begin{DoxyCompactItemize}
\item 
\hypertarget{group__OVALDEF_gae54bae024f0cc8913c903d441daac415}{
bool \hyperlink{group__OVALDEF_gae54bae024f0cc8913c903d441daac415}{oval\_\-value\_\-is\_\-valid} (struct \hyperlink{structoval__value}{oval\_\-value} $\ast$value)}
\label{group__OVALDEF_gae54bae024f0cc8913c903d441daac415}

\begin{DoxyCompactList}\small\item\em Return {\bfseries true} if the value instance is valid. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}
\subsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
\hypertarget{structoval__value_a191cbb148ddaaf2564ffd18582e48214}{
\hyperlink{group__OVALDEF_gaf069fe2fb2a9ae3abe47cab55b89827e}{oval\_\-datatype\_\-t} {\bfseries datatype}}
\label{structoval__value_a191cbb148ddaaf2564ffd18582e48214}

\item 
\hypertarget{structoval__value_acd2ab02050ca5fa524342b85eba2d722}{
char $\ast$ {\bfseries text}}
\label{structoval__value_acd2ab02050ca5fa524342b85eba2d722}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
OVAL object or item entity value. 

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__value_8c}{oval\_\-value.c}\item 
/home/pvrabec/openscap/openscap-\/0.5.7/src/OVAL/public/\hyperlink{oval__definitions_8h}{oval\_\-definitions.h}\end{DoxyCompactItemize}