Alternaria
fit cylinders and ellipsoids to fungus
Printed_apical_structure Class Reference

An apical Alternaria structure element that was printed to a file. More...

#include <structure.h>

Inheritance diagram for Printed_apical_structure:
Collaboration diagram for Printed_apical_structure:

List of all members.

Public Member Functions

virtual ~Printed_apical_structure ()
 Deletes this Printed_apical_structure.
virtual Apical_structureconvert (Structure *parent) const =0 throw (jwscxx::base::Arg_error)
 Converts this Printed_apical_structure to an Apical_structure.
Apical_structurerecursively_convert (Structure *parent, std::list< class Printed_apical_structure * >::const_iterator apical_begin, std::list< class Printed_apical_structure * >::const_iterator apical_end, std::list< class Printed_lateral_structure * >::const_iterator lateral_begin, std::list< class Printed_lateral_structure * >::const_iterator lateral_end) const throw (jwscxx::base::Arg_error)
 Recursively converts this Printed_apical_structure and all its descendants to Structure.

Detailed Description

An apical Alternaria structure element that was printed to a file.

Contains ancestor and descendant IDs instead of pointers.

See also:
Apical_structure

Definition at line 1207 of file structure.h.


Constructor & Destructor Documentation

virtual Printed_apical_structure::~Printed_apical_structure ( ) [inline, virtual]

Deletes this Printed_apical_structure.

Definition at line 1212 of file structure.h.


Member Function Documentation

virtual Apical_structure* Printed_apical_structure::convert ( Structure parent) const throw (jwscxx::base::Arg_error) [pure virtual]

Converts this Printed_apical_structure to an Apical_structure.

Implements Printed_structure.

Implemented in Printed_apical_hypha, and Printed_spore.

Apical_structure * Printed_apical_structure::recursively_convert ( Structure parent,
std::list< class Printed_apical_structure * >::const_iterator  apical_begin,
std::list< class Printed_apical_structure * >::const_iterator  apical_end,
std::list< class Printed_lateral_structure * >::const_iterator  lateral_begin,
std::list< class Printed_lateral_structure * >::const_iterator  lateral_end 
) const throw (jwscxx::base::Arg_error) [virtual]

Recursively converts this Printed_apical_structure and all its descendants to Structure.

The descendants are created from the list specifed by the begin and end iterators.

Parameters:
parentParent Structure. Use 0 for root.
apical_beginIterator pointing to the first Printed_apical_structure used in converting.
apical_endIterator pointing to the last Printed_apical_structure used in converting.
lateral_beginIterator pointing to the first Printed_lateral_structure used in converting.
lateral_endIterator pointing to the last Printed_lateral_structure used in converting.
Returns:
An Apical_structure and all its descendants converted from this Printed_apical_structure and its descendants listed between the the iterators.
Exceptions:
jwscxx::base::Arg_errorThe list of Printed_structure are missing one or more of the descendants of this Printed_apical_structure to convert. Printed_apical_structure values are not in the density parameter ranges.

Implements Printed_structure.

Definition at line 3168 of file structure.cpp.


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