public DefaultColumnDef(string sNameIn, AzLogEntry.LogColumn lcIn, int nWidthDefaultIn, bool fVisibleDefIn = true) { sName = sNameIn; lc = lcIn; nWidthDefault = nWidthDefaultIn; fVisibleDefault = fVisibleDefIn; }
public AzLogViewColumn(string sName, string sTitle, int nWidth, AzLogEntry.LogColumn azlvc, bool fVisible) { m_sName = sName; m_nWidth = nWidth; m_azlvc = azlvc; m_fVisible = fVisible; m_sTitle = sTitle; }
public void AddLogViewColumn(string sName, string sTitle, int nWidth, AzLogEntry.LogColumn azlc, bool fVisible) { AddColumn(new AzLogViewColumn(sName, sTitle, nWidth, azlc, fVisible)); m_fDirty = true; }
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; }
/* A Z L O G F I L T E R V A L U E */ /*---------------------------------------------------------------------------- %%Function: AzLogFilterValue %%Qualified: AzLog.AzLogFilter.AzLogFilterValue.AzLogFilterValue %%Contact: rlittle Create a value that is backed by the data source ----------------------------------------------------------------------------*/ public AzLogFilterValue(ValueType vt, DataSource ds, AzLogEntry.LogColumn lc) { m_vt = vt; m_ds = ds; m_lc = lc; }
/* _ 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; }
/* 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); }