452 lines
20 KiB
TeX
452 lines
20 KiB
TeX
\hypertarget{class_naptar}{}\doxysection{Naptar osztályreferencia}
|
|
\label{class_naptar}\index{Naptar@{Naptar}}
|
|
|
|
|
|
A naptár osztály tárolja azoknak a napoknak a dátumát,amely napok foglaltak már. Ha az osztály kap egy dátumot, akkor el kell tudnia dönteni,hogy az adott nap szabad-\/e. Fontos, hogy egy dátum csak egyszer szerepelhet. Ha egy adott dátumot egynél többször szeretnénk felvenni, a program hibát dob.
|
|
|
|
|
|
|
|
|
|
{\ttfamily \#include $<$Naptar.\+h$>$}
|
|
|
|
|
|
|
|
A Naptar osztály együttműködési diagramja\+:\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=191pt]{class_naptar__coll__graph}
|
|
\end{center}
|
|
\end{figure}
|
|
\doxysubsection*{Osztályok}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
class \mbox{\hyperlink{class_naptar_1_1iterator}{iterator}}
|
|
\end{DoxyCompactItemize}
|
|
\doxysubsection*{Publikus tagfüggvények}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
size\+\_\+t \mbox{\hyperlink{class_naptar_ad8e0b10ed79df400c1cde7d1c3ff1ee0}{size}} () const
|
|
\begin{DoxyCompactList}\small\item\em A tömb aktuális mérete. \end{DoxyCompactList}\item
|
|
\mbox{\Hypertarget{class_naptar_a80e514f37fff3699f40ead9ac60d5b8f}\label{class_naptar_a80e514f37fff3699f40ead9ac60d5b8f}}
|
|
\mbox{\hyperlink{class_naptar_a80e514f37fff3699f40ead9ac60d5b8f}{Naptar}} ()
|
|
\begin{DoxyCompactList}\small\item\em Paraméter nélkül hívható konstruktor. \end{DoxyCompactList}\item
|
|
\mbox{\hyperlink{class_naptar_aa43b6065192295e6a8fd6e2c5d655552}{Naptar}} (\mbox{\hyperlink{class_datum}{Datum}} $\ast$n)
|
|
\begin{DoxyCompactList}\small\item\em Konstruktor első elemmel. \end{DoxyCompactList}\item
|
|
\mbox{\Hypertarget{class_naptar_a63125786ce7b2f3c36cebe34055145fb}\label{class_naptar_a63125786ce7b2f3c36cebe34055145fb}}
|
|
{\bfseries Naptar} (const char $\ast$filename)
|
|
\item
|
|
bool \mbox{\hyperlink{class_naptar_a2f3c52dc9212bc2e8e478e820db8e843}{foglalt}} (const \mbox{\hyperlink{class_datum}{Datum}} nap)
|
|
\begin{DoxyCompactList}\small\item\em Megnézi, hogy egy adott dátum foglalt-\/e. \end{DoxyCompactList}\item
|
|
bool \mbox{\hyperlink{class_naptar_a04ca99237e8d5951f3ef411a4aee8330}{foglalt}} (int ev, int honap, int nap)
|
|
\begin{DoxyCompactList}\small\item\em Megnézi, hogy egy adott dátum foglalt-\/e. \end{DoxyCompactList}\item
|
|
void \mbox{\hyperlink{class_naptar_aaa70c8b9496b23fd493c7e52e539d431}{felszabadit}} (const \mbox{\hyperlink{class_datum}{Datum}} \&nap)
|
|
\begin{DoxyCompactList}\small\item\em Kivesz egy \mbox{\hyperlink{class_datum}{Datum}} osztályt a tömbből. \end{DoxyCompactList}\item
|
|
void \mbox{\hyperlink{class_naptar_a55e3f2aeee7a501d1e84712663908a27}{felszabadit}} (int ev, int honap, int nap)
|
|
\begin{DoxyCompactList}\small\item\em Kivesz egy \mbox{\hyperlink{class_datum}{Datum}} osztályt a tömbből. \end{DoxyCompactList}\item
|
|
\mbox{\Hypertarget{class_naptar_aad604a1c1e37cfb0675595176bf52894}\label{class_naptar_aad604a1c1e37cfb0675595176bf52894}}
|
|
void \mbox{\hyperlink{class_naptar_aad604a1c1e37cfb0675595176bf52894}{urit}} ()
|
|
\begin{DoxyCompactList}\small\item\em Kiüríti a tömböt. \end{DoxyCompactList}\item
|
|
void \mbox{\hyperlink{class_naptar_ab15a539658086982ca365a19b3631997}{hozzaad}} (\mbox{\hyperlink{class_datum}{Datum}} $\ast$n)
|
|
\begin{DoxyCompactList}\small\item\em Hozzáad egy új elemet a listához. \end{DoxyCompactList}\item
|
|
void \mbox{\hyperlink{class_naptar_a732544980d31ccdcbaf03b1e5af26300}{hozzaad}} (int ev, int honap, int nap)
|
|
\begin{DoxyCompactList}\small\item\em Hozzáad egy új elemet a listához. \end{DoxyCompactList}\item
|
|
void \mbox{\hyperlink{class_naptar_adbf764689a4d9fb9ca384311d8942c55}{print\+Table}} (int ev)
|
|
\begin{DoxyCompactList}\small\item\em Kiirja a megadott évre tervezett eseményeket. \end{DoxyCompactList}\item
|
|
void \mbox{\hyperlink{class_naptar_a477ce22ff74ae613c025ed6d48d54a7f}{print\+Table}} (int ev, int honap)
|
|
\begin{DoxyCompactList}\small\item\em Kiirja a megadott hónapra tervezett eseményeket. \end{DoxyCompactList}\item
|
|
void \mbox{\hyperlink{class_naptar_a3a3e5b2149c4e0f1463b52a15ba3f251}{export\+C\+SV}} (const char $\ast$path)
|
|
\begin{DoxyCompactList}\small\item\em A naptár tartalmát kimenti egy C\+SV fájlba. \end{DoxyCompactList}\item
|
|
\mbox{\Hypertarget{class_naptar_a860e214e12221e3c99aee674f4add926}\label{class_naptar_a860e214e12221e3c99aee674f4add926}}
|
|
virtual \mbox{\hyperlink{class_naptar_a860e214e12221e3c99aee674f4add926}{$\sim$\+Naptar}} ()
|
|
\begin{DoxyCompactList}\small\item\em Destruktor. Itt törlődik az összes elem. \end{DoxyCompactList}\item
|
|
\mbox{\hyperlink{class_naptar_1_1iterator}{iterator}} \mbox{\hyperlink{class_naptar_a0e716cb6e568708e48459b31cfb3f4bd}{begin}} ()
|
|
\begin{DoxyCompactList}\small\item\em Bejáró kezdete. \end{DoxyCompactList}\item
|
|
\mbox{\hyperlink{class_naptar_1_1iterator}{iterator}} \mbox{\hyperlink{class_naptar_a977e725d954a580a7c92aecb321c159f}{end}} ()
|
|
\begin{DoxyCompactList}\small\item\em Bejáró vége. \end{DoxyCompactList}\item
|
|
\mbox{\hyperlink{class_naptar_1_1iterator}{iterator}} \mbox{\hyperlink{class_naptar_a65a00803b1ae4f8ac690533c39a6f1be}{at}} (size\+\_\+t id)
|
|
\begin{DoxyCompactList}\small\item\em Visszaadja az adott helyen lévő \mbox{\hyperlink{class_datum}{Datum}} \mbox{\hyperlink{class_naptar_1_1iterator}{iterátor}}-\/át. \end{DoxyCompactList}\item
|
|
\mbox{\hyperlink{class_naptar}{Naptar}} \& \mbox{\hyperlink{class_naptar_a053c03489aafd565c8bfe23e69ed7872}{operator=}} (const \mbox{\hyperlink{class_naptar}{Naptar}} \&np)
|
|
\begin{DoxyCompactList}\small\item\em Érték adó operátor. \end{DoxyCompactList}\item
|
|
\mbox{\hyperlink{class_naptar_a70301a03d6bb874fd7198086c42d7eac}{Naptar}} (\mbox{\hyperlink{class_naptar}{Naptar}} \&np)
|
|
\end{DoxyCompactItemize}
|
|
\doxysubsection*{Privát attribútumok}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
\mbox{\Hypertarget{class_naptar_af6136a83c1a1387102cad5366056011f}\label{class_naptar_af6136a83c1a1387102cad5366056011f}}
|
|
\mbox{\hyperlink{class_datum}{Datum}} $\ast$$\ast$ \mbox{\hyperlink{class_naptar_af6136a83c1a1387102cad5366056011f}{napok}}
|
|
\begin{DoxyCompactList}\small\item\em Dinamikusan méretezett tömb. A konstruktorban jön létre és a destruktorban szűnik meg. \end{DoxyCompactList}\item
|
|
\mbox{\Hypertarget{class_naptar_a8c3f76ec32bf563decf3b8dd2464ab4e}\label{class_naptar_a8c3f76ec32bf563decf3b8dd2464ab4e}}
|
|
size\+\_\+t \mbox{\hyperlink{class_naptar_a8c3f76ec32bf563decf3b8dd2464ab4e}{db}}
|
|
\begin{DoxyCompactList}\small\item\em A tömb aktuális mérete. \end{DoxyCompactList}\end{DoxyCompactItemize}
|
|
|
|
|
|
\doxysubsection{Részletes leírás}
|
|
A naptár osztály tárolja azoknak a napoknak a dátumát,amely napok foglaltak már. Ha az osztály kap egy dátumot, akkor el kell tudnia dönteni,hogy az adott nap szabad-\/e. Fontos, hogy egy dátum csak egyszer szerepelhet. Ha egy adott dátumot egynél többször szeretnénk felvenni, a program hibát dob.
|
|
|
|
\begin{DoxyAuthor}{Szerző}
|
|
Toldi Balázs Ádám
|
|
\end{DoxyAuthor}
|
|
|
|
|
|
\doxysubsection{Konstruktorok és destruktorok dokumentációja}
|
|
\mbox{\Hypertarget{class_naptar_aa43b6065192295e6a8fd6e2c5d655552}\label{class_naptar_aa43b6065192295e6a8fd6e2c5d655552}}
|
|
\index{Naptar@{Naptar}!Naptar@{Naptar}}
|
|
\index{Naptar@{Naptar}!Naptar@{Naptar}}
|
|
\doxysubsubsection{\texorpdfstring{Naptar()}{Naptar()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
|
|
{\footnotesize\ttfamily Naptar\+::\+Naptar (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_datum}{Datum}} $\ast$}]{n }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
Konstruktor első elemmel.
|
|
|
|
|
|
\begin{DoxyParams}{Paraméterek}
|
|
{\em n} & Az első elem \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
\mbox{\Hypertarget{class_naptar_a70301a03d6bb874fd7198086c42d7eac}\label{class_naptar_a70301a03d6bb874fd7198086c42d7eac}}
|
|
\index{Naptar@{Naptar}!Naptar@{Naptar}}
|
|
\index{Naptar@{Naptar}!Naptar@{Naptar}}
|
|
\doxysubsubsection{\texorpdfstring{Naptar()}{Naptar()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
|
|
{\footnotesize\ttfamily Naptar\+::\+Naptar (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_naptar}{Naptar}} \&}]{np }\end{DoxyParamCaption})}
|
|
|
|
Másoló konstruktor
|
|
\begin{DoxyParams}{Paraméterek}
|
|
{\em np} & A lemásolandó Naptár objektum \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
|
|
\doxysubsection{Tagfüggvények dokumentációja}
|
|
\mbox{\Hypertarget{class_naptar_a65a00803b1ae4f8ac690533c39a6f1be}\label{class_naptar_a65a00803b1ae4f8ac690533c39a6f1be}}
|
|
\index{Naptar@{Naptar}!at@{at}}
|
|
\index{at@{at}!Naptar@{Naptar}}
|
|
\doxysubsubsection{\texorpdfstring{at()}{at()}}
|
|
{\footnotesize\ttfamily \mbox{\hyperlink{class_naptar_1_1iterator}{Naptar\+::iterator}} Naptar\+::at (\begin{DoxyParamCaption}\item[{size\+\_\+t}]{id }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
Visszaadja az adott helyen lévő \mbox{\hyperlink{class_datum}{Datum}} \mbox{\hyperlink{class_naptar_1_1iterator}{iterátor}}-\/át.
|
|
|
|
|
|
\begin{DoxyParams}{Paraméterek}
|
|
{\em id} & Az adott tag sorszáma \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
\begin{DoxyReturn}{Visszatérési érték}
|
|
Az adott helyen lévő \mbox{\hyperlink{class_datum}{Datum}} \mbox{\hyperlink{class_naptar_1_1iterator}{iterátor}}-\/át
|
|
\end{DoxyReturn}
|
|
\begin{DoxyNote}{Megjegyzés}
|
|
Az események időrendi sorrendben vannak
|
|
\end{DoxyNote}
|
|
\mbox{\Hypertarget{class_naptar_a0e716cb6e568708e48459b31cfb3f4bd}\label{class_naptar_a0e716cb6e568708e48459b31cfb3f4bd}}
|
|
\index{Naptar@{Naptar}!begin@{begin}}
|
|
\index{begin@{begin}!Naptar@{Naptar}}
|
|
\doxysubsubsection{\texorpdfstring{begin()}{begin()}}
|
|
{\footnotesize\ttfamily \mbox{\hyperlink{class_naptar_1_1iterator}{Naptar\+::iterator}} Naptar\+::begin (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
Bejáró kezdete.
|
|
|
|
\begin{DoxyReturn}{Visszatérési érték}
|
|
Bejáró kezdete
|
|
\end{DoxyReturn}
|
|
A függvény hívó gráfja\+:\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=350pt]{class_naptar_a0e716cb6e568708e48459b31cfb3f4bd_icgraph}
|
|
\end{center}
|
|
\end{figure}
|
|
\mbox{\Hypertarget{class_naptar_a977e725d954a580a7c92aecb321c159f}\label{class_naptar_a977e725d954a580a7c92aecb321c159f}}
|
|
\index{Naptar@{Naptar}!end@{end}}
|
|
\index{end@{end}!Naptar@{Naptar}}
|
|
\doxysubsubsection{\texorpdfstring{end()}{end()}}
|
|
{\footnotesize\ttfamily \mbox{\hyperlink{class_naptar_1_1iterator}{Naptar\+::iterator}} Naptar\+::end (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
Bejáró vége.
|
|
|
|
\begin{DoxyReturn}{Visszatérési érték}
|
|
Bejáró vége
|
|
\end{DoxyReturn}
|
|
A függvény hívó gráfja\+:\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=350pt]{class_naptar_a977e725d954a580a7c92aecb321c159f_icgraph}
|
|
\end{center}
|
|
\end{figure}
|
|
\mbox{\Hypertarget{class_naptar_a3a3e5b2149c4e0f1463b52a15ba3f251}\label{class_naptar_a3a3e5b2149c4e0f1463b52a15ba3f251}}
|
|
\index{Naptar@{Naptar}!exportCSV@{exportCSV}}
|
|
\index{exportCSV@{exportCSV}!Naptar@{Naptar}}
|
|
\doxysubsubsection{\texorpdfstring{exportCSV()}{exportCSV()}}
|
|
{\footnotesize\ttfamily void Naptar\+::export\+C\+SV (\begin{DoxyParamCaption}\item[{const char $\ast$}]{path }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
A naptár tartalmát kimenti egy C\+SV fájlba.
|
|
|
|
|
|
\begin{DoxyParams}{Paraméterek}
|
|
{\em path} & A fájl elérési útvonala \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
\begin{DoxyNote}{Megjegyzés}
|
|
A naptár osztály tartalmát kiírja egy C\+SV fájlba. A C\+SV táblázat oszlopai pontosvesszővel( ; ),a sorai sortöréssel vannak elválasztva.
|
|
\end{DoxyNote}
|
|
\mbox{\Hypertarget{class_naptar_aaa70c8b9496b23fd493c7e52e539d431}\label{class_naptar_aaa70c8b9496b23fd493c7e52e539d431}}
|
|
\index{Naptar@{Naptar}!felszabadit@{felszabadit}}
|
|
\index{felszabadit@{felszabadit}!Naptar@{Naptar}}
|
|
\doxysubsubsection{\texorpdfstring{felszabadit()}{felszabadit()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
|
|
{\footnotesize\ttfamily void Naptar\+::felszabadit (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{class_datum}{Datum}} \&}]{nap }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
Kivesz egy \mbox{\hyperlink{class_datum}{Datum}} osztályt a tömbből.
|
|
|
|
|
|
\begin{DoxyParams}{Paraméterek}
|
|
{\em nap} & A \mbox{\hyperlink{class_datum}{Datum}} osztály, amit el szeretnénk távolítani \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
\begin{DoxyNote}{Megjegyzés}
|
|
Ha az elem nem található,akkor a tartalma változatlan marad (Viszont erőforrást igényel).
|
|
\end{DoxyNote}
|
|
A függvény hívó gráfja\+:\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=314pt]{class_naptar_aaa70c8b9496b23fd493c7e52e539d431_icgraph}
|
|
\end{center}
|
|
\end{figure}
|
|
\mbox{\Hypertarget{class_naptar_a55e3f2aeee7a501d1e84712663908a27}\label{class_naptar_a55e3f2aeee7a501d1e84712663908a27}}
|
|
\index{Naptar@{Naptar}!felszabadit@{felszabadit}}
|
|
\index{felszabadit@{felszabadit}!Naptar@{Naptar}}
|
|
\doxysubsubsection{\texorpdfstring{felszabadit()}{felszabadit()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
|
|
{\footnotesize\ttfamily void Naptar\+::felszabadit (\begin{DoxyParamCaption}\item[{int}]{ev, }\item[{int}]{honap, }\item[{int}]{nap }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
Kivesz egy \mbox{\hyperlink{class_datum}{Datum}} osztályt a tömbből.
|
|
|
|
|
|
\begin{DoxyParams}{Paraméterek}
|
|
{\em ev} & A dátum éve. \\
|
|
\hline
|
|
{\em honap} & A dátum hónapja. \\
|
|
\hline
|
|
{\em nap} & A dátum napja. \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
\begin{DoxyNote}{Megjegyzés}
|
|
Ha az elem nem található,akkor a tartalma változatlan marad (Viszont erőforrást igényel).
|
|
\end{DoxyNote}
|
|
A függvény hívási gráfja\+:\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=314pt]{class_naptar_a55e3f2aeee7a501d1e84712663908a27_cgraph}
|
|
\end{center}
|
|
\end{figure}
|
|
\mbox{\Hypertarget{class_naptar_a2f3c52dc9212bc2e8e478e820db8e843}\label{class_naptar_a2f3c52dc9212bc2e8e478e820db8e843}}
|
|
\index{Naptar@{Naptar}!foglalt@{foglalt}}
|
|
\index{foglalt@{foglalt}!Naptar@{Naptar}}
|
|
\doxysubsubsection{\texorpdfstring{foglalt()}{foglalt()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
|
|
{\footnotesize\ttfamily bool Naptar\+::foglalt (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{class_datum}{Datum}}}]{nap }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
Megnézi, hogy egy adott dátum foglalt-\/e.
|
|
|
|
|
|
\begin{DoxyParams}{Paraméterek}
|
|
{\em nap} & A keresett dátum \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
\begin{DoxyReturn}{Visszatérési érték}
|
|
Logikai változó az alapján, hogy foglalt-\/e
|
|
\end{DoxyReturn}
|
|
A függvény hívási gráfja\+:\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=269pt]{class_naptar_a2f3c52dc9212bc2e8e478e820db8e843_cgraph}
|
|
\end{center}
|
|
\end{figure}
|
|
A függvény hívó gráfja\+:\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=350pt]{class_naptar_a2f3c52dc9212bc2e8e478e820db8e843_icgraph}
|
|
\end{center}
|
|
\end{figure}
|
|
\mbox{\Hypertarget{class_naptar_a04ca99237e8d5951f3ef411a4aee8330}\label{class_naptar_a04ca99237e8d5951f3ef411a4aee8330}}
|
|
\index{Naptar@{Naptar}!foglalt@{foglalt}}
|
|
\index{foglalt@{foglalt}!Naptar@{Naptar}}
|
|
\doxysubsubsection{\texorpdfstring{foglalt()}{foglalt()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
|
|
{\footnotesize\ttfamily bool Naptar\+::foglalt (\begin{DoxyParamCaption}\item[{int}]{ev, }\item[{int}]{honap, }\item[{int}]{nap }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
Megnézi, hogy egy adott dátum foglalt-\/e.
|
|
|
|
|
|
\begin{DoxyParams}{Paraméterek}
|
|
{\em ev} & A dátum éve. \\
|
|
\hline
|
|
{\em honap} & A dátum hónapja. \\
|
|
\hline
|
|
{\em nap} & A dátum napja. \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
\begin{DoxyReturn}{Visszatérési érték}
|
|
Logikai változó az alapján, hogy foglalt-\/e
|
|
\end{DoxyReturn}
|
|
\mbox{\Hypertarget{class_naptar_ab15a539658086982ca365a19b3631997}\label{class_naptar_ab15a539658086982ca365a19b3631997}}
|
|
\index{Naptar@{Naptar}!hozzaad@{hozzaad}}
|
|
\index{hozzaad@{hozzaad}!Naptar@{Naptar}}
|
|
\doxysubsubsection{\texorpdfstring{hozzaad()}{hozzaad()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
|
|
{\footnotesize\ttfamily void Naptar\+::hozzaad (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_datum}{Datum}} $\ast$}]{n }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
Hozzáad egy új elemet a listához.
|
|
|
|
|
|
\begin{DoxyParams}{Paraméterek}
|
|
{\em n} & A hozzáadandó datum osztály \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
\begin{DoxyWarning}{Figyelmeztetés}
|
|
Ha a dátum már foglalt, kivételt dob.
|
|
\end{DoxyWarning}
|
|
A függvény hívási gráfja\+:\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=350pt]{class_naptar_ab15a539658086982ca365a19b3631997_cgraph}
|
|
\end{center}
|
|
\end{figure}
|
|
A függvény hívó gráfja\+:\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=294pt]{class_naptar_ab15a539658086982ca365a19b3631997_icgraph}
|
|
\end{center}
|
|
\end{figure}
|
|
\mbox{\Hypertarget{class_naptar_a732544980d31ccdcbaf03b1e5af26300}\label{class_naptar_a732544980d31ccdcbaf03b1e5af26300}}
|
|
\index{Naptar@{Naptar}!hozzaad@{hozzaad}}
|
|
\index{hozzaad@{hozzaad}!Naptar@{Naptar}}
|
|
\doxysubsubsection{\texorpdfstring{hozzaad()}{hozzaad()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
|
|
{\footnotesize\ttfamily void Naptar\+::hozzaad (\begin{DoxyParamCaption}\item[{int}]{ev, }\item[{int}]{honap, }\item[{int}]{nap }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
Hozzáad egy új elemet a listához.
|
|
|
|
|
|
\begin{DoxyParams}{Paraméterek}
|
|
{\em ev} & A dátum éve. \\
|
|
\hline
|
|
{\em honap} & A dátum hónapja. \\
|
|
\hline
|
|
{\em nap} & A dátum napja. \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
\begin{DoxyWarning}{Figyelmeztetés}
|
|
Ha a dátum már foglalt, kivételt dob.
|
|
\end{DoxyWarning}
|
|
A függvény hívási gráfja\+:\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=350pt]{class_naptar_a732544980d31ccdcbaf03b1e5af26300_cgraph}
|
|
\end{center}
|
|
\end{figure}
|
|
\mbox{\Hypertarget{class_naptar_a053c03489aafd565c8bfe23e69ed7872}\label{class_naptar_a053c03489aafd565c8bfe23e69ed7872}}
|
|
\index{Naptar@{Naptar}!operator=@{operator=}}
|
|
\index{operator=@{operator=}!Naptar@{Naptar}}
|
|
\doxysubsubsection{\texorpdfstring{operator=()}{operator=()}}
|
|
{\footnotesize\ttfamily \mbox{\hyperlink{class_naptar}{Naptar}}\& Naptar\+::operator= (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{class_naptar}{Naptar}} \&}]{np }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
Érték adó operátor.
|
|
|
|
|
|
\begin{DoxyParams}{Paraméterek}
|
|
{\em np} & A lemásolandó Naptár objektum \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
\begin{DoxyReturn}{Visszatérési érték}
|
|
A lemásolt objektum
|
|
\end{DoxyReturn}
|
|
\mbox{\Hypertarget{class_naptar_adbf764689a4d9fb9ca384311d8942c55}\label{class_naptar_adbf764689a4d9fb9ca384311d8942c55}}
|
|
\index{Naptar@{Naptar}!printTable@{printTable}}
|
|
\index{printTable@{printTable}!Naptar@{Naptar}}
|
|
\doxysubsubsection{\texorpdfstring{printTable()}{printTable()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
|
|
{\footnotesize\ttfamily void Naptar\+::print\+Table (\begin{DoxyParamCaption}\item[{int}]{ev }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
Kiirja a megadott évre tervezett eseményeket.
|
|
|
|
|
|
\begin{DoxyParams}{Paraméterek}
|
|
{\em ev} & Az év,amely eseményeit szeretnénk kiírni \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
A függvény hívási gráfja\+:\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=288pt]{class_naptar_adbf764689a4d9fb9ca384311d8942c55_cgraph}
|
|
\end{center}
|
|
\end{figure}
|
|
\mbox{\Hypertarget{class_naptar_a477ce22ff74ae613c025ed6d48d54a7f}\label{class_naptar_a477ce22ff74ae613c025ed6d48d54a7f}}
|
|
\index{Naptar@{Naptar}!printTable@{printTable}}
|
|
\index{printTable@{printTable}!Naptar@{Naptar}}
|
|
\doxysubsubsection{\texorpdfstring{printTable()}{printTable()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
|
|
{\footnotesize\ttfamily void Naptar\+::print\+Table (\begin{DoxyParamCaption}\item[{int}]{ev, }\item[{int}]{honap }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
Kiirja a megadott hónapra tervezett eseményeket.
|
|
|
|
|
|
\begin{DoxyParams}{Paraméterek}
|
|
{\em ev} & Az év,amely eseményeit szeretnénk kiírni \\
|
|
\hline
|
|
{\em honap} & A hónap,amely eseményeit szeretnénk kiírni \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
A függvény hívási gráfja\+:\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=288pt]{class_naptar_a477ce22ff74ae613c025ed6d48d54a7f_cgraph}
|
|
\end{center}
|
|
\end{figure}
|
|
\mbox{\Hypertarget{class_naptar_ad8e0b10ed79df400c1cde7d1c3ff1ee0}\label{class_naptar_ad8e0b10ed79df400c1cde7d1c3ff1ee0}}
|
|
\index{Naptar@{Naptar}!size@{size}}
|
|
\index{size@{size}!Naptar@{Naptar}}
|
|
\doxysubsubsection{\texorpdfstring{size()}{size()}}
|
|
{\footnotesize\ttfamily size\+\_\+t Naptar\+::size (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}
|
|
|
|
|
|
|
|
A tömb aktuális mérete.
|
|
|
|
\begin{DoxyReturn}{Visszatérési érték}
|
|
A tömb aktuális mérete.
|
|
\end{DoxyReturn}
|
|
|
|
|
|
Ez a dokumentáció az osztályról a következő fájlok alapján készült\+:\begin{DoxyCompactItemize}
|
|
\item
|
|
Naptar.\+h\item
|
|
Naptar.\+cpp\end{DoxyCompactItemize}
|