\doxysection{QC\+\_\+\+Serializable.\+dox.\+h}
\hypertarget{_q_c___serializable_8dox_8h_source}{}\label{_q_c___serializable_8dox_8h_source}
\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ }
\DoxyCodeLine{00003\ \textcolor{keyword}{namespace\ }\mbox{\hyperlink{namespace_qore}{Qore}}\ \{}
\DoxyCodeLine{00005\ }
\DoxyCodeLine{00008\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{struct_qore_1_1_serialization_info}{SerializationInfo}}\ \{}
\DoxyCodeLine{00010\ \ \ \ \ \textcolor{keyword}{auto}\ \mbox{\hyperlink{struct_qore_1_1_serialization_info_a66c66e2a344e51bb85116b9586798335}{\_data}};}
\DoxyCodeLine{00012\ \ \ \ \ *\mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{hash<string,\ hash<auto>}}>\ \mbox{\hyperlink{struct_qore_1_1_serialization_info_a14b21919ac92afb3683505d7471164be}{\_index}};}
\DoxyCodeLine{00014\ \ \ \ \ *\mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{list<string>}}\ \mbox{\hyperlink{struct_qore_1_1_serialization_info_a297689856af7edd366f62dcb0a22c32f}{\_modules}};}
\DoxyCodeLine{00016\ \ \ \ \ *\mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{hash<string,\ hash<auto>}}>\ \mbox{\hyperlink{struct_qore_1_1_serialization_info_ad11ff85b57cc62aec6051c2fbd053b21}{\_sdata}};}
\DoxyCodeLine{00017\ \};}
\DoxyCodeLine{00018\ \}}
\DoxyCodeLine{00019\ }
\DoxyCodeLine{00021\ \textcolor{keyword}{namespace\ }\mbox{\hyperlink{namespace_qore}{Qore}}\ \{}
\DoxyCodeLine{00023\ }
\DoxyCodeLine{00026\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{struct_qore_1_1_object_serialization_info}{ObjectSerializationInfo}}\ \{}
\DoxyCodeLine{00028\ \ \ \ \ \textcolor{keywordtype}{string}\ \mbox{\hyperlink{struct_qore_1_1_object_serialization_info_a499c4f583ae9ecc92a43a6e4a77b61f1}{\_class}};}
\DoxyCodeLine{00030\ \ \ \ \ *\mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{hash<string,\ hash<string,\ auto>}}>\ \mbox{\hyperlink{struct_qore_1_1_object_serialization_info_a118d63ad420fddbf3c3f1ed60599c990}{\_class\_data}};}
\DoxyCodeLine{00031\ \};}
\DoxyCodeLine{00032\ \}}
\DoxyCodeLine{00033\ }
\DoxyCodeLine{00035\ \textcolor{keyword}{namespace\ }\mbox{\hyperlink{namespace_qore}{Qore}}\ \{}
\DoxyCodeLine{00037\ }
\DoxyCodeLine{00040\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{struct_qore_1_1_indexed_object_serialization_info}{IndexedObjectSerializationInfo}}\ \{}
\DoxyCodeLine{00042\ \ \ \ \ \textcolor{keywordtype}{string}\ \mbox{\hyperlink{struct_qore_1_1_indexed_object_serialization_info_a623f94a2d3d899ac842e841af0fdee1f}{\_index}};}
\DoxyCodeLine{00044\ \ \ \ \ \textcolor{keywordtype}{string}\ \mbox{\hyperlink{struct_qore_1_1_indexed_object_serialization_info_aa353992bae4016ab62c729536e854615}{\_weak}};}
\DoxyCodeLine{00045\ \};}
\DoxyCodeLine{00046\ \}}
\DoxyCodeLine{00047\ }
\DoxyCodeLine{00049\ \textcolor{keyword}{namespace\ }\mbox{\hyperlink{namespace_qore}{Qore}}\ \{}
\DoxyCodeLine{00051\ }
\DoxyCodeLine{00054\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{struct_qore_1_1_hash_serialization_info}{HashSerializationInfo}}\ \{}
\DoxyCodeLine{00056\ \ \ \ \ \textcolor{keywordtype}{string}\ \mbox{\hyperlink{struct_qore_1_1_hash_serialization_info_a628045c36f903a39294f36297fe605fa}{\_hash}};}
\DoxyCodeLine{00058\ \ \ \ \ *\mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{hash<string,\ auto>}}\ \mbox{\hyperlink{struct_qore_1_1_hash_serialization_info_ab5dcf697c4b14fab95dee631d7515a01}{\_members}};}
\DoxyCodeLine{00059\ \};}
\DoxyCodeLine{00060\ \}}
\DoxyCodeLine{00061\ }
\DoxyCodeLine{00063\ \textcolor{keyword}{namespace\ }\mbox{\hyperlink{namespace_qore}{Qore}}\ \{}
\DoxyCodeLine{00065\ }
\DoxyCodeLine{00068\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{struct_qore_1_1_list_serialization_info}{ListSerializationInfo}}\ \{}
\DoxyCodeLine{00070\ \ \ \ \ *\mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{list<auto>}}\ \mbox{\hyperlink{struct_qore_1_1_list_serialization_info_aed89c7ee9807a0cafc64116507766e98}{\_elements}};}
\DoxyCodeLine{00072\ \ \ \ \ \textcolor{keywordtype}{string}\ \mbox{\hyperlink{struct_qore_1_1_list_serialization_info_a209ebcb05537a1dd5605dc86cda4ebb3}{\_list}};}
\DoxyCodeLine{00073\ \};}
\DoxyCodeLine{00074\ \}}
\DoxyCodeLine{00075\ }
\DoxyCodeLine{00077\ \textcolor{keyword}{namespace\ }\mbox{\hyperlink{namespace_qore}{Qore}}\ \{}
\DoxyCodeLine{00079\ }
\DoxyCodeLine{00100\ \textcolor{keyword}{class\ }\mbox{\hyperlink{class_qore_1_1_serializable}{Serializable}}\ \{}
\DoxyCodeLine{00101\ }
\DoxyCodeLine{00102\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00104\ \textcolor{comment}{/***/}}
\DoxyCodeLine{00105\ \ \mbox{\hyperlink{class_qore_1_1_serializable_a7bbf6cf2d7ac53a80e8023790c540c5f}{constructor}}();}
\DoxyCodeLine{00106\ }
\DoxyCodeLine{00107\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00109\ \textcolor{comment}{/***/}}
\DoxyCodeLine{00110\ \ \mbox{\hyperlink{class_qore_1_1_serializable_a10382ed049ba1fc1f3b13a72b24a87b2}{copy}}();}
\DoxyCodeLine{00111\ }
\DoxyCodeLine{00112\ \textcolor{keyword}{private}:}
\DoxyCodeLine{00114\ }
\DoxyCodeLine{00152\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{nothing}}\ \mbox{\hyperlink{class_qore_1_1_serializable_a7d59dd31c2e7f9a06eafb995db5b1381}{deserializeMembers}}(\mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{hash<auto>}}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{members}});}
\DoxyCodeLine{00153\ }
\DoxyCodeLine{00154\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00156\ }
\DoxyCodeLine{00172\ \ \mbox{\hyperlink{class_qore_1_1_serializable_a832ad3eeac2f16fd41b62db4298b201d}{serialize}}(\mbox{\hyperlink{class_qore_1_1_output_stream}{OutputStream}}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{stream}},\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{\_\_7\_}}\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{flags}});}
\DoxyCodeLine{00173\ }
\DoxyCodeLine{00174\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00176\ }
\DoxyCodeLine{00193\ \mbox{\hyperlink{group__type__conversion__functions_gaf11c7f5c43ced1e9b95bd2270ee87ed9}{binary}}\ \mbox{\hyperlink{class_qore_1_1_serializable_a139b4731ccd70bbaeb9deb29c6a40fbd}{serialize}}(\mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{\_\_7\_}}\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{flags}});}
\DoxyCodeLine{00194\ }
\DoxyCodeLine{00195\ \textcolor{keyword}{private}:}
\DoxyCodeLine{00197\ }
\DoxyCodeLine{00239\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{\_\_7\_}}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{hash<auto>}}\ \mbox{\hyperlink{class_qore_1_1_serializable_ac4fbeb5f2af542520106c448246a2fc0}{serializeMembers}}(\mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{\_\_7\_}}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{hash<auto>}}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{members}});}
\DoxyCodeLine{00240\ }
\DoxyCodeLine{00241\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00243\ }
\DoxyCodeLine{00263\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{hash<SerializationInfo>}}\ \mbox{\hyperlink{class_qore_1_1_serializable_ace8d5cb897a7ea7ddfbbb46c4f83e6f1}{serializeToData}}(\mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{\_\_7\_}}\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{flags}});}
\DoxyCodeLine{00264\ }
\DoxyCodeLine{00265\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00267\ }
\DoxyCodeLine{00283\ \textcolor{keyword}{static}\ \textcolor{keyword}{auto}\ \mbox{\hyperlink{class_qore_1_1_serializable_a3f44c358c004bff3d010d977e8b6cfc2}{deserialize}}(\mbox{\hyperlink{class_qore_1_1_input_stream}{InputStream}}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{stream}},\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{\_\_7\_}}\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{flags}});}
\DoxyCodeLine{00284\ }
\DoxyCodeLine{00285\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00287\ }
\DoxyCodeLine{00302\ \textcolor{keyword}{static}\ \textcolor{keyword}{auto}\ \mbox{\hyperlink{class_qore_1_1_serializable_a4f31399daa6699c02b8c1aa963275467}{deserialize}}(\mbox{\hyperlink{group__type__conversion__functions_gaf11c7f5c43ced1e9b95bd2270ee87ed9}{binary}}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{bin}},\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{\_\_7\_}}\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{flags}});}
\DoxyCodeLine{00303\ }
\DoxyCodeLine{00304\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00306\ }
\DoxyCodeLine{00324\ \textcolor{keyword}{static}\ \textcolor{keyword}{auto}\ \mbox{\hyperlink{class_qore_1_1_serializable_a3ed9a5aaabf3146f4077c88ec783b27b}{deserialize}}(\textcolor{keywordtype}{string}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{bin}},\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{\_\_7\_}}\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{flags}});}
\DoxyCodeLine{00325\ }
\DoxyCodeLine{00326\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00328\ }
\DoxyCodeLine{00344\ \textcolor{keyword}{static}\ \textcolor{keyword}{auto}\ \mbox{\hyperlink{class_qore_1_1_serializable_a768b617c52d7a366d79f58f787416021}{deserialize}}(\mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{hash<SerializationInfo>}}\ data,\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{\_\_7\_}}\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{flags}});}
\DoxyCodeLine{00345\ }
\DoxyCodeLine{00346\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00348\ }
\DoxyCodeLine{00364\ \textcolor{keyword}{static}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{hash<SerializationInfo>}}\ \mbox{\hyperlink{class_qore_1_1_serializable_ad3eb79351fcc21abc9d932381fbbdcc0}{deserializeToData}}(\mbox{\hyperlink{class_qore_1_1_input_stream}{InputStream}}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{stream}},\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{\_\_7\_}}\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{flags}});}
\DoxyCodeLine{00365\ }
\DoxyCodeLine{00366\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00368\ }
\DoxyCodeLine{00384\ \textcolor{keyword}{static}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{hash<SerializationInfo>}}\ \mbox{\hyperlink{class_qore_1_1_serializable_a8ea2349e72395be35cd2db71cce17370}{deserializeToData}}(\mbox{\hyperlink{group__type__conversion__functions_gaf11c7f5c43ced1e9b95bd2270ee87ed9}{binary}}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{bin}},\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{\_\_7\_}}\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{flags}});}
\DoxyCodeLine{00385\ }
\DoxyCodeLine{00386\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00388\ }
\DoxyCodeLine{00405\ \textcolor{keyword}{static}\ \ \mbox{\hyperlink{class_qore_1_1_serializable_afeed402d2c91241ce684cced80ee38ba}{serialize}}(\textcolor{keyword}{auto}\ val,\ \mbox{\hyperlink{class_qore_1_1_output_stream}{OutputStream}}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{stream}},\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{\_\_7\_}}\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{flags}});}
\DoxyCodeLine{00406\ }
\DoxyCodeLine{00407\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00409\ }
\DoxyCodeLine{00427\ \textcolor{keyword}{static}\ \mbox{\hyperlink{group__type__conversion__functions_gaf11c7f5c43ced1e9b95bd2270ee87ed9}{binary}}\ \mbox{\hyperlink{class_qore_1_1_serializable_abc7819ea69f6973f534323758eb6fe01}{serialize}}(\textcolor{keyword}{auto}\ val,\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{\_\_7\_}}\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{flags}});}
\DoxyCodeLine{00428\ }
\DoxyCodeLine{00429\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00431\ }
\DoxyCodeLine{00452\ \textcolor{keyword}{static}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{hash<SerializationInfo>}}\ \mbox{\hyperlink{class_qore_1_1_serializable_ae8ff1cfee8e78626dff3d611c8ee19c6}{serializeToData}}(\textcolor{keyword}{auto}\ val,\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{\_\_7\_}}\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{flags}});}
\DoxyCodeLine{00453\ \};}
\DoxyCodeLine{00459\ }
\DoxyCodeLine{00461\ \ \ \ \ \textcolor{keyword}{const}\ \mbox{\hyperlink{group__qore__serialization__flags_ga064a85015b5e8101c036d364a6180cc1}{QSF\_INCLUDE\_STATIC\_CLASS\_VARS}}\ =\ \mbox{\hyperlink{group__qore__serialization__flags_ga064a85015b5e8101c036d364a6180cc1}{QSF\_INCLUDE\_STATIC\_CLASS\_VARS}};}
\DoxyCodeLine{00463\ }
\DoxyCodeLine{00468\ }
\DoxyCodeLine{00470\ \ \ \ \ \textcolor{keyword}{const}\ \mbox{\hyperlink{group__qore__deserialization__flags_ga7de9d43c8027f27c93cd68e5e80edafd}{QDF\_MERGE\_STATIC\_CLASS\_VARS}}\ =\ \mbox{\hyperlink{group__qore__deserialization__flags_ga7de9d43c8027f27c93cd68e5e80edafd}{QDF\_MERGE\_STATIC\_CLASS\_VARS}};}
\DoxyCodeLine{00472\ \ \ \ \ \textcolor{keyword}{const}\ \mbox{\hyperlink{group__qore__deserialization__flags_gae3757869928fc42cd1009dd102be64d0}{QDF\_STATIC\_CLASS\_VARS}}\ =\ \mbox{\hyperlink{group__qore__deserialization__flags_gae3757869928fc42cd1009dd102be64d0}{QDF\_STATIC\_CLASS\_VARS}};}
\DoxyCodeLine{00474\ \}}

\end{DoxyCode}
