Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

Note that getting information from actors requires recompilation of the actor. Getting information regarding Code Parameters is a new feature in FC2K and will not work for old actors (e.g. imported into Kepler using import_actor).

Code Block
> workflow-editor -actorxsd -actor nocpoparam -workflow workflow.xml
<?xml version="1.0" encoding="utf-8"?>
<!-- RFOF code parameters XML schema -->
<xs:schema
  xmlns:xs="http://www.w3.org/2001/XMLSchema"
  elementFormDefault="qualified">
   <xs:simpleType name="FloatList">
      <xs:list itemType="xs:float"/>
   </xs:simpleType>
   <xs:simpleType name="IntegerList">
      <xs:list itemType="xs:integer"/>
   </xs:simpleType>
   <xs:simpleType name="BooleanList">
      <xs:list itemType="xs:boolean"/>
   </xs:simpleType>

  <xs:element name="parameters">
    <xs:complexType>
      <xs:all>
	<xs:element ref="r"/>
	<xs:element ref="i"/>
	<xs:element ref="boolean"/>
	<xs:element ref="realVec"/>
	<xs:element ref="intVec"/>
	<xs:element ref="booleanVec"/>
      </xs:all>
    </xs:complexType>
  </xs:element>
  <xs:element name="r" type="xs:float">
    <xs:annotation>
      <xs:documentation>A real value</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="i" type="xs:integer">
    <xs:annotation>
      <xs:documentation>An integer number</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="boolean" type="xs:boolean">
    <xs:annotation>
      <xs:documentation>An integer number</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="realVec" type="FloatList">
    <xs:annotation>
      <xs:documentation>A real valued vector</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="intVec" type="IntList">
    <xs:annotation>
      <xs:documentation>An integer valued vector</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="booleanVec" type="BooleanList">
    <xs:annotation>
      <xs:documentation>An boolean valued vector</xs:documentation>
    </xs:annotation>
  </xs:element>

</xs:schema>

Note that you need to pass workflow as well. This is related to the fact that you can have multiple actors (inside workflow) that are actually pointing to the very same actor's code inside Kepler.