Commit a733e551 authored by Giorgio Azzinnaro's avatar Giorgio Azzinnaro

added boost di

parent e63ccee0
cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.1)
project(ProfaneDB)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -g")
set(CMAKE_CXX_STANDARD 14)
set(PROTOBUF_IMPORT_DIRS "${CMAKE_SOURCE_DIR}/src")
option(BUILD_SHARED_LIBS "Build libprofanedb.so, to embed ProfaneDB" ON)
......
This source diff could not be displayed because it is too large. You can view the blob instead.
/*
* ProfaneDB - A Protocol Buffer database.
* ProfaneDB - A Protocol Buffers database.
* Copyright (C) 2017 "Giorgio Azzinnaro" <giorgio.azzinnaro@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
......
/*
* ProfaneDB - A Protocol Buffer database.
* ProfaneDB - A Protocol Buffers database.
* Copyright (C) 2017 "Giorgio Azzinnaro" <giorgio.azzinnaro@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
......
......@@ -30,10 +30,9 @@
#include <boost/filesystem.hpp>
namespace profanedb {
namespace storage {
class Config
{
public:
......
......@@ -83,6 +83,7 @@ std::map<std::string, const google::protobuf::Message &> profanedb::storage::Nor
return dependencies;
}
// TODO A `Key` Message could be used here instead, with type(s) and value
std::string profanedb::storage::Normalizer::FieldToKey(const google::protobuf::Message & container, const google::protobuf::FieldDescriptor & fd) const
{
const google::protobuf::Reflection * reflection = container.GetReflection();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment