Class List
Here are the classes, structs, unions and interfaces with brief descriptions:
AdminUser | This class is derived from User and is associated to the entity customer of the ER model |
BadAuthException | Bad Authentication/authorization exception |
Basket | The class Basket represents the basket of the customer who wants to buy one or more products: it's intended to be used by User class only |
Category | The class Category represents a logical group of products of the same nature; it’s associated with the entity category of the ER model and derives directly from ManagedObject |
CommandLine | Command line parser |
Database | Manages the connection to the database server |
DataModel | An DataModel object describes a schema — a collection of entities (data models) that you use in your application |
deletePtr< T > | Template function to dealloc a container which owns a list of pointer to object |
InvalidArgument | Invalid argument exception |
ManagedObject | The abstract class ManagedObject is a generic class that implements all the basic behaviour of a table of the database |
NormalUser | Even this class, as far as AdminUser, derives from User and is associated with entity customer, detailed in ER model |
Observable | The class Observable defines a mechanism that allows objects to be notified of changes to the specified properties of other objects |
Observer | The class Observer is the base class to derive in order to receive notifications from observed object |
Order | This class realizes the main target of the overall system: let a user to buy products by placing an order; analyzing the ER model, it’s possible to see that an order is a master-detail structure, in which the master is represented by this class and contains information about the owner of the order, the date and the overall total; the detail part is made up of the list of chosen products (relation 'madeup' of ER model) |
Product | The class Product represents a generic item to be sold |
ProductProxy | The class ProductProxy is a virtual proxy of class Product |
Singleton< T > | A singleton is perhaps the simplest design pattern, common to many programming languages and it’s the way to allow one and only one instance of a class |
TestObservable | |
TestObserver | |
User | User is the base class to permit login into the system and benefit of all services, such as product browsing, placing an order and so on |
UserMenu | Display menus and handles user input |