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 | Public Attributes | List of all members
cadabra::Integer Class Reference

Description

Property indicating that a symbolic object always takes integer values.

Optionally takes a range over which it runs, which can be symbolic.

#include <Integer.hh>

Inheritance diagram for cadabra::Integer:
cadabra::property

Public Member Functions

virtual ~Integer ()
 
virtual std::string name () const override
 
virtual bool parse (const Kernel &, keyval_t &keyvals) override
 
virtual void display (std::ostream &) const
 
virtual std::string unnamed_argument () 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
 

Public Attributes

Ex from
 
Ex to
 
Ex difference
 

Additional Inherited Members

- Public Types inherited from cadabra::property
enum  match_t { no_match, id_match, exact_match }
 

Constructor & Destructor Documentation

virtual cadabra::Integer::~Integer ( )
inlinevirtual

Member Function Documentation

void Integer::display ( std::ostream &  str) const
virtual
std::string Integer::name ( ) const
overridevirtual

Implements cadabra::property.

bool Integer::parse ( const Kernel kernel,
keyval_t keyvals 
)
overridevirtual

Reimplemented from cadabra::property.

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

Reimplemented from cadabra::property.

Member Data Documentation

Ex cadabra::Integer::difference
Ex cadabra::Integer::from
Ex cadabra::Integer::to

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