Micro template library A library for building device drivers
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 

55 строки
4.2 KiB

  1. \hypertarget{id_8h}{}\section{include/utl/container/id.h File Reference}
  2. \label{id_8h}\index{include/utl/container/id.\+h@{include/utl/container/id.\+h}}
  3. A container for device I\+Ds.
  4. {\ttfamily \#include $<$utl/core/impl.\+h$>$}\newline
  5. {\ttfamily \#include $<$utl/container/array.\+h$>$}\newline
  6. {\ttfamily \#include $<$algorithm$>$}\newline
  7. \subsection*{Classes}
  8. \begin{DoxyCompactItemize}
  9. \item
  10. struct \mbox{\hyperlink{structutl_1_1id__traits}{utl\+::id\+\_\+traits$<$ \+\_\+\+Tp, \+\_\+\+Nm $>$}}
  11. \begin{DoxyCompactList}\small\item\em id container traits helper \end{DoxyCompactList}\item
  12. struct \mbox{\hyperlink{structutl_1_1id__traits_3_01___tp_00_010_01_4}{utl\+::id\+\_\+traits$<$ \+\_\+\+Tp, 0 $>$}}
  13. \item
  14. struct \mbox{\hyperlink{structutl_1_1id__traits_3_01___tp_00_010_01_4_1_1type}{utl\+::id\+\_\+traits$<$ \+\_\+\+Tp, 0 $>$\+::type}}
  15. \item
  16. struct \mbox{\hyperlink{structutl_1_1id__t}{utl\+::id\+\_\+t$<$ \+\_\+\+Tp, \+\_\+\+Nm $>$}}
  17. \begin{DoxyCompactList}\small\item\em A standard container for storing I\+Ds as a fixed size sequence of bytes. This type is based on etl\+::array Meets the requirements of\+: \href{tables.html#65}{\tt container}, \href{tables.html#66}{\tt reversible container}, \href{tables.html#67}{\tt sequence}. Sets support random access iterators. \end{DoxyCompactList}\end{DoxyCompactItemize}
  18. \subsection*{Namespaces}
  19. \begin{DoxyCompactItemize}
  20. \item
  21. \mbox{\hyperlink{namespaceutl}{utl}}
  22. \begin{DoxyCompactList}\small\item\em S\+TL\textquotesingle{}s core language concepts. \end{DoxyCompactList}\end{DoxyCompactItemize}
  23. \subsection*{Functions}
  24. \begin{Indent}\textbf{ device ID comparisons.}\par
  25. \begin{DoxyCompactItemize}
  26. \item
  27. {\footnotesize template$<$typename \+\_\+\+Tp , size\+\_\+t \+\_\+\+Nm$>$ }\\bool \mbox{\hyperlink{namespaceutl_a2e319bae5449ee07261f547a94c31f87}{utl\+::operator==}} (const id\+\_\+t$<$ \+\_\+\+Tp, \+\_\+\+Nm $>$ \&lhs, const id\+\_\+t$<$ \+\_\+\+Tp, \+\_\+\+Nm $>$ \&rhs)
  28. \item
  29. {\footnotesize template$<$typename \+\_\+\+Tp , size\+\_\+t \+\_\+\+Nm$>$ }\\bool \mbox{\hyperlink{namespaceutl_a7f05cda5b7a37dea074df55db31aefb6}{utl\+::operator!=}} (const id\+\_\+t$<$ \+\_\+\+Tp, \+\_\+\+Nm $>$ \&lhs, const id\+\_\+t$<$ \+\_\+\+Tp, \+\_\+\+Nm $>$ \&rhs)
  30. \item
  31. {\footnotesize template$<$typename \+\_\+\+Tp , size\+\_\+t \+\_\+\+Nm$>$ }\\bool \mbox{\hyperlink{namespaceutl_a64bc464138b386821977a0c4ac43fddf}{utl\+::operator$<$}} (const id\+\_\+t$<$ \+\_\+\+Tp, \+\_\+\+Nm $>$ \&lhs, const id\+\_\+t$<$ \+\_\+\+Tp, \+\_\+\+Nm $>$ \&rhs)
  32. \item
  33. {\footnotesize template$<$typename \+\_\+\+Tp , size\+\_\+t \+\_\+\+Nm$>$ }\\bool \mbox{\hyperlink{namespaceutl_aa88fd098a89e4477ff55319be1d44a64}{utl\+::operator$>$}} (const id\+\_\+t$<$ \+\_\+\+Tp, \+\_\+\+Nm $>$ \&lhs, const id\+\_\+t$<$ \+\_\+\+Tp, \+\_\+\+Nm $>$ \&rhs)
  34. \item
  35. {\footnotesize template$<$typename \+\_\+\+Tp , size\+\_\+t \+\_\+\+Nm$>$ }\\bool \mbox{\hyperlink{namespaceutl_aa2c449f74d1214cb7406b1648d2caf6f}{utl\+::operator$<$=}} (const id\+\_\+t$<$ \+\_\+\+Tp, \+\_\+\+Nm $>$ \&lhs, const id\+\_\+t$<$ \+\_\+\+Tp, \+\_\+\+Nm $>$ \&rhs)
  36. \item
  37. {\footnotesize template$<$typename \+\_\+\+Tp , size\+\_\+t \+\_\+\+Nm$>$ }\\bool \mbox{\hyperlink{namespaceutl_a3f53717133a73715f387ebac4b6f22b3}{utl\+::operator$>$=}} (const id\+\_\+t$<$ \+\_\+\+Tp, \+\_\+\+Nm $>$ \&lhs, const id\+\_\+t$<$ \+\_\+\+Tp, \+\_\+\+Nm $>$ \&rhs)
  38. \end{DoxyCompactItemize}
  39. \end{Indent}
  40. \subsection{Detailed Description}
  41. A container for device I\+Ds.
  42. Copyright (C) 2018 Christos Choutouridis
  43. This program is free software\+: you can redistribute it and/or modify it under the terms of the G\+NU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
  44. This program is distributed in the hope that it will be useful, but W\+I\+T\+H\+O\+UT A\+NY W\+A\+R\+R\+A\+N\+TY; without even the implied warranty of M\+E\+R\+C\+H\+A\+N\+T\+A\+B\+I\+L\+I\+TY or F\+I\+T\+N\+E\+SS F\+OR A P\+A\+R\+T\+I\+C\+U\+L\+AR P\+U\+R\+P\+O\+SE. See the G\+NU Lesser General Public License for more details.
  45. You should have received a copy of the G\+NU Lesser General Public License along with this program. If not, see \href{http://www.gnu.org/licenses/}{\tt http\+://www.\+gnu.\+org/licenses/}.