\label{doc_usecases_core_UC_keyname_ordering_md_md_doc_usecases_core_UC_keyname_ordering}%
\Hypertarget{doc_usecases_core_UC_keyname_ordering_md_md_doc_usecases_core_UC_keyname_ordering}%
 \hypertarget{doc_usecases_core_UC_keyname_ordering_md_autotoc_md4766}{}\doxysection{Summary}\label{doc_usecases_core_UC_keyname_ordering_md_autotoc_md4766}

\begin{DoxyItemize}
\item {\bfseries{Scope\+:}} {\ttfamily libelektra-\/core}
\item {\bfseries{Level\+:}} Developer Goal
\item {\bfseries{Actors\+:}} Core, Caller
\item {\bfseries{Brief\+:}} Order comparison between {\ttfamily Key}s
\end{DoxyItemize}\hypertarget{doc_usecases_core_UC_keyname_ordering_md_autotoc_md4767}{}\doxysection{Scenarios}\label{doc_usecases_core_UC_keyname_ordering_md_autotoc_md4767}

\begin{DoxyItemize}
\item {\bfseries{Precondition\+:}}
\begin{DoxyItemize}
\item \mbox{\hyperlink{doc_usecases_core_UC_key_create_md}{\`{}\+Key\`{} K1 has been created}}
\item \mbox{\hyperlink{doc_usecases_core_UC_key_create_md}{\`{}\+Key\`{} K2 has been created}}
\end{DoxyItemize}
\item {\bfseries{Main success scenario\+:}}
\begin{DoxyItemize}
\item Caller \mbox{\hyperlink{doc_usecases_core_UC_key_name_md}{reads names}} N1 and N2 of {\ttfamily Key} K1 and {\ttfamily Key} K2
\item Caller requests order comparison between N1 and N2
\item Core returns
\begin{DoxyItemize}
\item N1 is sorted before N2
\item N1 and N2 are sorted to the same place
\item N1 is sorted after N2
\end{DoxyItemize}
\end{DoxyItemize}
\item {\bfseries{Alternative scenario\+:}} -\/
\item {\bfseries{Error scenario\+:}} -\/
\item {\bfseries{Postcondition\+:}} -\/
\item {\bfseries{Non-\/functional Constraints\+:}}
\begin{DoxyItemize}
\item The order comparison with MUST form a {\itshape total order} over {\ttfamily Key}s.
\item Each of the possible results MAY be a single value, but it MAY also be a whole class of value (e.\+g. negative integer). 
\end{DoxyItemize}
\end{DoxyItemize}