public virtual void Initialise(MHParseNode p, MHEngine engine) { // The first argument should be present. MHParseNode arg = p.GetArgN(0); // Extract the field. m_ObjectIdentifier.Initialise(arg, engine); }
public void Initialise(MHParseNode p, MHEngine engine) { if (p.NodeType == MHParseNode.PNString) { p.GetStringValue(m_DirFont); } else { m_IndirFont.Initialise(p, engine); } }
public void Initialise(MHParseNode arg, MHEngine engine) { if (arg.NodeType == MHParseNode.PNTagged && arg.GetTagNo() == ASN1Codes.C_INDIRECTREFERENCE) { // Indirect reference. m_fIsDirect = false; m_Indirect.Initialise(arg.GetArgN(0), engine); } else { // Simple integer value. m_fIsDirect = true; m_ObjRef.Initialise(arg, engine); } }