$extrastylesheet
#include <scribo/core/component_info.hh>
Public Types | |
typedef Object< void > | category |
typedef component_info< L > | exact_t |
Public Member Functions | |
component_info (const component_id_t &id, const mln::box2d &bbox, const mln::point2d &mass_center, unsigned card, component::Type type=component::Undefined) | |
void | accept (const SerializeVisitor< E2 > &visitor) const |
const mln::box2d & | bbox () const |
unsigned | card () const |
const component_features_data & | features () const |
bool | has_features () const |
component_id_t | id () const |
bool | is_valid () const |
const mln::point2d & | mass_center () const |
component::Tag | tag () const |
component::Type | type () const |
void | update_features (const component_features_data &features) |
void | update_tag (component::Tag tag) |
void | update_type (component::Type type) |
Protected Attributes | |
mln::box2d | bbox_ |
unsigned | card_ |
component_features_data | features_ |
component_id_t | id_ |
mln::point2d | mass_center_ |
component::Tag | tag_ |
component::Type | type_ |
Component information data structure.
Definition at line 64 of file component_info.hh.
|
inherited |
Allow this object to be serialized by visitor
.