Product.cpp File Reference

#include "Product.h"
#include "Database.h"

Defines

#define SQL_CATALOG_PROXY   "SELECT pid FROM catalogue "
#define SQL_PRODUCT_PROXY   "SELECT * FROM products WHERE pid = "

Functions

ostream & operator<< (ostream &aStream, Product &p)
ostream & operator<< (ostream &aStream, ProductProxy &pp)

Define Documentation

#define SQL_CATALOG_PROXY   "SELECT pid FROM catalogue "

Referenced by ProductProxy::catalog().

#define SQL_PRODUCT_PROXY   "SELECT * FROM products WHERE pid = "

Function Documentation

ostream& operator<< ( ostream &  aStream,
ProductProxy pp 
)
ostream& operator<< ( ostream &  aStream,
Product p 
)

Generated by  doxygen 1.6.2