Ejemplo n.º 1
0
        /**
         * Gets the type object from its string value.  Used when parsing strings
         *
         * @param v the function name
         * @param ws the workbook settings
         * @return the function
         */
        public static Function getFunction(string v, WorkbookSettings ws)
        {
            FunctionNames fn = ws.getFunctionNames();
            Function      f  = fn.getFunction(v);

            return(f != null ? f : UNKNOWN);
        }
Ejemplo n.º 2
0
 /**
  * Gets the function name
  * @param ws the workbook settings
  * @return the function name
  */
 public string getName(WorkbookSettings ws)
 {
     FunctionNames fn = ws.getFunctionNames();
     return fn.getName(this);
 }
Ejemplo n.º 3
0
 /**
  * Gets the type object from its string value.  Used when parsing strings
  *
  * @param v the function name
  * @param ws the workbook settings
  * @return the function
  */
 public static Function getFunction(string v,WorkbookSettings ws)
 {
     FunctionNames fn = ws.getFunctionNames();
     Function f = fn.getFunction(v);
     return f != null ? f : UNKNOWN;
 }
Ejemplo n.º 4
0
        /**
         * Gets the function name
         * @param ws the workbook settings
         * @return the function name
         */
        public string getName(WorkbookSettings ws)
        {
            FunctionNames fn = ws.getFunctionNames();

            return(fn.getName(this));
        }