Esempio n. 1
0
        ///
        ///	 <summary> * Get the n'th separation name in the SeparationSpec elements
        ///	 *  </summary>
        ///	 * <param name="iSkip">
        ///	 *            the index of the SeparationSpec </param>
        ///	 * <returns> separation names, null if iSkip > nSeparations </returns>
        ///
        public virtual string getSeparation(int iSkip)
        {
            JDFSeparationSpec ss = getSeparationSpec(iSkip);

            if (ss == null)
            {
                return(null);
            }
            return(ss.getName());
        }
Esempio n. 2
0
        ///
        ///	 <summary> * Get a list of all separation names in the SeparationSpec elements
        ///	 *  </summary>
        ///	 * <returns> the vector of separation names </returns>
        ///
        public virtual VString getSeparations()
        {
            VString  vName = new VString();
            VElement v     = getChildElementVector(ElementName.SEPARATIONSPEC, null, null, false, 0, false);
            int      nSep  = v.Count;

            for (int i = 0; i < nSep; i++)
            {
                JDFSeparationSpec sep     = (JDFSeparationSpec)v[i];
                string            sepName = sep.getName();
                vName.appendUnique(sepName);
            }
            return(vName);
        }