TuttleOFX  1
mvcp.hpp File Reference
#include <sam/common/utility.hpp>
#include <sam/common/options.hpp>
#include <tuttle/common/exceptions.hpp>
#include <boost/filesystem/operations.hpp>
#include <boost/filesystem/exception.hpp>
#include <boost/exception/diagnostic_information.hpp>
#include <boost/algorithm/string.hpp>
#include <boost/algorithm/string/split.hpp>
#include <boost/foreach.hpp>
#include <boost/program_options.hpp>
#include <Sequence.hpp>
#include <algorithm>
Include dependency graph for mvcp.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define SAM_MV_OR_CP_OPTIONS   "SAM_CP_OPTIONS"
#define SAM_TOOL   "sam-cp"

Functions

void copy_sequence (const sequenceParser::Sequence &s, const sequenceParser::Time firstImage, const sequenceParser::Time lastImage, const sequenceParser::Sequence &d, int offset=0)
void copy_sequence (const sequenceParser::Sequence &s, const sequenceParser::Sequence &d, const sequenceParser::Time offset=0)
void copy_sequence (const sequenceParser::Sequence &s, const sequenceParser::Time firstImage, const sequenceParser::Time lastImage, const bfs::path &d, const sequenceParser::Time offset=0)
void copy_sequence (const sequenceParser::Sequence &s, const bfs::path &d, const sequenceParser::Time offset=0)
int sammvcp (int argc, char **argv)

Define Documentation

#define SAM_MV_OR_CP_OPTIONS   "SAM_CP_OPTIONS"

Definition at line 19 of file mvcp.hpp.

Referenced by sammvcp().

#define SAM_TOOL   "sam-cp"

Definition at line 20 of file mvcp.hpp.

Referenced by sammvcp().


Function Documentation

void copy_sequence ( const sequenceParser::Sequence s,
const sequenceParser::Time  firstImage,
const sequenceParser::Time  lastImage,
const sequenceParser::Sequence d,
int  offset = 0 
)

Definition at line 31 of file mvcp.hpp.

References OFX::Log::error(), firstImage, sequenceParser::Sequence::getAbsoluteFilenameAt(), sequenceParser::Sequence::getStep(), lastImage, and TUTTLE_LOG_ERROR.

Referenced by copy_sequence(), and sammvcp().

Here is the call graph for this function:

void copy_sequence ( const sequenceParser::Sequence s,
const sequenceParser::Sequence d,
const sequenceParser::Time  offset = 0 
)

Definition at line 103 of file mvcp.hpp.

References copy_sequence(), sequenceParser::Sequence::getFirstTime(), and sequenceParser::Sequence::getLastTime().

Here is the call graph for this function:

void copy_sequence ( const sequenceParser::Sequence s,
const sequenceParser::Time  firstImage,
const sequenceParser::Time  lastImage,
const bfs::path &  d,
const sequenceParser::Time  offset = 0 
)

Definition at line 108 of file mvcp.hpp.

References copy_sequence(), and sequenceParser::FileObject::setDirectory().

Here is the call graph for this function:

void copy_sequence ( const sequenceParser::Sequence s,
const bfs::path &  d,
const sequenceParser::Time  offset = 0 
)

Definition at line 115 of file mvcp.hpp.

References copy_sequence(), sequenceParser::Sequence::getFirstTime(), and sequenceParser::Sequence::getLastTime().

Here is the call graph for this function:

int sammvcp ( int  argc,
char **  argv 
)

Definition at line 120 of file mvcp.hpp.

References copy_sequence(), debug, sequenceParser::eMaskOptionsDotFile, sequenceParser::eMaskOptionsNone, sequenceParser::Sequence::ePatternAll, sequenceParser::Sequence::ePatternDefault, OFX::Log::error(), tuttle::common::formatters::Formatter::get(), tuttle::common::Color::get(), sequenceParser::Sequence::getAbsoluteStandardPattern(), sequenceParser::Sequence::initFromDetection(), sequenceParser::Sequence::initFromPattern(), sam::kAllOptionLongName, sam::kBriefOptionLongName, sam::kBriefOptionMessage, sam::kBriefOptionString, sam::kColorOptionLongName, sam::kColorOptionMessage, sam::kColorOptionString, sam::kEnableColorOptionLongName, sam::kEnableColorOptionMessage, sam::kEnableColorOptionString, sam::kExpressionOptionLongName, sam::kHelpOptionLongName, sam::kHelpOptionMessage, sam::kHelpOptionString, sam::kInputFirstOptionLongName, sam::kInputFirstOptionMessage, sam::kInputFirstOptionString, sam::kInputLastOptionLongName, sam::kInputLastOptionMessage, sam::kInputLastOptionString, sam::kInputOptionLongName, sam::kInputOptionMessage, sam::kInputOptionString, sam::kOffsetOptionLongName, sam::kOffsetOptionMessage, sam::kOffsetOptionString, sam::kOutputFirstOptionLongName, sam::kOutputFirstOptionMessage, sam::kOutputFirstOptionString, sam::kOutputLastOptionLongName, sam::kOutputLastOptionMessage, sam::kOutputLastOptionString, sam::kQuietOptionLongName, sam::kQuietOptionMessage, sam::kQuietOptionString, sam::kUrlTuttleofxProject, sam::kVerboseOptionLongName, sam::kVerboseOptionMessage, sam::kVerboseOptionString, tuttle::quotes(), SAM_EXAMPLE_LINE_COUT, SAM_EXAMPLE_TITLE_COUT, SAM_MV_OR_CP_OPTIONS, SAM_TOOL, signal_callback_handler(), string_to_boolean(), boost::stack_trace::trace(), TUTTLE_LOG_ERROR, TUTTLE_LOG_INFO, TUTTLE_LOG_TRACE, and OFX::Log::warning().

Referenced by main().

Here is the call graph for this function: