Syntax Checker Tool

SEDRIS SDK Release 4.1.0

July 26, 2006

  1. Synopsis
  2. Description
  3. Options
  4. Examples
  5. Sample Run
  6. Environment
  7. See Also

SYNOPSIS

syntax_checker [ options ] transmittal

DESCRIPTION

syntax_checker verifies the syntactical correctness of a given SEDRIS transmittal, and prints error messages for any problems that it finds. For each object in a transmittal, this tool verifies that all associations and aggregations involving that object are correct. The DRM defines the aggregation and association rules. Data providers use this tool to create syntactically correct transmittals. Data consumers may find syntax_checker useful to verify that a transmittal is syntactically correct before transmittal consumption.

Please read Checker Tools Users Guide for additional information on this tool.

OPTIONS

-u update_rate

Specify optional file of configuration information; if "-" appears with no file name specified, read the configuration information from stdin.

-f output_file_name

Specifies the update rate for the display of current object count. The default update rate is 500.

EXAMPLES

syntax_checker transmittals/test.stf

Verifies the transmittal "test.stf".

SAMPLE RUN

The following command (initiated in the "transmittals" directory):

syntax_checker test.stf
produces the following output:
Update rate set to every 500 objects processed
Opened SEDRIS Transmittal test.stf.
Testing.  Please wait...
 Done.

Total object count = 114

        1	Absolute Time Interval
        3	Absolute Time Point
        1	Access
        4	Ambient Colour
        1	Citation
        1	Data Quality
        1	Description
        4	Diffuse Colour
        1	Environment Root
        1	Geometry Model
        1	Geometry Model Instance
        4	Inline Colour
        1	Keywords
       29	LSR Location 3D
        1	Model
        1	Model Library
        1	Point Of Contact
        4	Polygon
        4	Presentation Domain
        4	Primitive Colour
        1	Process
        8	RGB Colour
        1	Spatial Domain
        1	Transmittal Root
        4	Translucency
        1	Transmittal Summary
        1	Union Of Geometry Hierarchy
        2	Union Of Primitive Geometry
       27	Vertex
Total object count = 114

Total error count = 0

ENVIRONMENT

See the SEDRIS SDK Runtime Environment variables.

SEE ALSO

rules_checker, depth, model_viewer, Tools And Utilities document

Copyright © 2006 SEDRIS