Inspector_Read
A reader parses textual representations of SAL objects and sets
their state accordingly.
Implementations:
- Inspector_In_File
Reads from a C file.
Constructor args: file pointer.
- Inspector_In_String
Reads from a C string.
Constructor args: string.
Secondary operations:
- >> *
C++ stream-style wrapper for inspect method for
*. - read_* : Inspector_Read . Metric_Space . bool
. *_Geom . *_CComplex -> void
Reads a list of objects of the
appropriate type, creating and initializing instances of the given
prototypes (default implementations assumed), and storing the geoms in
the metric space. For complexes other than points, each object is
specified as a set of references to previously read substructure. For
example, the ngon reader reads a list of points, then a list of
segments referencing those points (e.g. "0 1" means a segment
connecting point number 0 with point number 1), and then the ngon as a
list of references to those segments (e.g. "0 1 2" means segments
number 0, 1, and 2). The flag indicates whether objects should be
grouped by dimension (all the points, then all the segments, then all
the ngons), or individually by object (all the points and segments for
one ngon, then all the points and segments for the next, etc.).
- read_point_point_field: Inspector_Read . Field -> void
Reads coordinates for the point geoms and features in the field.
- read_point_features: Inspector_Read . Field -> void
Reads coordinates for the features of the points already built in the field.