MINT2
|
#include <MultiQuarkContent.h>
Public Member Functions | |
MultiQuarkContent () | |
MultiQuarkContent (const MultiQuarkContent &other) | |
void | antiThis () |
bool | initFromString (const std::string &str) |
bool | compatible (const MultiQuarkContent &other) const |
void | print (std::ostream &os=std::cout) const |
MultiQuarkContent & | operator+= (const MultiQuarkContent &rhs) |
MultiQuarkContent & | operator-= (const MultiQuarkContent &rhs) |
MultiQuarkContent | operator+ (const MultiQuarkContent &rhs) const |
MultiQuarkContent | operator- (const MultiQuarkContent &rhs) const |
Public Member Functions inherited from MINT::PolymorphVector< QuarkContent > | |
PolymorphVector () | |
PolymorphVector (unsigned int N) | |
PolymorphVector (unsigned int N, const QuarkContent &c) | |
PolymorphVector (const PolymorphVector &other) | |
PolymorphVector (const typename std::vector< QuarkContent > &other) | |
virtual | ~PolymorphVector () |
std::vector< QuarkContent > & | theVector () |
const std::vector< QuarkContent > & | theVector () const |
QuarkContent & | operator[] (unsigned int i) |
const QuarkContent & | operator[] (unsigned int i) const |
QuarkContent & | at (unsigned int i) |
const QuarkContent & | at (unsigned int i) const |
std::vector< QuarkContent >::iterator | begin () |
std::vector< QuarkContent >::const_iterator | begin () const |
std::vector< QuarkContent >::iterator | end () |
std::vector< QuarkContent >::const_iterator | end () const |
std::vector< QuarkContent >::iterator | find (const QuarkContent &c) |
std::vector< QuarkContent >::const_iterator | find (const QuarkContent &c) const |
QuarkContent & | front () |
const QuarkContent & | front () const |
QuarkContent & | back () |
const QuarkContent & | back () const |
unsigned int | size () const |
bool | empty () const |
void | push_back (const QuarkContent &c) |
void | pop_back () |
void | erase (typename std::vector< QuarkContent >::iterator pos) |
void | erase (typename std::vector< QuarkContent >::iterator first, typename std::vector< QuarkContent >::iterator last) |
PolymorphVector< QuarkContent > & | operator= (const PolymorphVector< QuarkContent > &other) |
void | clear () |
void | resize (unsigned int N) |
void | resize (unsigned int N, const QuarkContent &c) |
operator const typename std::vector< QuarkContent > & () const | |
operator typename std::vector< QuarkContent > & () | |
bool | operator== (const MINT::PolymorphVector< QuarkContent > &v2) const |
bool | operator!= (const MINT::PolymorphVector< QuarkContent > &v2) const |
bool | operator< (const MINT::PolymorphVector< QuarkContent > &v2) const |
bool | operator> (const MINT::PolymorphVector< QuarkContent > &v2) const |
Additional Inherited Members | |
Protected Attributes inherited from MINT::PolymorphVector< QuarkContent > | |
std::vector< QuarkContent > | _vec |
Definition at line 25 of file MultiQuarkContent.h.
MultiQuarkContent::MultiQuarkContent | ( | ) |
Definition at line 5 of file MultiQuarkContent.cpp.
MultiQuarkContent::MultiQuarkContent | ( | const MultiQuarkContent & | other | ) |
Definition at line 9 of file MultiQuarkContent.cpp.
void MultiQuarkContent::antiThis | ( | ) |
Definition at line 14 of file MultiQuarkContent.cpp.
bool MultiQuarkContent::compatible | ( | const MultiQuarkContent & | other | ) | const |
Definition at line 38 of file MultiQuarkContent.cpp.
bool MultiQuarkContent::initFromString | ( | const std::string & | str | ) |
Definition at line 20 of file MultiQuarkContent.cpp.
MultiQuarkContent MultiQuarkContent::operator+ | ( | const MultiQuarkContent & | rhs | ) | const |
Definition at line 89 of file MultiQuarkContent.cpp.
MultiQuarkContent & MultiQuarkContent::operator+= | ( | const MultiQuarkContent & | rhs | ) |
Definition at line 56 of file MultiQuarkContent.cpp.
MultiQuarkContent MultiQuarkContent::operator- | ( | const MultiQuarkContent & | rhs | ) | const |
Definition at line 94 of file MultiQuarkContent.cpp.
MultiQuarkContent & MultiQuarkContent::operator-= | ( | const MultiQuarkContent & | rhs | ) |
Definition at line 72 of file MultiQuarkContent.cpp.
void MultiQuarkContent::print | ( | std::ostream & | os = std::cout | ) | const |
Definition at line 47 of file MultiQuarkContent.cpp.