OmniSciDB  04ee39c94c
anonymous_namespace{UpdateMetadataTest.cpp}::TableCycler Class Reference
+ Collaboration diagram for anonymous_namespace{UpdateMetadataTest.cpp}::TableCycler:

Public Member Functions

 TableCycler (std::string const &drop_if_statement, std::string const &create_statement, std::string const &drop_statement)
 
 TableCycler (TableCycler &&rhs)
 
 TableCycler (TableCycler const &)=delete
 
TableCycleroperator= (TableCycler const &)=delete
 
template<typename TEST_FUNCTOR >
auto operator() (TEST_FUNCTOR f) const
 
 ~TableCycler ()
 

Private Attributes

std::string drop_if_statement_
 
std::string create_statement_
 
std::string drop_statement_
 

Detailed Description

Definition at line 58 of file UpdateMetadataTest.cpp.

Constructor & Destructor Documentation

◆ TableCycler() [1/3]

anonymous_namespace{UpdateMetadataTest.cpp}::TableCycler::TableCycler ( std::string const &  drop_if_statement,
std::string const &  create_statement,
std::string const &  drop_statement 
)
inline

Definition at line 60 of file UpdateMetadataTest.cpp.

References run_ddl_statement().

+ Here is the call graph for this function:

◆ TableCycler() [2/3]

anonymous_namespace{UpdateMetadataTest.cpp}::TableCycler::TableCycler ( TableCycler &&  rhs)
inline

Definition at line 70 of file UpdateMetadataTest.cpp.

71  : drop_if_statement_(std::move(rhs.drop_if_statement_))
72  , create_statement_(std::move(rhs.create_statement_))
73  , drop_statement_(std::move(rhs.drop_statement_)) {}

◆ TableCycler() [3/3]

anonymous_namespace{UpdateMetadataTest.cpp}::TableCycler::TableCycler ( TableCycler const &  )
delete

◆ ~TableCycler()

anonymous_namespace{UpdateMetadataTest.cpp}::TableCycler::~TableCycler ( )
inline

Definition at line 83 of file UpdateMetadataTest.cpp.

References anonymous_namespace{UpdateMetadataTest.cpp}::g_keep_test_data, and run_ddl_statement().

+ Here is the call graph for this function:

Member Function Documentation

◆ operator()()

template<typename TEST_FUNCTOR >
auto anonymous_namespace{UpdateMetadataTest.cpp}::TableCycler::operator() ( TEST_FUNCTOR  f) const
inline

Definition at line 79 of file UpdateMetadataTest.cpp.

79  {
80  f();
81  }

◆ operator=()

TableCycler& anonymous_namespace{UpdateMetadataTest.cpp}::TableCycler::operator= ( TableCycler const &  )
delete

Member Data Documentation

◆ create_statement_

std::string anonymous_namespace{UpdateMetadataTest.cpp}::TableCycler::create_statement_
private

Definition at line 93 of file UpdateMetadataTest.cpp.

◆ drop_if_statement_

std::string anonymous_namespace{UpdateMetadataTest.cpp}::TableCycler::drop_if_statement_
private

Definition at line 92 of file UpdateMetadataTest.cpp.

◆ drop_statement_

std::string anonymous_namespace{UpdateMetadataTest.cpp}::TableCycler::drop_statement_
private

Definition at line 94 of file UpdateMetadataTest.cpp.


The documentation for this class was generated from the following file: