ReadGroup

Synopsis

Reads objects from Binary V files


module ReadGroup <src_file = "rd_group.cxx",
                  cxx_members = <"
    protected:
    char*
    ReadString (FILE *fp);
    int
    DeserializeGroup (OMobj_id groupId,
                      FILE *fp);
    int
    Deserialize (OMobj_id groupId,
                 FILE *fp);
  "> > {
  group &group <NEportLevels = {2,0}>;
  string filename <NEportLevels = {2,0}>;
  prim trigger <NEportLevels = {2,0}>;
  cxxmethod+req Read ( .trigger+req+notify,
	               .filename+req+read,
		       .group+req+write );
};

Description

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

Inputs

&group

Input/Output group object, into which read objects are placed.

filename

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

trigger

Trigger the reading of the file.

Outputs

&group

Input/Output group object, into which read objects are placed.

Utility Macros

n/a

Example

n/a

Files

iac_proj/rd_group/rdgpmods.v contains the ReadGroup module V definition.

Other Notes

The low-level ReadGroupMods library containing the module ReadGroup 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

WriteGroup