SCSCP/Client/ExtractAllowedHeads - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : SCSCP/Client/ExtractAllowedHeads

SCSCP[Client]

  

ExtractAllowedHeads

  

Examine all OpenMath symbols that can be heads

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

ExtractAllowedHeads(response)

Parameters

response

-

string; Raw reply from server in SCSCP format.

Description

• 

The ExtractAllowedHeads command returns a description of OpenMath symbols that are accepted as heads from the server's raw reply.  The users can get the raw reply by specifying output = xml when the initial request is made.

• 

NULL is returned if the reply from the server contains an error or is not a "procedure completed" message.

• 

Note that this command is intended for advanced users of the package who wish to examine the reply in SCSCP format.  Normal users do not need this command.

Examples

withSCSCP:

withClient:

resultGetAllowedHeadsmyfavorite.scscpserver.com,output=xml:

XMLToolsPrintXMLToolsParseStringresult

  <OMOBJ>
     
    <OMATTR>
       
      <OMATP>
         
        <OMS cd = 'scscp1' name = 'call_id'/>
         
        <OMSTR>Hfq6mjRpov2011-01-2711:11:15</OMSTR>
         
        <OMS cd = 'scscp1' name = 'info_memory'/>
         
        <OMI>124248</OMI>
         
        <OMS cd = 'scscp1' name = 'info_runtime'/>
         
        <OMI>0</OMI>
         
      </OMATP>
       
      <OMA>
         
        <OMS cd = 'scscp1' name = 'procedure_completed'/>
         
        <OMA>
           
          <OMS cd = 'scscp2' name = 'symbol_set'/>
           
          <OMS cd = 'scscp_transient_maple' name = 'GeneralMapleService'/>
           
          <OMS cd = 'scscp_transient_maple' name = 'IntegerFactorization'/>
           
        </OMA>
         
      </OMA>
       
    </OMATTR>
     
  </OMOBJ>

ExtractAllowedHeadsresult

scscp_transient_maple&comma;GeneralMapleService&comma;scscp_transient_maple&comma;IntegerFactorization

(1)

See Also

SCSCP

SCSCP[Client]

SCSCP[Client][GetAllowedHeads]