OpendTect  6.6
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
CmdDrive::ObjectFinder Class Reference

Public Types

enum  NodeTag {
  Everything , AllToolbars , AllDockWins , CurWinTopGrp ,
  UiObjNode , ToolbarBase =1000 , DockWinBase =2000
}
 

Public Member Functions

 ObjectFinder (const uiMainWin &, bool casesensitive=true, WildcardManager *=0)
 
bool findNodes (const CallBacker *root, ObjectSet< const CallBacker > *nodelist, const char *searchexpr=0, bool visonly=true) const
 
bool findNodes (NodeTag, const CallBacker *root, ObjectSet< const CallBacker > *nodelist, const char *searchexpr=0) const
 
bool findNodes (NodeTag, ObjectSet< const CallBacker > *nodelist, const char *searchexpr=0) const
 
bool getAncestor (NodeTag &curtag, const CallBacker *&curnode) const
 
bool selectNodes (ObjectSet< const CallBacker > &nodesfound, const FileMultiString &keys, int *unfoundkeyidx=0) const
 

Static Public Member Functions

static int deleteGreys (ObjectSet< const CallBacker > &objsfound, bool yn=true)
 
static void getAliases (const CallBacker &entity, BufferStringSet &aliases)
 

Protected Member Functions

int dockWinIndex (const CallBacker *entity) const
 
bool isKeyInTree (NodeTag, const CallBacker *root, const char *searchexpr) const
 
int toolBarIndex (const CallBacker *entity) const
 

Protected Attributes

bool casesensitive_
 
const uiMainWincurwin_
 
WildcardManagerwcm_
 

Detailed Description

<>

Member Enumeration Documentation

◆ NodeTag

Enumerator
Everything 
AllToolbars 
AllDockWins 
CurWinTopGrp 
UiObjNode 
ToolbarBase 
DockWinBase 

Constructor & Destructor Documentation

◆ ObjectFinder()

CmdDrive::ObjectFinder::ObjectFinder ( const uiMainWin ,
bool  casesensitive = true,
WildcardManager = 0 
)

Member Function Documentation

◆ deleteGreys()

static int CmdDrive::ObjectFinder::deleteGreys ( ObjectSet< const CallBacker > &  objsfound,
bool  yn = true 
)
static

◆ dockWinIndex()

int CmdDrive::ObjectFinder::dockWinIndex ( const CallBacker entity) const
protected

◆ findNodes() [1/3]

bool CmdDrive::ObjectFinder::findNodes ( const CallBacker root,
ObjectSet< const CallBacker > *  nodelist,
const char *  searchexpr = 0,
bool  visonly = true 
) const

◆ findNodes() [2/3]

bool CmdDrive::ObjectFinder::findNodes ( NodeTag  ,
const CallBacker root,
ObjectSet< const CallBacker > *  nodelist,
const char *  searchexpr = 0 
) const

◆ findNodes() [3/3]

bool CmdDrive::ObjectFinder::findNodes ( NodeTag  ,
ObjectSet< const CallBacker > *  nodelist,
const char *  searchexpr = 0 
) const

◆ getAliases()

static void CmdDrive::ObjectFinder::getAliases ( const CallBacker entity,
BufferStringSet aliases 
)
static

◆ getAncestor()

bool CmdDrive::ObjectFinder::getAncestor ( NodeTag curtag,
const CallBacker *&  curnode 
) const

◆ isKeyInTree()

bool CmdDrive::ObjectFinder::isKeyInTree ( NodeTag  ,
const CallBacker root,
const char *  searchexpr 
) const
protected

◆ selectNodes()

bool CmdDrive::ObjectFinder::selectNodes ( ObjectSet< const CallBacker > &  nodesfound,
const FileMultiString keys,
int *  unfoundkeyidx = 0 
) const

◆ toolBarIndex()

int CmdDrive::ObjectFinder::toolBarIndex ( const CallBacker entity) const
protected

Member Data Documentation

◆ casesensitive_

bool CmdDrive::ObjectFinder::casesensitive_
protected

◆ curwin_

const uiMainWin& CmdDrive::ObjectFinder::curwin_
protected

◆ wcm_

WildcardManager* CmdDrive::ObjectFinder::wcm_
protected

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