#include <cvsCopy.h>
Inheritance diagram for CVSCopy:
Public Member Functions | |
CVSCopy () | |
CVSSourceDirectory * | import (const Filename &source, void *extra_data, CVSSourceDirectory *suggested_dir) |
bool | continue_after_error () |
Protected Types | |
typedef vector_string | SourceFiles |
typedef pmap< string, CVSSourceDirectory * > | CopiedFiles |
Protected Member Functions | |
virtual bool | handle_args (Args &args) |
virtual bool | post_command_line () |
virtual bool | verify_file (const Filename &source, const Filename &dest, CVSSourceDirectory *dest_dir, void *extra_data) |
virtual bool | copy_file (const Filename &source, const Filename &dest, CVSSourceDirectory *dest_dir, void *extra_data, bool new_file)=0 |
bool | verify_binary_file (Filename source, Filename dest) |
bool | copy_binary_file (Filename source, Filename dest) |
bool | cvs_add (const Filename &filename) |
virtual string | filter_filename (const string &source) |
Static Protected Member Functions | |
string | protect_from_shell (const string &source) |
Protected Attributes | |
bool | _force |
bool | _interactive |
bool | _got_model_dirname |
Filename | _model_dirname |
bool | _got_map_dirname |
Filename | _map_dirname |
bool | _got_root_dirname |
Filename | _root_dirname |
Filename | _key_filename |
bool | _no_cvs |
string | _cvs_binary |
bool | _user_aborted |
SourceFiles | _source_files |
CVSSourceTree | _tree |
CVSSourceDirectory * | _model_dir |
CVSSourceDirectory * | _map_dir |
CopiedFiles | _copied_files |
Private Member Functions | |
bool | scan_hierarchy () |
bool | scan_for_root (const string &dirname) |
string | prompt (const string &message) |
|
|
|
|
|
|
Definition at line 172 of file cvsCopy.cxx. References _user_aborted, nassertr, nout, and prompt(). Referenced by import(). |
|
Definition at line 333 of file cvsCopy.cxx. References c, nout, Filename::open_read(), Filename::open_write(), Filename::set_binary(), and Filename::unlink(). Referenced by TestCopy::copy_file(), MayaCopy::copy_texture(), and FltCopy::copy_texture(). |
|
Implemented in TestCopy, FltCopy, and MayaCopy. Referenced by import(). |
|
Definition at line 377 of file cvsCopy.cxx. References _cvs_binary, Filename::get_basename(), Filename::get_dirname(), nout, protect_from_shell(), CVSSourceTree::restore_cwd(), and CVSSourceTree::temp_chdir(). Referenced by FltCopy::copy_texture(), and import(). |
|
Reimplemented in MayaCopy. Definition at line 454 of file cvsCopy.cxx. Referenced by import(). |
|
Definition at line 206 of file cvsCopy.cxx. References _source_files, and nout. |
|
Definition at line 117 of file cvsCopy.cxx. References _copied_files, _force, _interactive, _tree, CVSSourceTree::choose_directory(), continue_after_error(), copy_file(), cvs_add(), Filename::exists(), filter_filename(), Filename::get_basename(), CVSSourceDirectory::get_fullpath(), nassertr, nout, NULL, and verify_file(). |
|
Reimplemented from ProgramBase. Definition at line 227 of file cvsCopy.cxx. References _map_dir, _map_dirname, _model_dir, _model_dirname, _tree, CVSSourceTree::find_directory(), CVSSourceTree::find_relpath(), CVSSourceTree::get_root_dirname(), nout, NULL, and scan_hierarchy(). |
|
Definition at line 516 of file cvsCopy.cxx. References nout, p, q, and size_t. Referenced by continue_after_error(), and scan_for_root(). |
|
Definition at line 410 of file cvsCopy.cxx. Referenced by cvs_add(). |
|
Definition at line 492 of file cvsCopy.cxx. References Filename::exists(), nout, and prompt(). Referenced by scan_hierarchy(). |
|
Definition at line 468 of file cvsCopy.cxx. References _got_root_dirname, _key_filename, _model_dirname, _root_dirname, _tree, CVSSourceTree::get_root_fullpath(), nout, CVSSourceTree::scan(), scan_for_root(), and CVSSourceTree::set_root(). Referenced by post_command_line(). |
|
Definition at line 283 of file cvsCopy.cxx. References cs, Filename::open_read(), s, and Filename::set_binary(). |
|
Definition at line 270 of file cvsCopy.cxx. Referenced by import(). |
|
Definition at line 92 of file cvsCopy.h. Referenced by import(). |
|
|
|
|
|
Definition at line 75 of file cvsCopy.h. Referenced by CVSCopy(). |
|
Definition at line 73 of file cvsCopy.h. Referenced by CVSCopy(). |
|
Definition at line 77 of file cvsCopy.h. Referenced by CVSCopy(), and scan_hierarchy(). |
|
|
|
Definition at line 79 of file cvsCopy.h. Referenced by CVSCopy(), and scan_hierarchy(). |
|
Definition at line 89 of file cvsCopy.h. Referenced by FltCopy::copy_flt_file(), CVSCopy(), MayaCopy::extract_texture(), and post_command_line(). |
|
Definition at line 76 of file cvsCopy.h. Referenced by CVSCopy(), and post_command_line(). |
|
Definition at line 88 of file cvsCopy.h. Referenced by FltCopy::copy_flt_file(), CVSCopy(), post_command_line(), TestCopy::run(), MayaCopy::run(), and FltCopy::run(). |
|
Definition at line 74 of file cvsCopy.h. Referenced by CVSCopy(), post_command_line(), and scan_hierarchy(). |
|
Definition at line 80 of file cvsCopy.h. Referenced by CVSCopy(). |
|
Definition at line 78 of file cvsCopy.h. Referenced by CVSCopy(), and scan_hierarchy(). |
|
Definition at line 85 of file cvsCopy.h. Referenced by handle_args(), TestCopy::run(), MayaCopy::run(), and FltCopy::run(). |
|
Definition at line 87 of file cvsCopy.h. Referenced by import(), post_command_line(), and scan_hierarchy(). |
|
Definition at line 82 of file cvsCopy.h. Referenced by continue_after_error(), and CVSCopy(). |