afl::BoundaryFactory Class Reference

#include <boundaryfactory.h>

List of all members.

Static Public Member Functions

static Boundaryboundary (XMLNode *boundary, size_t dims, const std::string &dirpath, const Field *field)
static BoundarygetBoundaryRoot (size_t d, const Field *field)


Detailed Description

creates a boundary objects


Member Function Documentation

static Boundary* afl::BoundaryFactory::boundary XMLNode boundary,
size_t  dims,
const std::string &  dirpath,
const Field field
[static]
 

create a boundary object from XML

Parameters:
boundary an XML node of the type: <numeric|analytic> ... </numeric|analytic> where the ... represents the interpolation object itself
dims the number of dimensions in the field
dirpath the direcotry where fields can be found.
field the field this boundary bounds
Returns:
the boundary
Exceptions:
ddf::ParseException if the boundary is not correct or if the XML is malformed.

static Boundary* afl::BoundaryFactory::getBoundaryRoot size_t  d,
const Field field
[static]
 

creates the root of a boundary tree

Parameters:
d the dimension of the tree
field the field this boundary bounds
Returns:
an empty boundary tree


The documentation for this class was generated from the following file:
Generated on Fri Dec 22 07:17:51 2006 for afl by  doxygen 1.4.6