|
ThePEG
1.8.0
|
This file introduces a number of std:: classes into the ThePEG namespace.
More...
#include <map>#include <set>#include <string>#include <vector>#include <list>#include <iostream>#include <fstream>#include <sstream>#include <iomanip>#include <stack>#include <utility>#include <typeinfo>#include <stdexcept>#include <cmath>Go to the source code of this file.
Namespaces | |
| namespace | ThePEG |
| This is the main namespace within which all identifiers in ThePEG are declared. | |
Macros | |
| #define | ThePEG_DECLARE_SET(VALTYPE, NAME) |
| Macro for declaring a set. | |
| #define | ThePEG_DECLARE_MULTISET(VALTYPE, NAME) |
| Macro for declaring a multiset. | |
| #define | ThePEG_DECLARE_MAP(KEYTYPE, VALTYPE, NAME) |
| Macro for declaring a map. | |
| #define | ThePEG_IMPLEMENT_SET(VALTYPE, NAME) |
| Macro for implementing a set. | |
| #define | ThePEG_IMPLEMENT_MULTISET(VALTYPE, NAME) |
| Macro for implementing a multiset. | |
| #define | ThePEG_IMPLEMENT_MAP(KEYTYPE, VALTYPE, NAME) |
| Macro for implementing a map. | |
Functions | |
| double | ThePEG::sqrt (int x) |
| Square root of an integer. | |
| template<typename Container , typename Key > | |
| bool | ThePEG::member (const Container &c, const Key &k) |
| Check if a given object is a part of a container. | |
| template<typename T , typename Key > | |
| bool | ThePEG::member (const vector< T > &v, const Key &k) |
| Check if a given object is a part of a vector. | |
| template<typename Cont > | |
| std::insert_iterator< Cont > | ThePEG::inserter (Cont &c) |
| Return an insert iterator for a given container. | |
| template<typename T , typename A > | |
| std::back_insert_iterator < vector< T, A > > | ThePEG::inserter (vector< T, A > &v) |
| Return an insert iterator for a given vector. | |
| template<typename T , typename A > | |
| std::back_insert_iterator < deque< T, A > > | ThePEG::inserter (deque< T, A > &v) |
| Return an insert iterator for a given vector. | |
| ostream & | ThePEG::left (ostream &os) |
| Stream manipulator setting an ostream to left-adjust its ouput. | |
| ostream & | ThePEG::right (ostream &os) |
| Stream manipulator setting an ostream to right-adjust its ouput. | |
This file introduces a number of std:: classes into the ThePEG namespace.
Also introduces some useful functions for standard library classes.
Do not make changes in this file. If you want to use alternatives to the std:: classes in ThePEG, edit a copy of this file and include it in an alternative config file which can be included in the main ThePEG.h config file using the macro ThePEG_ALTERNATE_CONFIG.
Definition in file std.h.
| #define ThePEG_DECLARE_MAP | ( | KEYTYPE, | |
| VALTYPE, | |||
| NAME | |||
| ) |
| #define ThePEG_DECLARE_MULTISET | ( | VALTYPE, | |
| NAME | |||
| ) |
| #define ThePEG_DECLARE_SET | ( | VALTYPE, | |
| NAME | |||
| ) |
| #define ThePEG_IMPLEMENT_MAP | ( | KEYTYPE, | |
| VALTYPE, | |||
| NAME | |||
| ) |
| #define ThePEG_IMPLEMENT_MULTISET | ( | VALTYPE, | |
| NAME | |||
| ) |
1.8.1.1