|
MINT2
|
#include <QuarkContent.h>
Public Member Functions | |
| QuarkContent () | |
| QuarkContent (const QuarkContent &other) | |
| void | antiThis () |
| bool | initFromString (const std::string &str) |
| int | content (int quarkNumber) const |
| int | content (long int quarkNumber) const |
| int | content (unsigned int quarkNumber) const |
| int | content (char quarkName) const |
| int | content (const std::string &quarkName) const |
| char | nameFromPosition (int i) const |
| int | positionFromName (char c) const |
| void | print (std::ostream &os=std::cout) const |
| QuarkContent & | operator+= (const QuarkContent &rhs) |
| QuarkContent & | operator-= (const QuarkContent &rhs) |
| QuarkContent | operator+ (const QuarkContent &rhs) const |
| QuarkContent | operator- (const QuarkContent &rhs) const |
Public Member Functions inherited from MINT::PolymorphVector< int > | |
| PolymorphVector () | |
| PolymorphVector (unsigned int N) | |
| PolymorphVector (unsigned int N, const int &c) | |
| PolymorphVector (const PolymorphVector &other) | |
| PolymorphVector (const typename std::vector< int > &other) | |
| virtual | ~PolymorphVector () |
| std::vector< int > & | theVector () |
| const std::vector< int > & | theVector () const |
| int & | operator[] (unsigned int i) |
| const int & | operator[] (unsigned int i) const |
| int & | at (unsigned int i) |
| const int & | at (unsigned int i) const |
| std::vector< int >::iterator | begin () |
| std::vector< int >::const_iterator | begin () const |
| std::vector< int >::iterator | end () |
| std::vector< int >::const_iterator | end () const |
| std::vector< int >::iterator | find (const int &c) |
| std::vector< int >::const_iterator | find (const int &c) const |
| int & | front () |
| const int & | front () const |
| int & | back () |
| const int & | back () const |
| unsigned int | size () const |
| bool | empty () const |
| void | push_back (const int &c) |
| void | pop_back () |
| void | erase (typename std::vector< int >::iterator pos) |
| void | erase (typename std::vector< int >::iterator first, typename std::vector< int >::iterator last) |
| PolymorphVector< int > & | operator= (const PolymorphVector< int > &other) |
| void | clear () |
| void | resize (unsigned int N) |
| void | resize (unsigned int N, const int &c) |
| operator const typename std::vector< int > & () const | |
| operator typename std::vector< int > & () | |
| bool | operator== (const MINT::PolymorphVector< int > &v2) const |
| bool | operator!= (const MINT::PolymorphVector< int > &v2) const |
| bool | operator< (const MINT::PolymorphVector< int > &v2) const |
| bool | operator> (const MINT::PolymorphVector< int > &v2) const |
Static Private Member Functions | |
| static bool | initPositions () |
Static Private Attributes | |
| static char | _names [6] = {'d', 'u', 's', 'c', 'b', 't'} |
| static char | _NAMES [6] = {'D', 'U', 'S', 'C', 'B', 'T'} |
| static std::map< char, int > | _positions |
Additional Inherited Members | |
Protected Attributes inherited from MINT::PolymorphVector< int > | |
| std::vector< int > | _vec |
Definition at line 9 of file QuarkContent.h.
| QuarkContent::QuarkContent | ( | ) |
Definition at line 11 of file QuarkContent.cpp.
| QuarkContent::QuarkContent | ( | const QuarkContent & | other | ) |
Definition at line 17 of file QuarkContent.cpp.
| void QuarkContent::antiThis | ( | ) |
Definition at line 29 of file QuarkContent.cpp.
| int QuarkContent::content | ( | int | quarkNumber | ) | const |
Definition at line 69 of file QuarkContent.cpp.
| int QuarkContent::content | ( | long int | quarkNumber | ) | const |
Definition at line 66 of file QuarkContent.cpp.
| int QuarkContent::content | ( | unsigned int | quarkNumber | ) | const |
Definition at line 73 of file QuarkContent.cpp.
| int QuarkContent::content | ( | char | quarkName | ) | const |
Definition at line 83 of file QuarkContent.cpp.
| int QuarkContent::content | ( | const std::string & | quarkName | ) | const |
Definition at line 78 of file QuarkContent.cpp.
| bool QuarkContent::initFromString | ( | const std::string & | str | ) |
Definition at line 35 of file QuarkContent.cpp.
|
staticprivate |
Definition at line 21 of file QuarkContent.cpp.
| char QuarkContent::nameFromPosition | ( | int | i | ) | const |
Definition at line 86 of file QuarkContent.cpp.
| QuarkContent QuarkContent::operator+ | ( | const QuarkContent & | rhs | ) | const |
Definition at line 120 of file QuarkContent.cpp.
| QuarkContent & QuarkContent::operator+= | ( | const QuarkContent & | rhs | ) |
Definition at line 103 of file QuarkContent.cpp.
| QuarkContent QuarkContent::operator- | ( | const QuarkContent & | rhs | ) | const |
Definition at line 125 of file QuarkContent.cpp.
| QuarkContent & QuarkContent::operator-= | ( | const QuarkContent & | rhs | ) |
Definition at line 111 of file QuarkContent.cpp.
| int QuarkContent::positionFromName | ( | char | c | ) | const |
Definition at line 90 of file QuarkContent.cpp.
| void QuarkContent::print | ( | std::ostream & | os = std::cout | ) | const |
Definition at line 96 of file QuarkContent.cpp.
|
staticprivate |
Definition at line 10 of file QuarkContent.h.
|
staticprivate |
Definition at line 11 of file QuarkContent.h.
|
staticprivate |
Definition at line 12 of file QuarkContent.h.
1.8.15