Lagrange
Attributes< _AttributeArray > Class Template Reference

Legacy attribute class. More...

#include <lagrange/Attributes.h>

Public Types

using AttributeArray = _AttributeArray
 
using Scalar = typename AttributeArray::Scalar
 

Public Member Functions

EIGEN_MAKE_ALIGNED_OPERATOR_NEW std::vector< std::string > get_attribute_names () const
 
bool has_attribute (const std::string &name) const
 
void add_attribute (const std::string &name)
 
template<typename Derived >
void add_attribute (const std::string &name, const Eigen::PlainObjectBase< Derived > &value)
 
template<typename Derived >
void set_attribute (const std::string &name, const Eigen::PlainObjectBase< Derived > &value)
 
const AttributeArray & get_attribute (const std::string &name) const
 
void remove_attribute (const std::string &name)
 
template<typename Derived >
void import_attribute (const std::string &name, Eigen::PlainObjectBase< Derived > &attr)
 
template<typename Derived >
void export_attribute (const std::string &name, Eigen::PlainObjectBase< Derived > &attr)
 
template<typename Archive >
void serialize (Archive &ar)
 

Protected Attributes

std::map< std::string, AttributeArray > m_data
 

Detailed Description

template<typename _AttributeArray>
class lagrange::Attributes< _AttributeArray >

Legacy attribute class.


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