Index
A
- advanced domain specific language
- main function / The main function
- advanced searching algorithm / Advanced searching and sorting
- advanced sorting algorithm / Advanced searching and sorting
B
- base widget class / The base widget class
- base window class / The base window class
- block comment / Understanding classes – the Car class
- bold style / The grammar of the source language
- Book class
- about / The Book class, The Book class
- book, writing / Writing the book, Reading and writing the book
- book, reading / Reading the book, Reading and writing the book
- book, borrowing / Borrowing and reserving the book, Borrowing and reserving the book
- book, reserving / Borrowing and reserving the book, Borrowing and reserving the book
- book, displaying / Displaying the book, Displaying the book
- bubble sort algorithm / The bubble sort algorithm
C
- Car class
- about / Understanding classes – the Car class
- extending / Extending the Car class
- Caret class / The Caret class
- Cell class / The Cell class
- class / Understanding classes – the Car class
- class hierarchy / A class hierarchy – the Person, Student, and Employee classes
- clock application
- creating / Creating the clock application
- environment, setting up / Setting up the environment
- Clock class / The Clock class, The Clock class
- main function / The main function, The main function
- enhancing / Improving the clock
- compound assignment / Understanding classes – the Car class
- Customer class
- about / The Customer class, The Customer class
- customer, reading from file / Reading the customer from a file
- customer, writing to file / Writing the customer to a file
- book, borrowing / Borrowing and reserving a book, Borrowing and reserving a book
- book, reserving / Borrowing and reserving a book, Borrowing and reserving a book
- customer, displaying / Displaying the customer, Displaying the customer
- customer, writing / Reading and writing the customer
- customer, reading / Reading and writing the customer
D
- dice
- rolling / Rolling the dice
- difference method / Union, intersection, and difference operations
- directives / The parser
- Domain Specific Language (DSL)
- main function / The main function
- drawing program
- building / Building the drawing program
- Figure base class / The Figure base class
- Line sub class / The Line sub class
- Rectangle sub class / The Rectangle sub class
- Ellipse sub class / The Ellipse sub class
- window, drawing / Drawing the window
- widget, drawing / Drawing the widget
- main function / The main function, The main function
- enhancing / Improving the drawing program
- Figure class / The Figure class
- Line class / The Line class
- Rectangle class / The Rectangle class
- EllipseX class / The Ellipse class
- DrawingWindow Class / The DrawingWindow class
- DrawingWidget class / The DrawingWidget class
E
- editor
- building / Building an editor
- Caret class / The Caret class
- window, drawing / Drawing the editor window
- widget, drawing / Drawing the editor widget
- main function / The main function, The main function
- enhancing / Improving the editor
- EditorWindow class / The EditorWindow class
- EditorWidget class / The EditorWidget class
- Ellipse sub class / The Ellipse sub class
- EllipseX class / The Ellipse class
- evaluator
- about / The evaluator
- working / The evaluator
F
- field / Understanding classes – the Car class
- Figure base class / The Figure base class
- Figure class / The Figure class
G
- grammar
- enhancing / Improving the grammar
I
- insert sort algorithm / The insert sort algorithm
- intersection method / Union, intersection, and difference operations
- iterator class / The Iterator class
L
- Library class
- about / The Library class, The Library class
- books, searching / Looking up books and customers, Looking up books and customers, Looking up books and customers
- customers, searching / Looking up books and customers, Looking up books and customers, Looking up books and customers
- book, adding / Adding a book, Adding a book
- book, deleting / Deleting a book, Deleting a book
- books, listing / Listing the books, Listing the books
- customer, adding / Adding a customer, Adding a customer
- customer, deleting / Deleting a customer, Deleting a customer
- customers, listing / Listing the customers, Listing the customers
- book, borrowing / Borrowing a book, Borrowing a book
- book, reserving / Reserving a book, Reserving a book
- book, returning / Returning a Book, Returning a book
- library information, saving to file / Saving the library information to a file, Saving the library information to a file
- library information, loading from file / Loading the library information from a file, Loading the library information from a file
- main function, writing / The main function
- marshmallowing / Marshmallowing
- book objects, writing / Writing the book objects
- customer objects, writing / Writing the customer objects
- borrowed index, writing / Writing the borrower index
- reservation indexes, writing / Writing the reservation indexes
- loan book indexed, writing / Writing the loan book indexes
- reservation book indexes, writing / Writing the reservation book indexes
- book objects, reading / Reading the book objects
- customer objects, reading / Reading the customer objects
- borrow index, reading / Reading the borrower index
- reservation indexes, reading / Reading the reservation indexes
- loan book indexes, reading / Reading the loan book indexes
- reservation book indexes, reading / Reading the reservation book indexes
- memory, deallocating / Deallocating memory
- main function / The main function
- Line class / The Line class
- Line sub class / The Line sub class
- List class
- about / The List class, The List class
- Cell class / The Cell class
- iterator class / The Iterator class
- list, adding / Adding a list to an existing list
- value, erasing from list / Erasing a value from the list
- value, erasing / Erasing a value from the list
- extending / The extended List class
- ReverseIterator class / The ReverseIterator class
- listener
- adding / Adding a listener
M
- marshmallowing / Marshmallowing
- merge sort algorithm / The merge sort algorithm
- method
- about / Understanding classes – the Car class
- constructor / Understanding classes – the Car class
- inspector / Understanding classes – the Car class
- modificator / Understanding classes – the Car class
- destructor / Understanding classes – the Car class
N
- NaCWindow class / The NaCWindow class
- Noughts and Crosses application
- about / Noughts and crosses, Noughts and Crosses
- NaCWindow class / The NaCWindow class, The NaCWindow class
- NaCWidget class / The NaCWidget class, The NaCWidget class
- main function / The main function, The main function
O
- Othello
- about / Othello, Othello
- game widget / The game widget
- OthelloWindow class / The OthelloWindow class, The OthelloWindow class
- OthelloWidget class / The OthelloWidget class, The OthelloWidget Class
- main function / The main function, The main function
- overloading / Understanding classes – the Car class
P
- paintEvent method / The Clock class
- parameters / Understanding classes – the Car class
- parser
- building / Building the parser
- language instruction, parsing / Parsing the instructions of the language
- language expression, parsing / Parsing the expressions of the language
- expression, type checking / Type checking the expression
- expression value, evaluating / Evaluating the values of the expressions
- about / The parser
- pivot value / The quick sort algorithm
Q
- queue / A more advanced data type – the queue
- quick sort algorithm / The quick sort algorithm
R
- read method / Union, intersection, and difference operations
- Rectangle class / The Rectangle class
- Rectangle sub class / The Rectangle sub class
- reusable classes
- setting up, for windows / Setting up reusable classes for windows and widgets
- setting up, for widgets / Setting up reusable classes for windows and widgets
- listener, adding / Adding a listener
- ReverseIterator class / The ReverseIterator class
S
- scanner / The scanner
- Scanner class / The Token and the Scanner
- searching algorithm / Basic searching and sorting
- select sort algorithm / The select sort algorithm
- Set class
- about / The Set class
- intersection / Union, intersection, and difference operations, Union, intersection, and difference
- union / Union, intersection, and difference operations, Union, intersection, and difference
- difference operations / Union, intersection, and difference operations
- extending / The extended Set class
- difference / Union, intersection, and difference
- sorting algorithm
- about / Basic searching and sorting
- select sort algorithm / The select sort algorithm
- insert sort algorithm / The insert sort algorithm
- bubble sort algorithm / The bubble sort algorithm
- source language
- about / Introducing the source language – a simple example
- grammar / The grammar of the source language
- target language / The target language
- colors / The colors
- error handling / Error handling
- value / The value
- enhancing / Improving the source language – an example
- stack / A simple data type – the stack
T
- token / The scanner
- Token class / The Token and the Scanner
U
- unionSet function / Union, intersection, and difference operations
V
- viewer
- writing / The viewer
W
- widget
- reusable classes, setting up / Setting up reusable classes for windows and widgets
- base widget class / The base widget class
- windows
- reusable classes, setting up / Setting up reusable classes for windows and widgets
- base window class / The base window class
- write method / Union, intersection, and difference operations