SLHAea  0.1
containers for SUSY Les Houches Accord input/output
 All Classes Namespaces Files Functions Variables Typedefs
Classes | Namespaces | Functions
slhaea.h File Reference
#include <algorithm>
#include <cctype>
#include <cstddef>
#include <deque>
#include <functional>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <limits>
#include <sstream>
#include <stdexcept>
#include <string>
#include <utility>
#include <vector>
#include <boost/algorithm/string/classification.hpp>
#include <boost/algorithm/string/join.hpp>
#include <boost/algorithm/string/predicate.hpp>
#include <boost/algorithm/string/split.hpp>
#include <boost/lexical_cast.hpp>
+ Include dependency graph for slhaea.h:

Go to the source code of this file.

Classes

class  Line
 Container of strings that represents a line in a SLHA structure. More...
 
class  Block
 Container of Lines that resembles a block in a SLHA structure. More...
 
struct  Block::key_matches
 Unary predicate that checks if a provided key matches a Line. More...
 
class  Coll
 Container of Blocks that resembles a complete SLHA structure. More...
 
struct  Coll::key_matches
 Unary predicate that checks if a provided name matches the name of a Block. More...
 
struct  Coll::key_matches_block_def
 Unary predicate that checks if a provided key matches the block definition of a Block. More...
 
struct  Key
 Reference to a single field in a SLHA structure. More...
 

Namespaces

 SLHAea
 
 SLHAea::detail
 

Functions

template<class Target , class Source >
Target to (const Source &arg)
 Converts an object of type Source to an object of type Target. More...
 
template<class Source >
std::string to_string (const Source &arg)
 Converts an object of type Source to a string. More...
 
template<class Source >
std::string to_string (const Source &arg, int precision)
 Converts an object of type Source to a string. More...
 
bool is_all_whitespace (const std::string &str)
 
std::string to_upper_copy (const std::string &str)
 
void trim_left (std::string &str)
 
void trim_right (std::string &str)
 
std::ostream & operator<< (std::ostream &os, const Line &line)
 
std::ostream & operator<< (std::ostream &os, const Block &block)
 
std::ostream & operator<< (std::ostream &os, const Coll &coll)
 
std::ostream & operator<< (std::ostream &os, const Key &key)
 
std::istream & operator>> (std::istream &is, Block &block)
 
std::istream & operator>> (std::istream &is, Coll &coll)
 
bool operator== (const Line &a, const Line &b)
 
bool operator< (const Line &a, const Line &b)
 
bool operator!= (const Line &a, const Line &b)
 
bool operator> (const Line &a, const Line &b)
 
bool operator<= (const Line &a, const Line &b)
 
bool operator>= (const Line &a, const Line &b)
 
bool operator== (const Block &a, const Block &b)
 
bool operator< (const Block &a, const Block &b)
 
bool operator!= (const Block &a, const Block &b)
 
bool operator> (const Block &a, const Block &b)
 
bool operator<= (const Block &a, const Block &b)
 
bool operator>= (const Block &a, const Block &b)
 
bool operator== (const Coll &a, const Coll &b)
 
bool operator< (const Coll &a, const Coll &b)
 
bool operator!= (const Coll &a, const Coll &b)
 
bool operator> (const Coll &a, const Coll &b)
 
bool operator<= (const Coll &a, const Coll &b)
 
bool operator>= (const Coll &a, const Coll &b)