#include <lattice.h>
Definition at line 39 of file lattice.h.
virtual lattice_impl::~lattice_impl |
( |
| ) |
|
|
inlinevirtual |
virtual std::vector<pos_t> lattice_impl::all |
( |
pos_t |
| ) |
const |
|
pure virtual |
virtual std::vector<pos_t> lattice_impl::forward |
( |
pos_t |
| ) |
const |
|
pure virtual |
template<class T >
T lattice_impl::get_prop |
( |
std::string |
property, |
|
|
pos_t |
site |
|
) |
| const |
|
inline |
Definition at line 49 of file lattice.h.
52 return boost::any_cast<T>(
get_prop_(property, std::vector<pos_t>(1, site)));
virtual boost::any get_prop_(std::string const &, std::vector< pos_t > const &) const =0
template<class T >
T lattice_impl::get_prop |
( |
std::string |
property, |
|
|
pos_t |
bond1, |
|
|
pos_t |
bond2 |
|
) |
| const |
|
inline |
Definition at line 55 of file lattice.h.
58 std::vector<pos_t> v(2);
59 v[0] = bond1; v[1] = bond2;
60 return boost::any_cast<T>(
get_prop_(property, v));
virtual boost::any get_prop_(std::string const &, std::vector< pos_t > const &) const =0
template<class T >
T lattice_impl::get_prop |
( |
std::string |
property, |
|
|
std::vector< pos_t > const & |
positions |
|
) |
| const |
|
inline |
Definition at line 63 of file lattice.h.
66 return boost::any_cast<T>(
get_prop_(property, positions));
virtual boost::any get_prop_(std::string const &, std::vector< pos_t > const &) const =0
virtual boost::any lattice_impl::get_prop_ |
( |
std::string const & |
, |
|
|
std::vector< pos_t > const & |
|
|
) |
| const |
|
pure virtual |
virtual int lattice_impl::maximum_vertex_type |
( |
| ) |
const |
|
pure virtual |
virtual pos_t lattice_impl::size |
( |
| ) |
const |
|
pure virtual |
The documentation for this class was generated from the following file: