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