COOPY » Guide  version 0.6.5
Public Member Functions | Data Fields
coopy::cmp::CompareFlags Class Reference

Flags for controlling table comparison and interpretation. More...

#include <CompareFlags.h>

Public Member Functions

 CompareFlags ()
 CompareFlags (const CompareFlags &alt)
const CompareFlagsoperator= (const CompareFlags &alt)
 ~CompareFlags ()
bool setOutput (const CompareOutput &o)
bool canInsert () const
bool canDelete () const
bool canUpdate () const
bool canSchema () const

Data Fields

bool head_trimmed
bool tail_trimmed
FILE * out
std::set< std::string > tables
std::set< std::string > acts
std::vector< std::string > ordered_tables
std::vector< std::string > ids
std::vector< std::string > coined
std::vector< std::string > include_columns
std::vector< std::string > exclude_columns
std::vector< int > ids_local
std::vector< int > ids_remote
bool trust_ids
bool bias_ids
bool trust_column_names
coopy::store::DataSheetmapping
coopy::store::TextBookmapping_book
coopy::store::TextBookmeta_book
bool pivot_sides_with_local
bool has_pivot
bool use_order
bool omit_format_name
bool omit_sheet_name
bool fixed_columns
bool assume_header
bool ignore_case
bool create_unknown_sheets
bool clean_sheets
std::string pivot_uri
std::string local_uri
std::string remote_uri
bool resolving
std::string resolve
std::string variant
coopy::store::Poolpool
bool foreign_pool
bool foreign_pool_set
bool offload_to_sql_when_possible
int context_lines

Detailed Description

Flags for controlling table comparison and interpretation.

Definition at line 57 of file CompareFlags.h.


Constructor & Destructor Documentation

coopy::cmp::CompareFlags::CompareFlags ( ) [inline]
coopy::cmp::CompareFlags::CompareFlags ( const CompareFlags alt) [inline]

Definition at line 128 of file CompareFlags.h.

coopy::cmp::CompareFlags::~CompareFlags ( ) [inline]

Definition at line 138 of file CompareFlags.h.

References NULL, and setOutput().


Member Function Documentation

bool coopy::cmp::CompareFlags::canDelete ( ) const [inline]

Definition at line 152 of file CompareFlags.h.

References acts.

Referenced by coopy::cmp::MergeOutputStats::flush(), and coopy::cmp::Merger::mergeRow().

bool coopy::cmp::CompareFlags::canInsert ( ) const [inline]

Definition at line 147 of file CompareFlags.h.

References acts.

Referenced by coopy::cmp::MergeOutputStats::flush(), and coopy::cmp::Merger::mergeRow().

bool coopy::cmp::CompareFlags::canSchema ( ) const [inline]

Definition at line 162 of file CompareFlags.h.

References acts.

Referenced by coopy::cmp::MergeOutputStats::flush().

bool coopy::cmp::CompareFlags::canUpdate ( ) const [inline]

Definition at line 157 of file CompareFlags.h.

References acts.

Referenced by coopy::cmp::MergeOutputStats::flush(), and coopy::cmp::Merger::mergeRow().

const CompareFlags& coopy::cmp::CompareFlags::operator= ( const CompareFlags alt) [inline]

Definition at line 132 of file CompareFlags.h.

References setOutput().

bool coopy::cmp::CompareFlags::setOutput ( const CompareOutput o) [inline]

Definition at line 142 of file CompareFlags.h.

References coopy::cmp::CompareOutput::out, and out.

Referenced by operator=(), and ~CompareFlags().


Field Documentation

std::set<std::string> coopy::cmp::CompareFlags::acts

Definition at line 86 of file CompareFlags.h.

Referenced by CompareFlags(), and generateExample().

std::vector<std::string> coopy::cmp::CompareFlags::coined

Definition at line 66 of file CompareFlags.h.

Referenced by coopy::app::Options::apply().

Definition at line 97 of file CompareFlags.h.

Referenced by coopy::app::Options::apply(), and CompareFlags().

Definition at line 94 of file CompareFlags.h.

Referenced by coopy::app::Options::apply(), and CompareFlags().

Definition at line 95 of file CompareFlags.h.

Referenced by coopy::app::Options::apply(), and CompareFlags().

Definition at line 78 of file CompareFlags.h.

Referenced by coopy::app::Diff::apply(), and CompareFlags().

std::vector<std::string> coopy::cmp::CompareFlags::ids

Definition at line 69 of file CompareFlags.h.

Definition at line 70 of file CompareFlags.h.

Definition at line 74 of file CompareFlags.h.

Referenced by coopy::cmp::BookCompare::compare(), and CompareFlags().

Definition at line 76 of file CompareFlags.h.

Referenced by CompareFlags().

std::vector<std::string> coopy::cmp::CompareFlags::ordered_tables

Definition at line 77 of file CompareFlags.h.

Referenced by coopy::app::Diff::apply(), and CompareFlags().

Definition at line 90 of file CompareFlags.h.

Referenced by coopy::app::Diff::apply(), and CompareFlags().

std::set<std::string> coopy::cmp::CompareFlags::tables

Definition at line 62 of file CompareFlags.h.

Referenced by coopy::app::Options::apply(), and coopy::cmp::BookCompare::compare().

Definition at line 92 of file CompareFlags.h.

Referenced by coopy::app::Options::apply(), and getSqlQuote().


The documentation for this class was generated from the following files:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines