OpendTect-6_4  6.4
Public Member Functions | Public Attributes | Protected Attributes | List of all members
uiTreeFactorySet Class Reference
Inheritance diagram for uiTreeFactorySet:
[legend]

Public Member Functions

 uiTreeFactorySet ()
 
 ~uiTreeFactorySet ()
 
void addFactory (uiTreeItemFactory *ptr, int placementindex=-1, int pol2d=1)
 
void remove (const char *)
 
int nrFactories () const
 
const uiTreeItemFactorygetFactory (int) const
 
int getPlacementIdx (int) const
 
int getPol2D (int) const
 
- Public Member Functions inherited from CallBacker
 CallBacker ()
 
 CallBacker (const CallBacker &)
 
virtual ~CallBacker ()
 
bool attachCB (NotifierAccess &, const CallBack &, bool onlyifnew=false)
 
bool attachCB (NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false)
 
void detachCB (NotifierAccess &, const CallBack &)
 
void detachCB (NotifierAccess *notif, const CallBack &cb)
 
bool isNotifierAttached (NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 

Public Attributes

CNotifier< uiTreeFactorySet, int > addnotifier
 
CNotifier< uiTreeFactorySet, int > removenotifier
 

Protected Attributes

ObjectSet< uiTreeItemFactoryfactories_
 
TypeSet< int > placementidxs_
 
TypeSet< int > pol2ds_
 

Additional Inherited Members

- Protected Member Functions inherited from CallBacker
void detachAllNotifiers ()
 Call from the destructor of your inherited object. More...
 

Detailed Description

Constructor & Destructor Documentation

uiTreeFactorySet::uiTreeFactorySet ( )
uiTreeFactorySet::~uiTreeFactorySet ( )

Member Function Documentation

void uiTreeFactorySet::addFactory ( uiTreeItemFactory ptr,
int  placementindex = -1,
int  pol2d = 1 
)
Parameters
ptrpointer to new factory. Object is managed by me.
placementindexIndicates how the created treeitems should be placed when making a new tree.
const uiTreeItemFactory* uiTreeFactorySet::getFactory ( int  ) const
int uiTreeFactorySet::getPlacementIdx ( int  ) const
int uiTreeFactorySet::getPol2D ( int  ) const
int uiTreeFactorySet::nrFactories ( ) const
void uiTreeFactorySet::remove ( const char *  )

Member Data Documentation

CNotifier<uiTreeFactorySet,int> uiTreeFactorySet::addnotifier
ObjectSet<uiTreeItemFactory> uiTreeFactorySet::factories_
protected
TypeSet<int> uiTreeFactorySet::placementidxs_
protected
TypeSet<int> uiTreeFactorySet::pol2ds_
protected
CNotifier<uiTreeFactorySet,int> uiTreeFactorySet::removenotifier

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019