\doxysection{comps multi-\/dictionary functions }
\hypertarget{group__comps__multi__dict}{}\label{group__comps__multi__dict}\index{comps multi-\/dictionary functions@{comps multi-\/dictionary functions}}
\doxysubsubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \mbox{\hyperlink{group__comps__multi__dict_ga996821ed28a1a834e2af3fc8648f5352}{comps\+\_\+objmdict\+\_\+set}} (COMPS\+\_\+\+Obj\+MDict \texorpdfstring{$\ast$}{*}rt, char \texorpdfstring{$\ast$}{*}key, \mbox{\hyperlink{structCOMPS__Object}{COMPS\+\_\+\+Object}} \texorpdfstring{$\ast$}{*}data)
\item 
void \mbox{\hyperlink{group__comps__multi__dict_ga5f2782d3da5919c3ffd96b4fe18f50e3}{comps\+\_\+objmdict\+\_\+set\+\_\+x}} (COMPS\+\_\+\+Obj\+MDict \texorpdfstring{$\ast$}{*}rt, char \texorpdfstring{$\ast$}{*}key, \mbox{\hyperlink{structCOMPS__Object}{COMPS\+\_\+\+Object}} \texorpdfstring{$\ast$}{*}data)
\item 
void \mbox{\hyperlink{group__comps__multi__dict_ga9726536b4da1c9533b75177b39501e4a}{comps\+\_\+objmdict\+\_\+set\+\_\+n}} (COMPS\+\_\+\+Obj\+MDict \texorpdfstring{$\ast$}{*}rt, char \texorpdfstring{$\ast$}{*}key, unsigned int len, \mbox{\hyperlink{structCOMPS__Object}{COMPS\+\_\+\+Object}} \texorpdfstring{$\ast$}{*}data)
\item 
\mbox{\hyperlink{structCOMPS__ObjList}{COMPS\+\_\+\+Obj\+List}} \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{group__comps__multi__dict_ga2bd8f274913b970e35955cad980b0648}{comps\+\_\+objmdict\+\_\+get}} (COMPS\+\_\+\+Obj\+MDict \texorpdfstring{$\ast$}{*}rt, const char \texorpdfstring{$\ast$}{*}key)
\item 
void \mbox{\hyperlink{group__comps__multi__dict_gae3d0f545f64d8d500bd66103a1e9e23d}{comps\+\_\+objmdict\+\_\+unset}} (COMPS\+\_\+\+Obj\+MDict \texorpdfstring{$\ast$}{*}rt, const char \texorpdfstring{$\ast$}{*}key)
\item 
void \mbox{\hyperlink{group__comps__multi__dict_ga6ab0ad53b3a3a4cebb3b8dd0e94af1b8}{comps\+\_\+objmdict\+\_\+clear}} (COMPS\+\_\+\+Obj\+MDict \texorpdfstring{$\ast$}{*}rt)
\item 
COMPS\+\_\+\+HSList \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{group__comps__multi__dict_ga646cc313f6aaf220c79970be2ef1821e}{comps\+\_\+objmdict\+\_\+values}} (COMPS\+\_\+\+Obj\+MDict \texorpdfstring{$\ast$}{*}rt)
\item 
void \mbox{\hyperlink{group__comps__multi__dict_ga890508f211356673df7b7fc3f6847739}{comps\+\_\+objmdict\+\_\+values\+\_\+walk}} (COMPS\+\_\+\+Obj\+MDict \texorpdfstring{$\ast$}{*}rt, void \texorpdfstring{$\ast$}{*}udata, void(\texorpdfstring{$\ast$}{*}walk\+\_\+f)(void \texorpdfstring{$\ast$}{*}, void \texorpdfstring{$\ast$}{*}))
\item 
COMPS\+\_\+\+Obj\+MDict \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{group__comps__multi__dict_gaf95cc6b0c179082fe1126e15b6b49c09}{comps\+\_\+objmdict\+\_\+clone}} (COMPS\+\_\+\+Obj\+MDict \texorpdfstring{$\ast$}{*}rt)
\item 
COMPS\+\_\+\+HSList \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{group__comps__multi__dict_ga7bc8d57a21e1a0067caadbc8a359ac6a}{comps\+\_\+objmdict\+\_\+keys}} (COMPS\+\_\+\+Obj\+MDict \texorpdfstring{$\ast$}{*}rt)
\item 
COMPS\+\_\+\+HSList \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{group__comps__multi__dict_ga0d4c51de9aa18523147372ed15aa3947}{comps\+\_\+objmdict\+\_\+pairs}} (COMPS\+\_\+\+Obj\+MDict \texorpdfstring{$\ast$}{*}rt)
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}


\label{doc-func-members}
\Hypertarget{group__comps__multi__dict_doc-func-members}
\doxysubsection{Function Documentation}
\Hypertarget{group__comps__multi__dict_ga6ab0ad53b3a3a4cebb3b8dd0e94af1b8}\index{comps multi-\/dictionary functions@{comps multi-\/dictionary functions}!comps\_objmdict\_clear@{comps\_objmdict\_clear}}
\index{comps\_objmdict\_clear@{comps\_objmdict\_clear}!comps multi-\/dictionary functions@{comps multi-\/dictionary functions}}
\doxysubsubsection{\texorpdfstring{comps\_objmdict\_clear()}{comps\_objmdict\_clear()}}
{\footnotesize\ttfamily \label{group__comps__multi__dict_ga6ab0ad53b3a3a4cebb3b8dd0e94af1b8} 
void comps\+\_\+objmdict\+\_\+clear (\begin{DoxyParamCaption}\item[{COMPS\+\_\+\+Obj\+MDict \texorpdfstring{$\ast$}{*}}]{rt}{}\end{DoxyParamCaption})}

remove all items from multi-\/dictionary 
\begin{DoxyParams}{Parameters}
{\em rt} & COMPS\+\_\+\+Obj\+Dict object \\
\hline
\end{DoxyParams}
\Hypertarget{group__comps__multi__dict_gaf95cc6b0c179082fe1126e15b6b49c09}\index{comps multi-\/dictionary functions@{comps multi-\/dictionary functions}!comps\_objmdict\_clone@{comps\_objmdict\_clone}}
\index{comps\_objmdict\_clone@{comps\_objmdict\_clone}!comps multi-\/dictionary functions@{comps multi-\/dictionary functions}}
\doxysubsubsection{\texorpdfstring{comps\_objmdict\_clone()}{comps\_objmdict\_clone()}}
{\footnotesize\ttfamily \label{group__comps__multi__dict_gaf95cc6b0c179082fe1126e15b6b49c09} 
COMPS\+\_\+\+Obj\+MDict \texorpdfstring{$\ast$}{*} comps\+\_\+objmdict\+\_\+clone (\begin{DoxyParamCaption}\item[{COMPS\+\_\+\+Obj\+MDict \texorpdfstring{$\ast$}{*}}]{rt}{}\end{DoxyParamCaption})}

Makes copy of multi-\/dictionary

Items in new dictionary is same items with incremented reference counter only


\begin{DoxyParams}{Parameters}
{\em rt} & COMPS\+\_\+\+Obj\+Dict object \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
new COMPS\+\_\+\+Obj\+Dict object 
\end{DoxyReturn}
\Hypertarget{group__comps__multi__dict_ga2bd8f274913b970e35955cad980b0648}\index{comps multi-\/dictionary functions@{comps multi-\/dictionary functions}!comps\_objmdict\_get@{comps\_objmdict\_get}}
\index{comps\_objmdict\_get@{comps\_objmdict\_get}!comps multi-\/dictionary functions@{comps multi-\/dictionary functions}}
\doxysubsubsection{\texorpdfstring{comps\_objmdict\_get()}{comps\_objmdict\_get()}}
{\footnotesize\ttfamily \label{group__comps__multi__dict_ga2bd8f274913b970e35955cad980b0648} 
\mbox{\hyperlink{structCOMPS__ObjList}{COMPS\+\_\+\+Obj\+List}} \texorpdfstring{$\ast$}{*} comps\+\_\+objmdict\+\_\+get (\begin{DoxyParamCaption}\item[{COMPS\+\_\+\+Obj\+MDict \texorpdfstring{$\ast$}{*}}]{rt}{, }\item[{const char \texorpdfstring{$\ast$}{*}}]{key}{}\end{DoxyParamCaption})}

get items from multi-\/dictionary for specified key

if there\textquotesingle{}s no such items, return NULL. Item\textquotesingle{}s reference counter WON\textquotesingle{}T be incremented.


\begin{DoxyParams}{Parameters}
{\em rt} & COMPS\+\_\+\+Obj\+Dict object \\
\hline
{\em specified} & key \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\doxylink{structCOMPS__ObjList}{COMPS\+\_\+\+Obj\+List} of specified items 
\end{DoxyReturn}
\Hypertarget{group__comps__multi__dict_ga7bc8d57a21e1a0067caadbc8a359ac6a}\index{comps multi-\/dictionary functions@{comps multi-\/dictionary functions}!comps\_objmdict\_keys@{comps\_objmdict\_keys}}
\index{comps\_objmdict\_keys@{comps\_objmdict\_keys}!comps multi-\/dictionary functions@{comps multi-\/dictionary functions}}
\doxysubsubsection{\texorpdfstring{comps\_objmdict\_keys()}{comps\_objmdict\_keys()}}
{\footnotesize\ttfamily \label{group__comps__multi__dict_ga7bc8d57a21e1a0067caadbc8a359ac6a} 
COMPS\+\_\+\+HSList \texorpdfstring{$\ast$}{*} comps\+\_\+objmdict\+\_\+keys (\begin{DoxyParamCaption}\item[{COMPS\+\_\+\+Obj\+MDict \texorpdfstring{$\ast$}{*}}]{rt}{}\end{DoxyParamCaption})}

Return list of keys in multi-\/dictionary


\begin{DoxyParams}{Parameters}
{\em rt} & COMPS\+\_\+\+Obj\+MDict object \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
COMPS\+\_\+\+HSList of key in multi-\/dictionary 
\end{DoxyReturn}
\Hypertarget{group__comps__multi__dict_ga0d4c51de9aa18523147372ed15aa3947}\index{comps multi-\/dictionary functions@{comps multi-\/dictionary functions}!comps\_objmdict\_pairs@{comps\_objmdict\_pairs}}
\index{comps\_objmdict\_pairs@{comps\_objmdict\_pairs}!comps multi-\/dictionary functions@{comps multi-\/dictionary functions}}
\doxysubsubsection{\texorpdfstring{comps\_objmdict\_pairs()}{comps\_objmdict\_pairs()}}
{\footnotesize\ttfamily \label{group__comps__multi__dict_ga0d4c51de9aa18523147372ed15aa3947} 
COMPS\+\_\+\+HSList \texorpdfstring{$\ast$}{*} comps\+\_\+objmdict\+\_\+pairs (\begin{DoxyParamCaption}\item[{COMPS\+\_\+\+Obj\+MDict \texorpdfstring{$\ast$}{*}}]{rt}{}\end{DoxyParamCaption})}

Return list of pairs(key-\/value) in multi-\/dictionary


\begin{DoxyParams}{Parameters}
{\em rt} & COMPS\+\_\+\+Obj\+MDict object \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
COMPS\+\_\+\+HSList of pairs in dictionary 
\end{DoxyReturn}
\Hypertarget{group__comps__multi__dict_ga996821ed28a1a834e2af3fc8648f5352}\index{comps multi-\/dictionary functions@{comps multi-\/dictionary functions}!comps\_objmdict\_set@{comps\_objmdict\_set}}
\index{comps\_objmdict\_set@{comps\_objmdict\_set}!comps multi-\/dictionary functions@{comps multi-\/dictionary functions}}
\doxysubsubsection{\texorpdfstring{comps\_objmdict\_set()}{comps\_objmdict\_set()}}
{\footnotesize\ttfamily \label{group__comps__multi__dict_ga996821ed28a1a834e2af3fc8648f5352} 
void comps\+\_\+objmdict\+\_\+set (\begin{DoxyParamCaption}\item[{COMPS\+\_\+\+Obj\+MDict \texorpdfstring{$\ast$}{*}}]{rt}{, }\item[{char \texorpdfstring{$\ast$}{*}}]{key}{, }\item[{\mbox{\hyperlink{structCOMPS__Object}{COMPS\+\_\+\+Object}} \texorpdfstring{$\ast$}{*}}]{data}{}\end{DoxyParamCaption})}

set new item to multi-\/dictionary

if there\textquotesingle{}s already item for specified key, new item will be added into list for specified key. Reference counter of new item is incremented


\begin{DoxyParams}{Parameters}
{\em rt} & COMPS\+\_\+\+Obj\+MDict object \\
\hline
{\em key} & key for new item \\
\hline
{\em data} & new item \\
\hline
\end{DoxyParams}
\Hypertarget{group__comps__multi__dict_ga9726536b4da1c9533b75177b39501e4a}\index{comps multi-\/dictionary functions@{comps multi-\/dictionary functions}!comps\_objmdict\_set\_n@{comps\_objmdict\_set\_n}}
\index{comps\_objmdict\_set\_n@{comps\_objmdict\_set\_n}!comps multi-\/dictionary functions@{comps multi-\/dictionary functions}}
\doxysubsubsection{\texorpdfstring{comps\_objmdict\_set\_n()}{comps\_objmdict\_set\_n()}}
{\footnotesize\ttfamily \label{group__comps__multi__dict_ga9726536b4da1c9533b75177b39501e4a} 
void comps\+\_\+objmdict\+\_\+set\+\_\+n (\begin{DoxyParamCaption}\item[{COMPS\+\_\+\+Obj\+MDict \texorpdfstring{$\ast$}{*}}]{rt}{, }\item[{char \texorpdfstring{$\ast$}{*}}]{key}{, }\item[{unsigned int}]{len}{, }\item[{\mbox{\hyperlink{structCOMPS__Object}{COMPS\+\_\+\+Object}} \texorpdfstring{$\ast$}{*}}]{data}{}\end{DoxyParamCaption})}

same as comps\+\_\+objmdict\+\_\+set but with key length limited by argument


\begin{DoxyParams}{Parameters}
{\em rt} & COMPS\+\_\+\+Obj\+MDict object \\
\hline
{\em key} & key for new item \\
\hline
{\em len} & key length limiter \\
\hline
{\em data} & new item \\
\hline
\end{DoxyParams}
\Hypertarget{group__comps__multi__dict_ga5f2782d3da5919c3ffd96b4fe18f50e3}\index{comps multi-\/dictionary functions@{comps multi-\/dictionary functions}!comps\_objmdict\_set\_x@{comps\_objmdict\_set\_x}}
\index{comps\_objmdict\_set\_x@{comps\_objmdict\_set\_x}!comps multi-\/dictionary functions@{comps multi-\/dictionary functions}}
\doxysubsubsection{\texorpdfstring{comps\_objmdict\_set\_x()}{comps\_objmdict\_set\_x()}}
{\footnotesize\ttfamily \label{group__comps__multi__dict_ga5f2782d3da5919c3ffd96b4fe18f50e3} 
void comps\+\_\+objmdict\+\_\+set\+\_\+x (\begin{DoxyParamCaption}\item[{COMPS\+\_\+\+Obj\+MDict \texorpdfstring{$\ast$}{*}}]{rt}{, }\item[{char \texorpdfstring{$\ast$}{*}}]{key}{, }\item[{\mbox{\hyperlink{structCOMPS__Object}{COMPS\+\_\+\+Object}} \texorpdfstring{$\ast$}{*}}]{data}{}\end{DoxyParamCaption})}

set new item to multi-\/dictionary

if there\textquotesingle{}s already item for specified key, new item will be added into list for specified key. Reference counter of new item isn\textquotesingle{}t incremented


\begin{DoxyParams}{Parameters}
{\em rt} & COMPS\+\_\+\+Obj\+MDict object \\
\hline
{\em key} & key for new item \\
\hline
{\em data} & new item \\
\hline
\end{DoxyParams}
\Hypertarget{group__comps__multi__dict_gae3d0f545f64d8d500bd66103a1e9e23d}\index{comps multi-\/dictionary functions@{comps multi-\/dictionary functions}!comps\_objmdict\_unset@{comps\_objmdict\_unset}}
\index{comps\_objmdict\_unset@{comps\_objmdict\_unset}!comps multi-\/dictionary functions@{comps multi-\/dictionary functions}}
\doxysubsubsection{\texorpdfstring{comps\_objmdict\_unset()}{comps\_objmdict\_unset()}}
{\footnotesize\ttfamily \label{group__comps__multi__dict_gae3d0f545f64d8d500bd66103a1e9e23d} 
void comps\+\_\+objmdict\+\_\+unset (\begin{DoxyParamCaption}\item[{COMPS\+\_\+\+Obj\+MDict \texorpdfstring{$\ast$}{*}}]{rt}{, }\item[{const char \texorpdfstring{$\ast$}{*}}]{key}{}\end{DoxyParamCaption})}

remove item from multi-\/dictionary for specified key

item\textquotesingle{}s reference counter will be decremented


\begin{DoxyParams}{Parameters}
{\em rt} & COMPS\+\_\+\+Obj\+Dict object \\
\hline
{\em key} & item\textquotesingle{}s key \\
\hline
\end{DoxyParams}
\Hypertarget{group__comps__multi__dict_ga646cc313f6aaf220c79970be2ef1821e}\index{comps multi-\/dictionary functions@{comps multi-\/dictionary functions}!comps\_objmdict\_values@{comps\_objmdict\_values}}
\index{comps\_objmdict\_values@{comps\_objmdict\_values}!comps multi-\/dictionary functions@{comps multi-\/dictionary functions}}
\doxysubsubsection{\texorpdfstring{comps\_objmdict\_values()}{comps\_objmdict\_values()}}
{\footnotesize\ttfamily \label{group__comps__multi__dict_ga646cc313f6aaf220c79970be2ef1821e} 
COMPS\+\_\+\+HSList \texorpdfstring{$\ast$}{*} comps\+\_\+objmdict\+\_\+values (\begin{DoxyParamCaption}\item[{COMPS\+\_\+\+Obj\+MDict \texorpdfstring{$\ast$}{*}}]{rt}{}\end{DoxyParamCaption})}

Return list of all values(items) in multi-\/dictionary 
\begin{DoxyParams}{Parameters}
{\em rt} & COMPS\+\_\+\+Obj\+Dict object \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
COMPS\+\_\+\+HSList of values 
\end{DoxyReturn}
\Hypertarget{group__comps__multi__dict_ga890508f211356673df7b7fc3f6847739}\index{comps multi-\/dictionary functions@{comps multi-\/dictionary functions}!comps\_objmdict\_values\_walk@{comps\_objmdict\_values\_walk}}
\index{comps\_objmdict\_values\_walk@{comps\_objmdict\_values\_walk}!comps multi-\/dictionary functions@{comps multi-\/dictionary functions}}
\doxysubsubsection{\texorpdfstring{comps\_objmdict\_values\_walk()}{comps\_objmdict\_values\_walk()}}
{\footnotesize\ttfamily \label{group__comps__multi__dict_ga890508f211356673df7b7fc3f6847739} 
void comps\+\_\+objmdict\+\_\+values\+\_\+walk (\begin{DoxyParamCaption}\item[{COMPS\+\_\+\+Obj\+MDict \texorpdfstring{$\ast$}{*}}]{rt}{, }\item[{void \texorpdfstring{$\ast$}{*}}]{udata}{, }\item[{void(\texorpdfstring{$\ast$}{*}}]{walk\+\_\+f~}{)(void \texorpdfstring{$\ast$}{*}, void \texorpdfstring{$\ast$}{*})}\end{DoxyParamCaption})}

Apply function for each item in multi-\/dictionary

Applied function takes user data (udata param) and item as arguments


\begin{DoxyParams}{Parameters}
{\em rt} & COMPS\+\_\+\+Obj\+Dict object \\
\hline
{\em udata} & user data \\
\hline
{\em walk\+\_\+f} & applied function \\
\hline
\end{DoxyParams}
