Gator Library
An implementation of the Red-Black Tree and Priority queue data structure in C++.
Loading...
Searching...
No Matches
Classes | Macros | Enumerations
utilities.hpp File Reference

This file contains the declaration of the utilities class and the BookAvailability enum. More...

#include <string>
Include dependency graph for utilities.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  utilities
 A utility class providing conversion functions for the BookAvailability enum. More...
 

Macros

#define Yes   "Yes"
 String representation of the YES enum value.
 
#define No   "No"
 String representation of the NO enum value.
 
#define INVALID_STATUS   "Invalid Status"
 String representation of the NO enum value.
 

Enumerations

enum  BookAvailability { YES , NO }
 Enum representing the availability status of a book. More...
 

Detailed Description

This file contains the declaration of the utilities class and the BookAvailability enum.

Macro Definition Documentation

◆ INVALID_STATUS

#define INVALID_STATUS   "Invalid Status"

String representation of the NO enum value.

◆ No

#define No   "No"

String representation of the NO enum value.

◆ Yes

#define Yes   "Yes"

String representation of the YES enum value.

Enumeration Type Documentation

◆ BookAvailability

Enum representing the availability status of a book.

Enumerator
YES 

The book is available.

NO 

The book is not available.