Class VelocimacroProxy

  • All Implemented Interfaces:
    java.lang.Cloneable

    public class VelocimacroProxy
    extends Directive
    VelocimacroProxy.java a proxy Directive-derived object to fit with the current directive system
    Version:
    $Id: VelocimacroProxy.java 898032 2010-01-11 19:51:03Z nbubna $
    Author:
    Geir Magnusson Jr.
    • Constructor Detail

      • VelocimacroProxy

        public VelocimacroProxy()
    • Method Detail

      • getName

        public java.lang.String getName()
        Return name of this Velocimacro.
        Specified by:
        getName in class Directive
        Returns:
        The name of this Velocimacro.
      • getType

        public int getType()
        Velocimacros are always LINE type directives.
        Specified by:
        getType in class Directive
        Returns:
        The type of this directive.
      • setName

        public void setName​(java.lang.String name)
        sets the directive name of this VM
        Parameters:
        name -
      • setArgArray

        public void setArgArray​(java.lang.String[] arr)
        sets the array of arguments specified in the macro definition
        Parameters:
        arr -
      • getNumArgs

        public int getNumArgs()
        returns the number of ars needed for this VM
        Returns:
        The number of ars needed for this VM