$extrastylesheet
#include <scribo/core/line_set.hh>
Public Member Functions | |
const component_set< L > & | components () const |
component_set< L > & | components_ () |
void | compute_lines (const object_groups< L > &groups) |
line_set< L > | duplicate () const |
const object_groups< L > & | groups () const |
const line_info< L > & | info (const typename L::value &id) const |
line_info< L > & | info (const typename L::value &id) |
const mln::util::array < line_info< L > > & | infos () const |
bool | is_valid () const |
const object_links< L > & | links () const |
L::value | nelements () const |
line_info< L > & | operator() (const line_id_t &id) |
const line_info< L > & | operator() (const line_id_t &id) const |
void | update_line_data_ (const mln::util::array< line_info< L > > &line_data) |
template<typename F > | |
void | update_tags (const mln::Function_v2b< F > &f, line::Tag tag) |
template<typename F > | |
void | update_types (const mln::Function_v2b< F > &f, line::Type type) |
line_set () | |
line_set (const object_groups< L > &groups) | |
line_set (const object_groups< L > &groups, const mln::util::array< line_info< L > > &line_data) | |
void | force_stats_update () |
const mln::util::array < scribo::line_info< L > > & | infos_ () const |
Lines container.
Line ids start from 1.
Definition at line 94 of file line_set.hh.
scribo::line_set< L >::line_set | ( | ) |
ConstructorsConstructor without argument.
scribo::line_set< L >::line_set | ( | const object_groups< L > & | groups | ) |
Constructor from object groups.
scribo::line_set< L >::line_set | ( | const object_groups< L > & | groups, |
const mln::util::array< line_info< L > > & | line_data | ||
) |
Constructor useful for delayed construction (loading from file).
const component_set<L>& scribo::line_set< L >::components | ( | ) | const |
Return the underlying component set.
component_set<L>& scribo::line_set< L >::components_ | ( | ) |
Return the underlying component set (non-const version).
void scribo::line_set< L >::compute_lines | ( | const object_groups< L > & | groups | ) |
Compute line stats and fill the underlying information.
line_set<L> scribo::line_set< L >::duplicate | ( | ) | const |
Create a copy of this line_set<L>
void scribo::line_set< L >::force_stats_update | ( | ) |
Massive line computation.
const object_groups<L>& scribo::line_set< L >::groups | ( | ) | const |
Return the underlying component group.
const line_info<L>& scribo::line_set< L >::info | ( | const typename L::value & | id | ) | const |
Return line information for a given line id id
.
line_info<L>& scribo::line_set< L >::info | ( | const typename L::value & | id | ) |
Return line information for a given line id id
.
const mln::util::array<line_info<L> >& scribo::line_set< L >::infos | ( | ) | const |
Return all the line information.
const mln::util::array<scribo::line_info<L> >& scribo::line_set< L >::infos_ | ( | ) | const |
Internal methods.
Return all the line infos.
bool scribo::line_set< L >::is_valid | ( | ) | const |
Return false if it is not initialized (built with the default constructor).
const object_links<L>& scribo::line_set< L >::links | ( | ) | const |
Return the underlying links.
L ::value scribo::line_set< L >::nelements | ( | ) | const |
Return the line count.
line_info<L>& scribo::line_set< L >::operator() | ( | const line_id_t & | id | ) |
Return line information for a given line id id
.
const line_info<L>& scribo::line_set< L >::operator() | ( | const line_id_t & | id | ) | const |
Return line information for a given line id id
.
void scribo::line_set< L >::update_tags | ( | const mln::Function_v2b< F > & | f, |
line::Tag | tag | ||
) |
Update tag of lines set to 'false' in f
with tag
.
void scribo::line_set< L >::update_types | ( | const mln::Function_v2b< F > & | f, |
line::Type | type | ||
) |
Update Type of lines set to 'false' in f
with tag
.