From 2700ed6a3e1092a064f28b07f8e2c4e5b9b830e7 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 16 Nov 2015 20:02:06 +0200 Subject: Implement new URL path schema for the web interface --- brep/types | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 brep/types (limited to 'brep/types') diff --git a/brep/types b/brep/types new file mode 100644 index 0000000..d3b7b2d --- /dev/null +++ b/brep/types @@ -0,0 +1,60 @@ +// file : brep/types -*- C++ -*- +// copyright : Copyright (c) 2014-2015 Code Synthesis Ltd +// license : MIT; see accompanying LICENSE file + +#ifndef BREP_TYPES +#define BREP_TYPES + +#include +#include +#include // unique_ptr, weak_ptr, shared_ptr +#include // size_t +#include // uint{8,16,32,64}_t + +#include + +#include +#include +#include +#include + +namespace brep +{ + // Commonly-used types + // + using std::uint8_t; + using std::uint16_t; + using std::uint32_t; + using std::uint64_t; + using std::size_t; + using std::vector; + using std::string; + + using strings = vector; + + using butl::optional; + using butl::nullopt; + + // Smart pointers + // + using std::unique_ptr; + + using std::shared_ptr; + using std::weak_ptr; + + using odb::lazy_shared_ptr; + using odb::lazy_weak_ptr; + + // + // + using butl::path; + using butl::dir_path; + using butl::invalid_path; + + // + // + using butl::timestamp; + using butl::timestamp_nonexistent; +} + +#endif // BREP_TYPES -- cgit v1.1