\section{U\-T\-I\-L\-:\-:Bit\-Field\-Value Class Reference}
\label{classUTIL_1_1BitFieldValue}\index{U\-T\-I\-L\-::\-Bit\-Field\-Value@{U\-T\-I\-L\-::\-Bit\-Field\-Value}}


Helper class for \doxyref{Bit\-Field64}{p.}{classUTIL_1_1BitField64} that corresponds to one field value.  




{\ttfamily \#include $<$U\-T\-I\-L/\-Bit\-Field64.\-h$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
{\bf Bit\-Field\-Value} ({\bf lcio\-::long64} \&bitfield, const std\-::string \&{\bf name}, unsigned {\bf offset}, int signed\-Width)
\begin{DoxyCompactList}\small\item\em The default c'tor. \end{DoxyCompactList}\item 
{\bf lcio\-::long64} {\bf value} () const \label{classUTIL_1_1BitFieldValue_af49243fda1aea008030cdb47a0210b90}

\begin{DoxyCompactList}\small\item\em Returns the current field value. \end{DoxyCompactList}\item 
{\bf Bit\-Field\-Value} \& {\bf operator=} ({\bf lcio\-::long64} in)\label{classUTIL_1_1BitFieldValue_aa3620598a8c259ba6639d60b1f2d0703}

\begin{DoxyCompactList}\small\item\em Assignment operator for user convenience. \end{DoxyCompactList}\item 
{\bf operator lcio\-::long64} () const \label{classUTIL_1_1BitFieldValue_ab43204d630137d82b6f0c997d5cfe794}

\begin{DoxyCompactList}\small\item\em Conversion operator for lcio\-::long64 -\/ allows to write\-:\par
 lcio\-::long64 index = my\-Bit\-Field\-Value ;. \end{DoxyCompactList}\item 
const std\-::string \& {\bf name} () const 
\begin{DoxyCompactList}\small\item\em fg\-: removed because it causes ambiguities with operator lcio\-::long64(). \end{DoxyCompactList}\item 
unsigned {\bf offset} () const \label{classUTIL_1_1BitFieldValue_a51efb4a8de1acedcc3a217f33a3bfb91}

\begin{DoxyCompactList}\small\item\em The field's offset. \end{DoxyCompactList}\item 
unsigned {\bf width} () const \label{classUTIL_1_1BitFieldValue_ae167cdb5fd9b9440e603abfd9e1d09a0}

\begin{DoxyCompactList}\small\item\em The field's width. \end{DoxyCompactList}\item 
bool {\bf is\-Signed} () const \label{classUTIL_1_1BitFieldValue_a6681ff930b7e817b940c20f197cd2087}

\begin{DoxyCompactList}\small\item\em True if field is interpreted as signed. \end{DoxyCompactList}\item 
{\bf lcio\-::ulong64} {\bf mask} () const \label{classUTIL_1_1BitFieldValue_aa82f9f18a496d41224a3c5c63360a76f}

\begin{DoxyCompactList}\small\item\em The field's mask. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
{\bf lcio\-::long64} \& {\bfseries \-\_\-b}\label{classUTIL_1_1BitFieldValue_ae5c48fbbe3a30ac0f561778420954125}

\item 
{\bf lcio\-::ulong64} {\bfseries \-\_\-mask}\label{classUTIL_1_1BitFieldValue_acae1074102642a1033e057007dd0e914}

\item 
std\-::string {\bfseries \-\_\-name}\label{classUTIL_1_1BitFieldValue_a7bccd080636fdaaeae01bd8d54274893}

\item 
unsigned {\bfseries \-\_\-offset}\label{classUTIL_1_1BitFieldValue_a32a491e11c986e98a16a704882a87cd7}

\item 
unsigned {\bfseries \-\_\-width}\label{classUTIL_1_1BitFieldValue_ad802c20bb2382692748c04dafb705935}

\item 
int {\bfseries \-\_\-min\-Val}\label{classUTIL_1_1BitFieldValue_a41402a2909af38c57fcda456b9efdaad}

\item 
int {\bfseries \-\_\-max\-Val}\label{classUTIL_1_1BitFieldValue_a759bd11916c6701f01eda3cb39b6bb9b}

\item 
bool {\bfseries \-\_\-is\-Signed}\label{classUTIL_1_1BitFieldValue_a87e523003a0edf68d2b0eabe89511364}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Helper class for \doxyref{Bit\-Field64}{p.}{classUTIL_1_1BitField64} that corresponds to one field value. 

\subsection{Constructor \& Destructor Documentation}
\index{U\-T\-I\-L\-::\-Bit\-Field\-Value@{U\-T\-I\-L\-::\-Bit\-Field\-Value}!Bit\-Field\-Value@{Bit\-Field\-Value}}
\index{Bit\-Field\-Value@{Bit\-Field\-Value}!UTIL::BitFieldValue@{U\-T\-I\-L\-::\-Bit\-Field\-Value}}
\subsubsection[{Bit\-Field\-Value}]{\setlength{\rightskip}{0pt plus 5cm}U\-T\-I\-L\-::\-Bit\-Field\-Value\-::\-Bit\-Field\-Value (
\begin{DoxyParamCaption}
\item[{{\bf lcio\-::long64} \&}]{bitfield, }
\item[{const std\-::string \&}]{name, }
\item[{unsigned}]{offset, }
\item[{int}]{signed\-Width}
\end{DoxyParamCaption}
)}\label{classUTIL_1_1BitFieldValue_a9ebf75a76fe07cc564d171a97d287056}


The default c'tor. 


\begin{DoxyParams}{Parameters}
{\em bitfield} & reference to the 64bit bitfield \\
\hline
{\em offset} & offset of field \\
\hline
{\em signed\-Width} & width of field, negative if field is signed \\
\hline
\end{DoxyParams}


References offset().



\subsection{Member Function Documentation}
\index{U\-T\-I\-L\-::\-Bit\-Field\-Value@{U\-T\-I\-L\-::\-Bit\-Field\-Value}!name@{name}}
\index{name@{name}!UTIL::BitFieldValue@{U\-T\-I\-L\-::\-Bit\-Field\-Value}}
\subsubsection[{name}]{\setlength{\rightskip}{0pt plus 5cm}const std\-::string\& U\-T\-I\-L\-::\-Bit\-Field\-Value\-::name (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}\label{classUTIL_1_1BitFieldValue_ae686c0a1d79e8adf2adf5b115b2393a4}


fg\-: removed because it causes ambiguities with operator lcio\-::long64(). 

Conversion operator for int -\/ allows to write\-:\par
 int index = my\-Bit\-Field\-Value ;The field's name 

The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
Bit\-Field64.\-h\item 
Bit\-Field64.\-cc\end{DoxyCompactItemize}
