\hypertarget{classmeow_1_1ObjArray}{\section{meow\-:\-:Obj\-Array$<$ T $>$ Class Template Reference} \label{classmeow_1_1ObjArray}\index{meow\-::\-Obj\-Array$<$ T $>$@{meow\-::\-Obj\-Array$<$ T $>$}} } 純粹把 {\ttfamily std\-::vector} 包起來, 變成繼承自 \hyperlink{classmeow_1_1ObjBase}{Obj\-Base} {\ttfamily \#include \char`\"{}Obj\-Array.\-h\char`\"{}} Inheritance diagram for meow\-:\-:Obj\-Array$<$ T $>$\-:\begin{figure}[H] \begin{center} \leavevmode \includegraphics[height=2.000000cm]{classmeow_1_1ObjArray} \end{center} \end{figure} \subsection*{Public Member Functions} \begin{DoxyCompactItemize} \item \hyperlink{classmeow_1_1ObjArray_adf6b1b267475a6a25a03317943e4a3cf}{Obj\-Array} () \item \hyperlink{classmeow_1_1ObjArray_a277d2ef80a4a62815253e57a91b3ed6f}{Obj\-Array} (\hyperlink{classmeow_1_1ObjArray}{Obj\-Array} const \&a) \item \hyperlink{classmeow_1_1ObjArray_a5a9fa3cf06aab931c3248be58c3f1c14}{Obj\-Array} (std\-::vector$<$ T $>$ const \&a) \item \hyperlink{classmeow_1_1ObjArray_a387a45e9231e39b68790881125122768}{Obj\-Array} (size\-\_\-t sz, T const \&e) \item \hyperlink{classmeow_1_1ObjArray_a730a953292ddeb0a03958f00087da129}{$\sim$\-Obj\-Array} () \item \hyperlink{classmeow_1_1ObjArray}{Obj\-Array} \& \hyperlink{classmeow_1_1ObjArray_a8886e87d000181823e3532791e6a8288}{copy\-From} (\hyperlink{classmeow_1_1ObjArray}{Obj\-Array} const \&a) \item \hyperlink{classmeow_1_1ObjArray}{Obj\-Array} \& \hyperlink{classmeow_1_1ObjArray_aa09ddb0d17ebb93520b211dc29ad2904}{reference\-From} (\hyperlink{classmeow_1_1ObjArray}{Obj\-Array} const \&a) \item size\-\_\-t \hyperlink{classmeow_1_1ObjArray_ad1acc646bf175e7797a1205c89240a01}{size} () const \item bool \hyperlink{classmeow_1_1ObjArray_a0cf27c92cf52d3f125a0e01e6b62bce0}{empty} () const \item size\-\_\-t \hyperlink{classmeow_1_1ObjArray_ab77633d00d8e75f1e6dd548c07d780fe}{size} (size\-\_\-t res, T const \&i) \item size\-\_\-t \hyperlink{classmeow_1_1ObjArray_af6c846ed0992c4f1e0a765a6d3549628}{size} (size\-\_\-t res) \item void \hyperlink{classmeow_1_1ObjArray_adaa534a1d808e8064b6cd073fedf1e73}{clear} () \item T const \& \hyperlink{classmeow_1_1ObjArray_a83d175206d5bae2542a818200dd64c9b}{entry} (size\-\_\-t i) const \item T const \& \hyperlink{classmeow_1_1ObjArray_a56b6b9b5e415c084ece7f0c214f0e8f0}{entry} (size\-\_\-t i, T const \&e) \item T const \& \hyperlink{classmeow_1_1ObjArray_affe4f74887e9c81f1e01b4bd1a4e0e28}{put\-Back} (T const \&e) \item bool \hyperlink{classmeow_1_1ObjArray_a5196b0d1ae35ce86857d88810cc0933f}{pop\-Back} () \item \hyperlink{classmeow_1_1ObjArray}{Obj\-Array} \& \hyperlink{classmeow_1_1ObjArray_a3b0c22ea4f9538279794ce866013a2cf}{operator=} (\hyperlink{classmeow_1_1ObjArray}{Obj\-Array} const \&a) \item T const \& \hyperlink{classmeow_1_1ObjArray_a1b6cb50da01769067bafcb85c2a5104f}{operator\mbox{[}$\,$\mbox{]}} (size\-\_\-t i) const \item T \& \hyperlink{classmeow_1_1ObjArray_aa9e6268b6d7ea3c7b53101a7a175e360}{operator\mbox{[}$\,$\mbox{]}} (size\-\_\-t i) \item bool \hyperlink{classmeow_1_1ObjArray_a089627fcba2e80760993e3aff1705a70}{write} (F\-I\-L\-E $\ast$f, bool bin, unsigned \hyperlink{classint}{int} fg) const \begin{DoxyCompactList}\small\item\em 將物件寫入檔案, 預設implement為直接回傳 {\ttfamily false} \end{DoxyCompactList}\item bool \hyperlink{classmeow_1_1ObjArray_a3bc18d106d33e0a2f00f6e9ebf443b74}{read} (F\-I\-L\-E $\ast$f, bool bin, unsigned \hyperlink{classint}{int} fg) \begin{DoxyCompactList}\small\item\em 將物件從檔案讀出, 預設implement為直接回傳 {\ttfamily false} \end{DoxyCompactList}\item \hyperlink{classmeow_1_1ObjBase}{Obj\-Base} $\ast$ \hyperlink{classmeow_1_1ObjArray_a35d6363d1432059e3dd7c3c43ca006ae}{create} () const \begin{DoxyCompactList}\small\item\em 回傳一個new出來的物件, 預設implement為直接回傳 {\ttfamily N\-U\-L\-L} \end{DoxyCompactList}\item \hyperlink{classmeow_1_1ObjBase}{Obj\-Base} $\ast$ \hyperlink{classmeow_1_1ObjArray_a339fcf38102846e361db6aa1e896c044}{copy\-From} (\hyperlink{classmeow_1_1ObjBase}{Obj\-Base} const $\ast$b) \begin{DoxyCompactList}\small\item\em 複製, 預設使用operator= \end{DoxyCompactList}\item char const $\ast$ \hyperlink{classmeow_1_1ObjArray_a8be408ac8b9b6515fc55dfecd418ceb5}{ctype} () const \begin{DoxyCompactList}\small\item\em 用\-C-\/style string回傳這個class的type name \end{DoxyCompactList}\item std\-::string \hyperlink{classmeow_1_1ObjArray_a8fe5956bfb52c17632b00338c7da5d5c}{type} () const \begin{DoxyCompactList}\small\item\em 用std\-::string回傳這個class的type name \end{DoxyCompactList}\end{DoxyCompactItemize} \subsection*{Additional Inherited Members} \subsection{Detailed Description} \subsubsection*{template$<$class T$>$class meow\-::\-Obj\-Array$<$ T $>$} 純粹把 {\ttfamily std\-::vector} 包起來, 變成繼承自 \hyperlink{classmeow_1_1ObjBase}{Obj\-Base} \begin{DoxyAuthor}{Author} cathook \end{DoxyAuthor} \subsection{Constructor \& Destructor Documentation} \hypertarget{classmeow_1_1ObjArray_adf6b1b267475a6a25a03317943e4a3cf}{\index{meow\-::\-Obj\-Array@{meow\-::\-Obj\-Array}!Obj\-Array@{Obj\-Array}} \index{Obj\-Array@{Obj\-Array}!meow::ObjArray@{meow\-::\-Obj\-Array}} \subsubsection[{Obj\-Array}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ {\bf meow\-::\-Obj\-Array}$<$ T $>$\-::{\bf Obj\-Array} ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1ObjArray_adf6b1b267475a6a25a03317943e4a3cf} \hypertarget{classmeow_1_1ObjArray_a277d2ef80a4a62815253e57a91b3ed6f}{\index{meow\-::\-Obj\-Array@{meow\-::\-Obj\-Array}!Obj\-Array@{Obj\-Array}} \index{Obj\-Array@{Obj\-Array}!meow::ObjArray@{meow\-::\-Obj\-Array}} \subsubsection[{Obj\-Array}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ {\bf meow\-::\-Obj\-Array}$<$ T $>$\-::{\bf Obj\-Array} ( \begin{DoxyParamCaption} \item[{{\bf Obj\-Array}$<$ T $>$ const \&}]{a} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1ObjArray_a277d2ef80a4a62815253e57a91b3ed6f} \hypertarget{classmeow_1_1ObjArray_a5a9fa3cf06aab931c3248be58c3f1c14}{\index{meow\-::\-Obj\-Array@{meow\-::\-Obj\-Array}!Obj\-Array@{Obj\-Array}} \index{Obj\-Array@{Obj\-Array}!meow::ObjArray@{meow\-::\-Obj\-Array}} \subsubsection[{Obj\-Array}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ {\bf meow\-::\-Obj\-Array}$<$ T $>$\-::{\bf Obj\-Array} ( \begin{DoxyParamCaption} \item[{std\-::vector$<$ T $>$ const \&}]{a} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1ObjArray_a5a9fa3cf06aab931c3248be58c3f1c14} \hypertarget{classmeow_1_1ObjArray_a387a45e9231e39b68790881125122768}{\index{meow\-::\-Obj\-Array@{meow\-::\-Obj\-Array}!Obj\-Array@{Obj\-Array}} \index{Obj\-Array@{Obj\-Array}!meow::ObjArray@{meow\-::\-Obj\-Array}} \subsubsection[{Obj\-Array}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ {\bf meow\-::\-Obj\-Array}$<$ T $>$\-::{\bf Obj\-Array} ( \begin{DoxyParamCaption} \item[{size\-\_\-t}]{sz, } \item[{T const \&}]{e} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1ObjArray_a387a45e9231e39b68790881125122768} \hypertarget{classmeow_1_1ObjArray_a730a953292ddeb0a03958f00087da129}{\index{meow\-::\-Obj\-Array@{meow\-::\-Obj\-Array}!$\sim$\-Obj\-Array@{$\sim$\-Obj\-Array}} \index{$\sim$\-Obj\-Array@{$\sim$\-Obj\-Array}!meow::ObjArray@{meow\-::\-Obj\-Array}} \subsubsection[{$\sim$\-Obj\-Array}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ {\bf meow\-::\-Obj\-Array}$<$ T $>$\-::$\sim${\bf Obj\-Array} ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1ObjArray_a730a953292ddeb0a03958f00087da129} \subsection{Member Function Documentation} \hypertarget{classmeow_1_1ObjArray_adaa534a1d808e8064b6cd073fedf1e73}{\index{meow\-::\-Obj\-Array@{meow\-::\-Obj\-Array}!clear@{clear}} \index{clear@{clear}!meow::ObjArray@{meow\-::\-Obj\-Array}} \subsubsection[{clear}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ void {\bf meow\-::\-Obj\-Array}$<$ T $>$\-::clear ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1ObjArray_adaa534a1d808e8064b6cd073fedf1e73} \hypertarget{classmeow_1_1ObjArray_a8886e87d000181823e3532791e6a8288}{\index{meow\-::\-Obj\-Array@{meow\-::\-Obj\-Array}!copy\-From@{copy\-From}} \index{copy\-From@{copy\-From}!meow::ObjArray@{meow\-::\-Obj\-Array}} \subsubsection[{copy\-From}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ {\bf Obj\-Array}\& {\bf meow\-::\-Obj\-Array}$<$ T $>$\-::copy\-From ( \begin{DoxyParamCaption} \item[{{\bf Obj\-Array}$<$ T $>$ const \&}]{a} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1ObjArray_a8886e87d000181823e3532791e6a8288} \hypertarget{classmeow_1_1ObjArray_a339fcf38102846e361db6aa1e896c044}{\index{meow\-::\-Obj\-Array@{meow\-::\-Obj\-Array}!copy\-From@{copy\-From}} \index{copy\-From@{copy\-From}!meow::ObjArray@{meow\-::\-Obj\-Array}} \subsubsection[{copy\-From}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ {\bf Obj\-Base}$\ast$ {\bf meow\-::\-Obj\-Array}$<$ T $>$\-::copy\-From ( \begin{DoxyParamCaption} \item[{{\bf Obj\-Base} const $\ast$}]{b} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{classmeow_1_1ObjArray_a339fcf38102846e361db6aa1e896c044} 複製, 預設使用operator= \begin{DoxyParams}[1]{Parameters} \mbox{\tt in} & {\em b} & 資料來源 \\ \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} {\ttfamily this} \end{DoxyReturn} Reimplemented from \hyperlink{classmeow_1_1ObjBase_a79725f50866832762db87184eb528619}{meow\-::\-Obj\-Base}. \hypertarget{classmeow_1_1ObjArray_a35d6363d1432059e3dd7c3c43ca006ae}{\index{meow\-::\-Obj\-Array@{meow\-::\-Obj\-Array}!create@{create}} \index{create@{create}!meow::ObjArray@{meow\-::\-Obj\-Array}} \subsubsection[{create}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ {\bf Obj\-Base}$\ast$ {\bf meow\-::\-Obj\-Array}$<$ T $>$\-::create ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} ) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{classmeow_1_1ObjArray_a35d6363d1432059e3dd7c3c43ca006ae} 回傳一個new出來的物件, 預設implement為直接回傳 {\ttfamily N\-U\-L\-L} Reimplemented from \hyperlink{classmeow_1_1ObjBase_ac9114e6917bca03b8f3c89694214b57c}{meow\-::\-Obj\-Base}. \hypertarget{classmeow_1_1ObjArray_a8be408ac8b9b6515fc55dfecd418ceb5}{\index{meow\-::\-Obj\-Array@{meow\-::\-Obj\-Array}!ctype@{ctype}} \index{ctype@{ctype}!meow::ObjArray@{meow\-::\-Obj\-Array}} \subsubsection[{ctype}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ char const$\ast$ {\bf meow\-::\-Obj\-Array}$<$ T $>$\-::ctype ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} ) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{classmeow_1_1ObjArray_a8be408ac8b9b6515fc55dfecd418ceb5} 用\-C-\/style string回傳這個class的type name Reimplemented from \hyperlink{classmeow_1_1ObjBase_a4aae58e8005739abe6d091d8b55a21e8}{meow\-::\-Obj\-Base}. \hypertarget{classmeow_1_1ObjArray_a0cf27c92cf52d3f125a0e01e6b62bce0}{\index{meow\-::\-Obj\-Array@{meow\-::\-Obj\-Array}!empty@{empty}} \index{empty@{empty}!meow::ObjArray@{meow\-::\-Obj\-Array}} \subsubsection[{empty}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ bool {\bf meow\-::\-Obj\-Array}$<$ T $>$\-::empty ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} ) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1ObjArray_a0cf27c92cf52d3f125a0e01e6b62bce0} \hypertarget{classmeow_1_1ObjArray_a83d175206d5bae2542a818200dd64c9b}{\index{meow\-::\-Obj\-Array@{meow\-::\-Obj\-Array}!entry@{entry}} \index{entry@{entry}!meow::ObjArray@{meow\-::\-Obj\-Array}} \subsubsection[{entry}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ T const\& {\bf meow\-::\-Obj\-Array}$<$ T $>$\-::entry ( \begin{DoxyParamCaption} \item[{size\-\_\-t}]{i} \end{DoxyParamCaption} ) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1ObjArray_a83d175206d5bae2542a818200dd64c9b} \hypertarget{classmeow_1_1ObjArray_a56b6b9b5e415c084ece7f0c214f0e8f0}{\index{meow\-::\-Obj\-Array@{meow\-::\-Obj\-Array}!entry@{entry}} \index{entry@{entry}!meow::ObjArray@{meow\-::\-Obj\-Array}} \subsubsection[{entry}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ T const\& {\bf meow\-::\-Obj\-Array}$<$ T $>$\-::entry ( \begin{DoxyParamCaption} \item[{size\-\_\-t}]{i, } \item[{T const \&}]{e} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1ObjArray_a56b6b9b5e415c084ece7f0c214f0e8f0} \hypertarget{classmeow_1_1ObjArray_a3b0c22ea4f9538279794ce866013a2cf}{\index{meow\-::\-Obj\-Array@{meow\-::\-Obj\-Array}!operator=@{operator=}} \index{operator=@{operator=}!meow::ObjArray@{meow\-::\-Obj\-Array}} \subsubsection[{operator=}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ {\bf Obj\-Array}\& {\bf meow\-::\-Obj\-Array}$<$ T $>$\-::operator= ( \begin{DoxyParamCaption} \item[{{\bf Obj\-Array}$<$ T $>$ const \&}]{a} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1ObjArray_a3b0c22ea4f9538279794ce866013a2cf} \hypertarget{classmeow_1_1ObjArray_a1b6cb50da01769067bafcb85c2a5104f}{\index{meow\-::\-Obj\-Array@{meow\-::\-Obj\-Array}!operator\mbox{[}$\,$\mbox{]}@{operator[]}} \index{operator\mbox{[}$\,$\mbox{]}@{operator[]}!meow::ObjArray@{meow\-::\-Obj\-Array}} \subsubsection[{operator[]}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ T const\& {\bf meow\-::\-Obj\-Array}$<$ T $>$\-::operator\mbox{[}$\,$\mbox{]} ( \begin{DoxyParamCaption} \item[{size\-\_\-t}]{i} \end{DoxyParamCaption} ) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1ObjArray_a1b6cb50da01769067bafcb85c2a5104f} \hypertarget{classmeow_1_1ObjArray_aa9e6268b6d7ea3c7b53101a7a175e360}{\index{meow\-::\-Obj\-Array@{meow\-::\-Obj\-Array}!operator\mbox{[}$\,$\mbox{]}@{operator[]}} \index{operator\mbox{[}$\,$\mbox{]}@{operator[]}!meow::ObjArray@{meow\-::\-Obj\-Array}} \subsubsection[{operator[]}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ T\& {\bf meow\-::\-Obj\-Array}$<$ T $>$\-::operator\mbox{[}$\,$\mbox{]} ( \begin{DoxyParamCaption} \item[{size\-\_\-t}]{i} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1ObjArray_aa9e6268b6d7ea3c7b53101a7a175e360} \hypertarget{classmeow_1_1ObjArray_a5196b0d1ae35ce86857d88810cc0933f}{\index{meow\-::\-Obj\-Array@{meow\-::\-Obj\-Array}!pop\-Back@{pop\-Back}} \index{pop\-Back@{pop\-Back}!meow::ObjArray@{meow\-::\-Obj\-Array}} \subsubsection[{pop\-Back}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ bool {\bf meow\-::\-Obj\-Array}$<$ T $>$\-::pop\-Back ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1ObjArray_a5196b0d1ae35ce86857d88810cc0933f} \hypertarget{classmeow_1_1ObjArray_affe4f74887e9c81f1e01b4bd1a4e0e28}{\index{meow\-::\-Obj\-Array@{meow\-::\-Obj\-Array}!put\-Back@{put\-Back}} \index{put\-Back@{put\-Back}!meow::ObjArray@{meow\-::\-Obj\-Array}} \subsubsection[{put\-Back}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ T const\& {\bf meow\-::\-Obj\-Array}$<$ T $>$\-::put\-Back ( \begin{DoxyParamCaption} \item[{T const \&}]{e} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1ObjArray_affe4f74887e9c81f1e01b4bd1a4e0e28} \hypertarget{classmeow_1_1ObjArray_a3bc18d106d33e0a2f00f6e9ebf443b74}{\index{meow\-::\-Obj\-Array@{meow\-::\-Obj\-Array}!read@{read}} \index{read@{read}!meow::ObjArray@{meow\-::\-Obj\-Array}} \subsubsection[{read}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ bool {\bf meow\-::\-Obj\-Array}$<$ T $>$\-::read ( \begin{DoxyParamCaption} \item[{F\-I\-L\-E $\ast$}]{f, } \item[{bool}]{bin, } \item[{unsigned {\bf int}}]{fg} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{classmeow_1_1ObjArray_a3bc18d106d33e0a2f00f6e9ebf443b74} 將物件從檔案讀出, 預設implement為直接回傳 {\ttfamily false} \begin{DoxyParams}[1]{Parameters} \mbox{\tt in} & {\em f} & 檔案 \\ \hline \mbox{\tt in} & {\em bin} & 是否為binary模式 \\ \hline \mbox{\tt in} & {\em fg} & 使用者自訂的argument \\ \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} 成功或失敗 \end{DoxyReturn} Reimplemented from \hyperlink{classmeow_1_1ObjBase_a4c1f5cb4b05559197148a8f6524bfc34}{meow\-::\-Obj\-Base}. \hypertarget{classmeow_1_1ObjArray_aa09ddb0d17ebb93520b211dc29ad2904}{\index{meow\-::\-Obj\-Array@{meow\-::\-Obj\-Array}!reference\-From@{reference\-From}} \index{reference\-From@{reference\-From}!meow::ObjArray@{meow\-::\-Obj\-Array}} \subsubsection[{reference\-From}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ {\bf Obj\-Array}\& {\bf meow\-::\-Obj\-Array}$<$ T $>$\-::reference\-From ( \begin{DoxyParamCaption} \item[{{\bf Obj\-Array}$<$ T $>$ const \&}]{a} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1ObjArray_aa09ddb0d17ebb93520b211dc29ad2904} \hypertarget{classmeow_1_1ObjArray_ad1acc646bf175e7797a1205c89240a01}{\index{meow\-::\-Obj\-Array@{meow\-::\-Obj\-Array}!size@{size}} \index{size@{size}!meow::ObjArray@{meow\-::\-Obj\-Array}} \subsubsection[{size}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ size\-\_\-t {\bf meow\-::\-Obj\-Array}$<$ T $>$\-::size ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} ) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1ObjArray_ad1acc646bf175e7797a1205c89240a01} \hypertarget{classmeow_1_1ObjArray_ab77633d00d8e75f1e6dd548c07d780fe}{\index{meow\-::\-Obj\-Array@{meow\-::\-Obj\-Array}!size@{size}} \index{size@{size}!meow::ObjArray@{meow\-::\-Obj\-Array}} \subsubsection[{size}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ size\-\_\-t {\bf meow\-::\-Obj\-Array}$<$ T $>$\-::size ( \begin{DoxyParamCaption} \item[{size\-\_\-t}]{res, } \item[{T const \&}]{i} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1ObjArray_ab77633d00d8e75f1e6dd548c07d780fe} \hypertarget{classmeow_1_1ObjArray_af6c846ed0992c4f1e0a765a6d3549628}{\index{meow\-::\-Obj\-Array@{meow\-::\-Obj\-Array}!size@{size}} \index{size@{size}!meow::ObjArray@{meow\-::\-Obj\-Array}} \subsubsection[{size}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ size\-\_\-t {\bf meow\-::\-Obj\-Array}$<$ T $>$\-::size ( \begin{DoxyParamCaption} \item[{size\-\_\-t}]{res} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1ObjArray_af6c846ed0992c4f1e0a765a6d3549628} \hypertarget{classmeow_1_1ObjArray_a8fe5956bfb52c17632b00338c7da5d5c}{\index{meow\-::\-Obj\-Array@{meow\-::\-Obj\-Array}!type@{type}} \index{type@{type}!meow::ObjArray@{meow\-::\-Obj\-Array}} \subsubsection[{type}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ std\-::string {\bf meow\-::\-Obj\-Array}$<$ T $>$\-::type ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} ) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{classmeow_1_1ObjArray_a8fe5956bfb52c17632b00338c7da5d5c} 用std\-::string回傳這個class的type name Reimplemented from \hyperlink{classmeow_1_1ObjBase_a63a4911bb073281820fe9b7a9908ba72}{meow\-::\-Obj\-Base}. \hypertarget{classmeow_1_1ObjArray_a089627fcba2e80760993e3aff1705a70}{\index{meow\-::\-Obj\-Array@{meow\-::\-Obj\-Array}!write@{write}} \index{write@{write}!meow::ObjArray@{meow\-::\-Obj\-Array}} \subsubsection[{write}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ bool {\bf meow\-::\-Obj\-Array}$<$ T $>$\-::write ( \begin{DoxyParamCaption} \item[{F\-I\-L\-E $\ast$}]{f, } \item[{bool}]{bin, } \item[{unsigned {\bf int}}]{fg} \end{DoxyParamCaption} ) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{classmeow_1_1ObjArray_a089627fcba2e80760993e3aff1705a70} 將物件寫入檔案, 預設implement為直接回傳 {\ttfamily false} \begin{DoxyParams}[1]{Parameters} \mbox{\tt in} & {\em f} & 檔案 \\ \hline \mbox{\tt in} & {\em bin} & 是否為binary模式 \\ \hline \mbox{\tt in} & {\em fg} & 使用者自訂的argument \\ \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} 成功或失敗 \end{DoxyReturn} Reimplemented from \hyperlink{classmeow_1_1ObjBase_ae9e9e5c664b7a92e54a3616983f39ba8}{meow\-::\-Obj\-Base}. The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize} \item meowpp/oo/\hyperlink{ObjArray_8h}{Obj\-Array.\-h}\end{DoxyCompactItemize}