Panda3D
Classes | Public Member Functions | Protected Member Functions

MayaCopy Class Reference

A program to copy Maya .mb files into the cvs tree. More...

#include "mayaCopy.h"

Inheritance diagram for MayaCopy:
CVSCopy ProgramBase

List of all members.

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.

Detailed Description

A program to copy Maya .mb files into the cvs tree.

Definition at line 36 of file mayaCopy.h.


Member Function Documentation

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.


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations