utilities  0.0
Namespaces | Classes | Typedefs | Functions
molpro Namespace Reference

Class that manages input options. More...

Namespaces

 mpi
 

Classes

class  Options
 
class  allocator_
 
class  pointer_holder
 A template for a container class like std::vector<T> but with the following features. More...
 
class  vector
 
class  array
 A template for a container class like std::array<T> but with the following features. More...
 
class  bytestream
 The bytestream class provides a container for data to be serialised, and subsequently unpacked. More...
 

Typedefs

template<typename T >
using allocator = allocator_< T, std::allocator< T > >
 
template<typename T = double, typename A = molpro::allocator<T>>
using stdvector = std::vector< T, A >
 
typedef int32_t fint
 Type for integers stored in a bytestream. The intention is that these should match the Fortran standard integer, to allow bytestreams to be interchanged between Fortran and C++. More...
 

Functions

template<class T , typename _Alloc >
std::ostream & operator<< (std::ostream &os, vector< T, _Alloc > const &obj)
 
template<typename T = double, typename _Alloc = molpro::allocator<T>>
std::ptrdiff_t operator- (const pointer_holder< T > &a, const pointer_holder< T > &b)
 
template<typename T , typename _Alloc >
vector< T, _Alloc >::Iterator operator+ (const typename vector< T, _Alloc >::Iterator &a, int increment)
 
template<typename T , typename _Alloc >
vector< T, _Alloc >::Iterator operator- (const typename vector< T, _Alloc >::Iterator &a, int increment)
 
template<class T >
std::ostream & operator<< (std::ostream &os, array< T > const &obj)
 
std::string args (int argc, char **argv)
 
std::string upcase (const std::string &s)
 

Detailed Description

Class that manages input options.

Typedef Documentation

◆ allocator

template<typename T >
using molpro::allocator = typedef allocator_<T, std::allocator<T> >

◆ fint

typedef int32_t molpro::fint

Type for integers stored in a bytestream. The intention is that these should match the Fortran standard integer, to allow bytestreams to be interchanged between Fortran and C++.

◆ stdvector

template<typename T = double, typename A = molpro::allocator<T>>
using molpro::stdvector = typedef std::vector<T, A>

Function Documentation

◆ args()

std::string molpro::args ( int  argc,
char **  argv 
)
inline

◆ operator+()

template<typename T , typename _Alloc >
vector<T, _Alloc>::Iterator molpro::operator+ ( const typename vector< T, _Alloc >::Iterator &  a,
int  increment 
)

◆ operator-() [1/2]

template<typename T = double, typename _Alloc = molpro::allocator<T>>
std::ptrdiff_t molpro::operator- ( const pointer_holder< T > &  a,
const pointer_holder< T > &  b 
)

◆ operator-() [2/2]

template<typename T , typename _Alloc >
vector<T, _Alloc>::Iterator molpro::operator- ( const typename vector< T, _Alloc >::Iterator &  a,
int  increment 
)

◆ operator<<() [1/2]

template<class T >
std::ostream& molpro::operator<< ( std::ostream &  os,
array< T > const &  obj 
)

◆ operator<<() [2/2]

template<class T , typename _Alloc >
std::ostream& molpro::operator<< ( std::ostream &  os,
vector< T, _Alloc > const &  obj 
)

◆ upcase()

std::string molpro::upcase ( const std::string &  s)
inline