#include <pathReplace.h>
Inheritance diagram for PathReplace:
Public Member Functions | |
PathReplace () | |
~PathReplace () | |
INLINE void | clear () |
INLINE void | add_pattern (const string &orig_prefix, const string &replacement_prefix) |
INLINE int | get_num_patterns () const |
INLINE const string & | get_orig_prefix (int n) const |
INLINE const string & | get_replacement_prefix (int n) const |
INLINE bool | is_empty () const |
Filename | match_path (const Filename &orig_filename, const DSearchPath &additional_path=DSearchPath()) |
Filename | store_path (const Filename &orig_filename) |
INLINE Filename | convert_path (const Filename &orig_filename, const DSearchPath &additional_path=DSearchPath()) |
void | write (ostream &out, int indent_level=0) const |
Public Attributes | |
DSearchPath | _path |
PathStore | _path_store |
Filename | _path_directory |
Private Types | |
typedef pvector< Component > | Components |
typedef pvector< Entry > | Entries |
Private Attributes | |
Entries | _entries |
|
Definition at line 84 of file pathReplace.h. |
|
Definition at line 101 of file pathReplace.h. |
|
Definition at line 29 of file pathReplace.cxx. References _path_store, and PS_keep. |
|
Definition at line 39 of file pathReplace.cxx. |
|
Referenced by ProgramBase::dispatch_path_replace(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 52 of file pathReplace.cxx. References _entries, _path, _path_store, get_model_path(), PS_keep, Filename::resolve_filename(), and PathReplace::Entry::try_match(). Referenced by EggBase::convert_paths(). |
|
Definition at line 127 of file pathReplace.cxx. References _path_directory, Filename::get_basename(), Filename::is_local(), Filename::make_absolute(), Filename::make_relative_to(), PS_absolute, PS_invalid, PS_keep, PS_rel_abs, PS_relative, and PS_strip. Referenced by EggBase::convert_paths(). |
|
Definition at line 168 of file pathReplace.cxx. References _entries, _path, _path_directory, _path_store, DSearchPath::get_directory(), DSearchPath::get_num_directories(), indent(), PS_rel_abs, and PS_relative. |
|
Definition at line 102 of file pathReplace.h. Referenced by match_path(), and write(). |
|
Definition at line 68 of file pathReplace.h. Referenced by MayaPview::convert(), match_path(), and write(). |
|
Definition at line 72 of file pathReplace.h. Referenced by store_path(), and write(). |
|
Definition at line 71 of file pathReplace.h. Referenced by match_path(), PathReplace(), and write(). |