(ddd-themes.info)Displaying Structs


Next: Displaying Lists Prev: Displaying Arrays Up: DDD VSL Functions
Enter node , (file) or (file)node

A.9 Displaying Structs
======================

A struct is a set of (NAME, VALUE) pairs, and is also called "record"
or "object".  DDD uses these functions to display structs.

 -- Global VSL Function: struct_value (members...)
     Returns a box for a struct containing MEMBERS.

 -- Global VSL Function: collapsed_struct_value ()
     Returns a box for a collapsed struct.

 -- Global VSL Function: empty_struct_value ()
     Returns a box for an empty struct.

 -- Global VSL Function: struct_member_name (name)
     Returns a box for a member name.

 -- Global VSL Function: struct_member (name, sep, value, name_width)
     Returns a box for a struct member.  NAME is the member name,
     typeset with `struct_member_name()', SEP is the separator (as
     determined by the current programming language), VALUE is the
     typeset member value, and NAME_WIDTH is the maximum width of all
     member names.

 -- Global VSL Function: horizontal_unnamed_struct ()
 -- Global VSL Function: vertical_unnamed_struct ()
     Returns a box for a horizontal / vertical unnamed struct, where
     member names are suppressed.

 -- Global VSL Function: struct_member (value)
     Returns a box for a struct member in a struct where member names
     are suppressed.


automatically generated by info2www version 1.2.2.9