#include "Iguana/Framework/interface/IgBrowserMethods.h"
#include "Iguana/Framework/interface/IgCapabilityDB.h"
#include "Iguana/Framework/interface/IgRepresentable.h"
#include "Iguana/Framework/interface/IgModel.h"
#include "Iguana/Framework/interface/IgRep.h"
#include "Iguana/Framework/interface/IgRepSet.h"
#include "Iguana/Framework/interface/xtypeinfo.h"
#include "Iguana/Framework/src/debug.h"
#include <cstdlib>
#include <set>
#include <utility>
Go to the source code of this file.
Functions | |
MMM_DEFUN_FUNC (void, IgBrowserMethods::, doInvalidate,(IgRepresentable *object, IgModel *model, unsigned mask)) | |
MMM_DEFUN_FUNC (void, IgBrowserMethods::, doExpand,(IgRepresentable *object, IgRep *rep)) | |
MMM_DEFUN_FUNC (void, IgBrowserMethods::, doUpdate,(IgRepresentable *object, IgRep *rep, unsigned mask)) | |
MMM_DEFUN_FUNC (void, IgBrowserMethods::, doCommit,(IgRep *rep, IgRepresentable *object, unsigned)) | |
MMM_DEFUN_FUNC (IgRepContext *, IgBrowserMethods::, doRepresent,(IgRepresentable *object, IgModel *model)) | |
MULTIMETHOD_DEFINE (IgBrowserMethods::, doInvalidate) | |
MULTIMETHOD_DEFINE (IgBrowserMethods::, doExpand) | |
MULTIMETHOD_DEFINE (IgBrowserMethods::, doUpdate) | |
MULTIMETHOD_DEFINE (IgBrowserMethods::, doCommit) | |
MULTIMETHOD_DEFINE (IgBrowserMethods::, doRepresent) |
MMM_DEFUN_FUNC | ( | void | , | |
IgBrowserMethods:: | , | |||
doInvalidate | , | |||
(IgRepresentable *object, IgModel *model, unsigned mask) | ||||
) |
Definition at line 69 of file IgBrowserMethods.cc.
References LFbrowser, LOG, IgRepSet::lookup(), lat::logflag::name, GsfMatrixTools::trace(), and IgRepSet::update().
00071 { 00072 LOG(0, trace, LFbrowser, " doInvalidate(IgRepresentable[" 00073 << typeid(*object).name () << "],IgModel[" 00074 << (model ? "(none)" : typeid(*model).name ()) 00075 << "]," << mask << ")\n"); 00076 00077 if (! model) 00078 IgRepSet::update (object, mask); 00079 else if (IgRepSet::lookup (object, model)) 00080 IgRepSet::update (object, model, mask); 00081 else 00082 IgRepSet::lookup (object, model, true); 00083 }
MMM_DEFUN_FUNC | ( | void | , | |
IgBrowserMethods:: | , | |||
doExpand | , | |||
(IgRepresentable *object, IgRep *rep) | ||||
) |
Definition at line 61 of file IgBrowserMethods.cc.
References LFbrowser, LOG, lat::logflag::name, and GsfMatrixTools::trace().
00063 { 00064 LOG(0, trace, LFbrowser, " doExpand(IgRepresentable[" 00065 << typeid(*object).name () << "],IgRep[" 00066 << typeid(*rep).name () << "])\n"); 00067 }
MMM_DEFUN_FUNC | ( | void | , | |
IgBrowserMethods:: | , | |||
doUpdate | , | |||
(IgRepresentable *object, IgRep *rep, unsigned mask) | ||||
) |
Definition at line 53 of file IgBrowserMethods.cc.
References LFbrowser, LOG, lat::logflag::name, and GsfMatrixTools::trace().
00055 { 00056 LOG(0, trace, LFbrowser, " doUpdate(IgRepresentable[" 00057 << typeid(*object).name () << "],IgRep[" 00058 << typeid(*rep).name () << "]," << mask << ")\n"); 00059 }
MMM_DEFUN_FUNC | ( | void | , | |
IgBrowserMethods:: | , | |||
doCommit | , | |||
(IgRep *rep, IgRepresentable *object, unsigned) | ||||
) |
Definition at line 41 of file IgBrowserMethods.cc.
References error, LFbrowser, LOG, and lat::logflag::name.
00043 { 00044 LOG(0, error, LFbrowser, " doCommit(IgRep[" << typeid(*rep).name () 00045 << "],IgRepresentable[" << typeid(*object).name () << "]):\n" 00046 " This is not a valid combination of arguments. Please do not\n" 00047 " allow browsers to edit objects when the changes cannot be\n" 00048 " committed back to the objects!\n"); 00049 // FIXME: throw an exception? 00050 abort (); 00051 }
MMM_DEFUN_FUNC | ( | IgRepContext * | , | |
IgBrowserMethods:: | , | |||
doRepresent | , | |||
(IgRepresentable *object, IgModel *model) | ||||
) |
Definition at line 32 of file IgBrowserMethods.cc.
References LFbrowser, LOG, lat::logflag::name, and GsfMatrixTools::trace().
00034 { 00035 LOG(0, trace, LFbrowser, " doRepresent(IgRepresentable[" 00036 << typeid(*object).name () << "],IgModel[" 00037 << typeid(*model).name () << "])\n"); 00038 return 0; 00039 }
MULTIMETHOD_DEFINE | ( | IgBrowserMethods:: | , | |
doInvalidate | ||||
) |
MULTIMETHOD_DEFINE | ( | IgBrowserMethods:: | , | |
doExpand | ||||
) |
MULTIMETHOD_DEFINE | ( | IgBrowserMethods:: | , | |
doUpdate | ||||
) |
MULTIMETHOD_DEFINE | ( | IgBrowserMethods:: | , | |
doCommit | ||||
) |
MULTIMETHOD_DEFINE | ( | IgBrowserMethods:: | , | |
doRepresent | ||||
) |