#include "CondCore/CondDB/interface/Exception.h"
#include "CondCore/CondDB/interface/Binary.h"
#include "CondCore/CondDB/interface/Time.h"
#include "CondCore/CondDB/interface/Types.h"
#include "CoralBase/AttributeList.h"
#include "CoralBase/Attribute.h"
#include "CoralBase/AttributeSpecification.h"
#include "CoralBase/Blob.h"
#include "CoralBase/TimeStamp.h"
#include "RelationalAccess/ICursor.h"
#include "RelationalAccess/ISchema.h"
#include "RelationalAccess/ISessionProxy.h"
#include "RelationalAccess/IQuery.h"
#include "RelationalAccess/TableDescription.h"
#include "RelationalAccess/ITable.h"
#include "RelationalAccess/ITableDataEditor.h"
#include "RelationalAccess/IBulkOperation.h"
#include "RelationalAccess/SchemaException.h"
#include <tuple>
#include <cstring>
#include <set>
#include <map>
#include <memory>
#include <boost/date_time/posix_time/posix_time.hpp>
Go to the source code of this file.
Namespaces | |
cond | |
cond::persistency | |
Macros | |
#define | conddb_column(...) SELECT_COLUMN_MACRO(__VA_ARGS__)(__VA_ARGS__) |
#define | conddb_table(NAME) |
#define | FIXSIZE_COLUMN(NAME, TYPE, SIZE) |
#define | GET_4TH_ARG(arg1, arg2, arg3, arg4, ...) arg4 |
#define | SELECT_COLUMN_MACRO(...) GET_4TH_ARG(__VA_ARGS__, FIXSIZE_COLUMN, VARSIZE_COLUMN, WRONG_PAR_NUMBER_ERROR) |
#define | VARSIZE_COLUMN(NAME, TYPE) FIXSIZE_COLUMN(NAME, TYPE, 0) |
#define | WRONG_PAR_NUMBER_ERROR(...) static_assert(false, "\"column\" macro accepts exactly 2 or 3 parameters") |
Functions | |
template<> | |
void | cond::persistency::f_add_attribute (coral::AttributeList &data, const std::string &attributeName, const boost::posix_time::ptime ¶m, bool init) |
template<> | |
void | cond::persistency::f_add_attribute (coral::AttributeList &data, const std::string &attributeName, const cond::Binary ¶m, bool init) |
template<> | |
void | cond::persistency::f_add_attribute (coral::AttributeList &data, const std::string &attributeName, const cond::SynchronizationType ¶m, bool init) |
template<> | |
void | cond::persistency::f_add_attribute (coral::AttributeList &data, const std::string &attributeName, const cond::TimeType ¶m, bool init) |
template<typename T > | |
void | cond::persistency::f_add_attribute (coral::AttributeList &data, const std::string &attributeName, const T ¶m, bool init=true) |
template<typename Column , typename P > | |
void | cond::persistency::f_add_column_data (coral::AttributeList &data, const P ¶m, bool init=true) |
template<typename T > | |
void | cond::persistency::f_add_column_description (coral::TableDescription &table, const std::string &columnName, size_t size=0, bool notNull=true) |
template<typename C1 , typename C2 > | |
void | cond::persistency::f_add_condition (std::string &whereClause, const std::string condition="=") |
template<typename Column , typename P > | |
void | cond::persistency::f_add_condition_data (coral::AttributeList &data, std::string &whereClause, const P &value, const std::string condition="=") |
template<typename T , typename Arg1 > | |
constexpr bool | cond::persistency::is_same_any () |
template<typename T , typename Arg1 , typename Arg2 , typename... Args> | |
constexpr bool | cond::persistency::is_same_any () |
template<typename T , typename P > | |
void | cond::persistency::static_assert_is_same_decayed () |
#define conddb_column | ( | ... | ) | SELECT_COLUMN_MACRO(__VA_ARGS__)(__VA_ARGS__) |
#define conddb_table | ( | NAME | ) |
#define FIXSIZE_COLUMN | ( | NAME, | |
TYPE, | |||
SIZE | |||
) |
#define SELECT_COLUMN_MACRO | ( | ... | ) | GET_4TH_ARG(__VA_ARGS__, FIXSIZE_COLUMN, VARSIZE_COLUMN, WRONG_PAR_NUMBER_ERROR) |
#define VARSIZE_COLUMN | ( | NAME, | |
TYPE | |||
) | FIXSIZE_COLUMN(NAME, TYPE, 0) |