Cadabra
Computer algebra system for field theory problems
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
cadabra::Weight Class Reference

#include <Weight.hh>

Inheritance diagram for cadabra::Weight:
cadabra::WeightBase cadabra::labelled_property cadabra::property

Public Member Functions

virtual multiplier_t value (const Kernel &, Ex::iterator, const std::string &forcedlabel) const override
 
virtual bool parse (const Kernel &, keyval_t &) override
 
virtual std::string unnamed_argument () const override
 
virtual std::string name () const override
 
- Public Member Functions inherited from cadabra::property
 property (bool hidden=false)
 
virtual ~property ()
 
bool parse_to_keyvals (const Ex &, keyval_t &)
 
virtual void validate (const Kernel &, const Ex &) const
 
virtual void latex (std::ostream &) const
 Display the property on the stream. More...
 
virtual match_t equals (const property *) const
 
void hidden (bool h)
 Properties can be hidden because they only make sense to the system; they will not be printed when the user asks for a list of properties. More...
 
bool hidden (void) const
 

Private Attributes

multiplier_t value_
 

Additional Inherited Members

- Public Types inherited from cadabra::property
enum  match_t { no_match, id_match, exact_match }
 
- Public Attributes inherited from cadabra::labelled_property
std::string label
 

Member Function Documentation

std::string Weight::name ( ) const
overridevirtual

Implements cadabra::property.

bool Weight::parse ( const Kernel k,
keyval_t kv 
)
overridevirtual

Reimplemented from cadabra::labelled_property.

virtual std::string cadabra::Weight::unnamed_argument ( ) const
inlineoverridevirtual

Reimplemented from cadabra::property.

multiplier_t Weight::value ( const Kernel pr,
Ex::iterator  ,
const std::string &  forcedlabel 
) const
overridevirtual

Implements cadabra::WeightBase.

Member Data Documentation

multiplier_t cadabra::Weight::value_
private

The documentation for this class was generated from the following files: