Using Workbench Command

Workbench Command is a set of command-line tools that can be used to perform simple and complex operations within Connectome Workbench.

Full Documentation:

Documentation Home
Create class header (.h) and implementation (.cxx) files.

Usage:  <class-name> 
        [-copy] 
        [-equal] 
        [-event-class <event-type-enum>]
        [-event-listener] 
        [-no-parent] 
        [-parent <parent-class-name>] 
        [-scene] 
        [-scene-sub-class] 


Options: 
    -copy
        Adds copy constructor and assignment operator
    
    -equal
        Adds equality operator.
    
    -event-class <event-type-enum>
        When creating an Event subclass, using this
        option will automatically set the parent
        class to Event and place the given event
        enumerated type value into the parameter
        for the Event class constructor.
        
        For the <event-type-enum> there is no need
        to prepend it with "EventTypeEnum::".
        
    -event-listener 
        Implement the EventListenerInterface so
        that the class may listen for events.
        
    -no-parent
        Created class is not derived from any other
        class.  By default, the parent class is
        CaretObject.
    
    -parent <parent-class-name>
        Specify the parent (derived from) class.
        By default, the parent class is CaretObject.
    
    -scene
        Implement the SceneableInterface so that 
        instances of the class can be restored from 
        and saved to scenes. 
    
    -scene-sub-class
        Adds methods that can be called by the super- 
        class so that this sub-class can save and 
        restore data to and from scenes.  
        
        This option should only be used when creating
        a class whose super class implements the 
        SceneableInterface