Scine::Sparrow  5.0.0
Library for fast and agile quantum chemical calculations with semiempirical methods.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
Common.h File Reference
#include "boost/optional.hpp"
#include <iso646.h>
#include <algorithm>
#include <fstream>
#include <iostream>
#include <vector>
Include dependency graph for Common.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  CppFileStructure
 
struct  Joiner< Args >
 
struct  OptionalWrapper< T >
 

Functions

std::ostream & sep (std::ostream &os)
 
std::ostream & nl (std::ostream &os)
 
std::string sp (unsigned i)
 
std::string lower (std::string a)
 
std::string upper (std::string a)
 
template<typename Arg >
void detail::writePack (std::ostream &os, Arg arg)
 
template<typename Arg , typename... Args>
void detail::writePack (std::ostream &os, Arg arg1, Args...args)
 
template<typename Tuple , std::size_t... Inds>
void detail::writeTuplePackHelper (std::ostream &os, const Tuple &tup, std::index_sequence< Inds...>)
 
template<typename Tuple >
void detail::writeTuplePack (std::ostream &os, const Tuple &tup)
 
template<typename... Args>
auto join (const Args &...args)
 
template<typename... Args>
std::ostream & operator<< (std::ostream &os, const Joiner< Args...> &join)
 
template<typename T >
auto wrapOptional (const boost::optional< T > &optional)
 
template<typename T >
std::ostream & operator<< (std::ostream &os, const OptionalWrapper< T > &o)
 

Detailed Description