Expander Class Reference

#include <expander.h>

Inherits Singleton< Expander >.

Inheritance diagram for Expander:

Inheritance graph
[legend]
Collaboration diagram for Expander:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Expander ()
bool queryString (string s)
bool rehash ()
set< string > expands ()

Private Member Functions

set< string > read ()

Private Attributes

bool pathSearch_
string key_
string path_
set< string > paths_
set< string > expands_
set< string > pathExpands_

Detailed Description

Provides PATH executable expansion.

Definition at line 20 of file expander.h.


Constructor & Destructor Documentation

Expander::Expander (  ) 

Definition at line 19 of file expander.cpp.

References key_, path_, and rehash().

Here is the call graph for this function:


Member Function Documentation

bool Expander::queryString ( string  s  ) 

Definition at line 39 of file expander.cpp.

References key_, path_, paths_, pathSearch_, and Util::trimL().

Referenced by Binder::queryCommandForPattern().

Here is the call graph for this function:

bool Expander::rehash (  ) 

Definition at line 25 of file expander.cpp.

References pathExpands_, paths_, read(), and Util::stringSplit().

Referenced by Expander(), and Actions::rehash().

Here is the call graph for this function:

set< string > Expander::expands (  ) 

Definition at line 58 of file expander.cpp.

References expands_, pathExpands_, pathSearch_, and read().

Referenced by Binder::queryCommandForPattern(), and read().

Here is the call graph for this function:

set< string > Expander::read (  )  [private]

Definition at line 73 of file expander.cpp.

References expands(), and paths_.

Referenced by expands(), and rehash().

Here is the call graph for this function:


Member Data Documentation

bool Expander::pathSearch_ [private]

Definition at line 29 of file expander.h.

Referenced by expands(), and queryString().

string Expander::key_ [private]

Definition at line 30 of file expander.h.

Referenced by Expander(), and queryString().

string Expander::path_ [private]

Definition at line 31 of file expander.h.

Referenced by Expander(), and queryString().

set<string> Expander::paths_ [private]

Definition at line 32 of file expander.h.

Referenced by queryString(), read(), and rehash().

set<string> Expander::expands_ [private]

Definition at line 33 of file expander.h.

Referenced by expands().

set<string> Expander::pathExpands_ [private]

Definition at line 34 of file expander.h.

Referenced by expands(), and rehash().


The documentation for this class was generated from the following files:
Generated on Thu May 24 15:20:04 2007 for ncwm by  doxygen 1.5.1