std.h File Reference

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  std
namespace  ThePEG

Defines

#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 a insert iterator for a given container.
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.


Detailed Description

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 Documentation

#define ThePEG_DECLARE_MAP ( KEYTYPE,
VALTYPE,
NAME   ) 

Value:

                          \
  typedef map<KEYTYPE, VALTYPE, less<KEYTYPE> > NAME
Macro for declaring a map.

Definition at line 161 of file std.h.

#define ThePEG_DECLARE_MULTISET ( VALTYPE,
NAME   ) 

Value:

                                        \
  typedef multiset<VALTYPE, less<VALTYPE> > NAME
Macro for declaring a multiset.

Definition at line 156 of file std.h.

#define ThePEG_DECLARE_SET ( VALTYPE,
NAME   ) 

Value:

                                             \
  typedef set<VALTYPE, less<VALTYPE> > NAME
Macro for declaring a set.

Definition at line 151 of file std.h.

#define ThePEG_IMPLEMENT_MAP ( KEYTYPE,
VALTYPE,
NAME   ) 

Macro for implementing a map.

Definition at line 172 of file std.h.

#define ThePEG_IMPLEMENT_MULTISET ( VALTYPE,
NAME   ) 

Macro for implementing a multiset.

Definition at line 169 of file std.h.

#define ThePEG_IMPLEMENT_SET ( VALTYPE,
NAME   ) 

Macro for implementing a set.

Definition at line 166 of file std.h.


Generated on Thu Apr 29 12:42:54 2010 for ThePEG by  doxygen 1.5.5