Panda3D
|
A program to copy Maya .mb files into the cvs tree. More...
#include "mayaCopy.h"
Classes | |
class | ExtraData |
Public Member Functions | |
void | run () |
Protected Member Functions | |
virtual bool | copy_file (const Filename &source, const Filename &dest, CVSSourceDirectory *dir, void *extra_data, bool new_file) |
Called by import() if verify_file() indicates that a file needs to be copied. | |
virtual string | filter_filename (const string &source) |
Given a source filename (including the basename only, without a dirname), return the appropriate corresponding filename within the source directory. |
A program to copy Maya .mb files into the cvs tree.
Definition at line 36 of file mayaCopy.h.
bool MayaCopy::copy_file | ( | const Filename & | source, |
const Filename & | dest, | ||
CVSSourceDirectory * | dir, | ||
void * | extra_data, | ||
bool | new_file | ||
) | [protected, virtual] |
Called by import() if verify_file() indicates that a file needs to be copied.
This does the actual copy of a file from source to destination. If new_file is true, then dest does not already exist.
Implements CVSCopy.
Definition at line 130 of file mayaCopy.cxx.
string MayaCopy::filter_filename | ( | const string & | source | ) | [protected, virtual] |
Given a source filename (including the basename only, without a dirname), return the appropriate corresponding filename within the source directory.
This may be used by derived classes to, for instance, strip a version number from the filename.
Reimplemented from CVSCopy.
Definition at line 158 of file mayaCopy.cxx.