Alternaria
fit cylinders and ellipsoids to fungus
Printed_lateral_structure Class Reference

A lateral Alternaria structure element that was printed to a file. More...

#include <structure.h>

Inheritance diagram for Printed_lateral_structure:
Collaboration diagram for Printed_lateral_structure:

List of all members.

Public Member Functions

virtual ~Printed_lateral_structure ()
 Deletes this Printed_lateral_structure.
virtual Lateral_structureconvert (Structure *parent) const =0 throw (jwscxx::base::Arg_error)
 Converts this Printed_lateral_structure to a Lateral_structure.
Lateral_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_lateral_structure and all its descendants to Structure.

Protected Member Functions

void read_lat_dist (std::istream &in) throw (jwscxx::base::IO_error, jwscxx::base::Arg_error)
 Reads the lateral distance.

Protected Attributes

float lat_dist
 See Lateral_structure::lat_dist.

Detailed Description

A lateral Alternaria structure element that was printed to a file.

Contains ancestor and descendant IDs instead of pointers.

See also:
Lateral_structure

Definition at line 1491 of file structure.h.


Constructor & Destructor Documentation

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

Deletes this Printed_lateral_structure.

Definition at line 1496 of file structure.h.


Member Function Documentation

virtual Lateral_structure* Printed_lateral_structure::convert ( Structure parent) const throw (jwscxx::base::Arg_error) [pure virtual]
Lateral_structure * Printed_lateral_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_lateral_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 Lateral_structure and all its descendants converted from this Printed_lateral_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_lateral_structure to convert. Printed_lateral_structure values are not in the density parameter ranges.

Implements Printed_structure.

Definition at line 3765 of file structure.cpp.

void Printed_lateral_structure::read_lat_dist ( std::istream &  in) throw (jwscxx::base::IO_error, jwscxx::base::Arg_error) [protected]

Reads the lateral distance.

Parameters:
inInput stream to read from.
Exceptions:
jwscxx::base::Arg_errorA member is not properly formatted or missing a value.
jwscxx::base::IO_errorCould not read a line from the input stream.

Definition at line 3722 of file structure.cpp.


Member Data Documentation

See Lateral_structure::lat_dist.

Definition at line 1535 of file structure.h.


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