generated-driver.cpp

Go to the documentation of this file.
00001 // Not copyrighted - public domain.
00002 //
00003 // This sample parser implementation was generated by CodeSynthesis XSD,
00004 // an XML Schema to C++ data binding compiler. You may use it in your
00005 // programs without any restrictions.
00006 //
00007 
00008 #include "parser/implementation/NeuroML_Level3_v1.7.1-pimpl.hpp"
00009 
00010 #include <iostream>
00011 
00012 int
00013 main (int argc, char* argv[])
00014 {
00015   if (argc != 2)
00016   {
00017     std::cerr << "usage: " << argv[0] << " file.xml" << std::endl;
00018     return 1;
00019   }
00020 
00021   try
00022   {
00023     // Instantiate individual parsers.
00024     //
00025     ::neuroml::schema::NeuroMLLevel3_pimpl NeuroMLLevel3_p;
00026     ::metadata::schema::Notes_pimpl Notes_p;
00027     ::metadata::schema::Properties_pimpl Properties_p;
00028     ::metadata::schema::Property_pimpl Property_p;
00029     ::xml_schema::string_pimpl string_p;
00030     ::metadata::schema::Annotation_pimpl Annotation_p;
00031     ::metadata::schema::Group_pimpl Group_p;
00032     ::metadata::schema::Authors_pimpl Authors_p;
00033     ::metadata::schema::Person_pimpl Person_p;
00034     ::metadata::schema::Publication_pimpl Publication_p;
00035     ::metadata::schema::NeuronDBReference_pimpl NeuronDBReference_p;
00036     ::metadata::schema::ModelDBReference_pimpl ModelDBReference_p;
00037     ::neuroml::schema::Level3Cells_pimpl Level3Cells_p;
00038     ::neuroml::schema::Level3Cell_pimpl Level3Cell_p;
00039     ::morphml::schema::cellBody_pimpl cellBody_p;
00040     ::metadata::schema::Polygon_pimpl Polygon_p;
00041     ::metadata::schema::Point_pimpl Point_p;
00042     ::xml_schema::double_pimpl double_p;
00043     ::metadata::schema::Polyhedron_pimpl Polyhedron_p;
00044     ::metadata::schema::polygons_pimpl polygons_p;
00045     ::metadata::schema::Sphere_pimpl Sphere_p;
00046     ::morphml::schema::segments_pimpl segments_p;
00047     ::morphml::schema::Segment_pimpl Segment_p;
00048     ::metadata::schema::SegmentIdInCell_pimpl SegmentIdInCell_p;
00049     ::xml_schema::non_negative_integer_pimpl non_negative_integer_p;
00050     ::morphml::schema::FreePoints_pimpl FreePoints_p;
00051     ::morphml::schema::spines_pimpl spines_p;
00052     ::morphml::schema::Spine_pimpl Spine_p;
00053     ::morphml::schema::SpineShape_pimpl SpineShape_p;
00054     ::morphml::schema::cables_pimpl cables_p;
00055     ::morphml::schema::Cable_pimpl Cable_p;
00056     ::metadata::schema::ZeroToOne_pimpl ZeroToOne_p;
00057     ::morphml::schema::CableGroup_pimpl CableGroup_p;
00058     ::morphml::schema::cable_pimpl cable_p;
00059     ::morphml::schema::InhomogeneousParam_pimpl InhomogeneousParam_p;
00060     ::morphml::schema::metric_pimpl metric_p;
00061     ::morphml::schema::proximal_pimpl proximal_p;
00062     ::morphml::schema::distal_pimpl distal_p;
00063     ::neuroml::schema::Level3Biophysics_pimpl Level3Biophysics_p;
00064     ::biophysics::schema::Mechanism_pimpl Mechanism_p;
00065     ::biophysics::schema::NamedParameter_pimpl NamedParameter_p;
00066     ::biophysics::schema::VariableNamedParameter_pimpl VariableNamedParameter_p;
00067     ::biophysics::schema::InhomogeneousValue_pimpl InhomogeneousValue_p;
00068     ::biophysics::schema::MechanismType_pimpl MechanismType_p;
00069     ::xml_schema::boolean_pimpl boolean_p;
00070     ::biophysics::schema::SpecCapacitance_pimpl SpecCapacitance_p;
00071     ::biophysics::schema::UnnamedParameter_pimpl UnnamedParameter_p;
00072     ::biophysics::schema::VariableParameter_pimpl VariableParameter_p;
00073     ::biophysics::schema::SpecAxialResistance_pimpl SpecAxialResistance_p;
00074     ::biophysics::schema::InitialMembPotential_pimpl InitialMembPotential_p;
00075     ::biophysics::schema::IonProperties_pimpl IonProperties_p;
00076     ::metadata::schema::Units_pimpl Units_p;
00077     ::networkml::schema::PotentialSynapticLocation_pimpl PotentialSynapticLocation_p;
00078     ::networkml::schema::SynapseDirection_pimpl SynapseDirection_p;
00079     ::networkml::schema::Level3Connectivity_pimpl Level3Connectivity_p;
00080     ::networkml::schema::PotentialSynLoc_pimpl PotentialSynLoc_p;
00081     ::channelml::schema::ChannelML_pimpl ChannelML_p;
00082     ::channelml::schema::Ion_pimpl Ion_p;
00083     ::biophysics::schema::VoltageValue_pimpl VoltageValue_p;
00084     ::xml_schema::positive_integer_pimpl positive_integer_p;
00085     ::channelml::schema::IonRole_pimpl IonRole_p;
00086     ::channelml::schema::ChannelType_pimpl ChannelType_p;
00087     ::metadata::schema::Status_pimpl Status_p;
00088     ::metadata::schema::StatusValue_pimpl StatusValue_p;
00089     ::channelml::schema::CurrentVoltageRelation_pimpl CurrentVoltageRelation_p;
00090     ::channelml::schema::Ohmic_pimpl Ohmic_p;
00091     ::channelml::schema::conductance_pimpl conductance_p;
00092     ::channelml::schema::RateAdjustments_pimpl RateAdjustments_p;
00093     ::channelml::schema::q10_settings_pimpl q10_settings_p;
00094     ::biophysics::schema::TemperatureValue_pimpl TemperatureValue_p;
00095     ::channelml::schema::offset_pimpl offset_p;
00096     ::channelml::schema::Gate_pimpl Gate_p;
00097     ::channelml::schema::state_pimpl state_p;
00098     ::biophysics::schema::ConductanceDensityValue_pimpl ConductanceDensityValue_p;
00099     ::channelml::schema::IntegrateAndFire_pimpl IntegrateAndFire_p;
00100     ::biophysics::schema::TimeValue_pimpl TimeValue_p;
00101     ::biophysics::schema::ConductanceValue_pimpl ConductanceValue_p;
00102     ::channelml::schema::HHGate_pimpl HHGate_p;
00103     ::channelml::schema::Transition_pimpl Transition_p;
00104     ::channelml::schema::VoltageGate_pimpl VoltageGate_p;
00105     ::channelml::schema::RateConstantEqnChoice_pimpl RateConstantEqnChoice_p;
00106     ::channelml::schema::AkdEquation_pimpl AkdEquation_p;
00107     ::channelml::schema::Parameter_pimpl Parameter_p;
00108     ::channelml::schema::GenericEquation_pimpl GenericEquation_p;
00109     ::channelml::schema::VoltageConcGate_pimpl VoltageConcGate_p;
00110     ::channelml::schema::ConcDependence_pimpl ConcDependence_p;
00111     ::biophysics::schema::ConcentrationValue_pimpl ConcentrationValue_p;
00112     ::channelml::schema::RateConstVoltConcDep_pimpl RateConstVoltConcDep_p;
00113     ::channelml::schema::KSGate_pimpl KSGate_p;
00114     ::channelml::schema::KSState_pimpl KSState_p;
00115     ::channelml::schema::ImplementationPrefs_pimpl ImplementationPrefs_p;
00116     ::channelml::schema::table_settings_pimpl table_settings_p;
00117     ::metadata::schema::YesNo_pimpl YesNo_p;
00118     ::channelml::schema::SynapseType_pimpl SynapseType_p;
00119     ::channelml::schema::ElectricalSynapse_pimpl ElectricalSynapse_p;
00120     ::channelml::schema::DoubleExponentialSynapse_pimpl DoubleExponentialSynapse_p;
00121     ::biophysics::schema::TimeConstantValueIncZero_pimpl TimeConstantValueIncZero_p;
00122     ::biophysics::schema::TimeConstantValue_pimpl TimeConstantValue_p;
00123     ::channelml::schema::BlockingSynapse_pimpl BlockingSynapse_p;
00124     ::channelml::schema::Block_pimpl Block_p;
00125     ::channelml::schema::MultiDecaySynapse_pimpl MultiDecaySynapse_p;
00126     ::channelml::schema::FacDepSynapse_pimpl FacDepSynapse_p;
00127     ::channelml::schema::FacDep_pimpl FacDep_p;
00128     ::channelml::schema::IonConcentration_pimpl IonConcentration_p;
00129     ::channelml::schema::IonSpecies_pimpl IonSpecies_p;
00130     ::channelml::schema::DecayingPoolModel_pimpl DecayingPoolModel_p;
00131     ::biophysics::schema::InvTimeConstantValue_pimpl InvTimeConstantValue_p;
00132     ::channelml::schema::PoolVolumeInfo_pimpl PoolVolumeInfo_p;
00133     ::biophysics::schema::LengthValue_pimpl LengthValue_p;
00134     ::channelml::schema::FixedPoolInfo_pimpl FixedPoolInfo_p;
00135     ::networkml::schema::Populations_pimpl Populations_p;
00136     ::networkml::schema::Population_pimpl Population_p;
00137     ::networkml::schema::Instances_pimpl Instances_p;
00138     ::networkml::schema::CellInstance_pimpl CellInstance_p;
00139     ::metadata::schema::Point3D_pimpl Point3D_p;
00140     ::networkml::schema::PopulationLocation_pimpl PopulationLocation_p;
00141     ::networkml::schema::RandomArrangement_pimpl RandomArrangement_p;
00142     ::metadata::schema::RectangularBox_pimpl RectangularBox_p;
00143     ::metadata::schema::size_pimpl size_p;
00144     ::networkml::schema::GridArrangement_pimpl GridArrangement_p;
00145     ::networkml::schema::spacing_pimpl spacing_p;
00146     ::metadata::schema::NonSpatialGrid_pimpl NonSpatialGrid_p;
00147     ::networkml::schema::Projections_pimpl Projections_p;
00148     ::networkml::schema::Projection_pimpl Projection_p;
00149     ::networkml::schema::GlobalSynapticProperties_pimpl GlobalSynapticProperties_p;
00150     ::biophysics::schema::SynapticDelayValue_pimpl SynapticDelayValue_p;
00151     ::metadata::schema::NonNegativeDouble_pimpl NonNegativeDouble_p;
00152     ::networkml::schema::SynapseInternalProperties_pimpl SynapseInternalProperties_p;
00153     ::networkml::schema::Connections_pimpl Connections_p;
00154     ::networkml::schema::Connection_pimpl Connection_p;
00155     ::networkml::schema::SynapticLocation_pimpl SynapticLocation_p;
00156     ::xml_schema::integer_pimpl integer_p;
00157     ::networkml::schema::LocalSynapticProperties_pimpl LocalSynapticProperties_p;
00158     ::networkml::schema::ConnectivityPattern_pimpl ConnectivityPattern_p;
00159     ::networkml::schema::all_to_all_pimpl all_to_all_p;
00160     ::networkml::schema::fixed_probability_pimpl fixed_probability_p;
00161     ::networkml::schema::PerCellConnection_pimpl PerCellConnection_p;
00162     ::networkml::schema::direction_pimpl direction_p;
00163     ::metadata::schema::PositiveDouble_pimpl PositiveDouble_p;
00164     ::networkml::schema::Inputs_pimpl Inputs_p;
00165     ::networkml::schema::Input_pimpl Input_p;
00166     ::networkml::schema::PulseInput_pimpl PulseInput_p;
00167     ::biophysics::schema::CurrentValue_pimpl CurrentValue_p;
00168     ::networkml::schema::RandomStim_pimpl RandomStim_p;
00169     ::biophysics::schema::FrequencyValue_pimpl FrequencyValue_p;
00170     ::networkml::schema::InputTarget_pimpl InputTarget_p;
00171     ::networkml::schema::InputSites_pimpl InputSites_p;
00172     ::networkml::schema::InputSite_pimpl InputSite_p;
00173     ::networkml::schema::CellIdInNetwork_pimpl CellIdInNetwork_p;
00174     ::networkml::schema::InputSitePattern_pimpl InputSitePattern_p;
00175     ::networkml::schema::all_cells_pimpl all_cells_p;
00176     ::networkml::schema::percentage_cells_pimpl percentage_cells_p;
00177     ::metadata::schema::Percentage_pimpl Percentage_p;
00178     ::metadata::schema::LengthUnits_pimpl LengthUnits_p;
00179     ::metadata::schema::VolumeUnits_pimpl VolumeUnits_p;
00180 
00181     // Connect the parsers together.
00182     //
00183     NeuroMLLevel3_p.parsers (Notes_p,
00184                              Properties_p,
00185                              Annotation_p,
00186                              Group_p,
00187                              Authors_p,
00188                              Publication_p,
00189                              NeuronDBReference_p,
00190                              ModelDBReference_p,
00191                              Level3Cells_p,
00192                              ChannelML_p,
00193                              Populations_p,
00194                              Projections_p,
00195                              Inputs_p,
00196                              string_p,
00197                              LengthUnits_p,
00198                              VolumeUnits_p);
00199 
00200     Properties_p.parsers (Property_p);
00201 
00202     Property_p.parsers (string_p,
00203                         string_p,
00204                         string_p,
00205                         string_p);
00206 
00207     Authors_p.parsers (Person_p,
00208                        Person_p);
00209 
00210     Person_p.parsers (string_p,
00211                       string_p,
00212                       string_p,
00213                       string_p);
00214 
00215     Publication_p.parsers (string_p,
00216                            string_p);
00217 
00218     NeuronDBReference_p.parsers (string_p,
00219                                  string_p);
00220 
00221     ModelDBReference_p.parsers (string_p,
00222                                 string_p);
00223 
00224     Level3Cells_p.parsers (Level3Cell_p);
00225 
00226     Level3Cell_p.parsers (Notes_p,
00227                           Properties_p,
00228                           Annotation_p,
00229                           Group_p,
00230                           Authors_p,
00231                           Publication_p,
00232                           NeuronDBReference_p,
00233                           ModelDBReference_p,
00234                           cellBody_p,
00235                           segments_p,
00236                           FreePoints_p,
00237                           spines_p,
00238                           cables_p,
00239                           string_p,
00240                           Level3Biophysics_p,
00241                           Level3Connectivity_p);
00242 
00243     cellBody_p.parsers (Notes_p,
00244                         Properties_p,
00245                         Annotation_p,
00246                         Group_p,
00247                         Polygon_p,
00248                         Polyhedron_p,
00249                         Sphere_p);
00250 
00251     Point_p.parsers (double_p,
00252                      double_p,
00253                      double_p,
00254                      double_p);
00255 
00256     Polyhedron_p.parsers (polygons_p);
00257 
00258     polygons_p.parsers (Polygon_p);
00259 
00260     Sphere_p.parsers (Point_p,
00261                       string_p);
00262 
00263     segments_p.parsers (Notes_p,
00264                         Properties_p,
00265                         Annotation_p,
00266                         Group_p,
00267                         Segment_p,
00268                         string_p);
00269 
00270     Segment_p.parsers (Point_p,
00271                        Point_p,
00272                        Properties_p,
00273                        SegmentIdInCell_p,
00274                        string_p,
00275                        SegmentIdInCell_p,
00276                        non_negative_integer_p);
00277 
00278     spines_p.parsers (Notes_p,
00279                       Properties_p,
00280                       Annotation_p,
00281                       Group_p,
00282                       Spine_p);
00283 
00284     Spine_p.parsers (Point_p,
00285                      Point_p,
00286                      SegmentIdInCell_p,
00287                      double_p,
00288                      double_p,
00289                      SpineShape_p);
00290 
00291     cables_p.parsers (Notes_p,
00292                       Properties_p,
00293                       Annotation_p,
00294                       Group_p,
00295                       Cable_p,
00296                       CableGroup_p);
00297 
00298     Cable_p.parsers (Notes_p,
00299                      Properties_p,
00300                      Annotation_p,
00301                      Group_p,
00302                      non_negative_integer_p,
00303                      string_p,
00304                      non_negative_integer_p,
00305                      ZeroToOne_p,
00306                      ZeroToOne_p);
00307 
00308     CableGroup_p.parsers (cable_p,
00309                           InhomogeneousParam_p,
00310                           string_p);
00311 
00312     cable_p.parsers (non_negative_integer_p);
00313 
00314     InhomogeneousParam_p.parsers (metric_p,
00315                                   proximal_p,
00316                                   distal_p,
00317                                   string_p,
00318                                   string_p);
00319 
00320     proximal_p.parsers (double_p);
00321 
00322     distal_p.parsers (double_p);
00323 
00324     Level3Biophysics_p.parsers (Mechanism_p,
00325                                 SpecCapacitance_p,
00326                                 SpecCapacitance_p,
00327                                 SpecAxialResistance_p,
00328                                 SpecAxialResistance_p,
00329                                 InitialMembPotential_p,
00330                                 InitialMembPotential_p,
00331                                 IonProperties_p,
00332                                 IonProperties_p,
00333                                 Units_p,
00334                                 PotentialSynapticLocation_p);
00335 
00336     Mechanism_p.parsers (NamedParameter_p,
00337                          VariableNamedParameter_p,
00338                          string_p,
00339                          MechanismType_p,
00340                          boolean_p,
00341                          boolean_p);
00342 
00343     NamedParameter_p.parsers (string_p,
00344                               string_p,
00345                               double_p);
00346 
00347     VariableNamedParameter_p.parsers (string_p,
00348                                       InhomogeneousValue_p,
00349                                       string_p);
00350 
00351     InhomogeneousValue_p.parsers (string_p,
00352                                   string_p);
00353 
00354     SpecCapacitance_p.parsers (UnnamedParameter_p,
00355                                VariableParameter_p);
00356 
00357     UnnamedParameter_p.parsers (string_p,
00358                                 double_p);
00359 
00360     VariableParameter_p.parsers (string_p,
00361                                  InhomogeneousValue_p,
00362                                  string_p);
00363 
00364     SpecAxialResistance_p.parsers (UnnamedParameter_p,
00365                                    VariableParameter_p);
00366 
00367     InitialMembPotential_p.parsers (UnnamedParameter_p,
00368                                     VariableParameter_p);
00369 
00370     IonProperties_p.parsers (NamedParameter_p,
00371                              string_p);
00372 
00373     PotentialSynapticLocation_p.parsers (Notes_p,
00374                                          Properties_p,
00375                                          Annotation_p,
00376                                          Group_p,
00377                                          string_p,
00378                                          SynapseDirection_p,
00379                                          string_p);
00380 
00381     Level3Connectivity_p.parsers (PotentialSynLoc_p);
00382 
00383     PotentialSynLoc_p.parsers (Notes_p,
00384                                Properties_p,
00385                                Annotation_p,
00386                                Group_p,
00387                                string_p,
00388                                string_p,
00389                                SynapseDirection_p);
00390 
00391     ChannelML_p.parsers (Notes_p,
00392                          Properties_p,
00393                          Annotation_p,
00394                          Group_p,
00395                          Ion_p,
00396                          ChannelType_p,
00397                          SynapseType_p,
00398                          IonConcentration_p,
00399                          Units_p);
00400 
00401     Ion_p.parsers (Notes_p,
00402                    Properties_p,
00403                    Annotation_p,
00404                    Group_p,
00405                    string_p,
00406                    VoltageValue_p,
00407                    positive_integer_p,
00408                    IonRole_p);
00409 
00410     ChannelType_p.parsers (Status_p,
00411                            Notes_p,
00412                            Properties_p,
00413                            Annotation_p,
00414                            Group_p,
00415                            Authors_p,
00416                            Publication_p,
00417                            NeuronDBReference_p,
00418                            ModelDBReference_p,
00419                            CurrentVoltageRelation_p,
00420                            HHGate_p,
00421                            KSGate_p,
00422                            ImplementationPrefs_p,
00423                            string_p,
00424                            YesNo_p);
00425 
00426     Status_p.parsers (string_p,
00427                       string_p,
00428                       Person_p,
00429                       StatusValue_p);
00430 
00431     CurrentVoltageRelation_p.parsers (Ohmic_p,
00432                                       IntegrateAndFire_p,
00433                                       string_p);
00434 
00435     Ohmic_p.parsers (conductance_p,
00436                      string_p);
00437 
00438     conductance_p.parsers (Notes_p,
00439                            Properties_p,
00440                            Annotation_p,
00441                            Group_p,
00442                            RateAdjustments_p,
00443                            Gate_p,
00444                            ConductanceDensityValue_p);
00445 
00446     RateAdjustments_p.parsers (q10_settings_p,
00447                                offset_p);
00448 
00449     q10_settings_p.parsers (string_p,
00450                             double_p,
00451                             double_p,
00452                             TemperatureValue_p);
00453 
00454     offset_p.parsers (VoltageValue_p);
00455 
00456     Gate_p.parsers (state_p,
00457                     non_negative_integer_p);
00458 
00459     state_p.parsers (string_p,
00460                      ZeroToOne_p);
00461 
00462     IntegrateAndFire_p.parsers (VoltageValue_p,
00463                                 TimeValue_p,
00464                                 VoltageValue_p,
00465                                 ConductanceValue_p);
00466 
00467     HHGate_p.parsers (Transition_p,
00468                       string_p);
00469 
00470     Transition_p.parsers (VoltageGate_p,
00471                           VoltageConcGate_p,
00472                           string_p,
00473                           string_p);
00474 
00475     VoltageGate_p.parsers (RateConstantEqnChoice_p,
00476                            RateConstantEqnChoice_p,
00477                            RateConstantEqnChoice_p,
00478                            RateConstantEqnChoice_p,
00479                            RateConstantEqnChoice_p,
00480                            RateConstantEqnChoice_p);
00481 
00482     RateConstantEqnChoice_p.parsers (Notes_p,
00483                                      Properties_p,
00484                                      Annotation_p,
00485                                      Group_p,
00486                                      AkdEquation_p,
00487                                      GenericEquation_p);
00488 
00489     AkdEquation_p.parsers (Parameter_p,
00490                            string_p,
00491                            string_p);
00492 
00493     Parameter_p.parsers (Notes_p,
00494                          Properties_p,
00495                          Annotation_p,
00496                          Group_p,
00497                          string_p,
00498                          double_p);
00499 
00500     GenericEquation_p.parsers (string_p);
00501 
00502     VoltageConcGate_p.parsers (ConcDependence_p,
00503                                RateConstVoltConcDep_p,
00504                                RateConstVoltConcDep_p,
00505                                RateConstantEqnChoice_p,
00506                                RateConstantEqnChoice_p,
00507                                RateConstVoltConcDep_p,
00508                                RateConstVoltConcDep_p);
00509 
00510     ConcDependence_p.parsers (string_p,
00511                               string_p,
00512                               string_p,
00513                               ConcentrationValue_p,
00514                               ConcentrationValue_p);
00515 
00516     RateConstVoltConcDep_p.parsers (GenericEquation_p);
00517 
00518     KSGate_p.parsers (KSState_p,
00519                       Transition_p);
00520 
00521     KSState_p.parsers (string_p);
00522 
00523     ImplementationPrefs_p.parsers (string_p,
00524                                    table_settings_p);
00525 
00526     table_settings_p.parsers (double_p,
00527                               double_p,
00528                               positive_integer_p);
00529 
00530     SynapseType_p.parsers (Status_p,
00531                            Notes_p,
00532                            Properties_p,
00533                            Annotation_p,
00534                            Group_p,
00535                            Authors_p,
00536                            Publication_p,
00537                            NeuronDBReference_p,
00538                            ModelDBReference_p,
00539                            ElectricalSynapse_p,
00540                            DoubleExponentialSynapse_p,
00541                            BlockingSynapse_p,
00542                            MultiDecaySynapse_p,
00543                            FacDepSynapse_p,
00544                            string_p);
00545 
00546     ElectricalSynapse_p.parsers (Notes_p,
00547                                  Properties_p,
00548                                  Annotation_p,
00549                                  Group_p,
00550                                  ConductanceValue_p);
00551 
00552     DoubleExponentialSynapse_p.parsers (Notes_p,
00553                                         Properties_p,
00554                                         Annotation_p,
00555                                         Group_p,
00556                                         ConductanceValue_p,
00557                                         TimeConstantValueIncZero_p,
00558                                         TimeConstantValue_p,
00559                                         VoltageValue_p);
00560 
00561     BlockingSynapse_p.parsers (Notes_p,
00562                                Properties_p,
00563                                Annotation_p,
00564                                Group_p,
00565                                ConductanceValue_p,
00566                                TimeConstantValueIncZero_p,
00567                                TimeConstantValue_p,
00568                                VoltageValue_p,
00569                                Block_p);
00570 
00571     Block_p.parsers (string_p,
00572                      ConcentrationValue_p,
00573                      double_p,
00574                      double_p);
00575 
00576     MultiDecaySynapse_p.parsers (Notes_p,
00577                                  Properties_p,
00578                                  Annotation_p,
00579                                  Group_p,
00580                                  ConductanceValue_p,
00581                                  TimeConstantValueIncZero_p,
00582                                  TimeConstantValue_p,
00583                                  VoltageValue_p,
00584                                  ConductanceValue_p,
00585                                  TimeConstantValue_p,
00586                                  ConductanceValue_p,
00587                                  TimeConstantValue_p);
00588 
00589     FacDepSynapse_p.parsers (Notes_p,
00590                              Properties_p,
00591                              Annotation_p,
00592                              Group_p,
00593                              ConductanceValue_p,
00594                              TimeConstantValueIncZero_p,
00595                              TimeConstantValue_p,
00596                              VoltageValue_p,
00597                              ConductanceValue_p,
00598                              TimeConstantValue_p,
00599                              ConductanceValue_p,
00600                              TimeConstantValue_p,
00601                              FacDep_p);
00602 
00603     FacDep_p.parsers (double_p,
00604                       TimeConstantValue_p,
00605                       TimeConstantValue_p);
00606 
00607     IonConcentration_p.parsers (Status_p,
00608                                 Notes_p,
00609                                 Properties_p,
00610                                 Annotation_p,
00611                                 Group_p,
00612                                 Authors_p,
00613                                 Publication_p,
00614                                 NeuronDBReference_p,
00615                                 ModelDBReference_p,
00616                                 IonSpecies_p,
00617                                 DecayingPoolModel_p,
00618                                 string_p);
00619 
00620     IonSpecies_p.parsers (string_p);
00621 
00622     DecayingPoolModel_p.parsers (ConcentrationValue_p,
00623                                  TimeConstantValue_p,
00624                                  InvTimeConstantValue_p,
00625                                  ConcentrationValue_p,
00626                                  PoolVolumeInfo_p,
00627                                  FixedPoolInfo_p,
00628                                  ConcentrationValue_p,
00629                                  TimeConstantValue_p,
00630                                  InvTimeConstantValue_p,
00631                                  ConcentrationValue_p);
00632 
00633     PoolVolumeInfo_p.parsers (LengthValue_p,
00634                               LengthValue_p);
00635 
00636     FixedPoolInfo_p.parsers (double_p);
00637 
00638     Populations_p.parsers (Notes_p,
00639                            Properties_p,
00640                            Annotation_p,
00641                            Group_p,
00642                            Population_p);
00643 
00644     Population_p.parsers (Notes_p,
00645                           Properties_p,
00646                           Annotation_p,
00647                           Group_p,
00648                           string_p,
00649                           Instances_p,
00650                           PopulationLocation_p,
00651                           string_p,
00652                           string_p);
00653 
00654     Instances_p.parsers (Notes_p,
00655                          Properties_p,
00656                          Annotation_p,
00657                          Group_p,
00658                          CellInstance_p,
00659                          non_negative_integer_p);
00660 
00661     CellInstance_p.parsers (Notes_p,
00662                             Properties_p,
00663                             Annotation_p,
00664                             Group_p,
00665                             Point3D_p,
00666                             non_negative_integer_p,
00667                             non_negative_integer_p);
00668 
00669     Point3D_p.parsers (double_p,
00670                        double_p,
00671                        double_p);
00672 
00673     PopulationLocation_p.parsers (Notes_p,
00674                                   Properties_p,
00675                                   Annotation_p,
00676                                   Group_p,
00677                                   RandomArrangement_p,
00678                                   GridArrangement_p,
00679                                   string_p);
00680 
00681     RandomArrangement_p.parsers (Notes_p,
00682                                  Properties_p,
00683                                  Annotation_p,
00684                                  Group_p,
00685                                  non_negative_integer_p,
00686                                  Sphere_p,
00687                                  RectangularBox_p);
00688 
00689     RectangularBox_p.parsers (Point_p,
00690                               size_p,
00691                               string_p);
00692 
00693     size_p.parsers (double_p,
00694                     double_p,
00695                     double_p);
00696 
00697     GridArrangement_p.parsers (RectangularBox_p,
00698                                spacing_p,
00699                                Notes_p,
00700                                Properties_p,
00701                                Annotation_p,
00702                                Group_p,
00703                                NonSpatialGrid_p);
00704 
00705     spacing_p.parsers (double_p,
00706                        double_p,
00707                        double_p);
00708 
00709     NonSpatialGrid_p.parsers (positive_integer_p,
00710                               positive_integer_p,
00711                               positive_integer_p);
00712 
00713     Projections_p.parsers (Notes_p,
00714                            Properties_p,
00715                            Annotation_p,
00716                            Group_p,
00717                            Projection_p,
00718                            Units_p);
00719 
00720     Projection_p.parsers (Notes_p,
00721                           Properties_p,
00722                           Annotation_p,
00723                           Group_p,
00724                           string_p,
00725                           string_p,
00726                           GlobalSynapticProperties_p,
00727                           Connections_p,
00728                           ConnectivityPattern_p,
00729                           string_p,
00730                           string_p,
00731                           string_p);
00732 
00733     GlobalSynapticProperties_p.parsers (Notes_p,
00734                                         Properties_p,
00735                                         Annotation_p,
00736                                         Group_p,
00737                                         SynapticDelayValue_p,
00738                                         SynapticDelayValue_p,
00739                                         SynapticDelayValue_p,
00740                                         SynapticDelayValue_p,
00741                                         NonNegativeDouble_p,
00742                                         VoltageValue_p,
00743                                         string_p,
00744                                         SynapseInternalProperties_p,
00745                                         string_p);
00746 
00747     SynapseInternalProperties_p.parsers (Notes_p,
00748                                          Properties_p,
00749                                          Annotation_p,
00750                                          Group_p,
00751                                          SynapticDelayValue_p,
00752                                          SynapticDelayValue_p,
00753                                          SynapticDelayValue_p,
00754                                          SynapticDelayValue_p,
00755                                          NonNegativeDouble_p,
00756                                          VoltageValue_p);
00757 
00758     Connections_p.parsers (Notes_p,
00759                            Properties_p,
00760                            Annotation_p,
00761                            Group_p,
00762                            Connection_p);
00763 
00764     Connection_p.parsers (Notes_p,
00765                           Properties_p,
00766                           Annotation_p,
00767                           Group_p,
00768                           SynapticLocation_p,
00769                           SynapticLocation_p,
00770                           LocalSynapticProperties_p,
00771                           integer_p,
00772                           integer_p,
00773                           integer_p,
00774                           ZeroToOne_p,
00775                           integer_p,
00776                           integer_p,
00777                           ZeroToOne_p);
00778 
00779     SynapticLocation_p.parsers (integer_p,
00780                                 integer_p,
00781                                 ZeroToOne_p);
00782 
00783     LocalSynapticProperties_p.parsers (Notes_p,
00784                                        Properties_p,
00785                                        Annotation_p,
00786                                        Group_p,
00787                                        SynapticDelayValue_p,
00788                                        SynapticDelayValue_p,
00789                                        SynapticDelayValue_p,
00790                                        SynapticDelayValue_p,
00791                                        NonNegativeDouble_p,
00792                                        VoltageValue_p,
00793                                        string_p);
00794 
00795     ConnectivityPattern_p.parsers (all_to_all_p,
00796                                    fixed_probability_p,
00797                                    PerCellConnection_p);
00798 
00799     fixed_probability_p.parsers (ZeroToOne_p);
00800 
00801     PerCellConnection_p.parsers (direction_p,
00802                                  PositiveDouble_p,
00803                                  positive_integer_p);
00804 
00805     Inputs_p.parsers (Notes_p,
00806                       Properties_p,
00807                       Annotation_p,
00808                       Group_p,
00809                       Input_p,
00810                       Units_p);
00811 
00812     Input_p.parsers (Notes_p,
00813                      Properties_p,
00814                      Annotation_p,
00815                      Group_p,
00816                      PulseInput_p,
00817                      RandomStim_p,
00818                      InputTarget_p,
00819                      string_p);
00820 
00821     PulseInput_p.parsers (TimeValue_p,
00822                           TimeValue_p,
00823                           CurrentValue_p);
00824 
00825     RandomStim_p.parsers (FrequencyValue_p,
00826                           string_p);
00827 
00828     InputTarget_p.parsers (Notes_p,
00829                            Properties_p,
00830                            Annotation_p,
00831                            Group_p,
00832                            InputSites_p,
00833                            InputSitePattern_p,
00834                            string_p);
00835 
00836     InputSites_p.parsers (Notes_p,
00837                           Properties_p,
00838                           Annotation_p,
00839                           Group_p,
00840                           InputSite_p);
00841 
00842     InputSite_p.parsers (CellIdInNetwork_p,
00843                          SegmentIdInCell_p,
00844                          ZeroToOne_p);
00845 
00846     InputSitePattern_p.parsers (all_cells_p,
00847                                 percentage_cells_p);
00848 
00849     percentage_cells_p.parsers (Percentage_p);
00850 
00851 
00852     // Parse the XML document.
00853     //
00854     ::xml_schema::document doc_p (
00855       NeuroMLLevel3_p,
00856       "http://morphml.org/neuroml/schema",
00857       "neuroml");
00858 
00859     NeuroMLLevel3_p.pre ();
00860     doc_p.parse (argv[1]);
00861     const ::cxxproxy::neuroml::CxxProxyNeuroMLLevel3& v (NeuroMLLevel3_p.post_NeuroMLLevel3 ());
00862 
00863     // TODO
00864     //
00865   }
00866   catch (::xml_schema::exception& e)
00867   {
00868     std::cerr << e << std::endl;
00869     return 1;
00870   }
00871   catch (std::ios_base::failure&)
00872   {
00873     std::cerr << argv[1] << ": error: io failure" << std::endl;
00874     return 1;
00875   }
00876 }
00877 

Generated on Wed Jul 9 16:34:37 2008 for PCSIM by  doxygen 1.5.5