|
Public Member Functions |
| Relation (const char *a_left_class_name, const char *a_right_class_name, const char *a_table_name, class Connection *a_database_connection, const char *a_left_column_name=NULL, const char *a_right_column_name=NULL) |
virtual | ~Relation () |
Relation & | Connection (class Connection *DbConn) |
virtual bool | InsertCouple (class RefBase &left, class RefBase &right)=0 |
virtual bool | InsertCouple (class Object &left, class RefBase &right) |
virtual bool | InsertCouple (class RefBase &left, class Object &right) |
virtual bool | InsertCouple (class Object &left, class Object &right) |
virtual bool | DeleteCouple (RefBase &left, RefBase &right)=0 |
virtual bool | DeleteCouple (class Object &left, class RefBase &right) |
virtual bool | DeleteCouple (class RefBase &left, class Object &right) |
virtual bool | DeleteCouple (class Object &left, class Object &right) |
virtual bool | LDeleteAll (class RefBase &right)=0 |
virtual bool | LDeleteAll (class Object &right) |
virtual bool | DeleteLeft (class RefBase &right) |
virtual bool | DeleteLeft (class Object &right) |
virtual bool | RDeleteAll (class RefBase &left)=0 |
virtual bool | RDeleteAll (class Object &left) |
virtual bool | DeleteRight (class RefBase &left) |
virtual bool | DeleteRight (class Object &left) |
virtual bool | WriteDDL (std::ofstream &S, class Database &Db)=0 |
virtual bool | LExists (const class RefBase &right, const class QueRefProto &query=EQUERY) |
virtual bool | LExists (const class Object &right, const class QueRefProto &query=EQUERY) |
virtual bool | RExists (const class RefBase &left, const class QueRefProto &query=EQUERY) |
virtual bool | RExists (const class Object &left, const class QueRefProto &query=EQUERY) |
virtual bool | ExistsCouple (const class RefBase &left, const class RefBase &right)=0 |
virtual bool | ExistsCouple (const class Object &left, const class RefBase &right) |
virtual bool | ExistsCouple (const class RefBase &left, const class Object &right) |
virtual bool | ExistsCouple (const class Object &left, const class Object &right) |
Protected Member Functions |
virtual class ResultBase * | _LGetAll (ResultBase *rb, const class RefBase &right, const class QueRefProto &query=EQUERY)=0 |
virtual ResultBase * | _RGetAll (ResultBase *rb, const class RefBase &left, const class QueRefProto &query=EQUERY)=0 |
virtual const char * | _TableName () const |
virtual ResultBase * | _LGetAll (ResultBase *rb, const class QueRefProto &qL, const class QueRefProto &qR)=0 |
virtual ResultBase * | _RGetAll (ResultBase *rb, const class QueRefProto &qL, const class QueRefProto &qR)=0 |
Protected Attributes |
Connection * | _databaseConnection |
const char * | _leftClassName |
char * | _leftColumnName |
const char * | _rightClassName |
char * | _tableName |
char * | _rightColumnName |