public List <string> ChangeLogFilter(int idx) { m_CurrFilteredLog = m_FilteredLogList[idx]; if (m_CurrFilteredLog == null) { throw new System.Exception("m_CurrFilteredLog == null"); } return(m_CurrFilteredLog.m_LogList); }
public void Init(jxE eLogFilter) { m_FilteredLogList = new jFilteredLogNode[eLogFilter.size()]; foreach (jxE e in eLogFilter) { string sFilter = e.Attr("FILTER"); if (sFilter == null) { throw new System.Exception(e.ToString() + " : FILTER attribute not found."); } string[] strList = nNWM.jString.jSplit(sFilter, "| "); if (strList == null) { throw new System.Exception(e.ToString() + " : split filter is null : " + sFilter); } m_FilteredLogList[e.GetOrder()] = new jFilteredLogNode(strList); } m_CurrFilteredLog = m_FilteredLogList[0]; }