WriteGroup

Synopsis

Writes objects to Binary V files


module WriteGroup <src_file = "wr_group.cxx",
                   cxx_members = <"
    protected:
      int
      WriteString (const char *string,
                   FILE *fp);
      int
      SerializeGroup (OMobj_id groupId,
                      OMobj_id templateId,
                      FILE *fp);
      int
      Serialize (OMobj_id objId,
                 OMobj_id templateId,
                 FILE *fp);
  "> > {
  group &group <NEportLevels = {2,0}>;
  string filename <NEportLevels = {2,0}>;
  prim trigger <NEportLevels = {2,0}>;
  cxxmethod+req Write( .trigger+req+notify,
		       .filename+req+read,
		       .group+req+read );
};

Description

Very nice routine to write objects to a file in binary V (.vo) format from a group structure.

Inputs

&group

Input group object which is written to file.

filename

Filename of the binary V (.vo) file to write.

trigger

Trigger the writing of the file.

Utility Macros

n/a

Example

n/a

Files

iac_proj/wr_group/wrgpmods.v contains the WriteGroup module V definition.

Other Notes

The low-level WriteGroupMods library containing the module WriteGroup does not specify a process. By default the express process will be used.

Authors

Brian Selle, Leon Thrane, Advanced Visual Systems Inc.

Modifications

Paul G. Lever

Contact

International AVS Centre
Manchester Visualization Centre
Manchester Computing
University of Manchester
Oxford Road
Manchester
United Kingdom
M13 9PL

See Also

ReadGroup