示例#1
0
        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);
        }
示例#2
0
 public void Initialise(MHParseNode p, MHEngine engine)
 {
     if (p.NodeType == MHParseNode.PNString)
     {
         p.GetStringValue(m_DirFont);
     }
     else
     {
         m_IndirFont.Initialise(p, engine);
     }
 }
示例#3
0
 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);
     }
 }