#include <softCVS.h>
Inheritance diagram for SoftCVS:
Public Member Functions | |
SoftCVS () | |
void | run () |
Protected Attributes | |
bool | _no_cvs |
string | _cvs_binary |
Private Types | |
typedef pvector< SoftFilename > | SceneFiles |
typedef pmultiset< SoftFilename > | ElementFiles |
Private Member Functions | |
void | traverse_root () |
void | traverse_subdir (const Filename &directory) |
void | collapse_scene_files () |
void | count_references () |
void | remove_unused_elements () |
bool | rename_file (SceneFiles::iterator begin, SceneFiles::iterator end) |
bool | scan_cvs (const string &dirname, pset< string > &cvs_elements) |
void | scan_scene_file (istream &in) |
bool | cvs_add (const string &path) |
bool | cvs_add_or_remove (const string &cvs_command, const vector_string &paths) |
Private Attributes | |
SceneFiles | _scene_files |
ElementFiles | _element_files |
vector_string | _cvs_add |
vector_string | _cvs_remove |
|
|
|
|
|
Definition at line 31 of file softCVS.cxx. References _cvs_binary, _no_cvs, ProgramBase::add_option(), ProgramBase::add_runline(), ProgramBase::clear_runlines(), ProgramBase::dispatch_none(), ProgramBase::dispatch_string(), NULL, and ProgramBase::set_program_description(). |
|
Definition at line 219 of file softCVS.cxx. References _scene_files, SoftFilename::is_1_0(), SoftFilename::make_1_0(), and rename_file(). Referenced by run(). |
|
Definition at line 263 of file softCVS.cxx. References _cvs_add, _scene_files, SoftFilename::get_dirname(), SoftFilename::get_filename(), SoftFilename::get_in_cvs(), nout, Filename::open_read(), scan_scene_file(), and Filename::set_text(). Referenced by run(). |
|
Definition at line 495 of file softCVS.cxx. References _cvs_binary, nout, and path. Referenced by scan_cvs(). |
|
Definition at line 515 of file softCVS.cxx. References _cvs_binary, nout, and path. Referenced by run(). |
|
Definition at line 292 of file softCVS.cxx. References _cvs_add, _cvs_remove, _element_files, SoftFilename::get_dirname(), SoftFilename::get_filename(), SoftFilename::get_in_cvs(), SoftFilename::get_use_count(), and nout. Referenced by run(). |
|
Definition at line 324 of file softCVS.cxx. References _cvs_add, _cvs_remove, end, SoftFilename::get_1_0_filename(), SoftFilename::get_dirname(), SoftFilename::get_filename(), SoftFilename::get_in_cvs(), length, nassertr, nout, p, Filename::rename_to(), SoftFilename::set_in_cvs(), and Filename::unlink(). Referenced by collapse_scene_files(). |
|
Definition at line 71 of file softCVS.cxx. References _cvs_add, _cvs_remove, _no_cvs, collapse_scene_files(), count_references(), cvs_add_or_remove(), Filename::exists(), nout, remove_unused_elements(), and traverse_root(). Referenced by main(). |
|
Definition at line 404 of file softCVS.cxx. References cvs_add(), Filename::exists(), nout, Filename::open_read(), Filename::set_text(), and size_t. Referenced by traverse_subdir(). |
|
Definition at line 453 of file softCVS.cxx. References _element_files, c, SoftFilename::increment_use_count(), and v. Referenced by count_references(). |
|
Definition at line 118 of file softCVS.cxx. References Filename::is_directory(), nout, root, traverse_subdir(), and vector_string. Referenced by run(). |
|
Definition at line 144 of file softCVS.cxx. References _cvs_add, _element_files, _no_cvs, _scene_files, Filename, Filename::get_basename(), SoftFilename::get_extension(), SoftFilename::has_version(), SoftFilename::increment_use_count(), nout, scan_cvs(), Filename::scan_directory(), SoftFilename::set_in_cvs(), and vector_string. Referenced by traverse_root(). |
|
Definition at line 68 of file softCVS.h. Referenced by count_references(), remove_unused_elements(), rename_file(), run(), and traverse_subdir(). |
|
Definition at line 73 of file softCVS.h. Referenced by cvs_add(), cvs_add_or_remove(), and SoftCVS(). |
|
Definition at line 69 of file softCVS.h. Referenced by remove_unused_elements(), rename_file(), and run(). |
|
Definition at line 66 of file softCVS.h. Referenced by remove_unused_elements(), scan_scene_file(), and traverse_subdir(). |
|
Definition at line 72 of file softCVS.h. Referenced by run(), SoftCVS(), and traverse_subdir(). |
|
Definition at line 65 of file softCVS.h. Referenced by collapse_scene_files(), count_references(), and traverse_subdir(). |