Micro template library A library for building device drivers
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

classtesting_1_1internal_1_1_native_array.tex 13 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. \hypertarget{classtesting_1_1internal_1_1_native_array}{}\section{testing\+:\+:internal\+:\+:Native\+Array$<$ Element $>$ Class Template Reference}
  2. \label{classtesting_1_1internal_1_1_native_array}\index{testing\+::internal\+::\+Native\+Array$<$ Element $>$@{testing\+::internal\+::\+Native\+Array$<$ Element $>$}}
  3. {\ttfamily \#include $<$gtest.\+h$>$}
  4. \subsection*{Public Types}
  5. \begin{DoxyCompactItemize}
  6. \item
  7. typedef Element \mbox{\hyperlink{classtesting_1_1internal_1_1_native_array_a12216d686e16e4cc63d952fada5b2ba9}{value\+\_\+type}}
  8. \item
  9. typedef Element $\ast$ \mbox{\hyperlink{classtesting_1_1internal_1_1_native_array_ac1301a57977b57a1ad013e4e25fc2a72}{iterator}}
  10. \item
  11. typedef const Element $\ast$ \mbox{\hyperlink{classtesting_1_1internal_1_1_native_array_a9ce7c8408460d7158a2870456d134557}{const\+\_\+iterator}}
  12. \end{DoxyCompactItemize}
  13. \subsection*{Public Member Functions}
  14. \begin{DoxyCompactItemize}
  15. \item
  16. \mbox{\hyperlink{classtesting_1_1internal_1_1_native_array_a52b3689c62532703d11e9d82939a7141}{Native\+Array}} (const Element $\ast$array, size\+\_\+t count, \mbox{\hyperlink{structtesting_1_1internal_1_1_relation_to_source_reference}{Relation\+To\+Source\+Reference}})
  17. \item
  18. \mbox{\hyperlink{classtesting_1_1internal_1_1_native_array_ac184ee5741af5be3402213819c834405}{Native\+Array}} (const Element $\ast$array, size\+\_\+t count, \mbox{\hyperlink{structtesting_1_1internal_1_1_relation_to_source_copy}{Relation\+To\+Source\+Copy}})
  19. \item
  20. \mbox{\hyperlink{classtesting_1_1internal_1_1_native_array_abb346ac3040f5da733f594cc2d5958bc}{Native\+Array}} (const \mbox{\hyperlink{classtesting_1_1internal_1_1_native_array}{Native\+Array}} \&rhs)
  21. \item
  22. \mbox{\hyperlink{classtesting_1_1internal_1_1_native_array_a55ab5948d473a487303dcf6e02ad1f60}{$\sim$\+Native\+Array}} ()
  23. \item
  24. size\+\_\+t \mbox{\hyperlink{classtesting_1_1internal_1_1_native_array_af96a4a5ca0cdd5d163c47a081f08bd89}{size}} () const
  25. \item
  26. \mbox{\hyperlink{classtesting_1_1internal_1_1_native_array_a9ce7c8408460d7158a2870456d134557}{const\+\_\+iterator}} \mbox{\hyperlink{classtesting_1_1internal_1_1_native_array_a3046d93cfa23097e7b7c91f5f982dc78}{begin}} () const
  27. \item
  28. \mbox{\hyperlink{classtesting_1_1internal_1_1_native_array_a9ce7c8408460d7158a2870456d134557}{const\+\_\+iterator}} \mbox{\hyperlink{classtesting_1_1internal_1_1_native_array_ae1cda748e49c6906421c6183c4d07c5a}{end}} () const
  29. \item
  30. bool \mbox{\hyperlink{classtesting_1_1internal_1_1_native_array_a81b90f5739ed812610e68dc34c9e3850}{operator==}} (const \mbox{\hyperlink{classtesting_1_1internal_1_1_native_array}{Native\+Array}} \&rhs) const
  31. \end{DoxyCompactItemize}
  32. \subsection{Detailed Description}
  33. \subsubsection*{template$<$typename Element$>$\newline
  34. class testing\+::internal\+::\+Native\+Array$<$ Element $>$}
  35. Definition at line 7579 of file gtest.\+h.
  36. \subsection{Member Typedef Documentation}
  37. \mbox{\Hypertarget{classtesting_1_1internal_1_1_native_array_a9ce7c8408460d7158a2870456d134557}\label{classtesting_1_1internal_1_1_native_array_a9ce7c8408460d7158a2870456d134557}}
  38. \index{testing\+::internal\+::\+Native\+Array@{testing\+::internal\+::\+Native\+Array}!const\+\_\+iterator@{const\+\_\+iterator}}
  39. \index{const\+\_\+iterator@{const\+\_\+iterator}!testing\+::internal\+::\+Native\+Array@{testing\+::internal\+::\+Native\+Array}}
  40. \subsubsection{\texorpdfstring{const\+\_\+iterator}{const\_iterator}}
  41. {\footnotesize\ttfamily template$<$typename Element $>$ \\
  42. typedef const Element$\ast$ \mbox{\hyperlink{classtesting_1_1internal_1_1_native_array}{testing\+::internal\+::\+Native\+Array}}$<$ Element $>$\+::\mbox{\hyperlink{classtesting_1_1internal_1_1_native_array_a9ce7c8408460d7158a2870456d134557}{const\+\_\+iterator}}}
  43. Definition at line 7584 of file gtest.\+h.
  44. \mbox{\Hypertarget{classtesting_1_1internal_1_1_native_array_ac1301a57977b57a1ad013e4e25fc2a72}\label{classtesting_1_1internal_1_1_native_array_ac1301a57977b57a1ad013e4e25fc2a72}}
  45. \index{testing\+::internal\+::\+Native\+Array@{testing\+::internal\+::\+Native\+Array}!iterator@{iterator}}
  46. \index{iterator@{iterator}!testing\+::internal\+::\+Native\+Array@{testing\+::internal\+::\+Native\+Array}}
  47. \subsubsection{\texorpdfstring{iterator}{iterator}}
  48. {\footnotesize\ttfamily template$<$typename Element $>$ \\
  49. typedef Element$\ast$ \mbox{\hyperlink{classtesting_1_1internal_1_1_native_array}{testing\+::internal\+::\+Native\+Array}}$<$ Element $>$\+::\mbox{\hyperlink{classtesting_1_1internal_1_1_native_array_ac1301a57977b57a1ad013e4e25fc2a72}{iterator}}}
  50. Definition at line 7583 of file gtest.\+h.
  51. \mbox{\Hypertarget{classtesting_1_1internal_1_1_native_array_a12216d686e16e4cc63d952fada5b2ba9}\label{classtesting_1_1internal_1_1_native_array_a12216d686e16e4cc63d952fada5b2ba9}}
  52. \index{testing\+::internal\+::\+Native\+Array@{testing\+::internal\+::\+Native\+Array}!value\+\_\+type@{value\+\_\+type}}
  53. \index{value\+\_\+type@{value\+\_\+type}!testing\+::internal\+::\+Native\+Array@{testing\+::internal\+::\+Native\+Array}}
  54. \subsubsection{\texorpdfstring{value\+\_\+type}{value\_type}}
  55. {\footnotesize\ttfamily template$<$typename Element $>$ \\
  56. typedef Element \mbox{\hyperlink{classtesting_1_1internal_1_1_native_array}{testing\+::internal\+::\+Native\+Array}}$<$ Element $>$\+::\mbox{\hyperlink{classtesting_1_1internal_1_1_native_array_a12216d686e16e4cc63d952fada5b2ba9}{value\+\_\+type}}}
  57. Definition at line 7582 of file gtest.\+h.
  58. \subsection{Constructor \& Destructor Documentation}
  59. \mbox{\Hypertarget{classtesting_1_1internal_1_1_native_array_a52b3689c62532703d11e9d82939a7141}\label{classtesting_1_1internal_1_1_native_array_a52b3689c62532703d11e9d82939a7141}}
  60. \index{testing\+::internal\+::\+Native\+Array@{testing\+::internal\+::\+Native\+Array}!Native\+Array@{Native\+Array}}
  61. \index{Native\+Array@{Native\+Array}!testing\+::internal\+::\+Native\+Array@{testing\+::internal\+::\+Native\+Array}}
  62. \subsubsection{\texorpdfstring{Native\+Array()}{NativeArray()}\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
  63. {\footnotesize\ttfamily template$<$typename Element $>$ \\
  64. \mbox{\hyperlink{classtesting_1_1internal_1_1_native_array}{testing\+::internal\+::\+Native\+Array}}$<$ Element $>$\+::\mbox{\hyperlink{classtesting_1_1internal_1_1_native_array}{Native\+Array}} (\begin{DoxyParamCaption}\item[{const Element $\ast$}]{array, }\item[{size\+\_\+t}]{count, }\item[{\mbox{\hyperlink{structtesting_1_1internal_1_1_relation_to_source_reference}{Relation\+To\+Source\+Reference}}}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}
  65. Definition at line 7587 of file gtest.\+h.
  66. \mbox{\Hypertarget{classtesting_1_1internal_1_1_native_array_ac184ee5741af5be3402213819c834405}\label{classtesting_1_1internal_1_1_native_array_ac184ee5741af5be3402213819c834405}}
  67. \index{testing\+::internal\+::\+Native\+Array@{testing\+::internal\+::\+Native\+Array}!Native\+Array@{Native\+Array}}
  68. \index{Native\+Array@{Native\+Array}!testing\+::internal\+::\+Native\+Array@{testing\+::internal\+::\+Native\+Array}}
  69. \subsubsection{\texorpdfstring{Native\+Array()}{NativeArray()}\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
  70. {\footnotesize\ttfamily template$<$typename Element $>$ \\
  71. \mbox{\hyperlink{classtesting_1_1internal_1_1_native_array}{testing\+::internal\+::\+Native\+Array}}$<$ Element $>$\+::\mbox{\hyperlink{classtesting_1_1internal_1_1_native_array}{Native\+Array}} (\begin{DoxyParamCaption}\item[{const Element $\ast$}]{array, }\item[{size\+\_\+t}]{count, }\item[{\mbox{\hyperlink{structtesting_1_1internal_1_1_relation_to_source_copy}{Relation\+To\+Source\+Copy}}}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}
  72. Definition at line 7592 of file gtest.\+h.
  73. \mbox{\Hypertarget{classtesting_1_1internal_1_1_native_array_abb346ac3040f5da733f594cc2d5958bc}\label{classtesting_1_1internal_1_1_native_array_abb346ac3040f5da733f594cc2d5958bc}}
  74. \index{testing\+::internal\+::\+Native\+Array@{testing\+::internal\+::\+Native\+Array}!Native\+Array@{Native\+Array}}
  75. \index{Native\+Array@{Native\+Array}!testing\+::internal\+::\+Native\+Array@{testing\+::internal\+::\+Native\+Array}}
  76. \subsubsection{\texorpdfstring{Native\+Array()}{NativeArray()}\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
  77. {\footnotesize\ttfamily template$<$typename Element $>$ \\
  78. \mbox{\hyperlink{classtesting_1_1internal_1_1_native_array}{testing\+::internal\+::\+Native\+Array}}$<$ Element $>$\+::\mbox{\hyperlink{classtesting_1_1internal_1_1_native_array}{Native\+Array}} (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classtesting_1_1internal_1_1_native_array}{Native\+Array}}$<$ Element $>$ \&}]{rhs }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}
  79. Definition at line 7597 of file gtest.\+h.
  80. \mbox{\Hypertarget{classtesting_1_1internal_1_1_native_array_a55ab5948d473a487303dcf6e02ad1f60}\label{classtesting_1_1internal_1_1_native_array_a55ab5948d473a487303dcf6e02ad1f60}}
  81. \index{testing\+::internal\+::\+Native\+Array@{testing\+::internal\+::\+Native\+Array}!````~Native\+Array@{$\sim$\+Native\+Array}}
  82. \index{````~Native\+Array@{$\sim$\+Native\+Array}!testing\+::internal\+::\+Native\+Array@{testing\+::internal\+::\+Native\+Array}}
  83. \subsubsection{\texorpdfstring{$\sim$\+Native\+Array()}{~NativeArray()}}
  84. {\footnotesize\ttfamily template$<$typename Element $>$ \\
  85. \mbox{\hyperlink{classtesting_1_1internal_1_1_native_array}{testing\+::internal\+::\+Native\+Array}}$<$ Element $>$\+::$\sim$\mbox{\hyperlink{classtesting_1_1internal_1_1_native_array}{Native\+Array}} (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}
  86. Definition at line 7601 of file gtest.\+h.
  87. \subsection{Member Function Documentation}
  88. \mbox{\Hypertarget{classtesting_1_1internal_1_1_native_array_a3046d93cfa23097e7b7c91f5f982dc78}\label{classtesting_1_1internal_1_1_native_array_a3046d93cfa23097e7b7c91f5f982dc78}}
  89. \index{testing\+::internal\+::\+Native\+Array@{testing\+::internal\+::\+Native\+Array}!begin@{begin}}
  90. \index{begin@{begin}!testing\+::internal\+::\+Native\+Array@{testing\+::internal\+::\+Native\+Array}}
  91. \subsubsection{\texorpdfstring{begin()}{begin()}}
  92. {\footnotesize\ttfamily template$<$typename Element $>$ \\
  93. \mbox{\hyperlink{classtesting_1_1internal_1_1_native_array_a9ce7c8408460d7158a2870456d134557}{const\+\_\+iterator}} \mbox{\hyperlink{classtesting_1_1internal_1_1_native_array}{testing\+::internal\+::\+Native\+Array}}$<$ Element $>$\+::begin (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}
  94. Definition at line 7608 of file gtest.\+h.
  95. \mbox{\Hypertarget{classtesting_1_1internal_1_1_native_array_ae1cda748e49c6906421c6183c4d07c5a}\label{classtesting_1_1internal_1_1_native_array_ae1cda748e49c6906421c6183c4d07c5a}}
  96. \index{testing\+::internal\+::\+Native\+Array@{testing\+::internal\+::\+Native\+Array}!end@{end}}
  97. \index{end@{end}!testing\+::internal\+::\+Native\+Array@{testing\+::internal\+::\+Native\+Array}}
  98. \subsubsection{\texorpdfstring{end()}{end()}}
  99. {\footnotesize\ttfamily template$<$typename Element $>$ \\
  100. \mbox{\hyperlink{classtesting_1_1internal_1_1_native_array_a9ce7c8408460d7158a2870456d134557}{const\+\_\+iterator}} \mbox{\hyperlink{classtesting_1_1internal_1_1_native_array}{testing\+::internal\+::\+Native\+Array}}$<$ Element $>$\+::end (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}
  101. Definition at line 7609 of file gtest.\+h.
  102. \mbox{\Hypertarget{classtesting_1_1internal_1_1_native_array_a81b90f5739ed812610e68dc34c9e3850}\label{classtesting_1_1internal_1_1_native_array_a81b90f5739ed812610e68dc34c9e3850}}
  103. \index{testing\+::internal\+::\+Native\+Array@{testing\+::internal\+::\+Native\+Array}!operator==@{operator==}}
  104. \index{operator==@{operator==}!testing\+::internal\+::\+Native\+Array@{testing\+::internal\+::\+Native\+Array}}
  105. \subsubsection{\texorpdfstring{operator==()}{operator==()}}
  106. {\footnotesize\ttfamily template$<$typename Element $>$ \\
  107. bool \mbox{\hyperlink{classtesting_1_1internal_1_1_native_array}{testing\+::internal\+::\+Native\+Array}}$<$ Element $>$\+::operator== (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classtesting_1_1internal_1_1_native_array}{Native\+Array}}$<$ Element $>$ \&}]{rhs }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}
  108. Definition at line 7610 of file gtest.\+h.
  109. \mbox{\Hypertarget{classtesting_1_1internal_1_1_native_array_af96a4a5ca0cdd5d163c47a081f08bd89}\label{classtesting_1_1internal_1_1_native_array_af96a4a5ca0cdd5d163c47a081f08bd89}}
  110. \index{testing\+::internal\+::\+Native\+Array@{testing\+::internal\+::\+Native\+Array}!size@{size}}
  111. \index{size@{size}!testing\+::internal\+::\+Native\+Array@{testing\+::internal\+::\+Native\+Array}}
  112. \subsubsection{\texorpdfstring{size()}{size()}}
  113. {\footnotesize\ttfamily template$<$typename Element $>$ \\
  114. size\+\_\+t \mbox{\hyperlink{classtesting_1_1internal_1_1_native_array}{testing\+::internal\+::\+Native\+Array}}$<$ Element $>$\+::size (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}
  115. Definition at line 7607 of file gtest.\+h.
  116. The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
  117. \item
  118. test/eclipse-\/cygwin/lib/gtest/\mbox{\hyperlink{gtest_8h}{gtest.\+h}}\end{DoxyCompactItemize}