Cadabra
Computer algebra system for field theory problems
Public Types | Public Member Functions | Static Public Member Functions | List of all members
cadabra::BoundProperty< PropT, ParentTs > Class Template Reference

#include <py_properties.hh>

Inheritance diagram for cadabra::BoundProperty< PropT, ParentTs >:

Public Types

using cpp_type = PropT
 
using py_type = pybind11::class_< BoundProperty, std::shared_ptr< BoundProperty >, ParentTs... >
 

Public Member Functions

 BoundProperty ()
 
 BoundProperty (Ex_ptr ex, Ex_ptr param)
 
 BoundProperty (const PropT *prop, Ex_ptr for_obj)
 
std::string str_ () const
 Human-readable form in text, i.e. no special formatting. More...
 
std::string latex_ () const
 Human-readable form using LaTeX markup. More...
 
std::string repr_ () const
 Python-parseable form. FIXME: not correct right now. More...
 
const cpp_typeget_prop () const
 

Static Public Member Functions

static std::shared_ptr< BoundPropertyget_from_kernel (Ex::iterator ex, bool ignore_parent_rel)
 

Member Typedef Documentation

◆ cpp_type

template<typename PropT , typename... ParentTs>
using cadabra::BoundProperty< PropT, ParentTs >::cpp_type = PropT

◆ py_type

template<typename PropT , typename... ParentTs>
using cadabra::BoundProperty< PropT, ParentTs >::py_type = pybind11::class_<BoundProperty, std::shared_ptr<BoundProperty>, ParentTs...>

Constructor & Destructor Documentation

◆ BoundProperty() [1/3]

template<typename PropT , typename... ParentTs>
cadabra::BoundProperty< PropT, ParentTs >::BoundProperty ( )

◆ BoundProperty() [2/3]

template<typename PropT , typename... ParentTs>
cadabra::BoundProperty< PropT, ParentTs >::BoundProperty ( Ex_ptr  ex,
Ex_ptr  param 
)

◆ BoundProperty() [3/3]

template<typename PropT , typename... ParentTs>
cadabra::BoundProperty< PropT, ParentTs >::BoundProperty ( const PropT *  prop,
Ex_ptr  for_obj 
)

Member Function Documentation

◆ get_from_kernel()

template<typename PropT , typename... ParentTs>
std::shared_ptr< BoundProperty< PropT, ParentTs... > > cadabra::BoundProperty< PropT, ParentTs >::get_from_kernel ( Ex::iterator  ex,
bool  ignore_parent_rel 
)
static

◆ get_prop()

template<typename PropT , typename... ParentTs>
const PropT * cadabra::BoundProperty< PropT, ParentTs >::get_prop ( ) const

◆ latex_()

template<typename PropT , typename... ParentTs>
std::string cadabra::BoundProperty< PropT, ParentTs >::latex_ ( ) const

Human-readable form using LaTeX markup.

◆ repr_()

template<typename PropT , typename... ParentTs>
std::string cadabra::BoundProperty< PropT, ParentTs >::repr_ ( ) const

Python-parseable form. FIXME: not correct right now.

◆ str_()

template<typename PropT , typename... ParentTs>
std::string cadabra::BoundProperty< PropT, ParentTs >::str_ ( ) const

Human-readable form in text, i.e. no special formatting.


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