Cadabra
Computer algebra system for field theory problems
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ImplicitIndex.hh
Go to the documentation of this file.
1 
2 #pragma once
3 
4 #include "Props.hh"
5 
6 namespace cadabra {
7 
8  class ImplicitIndex : virtual public property {
9  public:
10  virtual bool parse(const Kernel&, keyval_t&) override;
11  virtual std::string name() const override;
12  virtual std::string unnamed_argument() const override { return "name"; };
13  virtual void latex(std::ostream& str) const override;
14 
15  std::vector<std::string> set_names;
16  };
17 
18 }
Definition: ImplicitIndex.hh:8
Arguments to properties get parsed into a keyval_t structure.
Definition: Props.hh:48
Base class for all properties, handling argument parsing and defining the interface.
Definition: Props.hh:107
virtual void latex(std::ostream &str) const override
Display the property on the stream.
Definition: ImplicitIndex.cc:30
virtual std::string unnamed_argument() const override
Definition: ImplicitIndex.hh:12
virtual std::string name() const override
Definition: ImplicitIndex.cc:7
std::vector< std::string > set_names
Definition: ImplicitIndex.hh:15
Definition: Kernel.hh:15
virtual bool parse(const Kernel &, keyval_t &) override
Definition: ImplicitIndex.cc:12