From 35831ff8dc30c9884a7c3340414f005a0d4ada10 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Thu, 12 May 2022 20:21:09 +0300 Subject: Completely reworked documentation --- docs/html/Ticket_8h.html | 172 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 172 insertions(+) create mode 100644 docs/html/Ticket_8h.html (limited to 'docs/html/Ticket_8h.html') diff --git a/docs/html/Ticket_8h.html b/docs/html/Ticket_8h.html new file mode 100644 index 0000000..cceb148 --- /dev/null +++ b/docs/html/Ticket_8h.html @@ -0,0 +1,172 @@ + + + + + + + +FMI Ticket System: src/Models/Ticket.h File Reference + + + + + + + + + +
+
+ + + + + + +
+
FMI Ticket System +
+
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 1 | Project Topic 4 |
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
Ticket.h File Reference
+
+
+ +

Stores the declaration of class Ticket. +More...

+
#include <istream>
+#include <ostream>
+
+

Go to the source code of this file.

+ + + + + +

+Classes

class  Ticket
 Each Ticket contains a row and a seat number. More...
 
+ + + + + + + +

+Functions

std::istream & operator>> (std::istream &istr, Ticket &ticket)
 Reads Ticket from stream with >> operator. More...
 
std::ostream & operator<< (std::ostream &ostr, const Ticket &ticket)
 Writes Ticket to stream with << operator. More...
 
+

Detailed Description

+

Stores the declaration of class Ticket.

+

Function Documentation

+ +

◆ operator<<()

+ +
+
+ + + + + + + + + + + + + + + + + + +
std::ostream & operator<< (std::ostream & ostr,
const Ticket & ticket 
)
+
+ +

Writes Ticket to stream with << operator.

+

Uses the stream's << operator to write row and seat, separated by a space.

+
Note
Best used with std::cout or text std::ofstream
+ +
+
+ +

◆ operator>>()

+ +
+
+ + + + + + + + + + + + + + + + + + +
std::istream & operator>> (std::istream & istr,
Ticket & ticket 
)
+
+ +

Reads Ticket from stream with >> operator.

+

Uses the stream's >> operator to read and parse row and seat.

+
Note
Best used with std::cin or text std::ifstream
+ +
+
+
+ + + + -- cgit v1.3.1-26-gb76a