![]() |
Cadabra
Computer algebra system for field theory problems
|
If a property X derives from Inherit<Y>, and get<Y> is called on an object which has an X property (but no Y property), then the get<Y> will look at the non-index child of the object to see if that has a Y property.
FIXME: need to decided what to do if there are more non-index children.
#include <Props.hh>
Public Member Functions | |
| virtual | ~Inherit () |
| virtual std::string | name () const |
Public Member Functions inherited from cadabra::property | |
| property (bool hidden=false) | |
| virtual | ~property () |
| bool | parse_to_keyvals (const Ex &, keyval_t &) |
| virtual bool | parse (Kernel &, keyval_t &keyvals) |
| virtual bool | parse (Kernel &, std::shared_ptr< Ex >, keyval_t &keyvals) |
| virtual void | validate (Kernel &, std::shared_ptr< Ex >) const |
| virtual void | latex (std::ostream &) const |
| Display the property on the stream. | |
| virtual std::string | unnamed_argument () const |
| 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. | |
| bool | hidden (void) const |
Additional Inherited Members | |
Public Types inherited from cadabra::property | |
| enum | match_t { no_match , id_match , exact_match } |
|
inlinevirtual |
Implements cadabra::property.
Reimplemented in cadabra::PartialDerivative, cadabra::Derivative, and cadabra::ExteriorDerivative.