Cadabra
Computer algebra system for field theory problems
Integer.hh
Go to the documentation of this file.
1 
2 #pragma once
3 
4 #include "Props.hh"
5 
6 namespace cadabra {
7 
12 
13  class Integer : public property {
14  public:
15  virtual ~Integer() {};
16  virtual std::string name() const override;
17  virtual bool parse(Kernel&, keyval_t& keyvals) override;
18  // virtual bool parse(Ex&, Ex::iterator, Ex::iterator, keyval_t&);
19  virtual void display(std::ostream&) const;
20  virtual std::string unnamed_argument() const override
21  {
22  return "range";
23  };
24 
26  };
27 
28  }
29 
Basic storage class for symbolic mathemematical expressions.
Definition: Storage.hh:142
Property indicating that a symbolic object always takes integer values.
Definition: Integer.hh:13
virtual void display(std::ostream &) const
Definition: Integer.cc:50
virtual bool parse(Kernel &, keyval_t &keyvals) override
Definition: Integer.cc:14
virtual std::string unnamed_argument() const override
Definition: Integer.hh:20
Ex difference
Definition: Integer.hh:25
Ex from
Definition: Integer.hh:23
virtual std::string name() const override
Definition: Integer.cc:9
virtual ~Integer()
Definition: Integer.hh:15
Ex to
Definition: Integer.hh:25
Definition: Kernel.hh:15
Arguments to properties get parsed into a keyval_t structure.
Definition: Props.hh:68
Base class for all properties, handling argument parsing and defining the interface.
Definition: Props.hh:127
Functions to handle the exchange properties of two or more symbols in a product.
Definition: Adjform.cc:83