25#ifndef _SO_SEARCHPATH_ACTION_
26#define _SO_SEARCHPATH_ACTION_
146 {
return m_strSearchString; };
152 { m_cSepChar = sepChar; }
157 {
return m_cSepChar; }
163 { m_bDerivedIsOK = derivedIsOK; };
168 {
return m_bDerivedIsOK; };
177 {
return m_nItemNum; };
181 virtual void setFound();
184 static void initClass();
185 static void exitClass();
189 virtual void search (
SoNode *node);
193 virtual void beginTraversal(
SoNode *node);
196 SbBool setSearchParameters(
const char* item );
199 enum ItemSetupResult {
206 ItemSetupResult setupNextSearchItem();
#define SO_ACTION_HEADER(className)
Class for smart character strings.
Abstract base class for all actions.
Abstract base class for all database nodes.
Searches for nodes in a scene graph.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Searches for a n...
char getSeparatorChar() const
Gets separator char for search string.
void setSearchString(const char *searchString)
Sets the search path string.
int getNumItemsFound() const
Get the number of search items that were successfully found.
const SbString & getSearchString() const
Gets the search path string.
void setDerivedIsOK(const SbBool derivedIsOK)
Sets flag to allow search on a type to match derived types.
void reset()
Reset options back to default values, clears returned path.
SoSearchPathAction()
Constructor.
SbBool getDerivedIsOK() const
Gets flag to allow search on a type to match derived types.
void setSeparatorChar(const char sepChar)
Sets separator char for search string.
virtual ~SoSearchPathAction()
Destructor.