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 
cadabra::Integer::~Integer
virtual ~Integer()
Definition: Integer.hh:15
cadabra::Integer::difference
Ex difference
Definition: Integer.hh:25
cadabra::Integer
Definition: Integer.hh:13
cadabra::Kernel
Definition: Kernel.hh:15
cadabra::Integer::to
Ex to
Definition: Integer.hh:25
cadabra::Integer::unnamed_argument
virtual std::string unnamed_argument() const override
Definition: Integer.hh:20
cadabra::Integer::parse
virtual bool parse(Kernel &, keyval_t &keyvals) override
Definition: Integer.cc:14
cadabra::Integer::name
virtual std::string name() const override
Definition: Integer.cc:9
cadabra::property
FIXME: the above two need to be merged, because parse may need access to the actual pattern tree,...
Definition: Props.hh:126
Props.hh
cadabra::Integer::from
Ex from
Definition: Integer.hh:23
cadabra
Functions to handle the exchange properties of two or more symbols in a product.
Definition: Adjform.cc:83
cadabra::Ex
Definition: Storage.hh:140
cadabra::Integer::display
virtual void display(std::ostream &) const
Definition: Integer.cc:51
cadabra::keyval_t
Arguments to properties get parsed into a keyval_t structure.
Definition: Props.hh:67