HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_ORMManyToManyField< Owner, OtherModel > Class Template Reference

#include <UT_ORMManyToManyField.h>

Public Member Functions

 UT_ORMManyToManyField (Owner &owner, const UT_StringHolder &field_name=UT_StringHolder::theEmptyString, const UT_ORMModelMeta &rmeta=OtherModel::metaInfo())
 
void add (const OtherModel &rmodel, UT_ErrorCode &ec)
 
UT_Array< OtherModel > all (UT_ErrorCode &ec) const
 
UT_ORMQuerySet all () const
 
void remove (const OtherModel &model, UT_ErrorCode &ec)
 
void clear (UT_ErrorCode &ec)
 
void addBulk (const UT_Array< OtherModel > &rmodels, UT_ErrorCode &ec)
 
void set (const UT_Array< OtherModel > &rmodels, UT_ErrorCode &ec, bool do_clear=false)
 
void setOwner (Owner &owner)
 

Detailed Description

template<typename Owner, typename OtherModel>
class UT_ORMManyToManyField< Owner, OtherModel >

Definition at line 386 of file UT_ORMManyToManyField.h.

Constructor & Destructor Documentation

template<typename Owner, typename OtherModel>
UT_ORMManyToManyField< Owner, OtherModel >::UT_ORMManyToManyField ( Owner &  owner,
const UT_StringHolder field_name = UT_StringHolder::theEmptyString,
const UT_ORMModelMeta rmeta = OtherModel::metaInfo() 
)
inline

Definition at line 389 of file UT_ORMManyToManyField.h.

Member Function Documentation

template<typename Owner, typename OtherModel>
void UT_ORMManyToManyField< Owner, Model >::add ( const OtherModel &  rmodel,
UT_ErrorCode ec 
)

Definition at line 437 of file UT_ORMManyToManyField.h.

template<typename Owner, typename OtherModel>
void UT_ORMManyToManyField< Owner, Model >::addBulk ( const UT_Array< OtherModel > &  rmodels,
UT_ErrorCode ec 
)

Definition at line 444 of file UT_ORMManyToManyField.h.

template<typename Owner , typename Model >
UT_Array< Model > UT_ORMManyToManyField< Owner, Model >::all ( UT_ErrorCode ec) const

Definition at line 453 of file UT_ORMManyToManyField.h.

template<typename Owner , typename Model >
UT_ORMQuerySet UT_ORMManyToManyField< Owner, Model >::all ( ) const

Definition at line 460 of file UT_ORMManyToManyField.h.

template<typename Owner , typename Model >
void UT_ORMManyToManyField< Owner, Model >::clear ( UT_ErrorCode ec)

Definition at line 476 of file UT_ORMManyToManyField.h.

template<typename Owner, typename OtherModel>
void UT_ORMManyToManyField< Owner, Model >::remove ( const OtherModel &  model,
UT_ErrorCode ec 
)

Definition at line 467 of file UT_ORMManyToManyField.h.

template<typename Owner , typename OtherModel >
void UT_ORMManyToManyField< Owner, OtherModel >::set ( const UT_Array< OtherModel > &  rmodels,
UT_ErrorCode ec,
bool  do_clear = false 
)

Definition at line 483 of file UT_ORMManyToManyField.h.

template<typename Owner, typename OtherModel>
void UT_ORMManyToManyField< Owner, OtherModel >::setOwner ( Owner &  owner)
inline

Definition at line 408 of file UT_ORMManyToManyField.h.


The documentation for this class was generated from the following file: