HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_ORMManyToManyManager Class Reference

#include <UT_ORMManyToManyField.h>

Public Member Functions

 UT_ORMManyToManyManager ()=default
 
 UT_ORMManyToManyManager (const UT_ORMFieldColumn *field)
 
 operator bool () const
 
bool isValid () const
 
template<typename LObjT , typename RObjT >
void add (LObjT &obj, const RObjT &new_list_obj, UT_ErrorCode &ec)
 
template<typename LObjT , typename RObjT >
void add (LObjT &obj, const UT_Array< RObjT > &new_list_obj, UT_ErrorCode &ec)
 
template<typename LObjT , typename RObjT >
void remove (LObjT &obj, const RObjT &obj_to_remove, UT_ErrorCode &ec)
 
template<typename LObjT , typename RObjValueT >
void removeIds (LObjT &obj, const UT_Array< RObjValueT > &values, UT_ErrorCode &ec)
 
template<typename LObjT , typename RObjT >
void set (LObjT &obj, const UT_Array< RObjT > &new_items, bool do_clear, UT_ErrorCode &ec)
 
template<typename LObjT >
void clear (LObjT &obj, UT_ErrorCode &ec)
 
template<typename LObjT , typename RObjT >
UT_Array< RObjT > all (LObjT &obj, UT_ErrorCode &ec, const UT_ORMModelMeta &rmeta) const
 
template<typename LObjT , typename RObjT >
UT_ORMQuerySet all (LObjT &obj, const UT_ORMModelMeta &rmeta) const
 

Static Public Member Functions

static UT_ORMManyToManyManager lookupM2MManager (const UT_ORMModelMeta &meta, const UT_ORMModelMeta &other_meta, const UT_StringHolder &field_name)
 

Detailed Description

Definition at line 73 of file UT_ORMManyToManyField.h.

Constructor & Destructor Documentation

UT_ORMManyToManyManager::UT_ORMManyToManyManager ( )
default
UT_ORMManyToManyManager::UT_ORMManyToManyManager ( const UT_ORMFieldColumn field)

Member Function Documentation

template<typename LObjT , typename RObjT >
void UT_ORMManyToManyManager::add ( LObjT &  obj,
const RObjT &  new_list_obj,
UT_ErrorCode ec 
)
inline

Definition at line 87 of file UT_ORMManyToManyField.h.

template<typename LObjT , typename RObjT >
void UT_ORMManyToManyManager::add ( LObjT &  obj,
const UT_Array< RObjT > &  new_list_obj,
UT_ErrorCode ec 
)
inline

Definition at line 95 of file UT_ORMManyToManyField.h.

template<typename LObjT , typename RObjT >
UT_Array<RObjT> UT_ORMManyToManyManager::all ( LObjT &  obj,
UT_ErrorCode ec,
const UT_ORMModelMeta rmeta 
) const
inline

Definition at line 321 of file UT_ORMManyToManyField.h.

template<typename LObjT , typename RObjT >
UT_ORMQuerySet UT_ORMManyToManyManager::all ( LObjT &  obj,
const UT_ORMModelMeta rmeta 
) const
inline

Definition at line 343 of file UT_ORMManyToManyField.h.

template<typename LObjT >
void UT_ORMManyToManyManager::clear ( LObjT &  obj,
UT_ErrorCode ec 
)
inline

Definition at line 296 of file UT_ORMManyToManyField.h.

bool UT_ORMManyToManyManager::isValid ( ) const
inline

Definition at line 81 of file UT_ORMManyToManyField.h.

static UT_ORMManyToManyManager UT_ORMManyToManyManager::lookupM2MManager ( const UT_ORMModelMeta meta,
const UT_ORMModelMeta other_meta,
const UT_StringHolder field_name 
)
static
UT_ORMManyToManyManager::operator bool ( ) const
inlineexplicit

Definition at line 79 of file UT_ORMManyToManyField.h.

template<typename LObjT , typename RObjT >
void UT_ORMManyToManyManager::remove ( LObjT &  obj,
const RObjT &  obj_to_remove,
UT_ErrorCode ec 
)
inline

Definition at line 140 of file UT_ORMManyToManyField.h.

template<typename LObjT , typename RObjValueT >
void UT_ORMManyToManyManager::removeIds ( LObjT &  obj,
const UT_Array< RObjValueT > &  values,
UT_ErrorCode ec 
)
inline

Definition at line 169 of file UT_ORMManyToManyField.h.

template<typename LObjT , typename RObjT >
void UT_ORMManyToManyManager::set ( LObjT &  obj,
const UT_Array< RObjT > &  new_items,
bool  do_clear,
UT_ErrorCode ec 
)
inline

Definition at line 195 of file UT_ORMManyToManyField.h.


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