TuttleOFX  1
main.cpp File Reference
#include <sam/common/utility.hpp>
#include <sam/common/options.hpp>
#include <boost/filesystem/operations.hpp>
#include <boost/filesystem/exception.hpp>
#include <boost/exception/diagnostic_information.hpp>
#include <boost/foreach.hpp>
#include <boost/algorithm/string.hpp>
#include <boost/algorithm/string/split.hpp>
#include <boost/program_options.hpp>
#include <boost/shared_ptr.hpp>
#include <magick/MagickCore.h>
#include <detector.hpp>
#include <algorithm>
#include <iterator>
Include dependency graph for main.cpp:

Go to the source code of this file.

Namespaces

namespace  sam

Defines

#define FIRST_COLUMN_WIDTH   23

Functions

void printImageProperties (std::string path)
void dumpImageProperties (const sequenceParser::File &s)
void dumpImageProperties (const sequenceParser::Sequence &s)
void dumpImageProperties (boost::ptr_vector< sequenceParser::FileObject > &listing)
int main (int argc, char **argv)

Variables

int firstImage = 0
int lastImage = 0
bool sam::wasSthgDumped = false

Define Documentation

#define FIRST_COLUMN_WIDTH   23

Definition at line 20 of file main.cpp.

Referenced by printImageProperties().


Function Documentation

void dumpImageProperties ( const sequenceParser::File s)

Definition at line 159 of file main.cpp.

References sequenceParser::File::getAbsoluteFilename(), printImageProperties(), TUTTLE_LOG_INFO, and sam::wasSthgDumped.

Referenced by dumpImageProperties(), and main().

Here is the call graph for this function:

void dumpImageProperties ( const sequenceParser::Sequence s)

Definition at line 166 of file main.cpp.

References sequenceParser::Sequence::getAbsoluteFirstFilename(), printImageProperties(), TUTTLE_LOG_INFO, and sam::wasSthgDumped.

Here is the call graph for this function:

void dumpImageProperties ( boost::ptr_vector< sequenceParser::FileObject > &  listing)
int main ( int  argc,
char **  argv 
)

Definition at line 190 of file main.cpp.

References debug, dumpImageProperties(), sequenceParser::eMaskOptionsColor, sequenceParser::eMaskOptionsDotFile, sequenceParser::eMaskOptionsPath, sequenceParser::eMaskTypeDirectory, sequenceParser::eMaskTypeFile, sequenceParser::eMaskTypeSequence, sequenceParser::Sequence::ePatternDefault, OFX::Log::error(), sequenceParser::fileObjectInDirectory(), firstImage, tuttle::common::formatters::Formatter::get(), tuttle::common::Color::get(), sequenceParser::Sequence::initFromDetection(), sam::kAllOptionLongName, sam::kAllOptionMessage, sam::kAllOptionString, sam::kBriefOptionLongName, sam::kBriefOptionMessage, sam::kBriefOptionString, sam::kColorOptionLongName, sam::kColorOptionMessage, sam::kColorOptionString, sam::kDirectoriesOptionLongName, sam::kEnableColorOptionLongName, sam::kEnableColorOptionMessage, sam::kEnableColorOptionString, sam::kExpressionOptionLongName, sam::kExpressionOptionMessage, sam::kExpressionOptionString, sam::kFilesOptionLongName, sam::kFilesOptionMessage, sam::kFilesOptionString, sam::kFirstImageOptionLongName, sam::kFirstImageOptionMessage, sam::kFirstImageOptionString, sam::kFullRMPathOptionLongName, sam::kHelpOptionLongName, sam::kHelpOptionMessage, sam::kHelpOptionString, sam::kIgnoreOptionLongName, sam::kIgnoreOptionMessage, sam::kIgnoreOptionString, sam::kInputDirOptionLongName, sam::kInputDirOptionMessage, sam::kInputDirOptionString, sam::kLastImageOptionLongName, sam::kLastImageOptionMessage, sam::kLastImageOptionString, sam::kPathOptionLongName, sam::kPathOptionMessage, sam::kPathOptionString, sam::kQuietOptionLongName, sam::kQuietOptionMessage, sam::kQuietOptionString, sam::kRecursiveOptionLongName, sam::kRecursiveOptionMessage, sam::kRecursiveOptionString, sam::kUrlTuttleofxProject, sam::kVerboseOptionLongName, sam::kVerboseOptionMessage, sam::kVerboseOptionString, lastImage, signal_callback_handler(), string_to_boolean(), boost::stack_trace::trace(), TUTTLE_LOG_ERROR, TUTTLE_LOG_INFO, OFX::Log::warning(), and sam::wasSthgDumped.

Here is the call graph for this function:

void printImageProperties ( std::string  path)

Definition at line 36 of file main.cpp.

References FIRST_COLUMN_WIDTH, TUTTLE_LOG_ERROR, and TUTTLE_LOG_INFO.

Referenced by dumpImageProperties().


Variable Documentation

int firstImage = 0

Definition at line 27 of file main.cpp.

Referenced by copy_sequence(), main(), and removeSequence().

int lastImage = 0

Definition at line 28 of file main.cpp.

Referenced by copy_sequence(), main(), and removeSequence().