Creating the Prototype

The following two commands create a prototype object and set the object's properties. The argument to the TV::prototype create command indicates if you are defining an array or struct prototype. The TV::prototype set command initializes the object's properties.

set proto_id [TV::prototype create Struct]
    
TV::prototype set $proto_id \
    name    {^(class|struct) _List_node *<.*>$}     \
    language    C++     \
    validate_callback    list_validate     \
    type_callback    list_type
 
 
 
 
support@etnus.com
Copyright © 2001, Etnus, LLC. All rights reserved.
Version 5.0