Example #1
0
 public override void visit(IParameterExporter exporter)
 {
     exporter.beginParameter(Name, getTypeName(), getDefaultValues());
     exporter.endParameter();
 }
Example #2
0
 public override void visit(IParameterExporter exporter)
 {
     exporter.beginNonPrimitiveParameter(Name, getTypeName());
     m_parameter.visit(exporter);
     //foreach (Parameter p in m_parameters) // should be only 1 parameter!
     //{
     //    p.visit(exporter);
     //}
     exporter.endNonPrimitiveParameter();
 }
Example #3
0
 public abstract void visit(IParameterExporter exporter);
Example #4
0
 public override void visit(IParameterExporter exporter)
 {
     exporter.beginParameter(Name, getTypeName(), m_defaultId.ToString());
     exporter.endParameter();
 }
Example #5
0
 public override void visit(IParameterExporter exporter)
 {
     exporter.beginNonPrimitiveParameter(Name,getTypeName());
     foreach (Parameter p in m_parameters.Values)
     {
         p.visit(exporter);
     }
     exporter.endNonPrimitiveParameter();
 }
Example #6
0
 public void exportComponents(IParameterExporter pe)
 {
     pe.begin();
     foreach (String name in m_registeredTypes.Keys)
     {
         // remove namespace from type
         int index = name.LastIndexOf('.');
         String shortName = name.Substring(index+1);
         pe.beginElement(shortName, name);
         ParameterSequence ps = m_registeredSequences[m_registeredTypes[name]];
         foreach (Parameter.Parameter p in ps.Root.Parameters.Values)
         {
             p.visit(pe);
         }
         pe.endElement();
     }
     pe.end();
 }