#include <tRelation.h>
Inheritance diagram for OneToManyRelation< L, R >:
Public Methods | |
OneToManyRelation (const char *a_table_name, class Connection *a_database_connection, const char *a_left_column_name=NULL, const char *a_right_column_name=NULL) | |
Result< L > * | LGetAll (const class RefBase &right, const class QueRefProto &query=EQUERY) |
Result< R > * | RGetAll (const class RefBase &left, const class QueRefProto &query=EQUERY) |
Result< L > * | LGetAll (const class QueRefProto &qL, const class QueRefProto &qR) |
Result< R > * | RGetAll (const class QueRefProto &qL, const class QueRefProto &qR) |
ManyToOneRelation< R, L > | operator- () const |
OneToManyRelation< L, R > & | operator= (const OneToManyRelation< L, R > &X) |
virtual bool | InsertCouple (RefBase &left, RefBase &right) |
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) |
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) |
virtual bool | LDeleteAll (class Object &right) |
virtual bool | RDeleteAll (class RefBase &left) |
virtual bool | RDeleteAll (class Object &left) |
virtual bool | WriteDDL (ofstream &S, class Database &Db) |
virtual bool | ExistsCouple (const class RefBase &left, const class RefBase &right) |
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) |
Relation & | Connection (class Connection *DbConn) |
virtual bool | DeleteLeft (class RefBase &right) |
virtual bool | DeleteLeft (class Object &right) |
virtual bool | DeleteRight (class RefBase &left) |
virtual bool | DeleteRight (class Object &left) |
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) |
Protected Methods | |
ResultBase * | _LGetAll (ResultBase *rb, const class QueRefProto &qL, const class QueRefProto &qR) |
ResultBase * | _RGetAll (ResultBase *rb, const class QueRefProto &qL, const class QueRefProto &qR) |
virtual class ResultBase * | _LGetAll (ResultBase *rb, const class RefBase &right, const class QueRefProto &query=EQUERY) |
virtual ResultBase * | _RGetAll (ResultBase *rb, const class RefBase &left, const class QueRefProto &query=EQUERY) |
virtual const char * | _TableName () const |
Protected Attributes | |
Connection * | _databaseConnection |
const char * | _leftClassName |
char * | _leftColumnName |
const char * | _rightClassName |
char * | _tableName |
char * | _rightColumnName |
Friends | |
class | ChainedRelation< L, R > |
|
Definition at line 144 of file tRelation.h. |
|
Implements Relation. Definition at line 280 of file cOneToManyRelationBase.cpp. References RefBase::_KeyValues(), Query::_order_by, Query::And(), ProtoBase::ExecuteQuery(), ProtoBase::From(), ProtoBase::KeySelect(), StrAnd(), StrCat(), StrCpy(), StrFree(), StrPrefixCut(), and StrSplit(). |
|
Implements Relation. Definition at line 217 of file tRelation.h. Referenced by OneToManyRelation< L, R >::LGetAll(), and OneToManyRelation< L, R >::RGetAll(). |
|
Implements Relation. Definition at line 364 of file cOneToManyRelationBase.cpp. References RefBase::_KeyValues(), Query::_order_by, Query::And(), StrCat(), StrCpy(), StrFree(), and StrSplit(). |
|
Implements Relation. Definition at line 228 of file tRelation.h. |
|
Reimplemented from Relation. Definition at line 523 of file cOneToManyRelationBase.cpp. References Relation::_rightClassName. Referenced by ChainedRelation< L, R >::operator=(). |
|
Definition at line 59 of file cRelation.h. |
|
Definition at line 81 of file cRelation.cpp. References Relation::DeleteCouple(). |
|
Definition at line 75 of file cRelation.cpp. References Relation::DeleteCouple(). |
|
Definition at line 69 of file cRelation.cpp. References Relation::DeleteCouple(). |
|
Implements Relation. Definition at line 125 of file cOneToManyRelationBase.cpp. References Relation::_databaseConnection, RefBase::_KeyValues(), Relation::_leftColumnName, Relation::_rightClassName, ProtoBase::From(), ObjRef::IsTransient(), ProtoBase::KeySelect(), StrCat(), StrClause(), StrCpy(), StrFree(), StrPrefixCut(), and StrSplit(). |
|
Definition at line 77 of file cRelation.h. |
|
Definition at line 76 of file cRelation.h. |
|
Definition at line 84 of file cRelation.h. |
|
Definition at line 83 of file cRelation.h. |
|
Definition at line 180 of file cRelation.cpp. References Relation::ExistsCouple(). |
|
Definition at line 175 of file cRelation.cpp. References Relation::ExistsCouple(). |
|
Definition at line 170 of file cRelation.cpp. References Relation::ExistsCouple(). |
|
Implements Relation. Definition at line 424 of file cOneToManyRelationBase.cpp. References RefBase::_KeyValues(), ProtoBase::From(), ObjRef::IsTransient(), ProtoBase::KeySelect(), StrCat(), StrClause(), StrCpy(), StrFree(), StrPrefixCut(), and StrSplit(). |
|
Definition at line 62 of file cRelation.cpp. References Relation::InsertCouple(). |
|
Definition at line 56 of file cRelation.cpp. References Relation::InsertCouple(). |
|
Definition at line 50 of file cRelation.cpp. References Relation::InsertCouple(). |
|
Implements Relation. Definition at line 73 of file cOneToManyRelationBase.cpp. References ProtoBase::From(), ProtoBase::KeySelect(), StrCat(), StrClause(), StrCpy(), StrFree(), StrPrefixCut(), and StrSplit(). |
|
Definition at line 88 of file cRelation.cpp. References Relation::LDeleteAll(). |
|
Implements Relation. Definition at line 178 of file cOneToManyRelationBase.cpp. References ProtoBase::KeySelect(), StrCat(), StrClause(), StrCpy(), StrFree(), StrPrefixCut(), and StrSplit(). |
|
Definition at line 126 of file cRelation.cpp. |
|
Definition at line 100 of file cRelation.cpp. References ResultBase::Close(), and ResultBase::First(). |
|
Definition at line 176 of file tRelation.h. References OneToManyRelation< L, R >::_LGetAll(). |
|
Definition at line 160 of file tRelation.h. References OneToManyRelation< L, R >::_LGetAll(). Referenced by Left(). |
|
Definition at line 192 of file tRelation.h. References Relation::_databaseConnection, Relation::_leftColumnName, Relation::_rightColumnName, and Relation::_tableName. |
|
Definition at line 202 of file tRelation.h. References Relation::_databaseConnection, Relation::_leftClassName, Relation::_leftColumnName, Relation::_rightClassName, Relation::_rightColumnName, Relation::_tableName, and StrCpy(). |
|
Definition at line 94 of file cRelation.cpp. References Relation::LDeleteAll(). |
|
Implements Relation. Definition at line 229 of file cOneToManyRelationBase.cpp. References StrCat(), StrClause(), StrCpy(), StrFree(), StrPrefixCut(), and StrSplit(). |
|
Definition at line 161 of file cRelation.cpp. |
|
Definition at line 135 of file cRelation.cpp. References ResultBase::Close(), and ResultBase::First(). |
|
Definition at line 184 of file tRelation.h. References OneToManyRelation< L, R >::_LGetAll(). |
|
Definition at line 168 of file tRelation.h. References OneToManyRelation< L, R >::_LGetAll(). Referenced by Right(). |
|
Implements Relation. Definition at line 529 of file cOneToManyRelationBase.cpp. References ProtoBase::From(), ProtoBase::KeySelect(), StrCat(), StrCpy(), StrFree(), StrPrefixCut(), and StrSplit(). |
|
Definition at line 141 of file tRelation.h. |
|
|
|
|
|
|