No Description

main_8cpp.tex 3.0KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. \hypertarget{main_8cpp}{}\section{main.\+cpp File Reference}
  2. \label{main_8cpp}\index{main.\+cpp@{main.\+cpp}}
  3. {\ttfamily \#include $<$Q\+Application$>$}\\*
  4. {\ttfamily \#include \char`\"{}mainwindow.\+h\char`\"{}}\\*
  5. {\ttfamily \#include \char`\"{}bird.\+h\char`\"{}}\\*
  6. {\ttfamily \#include $<$cstdlib$>$}\\*
  7. {\ttfamily \#include $<$time.\+h$>$}\\*
  8. {\ttfamily \#include $<$Q\+Timer$>$}\\*
  9. {\ttfamily \#include $<$Q\+Object$>$}\\*
  10. {\ttfamily \#include $<$Q\+Debug$>$}\\*
  11. {\ttfamily \#include $<$Q\+Time$>$}\\*
  12. {\ttfamily \#include $<$Qt\+Multimedia/\+Q\+Sound$>$}\\*
  13. \subsection*{Functions}
  14. \begin{DoxyCompactItemize}
  15. \item
  16. \hypertarget{main_8cpp_a0562ff282c6bf5401ae3e5278f891953}{}void {\bfseries Filter\+Birds} (\hyperlink{class_bird}{Bird} birds\mbox{[}$\,$\mbox{]}, int N)\label{main_8cpp_a0562ff282c6bf5401ae3e5278f891953}
  17. \item
  18. void \hyperlink{main_8cpp_a3ddfcfeefb8fdb24bb5db043f09e72d9}{birth} (\hyperlink{class_main_window}{Main\+Window} \&w, const \hyperlink{class_bird}{Bird} \&mom, const \hyperlink{class_bird}{Bird} \&dad, \hyperlink{class_bird}{Bird} \&child)
  19. \begin{DoxyCompactList}\small\item\em Function that given references to objects mom, dad and child, uses the D\+N\+A of the father and the mother to generate D\+N\+A of the child. This function is edited by the student. \end{DoxyCompactList}\item
  20. \hypertarget{main_8cpp_a0ddf1224851353fc92bfbff6f499fa97}{}int {\bfseries main} (int argc, char $\ast$argv\mbox{[}$\,$\mbox{]})\label{main_8cpp_a0ddf1224851353fc92bfbff6f499fa97}
  21. \end{DoxyCompactItemize}
  22. \subsection{Function Documentation}
  23. \hypertarget{main_8cpp_a3ddfcfeefb8fdb24bb5db043f09e72d9}{}\index{main.\+cpp@{main.\+cpp}!birth@{birth}}
  24. \index{birth@{birth}!main.\+cpp@{main.\+cpp}}
  25. \subsubsection[{birth}]{\setlength{\rightskip}{0pt plus 5cm}void birth (
  26. \begin{DoxyParamCaption}
  27. \item[{{\bf Main\+Window} \&}]{w, }
  28. \item[{const {\bf Bird} \&}]{mom, }
  29. \item[{const {\bf Bird} \&}]{dad, }
  30. \item[{{\bf Bird} \&}]{child}
  31. \end{DoxyParamCaption}
  32. )}\label{main_8cpp_a3ddfcfeefb8fdb24bb5db043f09e72d9}
  33. Function that given references to objects mom, dad and child, uses the D\+N\+A of the father and the mother to generate D\+N\+A of the child. This function is edited by the student.
  34. \begin{DoxyParams}{Parameters}
  35. {\em w} & Reference to the main window \\
  36. \hline
  37. {\em mom} & Reference to const object of type \hyperlink{class_bird}{Bird}. \\
  38. \hline
  39. {\em dad} & Reference to const object of the \hyperlink{class_bird}{Bird}. \\
  40. \hline
  41. {\em child} & Reference to object child that will be modified. $\sim$\+Spanish Funcion que dado referencias a los objetos mom, dad, y child, usa el A\+D\+N de el padre (dad) y la madre (mom) para generar el A\+D\+N del nino (child). Esta funcion es editada por el estudiante. \\
  42. \hline
  43. {\em w} & Referencia a la pantalla principal \\
  44. \hline
  45. {\em mom} & Referencia al objeto constante de tipo \hyperlink{class_bird}{Bird}. \\
  46. \hline
  47. {\em dad} & Referencia al objeto constante de tipo \hyperlink{class_bird}{Bird}. \\
  48. \hline
  49. {\em child} & Referencia al objeto de tipo \hyperlink{class_bird}{Bird} a ser modificado. \\
  50. \hline
  51. \end{DoxyParams}