示例#1
0
            public object OGetValue(AzLogFilterValue.ValueType vt, AzLogFilterValue.DataSource ds, AzLogEntry.LogColumn lc)
            {
                switch (ds)
                {
                case AzLogFilterValue.DataSource.Column:
                    return(m_mpColumnValue[lc]);

                case AzLogFilterValue.DataSource.DttmStart:
                    return(m_dttmStart);

                case AzLogFilterValue.DataSource.DttmEnd:
                    return(m_dttmEnd);

                case AzLogFilterValue.DataSource.DttmRow:
                    return(m_dttmRow);
                }
                return(null);
            }
示例#2
0
            /* A Z  L O G  F I L T E R  C O N D I T I O N */

            /*----------------------------------------------------------------------------
            *   %%Function: AzLogFilterCondition
            *   %%Qualified: AzLog.AzLogFilter.AzLogFilterCondition.AzLogFilterCondition
            *   %%Contact: rlittle
            *
            *  ----------------------------------------------------------------------------*/
            public AzLogFilterCondition(AzLogFilterValue.ValueType vt, AzLogFilterValue.DataSource dsLeft, AzLogEntry.LogColumn lc, CmpOp cmpop, DateTime dttmValueRight)
            {
                _Init(vt, dsLeft, lc, cmpop, dttmValueRight);
            }
示例#3
0
            /* _  I N I T */

            /*----------------------------------------------------------------------------
            *   %%Function: _Init
            *   %%Qualified: AzLog.AzLogFilter.AzLogFilterCondition._Init
            *   %%Contact: rlittle
            *
            *  ----------------------------------------------------------------------------*/
            private void _Init(AzLogFilterValue.ValueType vt, AzLogFilterValue.DataSource dsLeft, AzLogEntry.LogColumn lc, CmpOp cmpop, DateTime dttmValueRight)
            {
                m_azlfvLHS = new AzLogFilterValue(vt, dsLeft, lc);
                m_azlfvRHS = new AzLogFilterValue(dttmValueRight);
                m_cmpop    = cmpop;
            }