Documentation of MARTY
A Modern ARtificial Theoretical phYsicist
Data Structures | Namespaces | Typedefs | Functions
lhaData.h File Reference

Contains all data containers for .lha files. More...

#include "lhaBlocks.h"
#include "std_vector_implementation.h"
#include <vector>
#include <optional>
#include <string>
#include <string_view>

Go to the source code of this file.

Data Structures

struct  mty::lha::LHAElement
 Corresponds to a line of a .lha file. More...
 
struct  mty::lha::Comparator
 Helper class to define a comparison function for positions. More...
 
class  mty::lha::LHABlock
 LHABlock, containing a vector of LHAElement. More...
 
class  mty::lha::LHAFileData
 Final class containing all the data coming from a LHA file. More...
 

Namespaces

 mty::lha
 Namespace containing all lha utilities.
 

Typedefs

using mty::lha::FloatType = long double
 Floating point type for LHA support. Long double is 64 bits usually.
 

Functions

BlockType mty::lha::blockType (std::string_view name)
 Returns the BlockType corresponding to its name. The name must correspond to the enumeration name (see BlockType). More...
 
std::ostream & mty::lha::operator<< (std::ostream &out, BlockType type)
 Output stream overload for BlockType. More...
 
std::ostream & mty::lha::operator<< (std::ostream &out, LHAElement const &element)
 Displays a LHAElement in an output stream. More...
 
std::ostream & mty::lha::operator<< (std::ostream &out, LHABlock const &block)
 Displays a LHABlock in an output stream. More...
 
std::ostream & mty::lha::operator<< (std::ostream &out, LHAFileData const &data)
 Displays a LHAFileData in an output stream. More...
 
std::string mty::lha::tolower (std::string const &str)
 

Detailed Description

Contains all data containers for .lha files.

Author
Grégoire Uhlrich
Version
1.3
Date
2020-09-02