\hypertarget{classgymbo_1_1Instr}{}\doxysection{gymbo\+::Instr Class Reference}
\label{classgymbo_1_1Instr}\index{gymbo::Instr@{gymbo::Instr}}


Class representing an instruction.  




{\ttfamily \#include $<$type.\+h$>$}

\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{classgymbo_1_1Instr_a3223dad8872d38b84219901aad936c7d}{Instr}} (\mbox{\hyperlink{namespacegymbo_a367bfa154f9003b6f35beef881a6bb14}{Instr\+Type}} \mbox{\hyperlink{classgymbo_1_1Instr_aa3ce018ca1de01e675d789b90357e21e}{instr}})
\begin{DoxyCompactList}\small\item\em Constructor for an instruction without additional data. \end{DoxyCompactList}\item 
\mbox{\hyperlink{classgymbo_1_1Instr_ae92440f40b5774ddfeec0cbd2416437a}{Instr}} (\mbox{\hyperlink{namespacegymbo_a367bfa154f9003b6f35beef881a6bb14}{Instr\+Type}} \mbox{\hyperlink{classgymbo_1_1Instr_aa3ce018ca1de01e675d789b90357e21e}{instr}}, \mbox{\hyperlink{namespacegymbo_a5cbc49c07ec788c2da4cda3b41f9364f}{Word32}} \mbox{\hyperlink{classgymbo_1_1Instr_a955a484347502cf5145c62ce33d67b1c}{word}})
\begin{DoxyCompactList}\small\item\em Constructor for an instruction with additional data. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{classgymbo_1_1Instr_aef86c10eeedd8b91ab8aaa006844863f}{print}} () const
\begin{DoxyCompactList}\small\item\em Prints a human-\/readable representation of the instruction. \end{DoxyCompactList}\item 
std\+::string \mbox{\hyperlink{classgymbo_1_1Instr_af656a77f996c765f01129cac250b97b7}{to\+String}} () const
\begin{DoxyCompactList}\small\item\em Converts the instruction to a string representation. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{namespacegymbo_a367bfa154f9003b6f35beef881a6bb14}{Instr\+Type}} \mbox{\hyperlink{classgymbo_1_1Instr_aa3ce018ca1de01e675d789b90357e21e}{instr}}
\item 
\mbox{\hyperlink{namespacegymbo_a5cbc49c07ec788c2da4cda3b41f9364f}{Word32}} \mbox{\hyperlink{classgymbo_1_1Instr_a955a484347502cf5145c62ce33d67b1c}{word}}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Class representing an instruction. 

\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{classgymbo_1_1Instr_a3223dad8872d38b84219901aad936c7d}\label{classgymbo_1_1Instr_a3223dad8872d38b84219901aad936c7d}} 
\index{gymbo::Instr@{gymbo::Instr}!Instr@{Instr}}
\index{Instr@{Instr}!gymbo::Instr@{gymbo::Instr}}
\doxysubsubsection{\texorpdfstring{Instr()}{Instr()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily gymbo\+::\+Instr\+::\+Instr (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespacegymbo_a367bfa154f9003b6f35beef881a6bb14}{Instr\+Type}}}]{instr }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Constructor for an instruction without additional data. 


\begin{DoxyParams}{Parameters}
{\em instr} & The type of the instruction. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{classgymbo_1_1Instr_ae92440f40b5774ddfeec0cbd2416437a}\label{classgymbo_1_1Instr_ae92440f40b5774ddfeec0cbd2416437a}} 
\index{gymbo::Instr@{gymbo::Instr}!Instr@{Instr}}
\index{Instr@{Instr}!gymbo::Instr@{gymbo::Instr}}
\doxysubsubsection{\texorpdfstring{Instr()}{Instr()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily gymbo\+::\+Instr\+::\+Instr (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespacegymbo_a367bfa154f9003b6f35beef881a6bb14}{Instr\+Type}}}]{instr,  }\item[{\mbox{\hyperlink{namespacegymbo_a5cbc49c07ec788c2da4cda3b41f9364f}{Word32}}}]{word }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Constructor for an instruction with additional data. 


\begin{DoxyParams}{Parameters}
{\em instr} & The type of the instruction. \\
\hline
{\em word} & Additional data associated with the instruction. \\
\hline
\end{DoxyParams}


\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{classgymbo_1_1Instr_aef86c10eeedd8b91ab8aaa006844863f}\label{classgymbo_1_1Instr_aef86c10eeedd8b91ab8aaa006844863f}} 
\index{gymbo::Instr@{gymbo::Instr}!print@{print}}
\index{print@{print}!gymbo::Instr@{gymbo::Instr}}
\doxysubsubsection{\texorpdfstring{print()}{print()}}
{\footnotesize\ttfamily void gymbo\+::\+Instr\+::print (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Prints a human-\/readable representation of the instruction. 

\mbox{\Hypertarget{classgymbo_1_1Instr_af656a77f996c765f01129cac250b97b7}\label{classgymbo_1_1Instr_af656a77f996c765f01129cac250b97b7}} 
\index{gymbo::Instr@{gymbo::Instr}!toString@{toString}}
\index{toString@{toString}!gymbo::Instr@{gymbo::Instr}}
\doxysubsubsection{\texorpdfstring{toString()}{toString()}}
{\footnotesize\ttfamily std\+::string gymbo\+::\+Instr\+::to\+String (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Converts the instruction to a string representation. 

\begin{DoxyReturn}{Returns}
A string representation of the instruction. 
\end{DoxyReturn}


\doxysubsection{Member Data Documentation}
\mbox{\Hypertarget{classgymbo_1_1Instr_aa3ce018ca1de01e675d789b90357e21e}\label{classgymbo_1_1Instr_aa3ce018ca1de01e675d789b90357e21e}} 
\index{gymbo::Instr@{gymbo::Instr}!instr@{instr}}
\index{instr@{instr}!gymbo::Instr@{gymbo::Instr}}
\doxysubsubsection{\texorpdfstring{instr}{instr}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespacegymbo_a367bfa154f9003b6f35beef881a6bb14}{Instr\+Type}} gymbo\+::\+Instr\+::instr}

\mbox{\Hypertarget{classgymbo_1_1Instr_a955a484347502cf5145c62ce33d67b1c}\label{classgymbo_1_1Instr_a955a484347502cf5145c62ce33d67b1c}} 
\index{gymbo::Instr@{gymbo::Instr}!word@{word}}
\index{word@{word}!gymbo::Instr@{gymbo::Instr}}
\doxysubsubsection{\texorpdfstring{word}{word}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespacegymbo_a5cbc49c07ec788c2da4cda3b41f9364f}{Word32}} gymbo\+::\+Instr\+::word}



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
libgymbo/\mbox{\hyperlink{type_8h}{type.\+h}}\end{DoxyCompactItemize}
