Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

PathReplace::Entry Class Reference

List of all members.

Public Member Functions

 Entry (const string &orig_prefix, const string &replacement_prefix)
INLINE Entry (const Entry &copy)
INLINE void operator= (const Entry &copy)
bool try_match (const Filename &filename, Filename &new_filename) const
size_t r_try_match (const vector_string &components, size_t oi, size_t ci) const

Public Attributes

string _orig_prefix
Components _orig_components
bool _is_local
string _replacement_prefix

Constructor & Destructor Documentation

PathReplace::Entry::Entry const string &  orig_prefix,
const string &  replacement_prefix
 

Definition at line 201 of file pathReplace.cxx.

References _is_local, _orig_components, _orig_prefix, _replacement_prefix, Filename::extract_components(), Filename::is_local(), and vector_string.

INLINE PathReplace::Entry::Entry const Entry &  copy  ) 
 


Member Function Documentation

INLINE void PathReplace::Entry::operator= const Entry &  copy  ) 
 

size_t PathReplace::Entry::r_try_match const vector_string components,
size_t  oi,
size_t  ci
const
 

Definition at line 273 of file pathReplace.cxx.

References PathReplace::Component::_double_star, _orig_components, PathReplace::Component::_orig_prefix, GlobPattern::matches(), and size_t.

Referenced by try_match().

bool PathReplace::Entry::try_match const Filename filename,
Filename new_filename
const
 

Definition at line 235 of file pathReplace.cxx.

References _is_local, _replacement_prefix, Filename::extract_components(), Filename::is_local(), r_try_match(), size_t, and vector_string.

Referenced by PathReplace::match_path().


Member Data Documentation

bool PathReplace::Entry::_is_local
 

Definition at line 97 of file pathReplace.h.

Referenced by Entry(), and try_match().

Components PathReplace::Entry::_orig_components
 

Definition at line 96 of file pathReplace.h.

Referenced by Entry(), and r_try_match().

string PathReplace::Entry::_orig_prefix
 

Definition at line 95 of file pathReplace.h.

Referenced by Entry().

string PathReplace::Entry::_replacement_prefix
 

Definition at line 98 of file pathReplace.h.

Referenced by Entry(), and try_match().


The documentation for this class was generated from the following files:
Generated on Fri Apr 18 01:01:21 2003 for Panda-Tool by doxygen1.3