SUMO - Simulation of Urban MObility
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SUMOXMLDefinitions.h
Go to the documentation of this file.
1 /****************************************************************************/
12 // Definitions of elements and attributes known by SUMO
13 /****************************************************************************/
14 // SUMO, Simulation of Urban MObility; see http://sumo.sourceforge.net/
15 // Copyright (C) 2001-2013 DLR (http://www.dlr.de/) and contributors
16 /****************************************************************************/
17 //
18 // This file is part of SUMO.
19 // SUMO is free software: you can redistribute it and/or modify
20 // it under the terms of the GNU General Public License as published by
21 // the Free Software Foundation, either version 3 of the License, or
22 // (at your option) any later version.
23 //
24 /****************************************************************************/
25 #ifndef SUMOXMLDefinitions_h
26 #define SUMOXMLDefinitions_h
27 
28 
29 // ===========================================================================
30 // included modules
31 // ===========================================================================
32 #ifdef _MSC_VER
33 #include <windows_config.h>
34 #else
35 #include <config.h>
36 #endif
37 
39 
40 // ===========================================================================
41 // definitions
42 // ===========================================================================
49 enum SumoXMLTag {
64 #ifdef _MESSAGES
65 
66  SUMO_TAG_MSG_EMITTER,
67 #endif
68 
162 
168 
189 
200 
204 
209  /* streets object */
211 
212  /* workingHours object */
216 
217  /* school object */
220 
221  /* busStation and bus objects */
228 
229  /* population and children accompaniment brackets */
232  //AGEN_TAG_CHILD_ACOMP,
233 
234  /* city entrances */
237 
238  /* parameters */
240 
241 };
242 
243 
253  /* common attributes */
271  /* sumo-junction attributes */
286  /* vehicle attributes */
304  /* Car following model attributes */
305  SUMO_ATTR_SIGMA, // used by: Krauss
306  SUMO_ATTR_TAU, // Krauss
312  /* route alternatives / distribution attributes */
319  /* trip definition attributes */
330  /* source definitions */
368 
376 #ifdef _MESSAGES
377  // Attributes for message emitter
379  SUMO_ATTR_EVENTS,
381  SUMO_ATTR_REVERSE,
383  SUMO_ATTR_TABLE,
385  SUMO_ATTR_XY,
387  SUMO_ATTR_STEP,
388  // Attribute for detectors
390  SUMO_ATTR_MSG,
391 #endif
392  // Attributes for actuated traffic lights:
397  // Attributes for junction-internal lanes
400  // Attributes for detectors
406 
413 
442 
449 
459 
464 
474 
479 
480 
484  /* general object */
494 
495  /* streets object */
496  //SUMO_ATTR_EDGE already defined
499 
500  /* workHours object */
503 
504  /* school object */
505  //SUMO_ATTR_EDGE, SUMO_ATTR_POSITION, SUMO_ATTR_TYPE already defined
509 
510  /* busStation and Bus objects */
511  // ID, EDGE, POSITION, REFID, BEGIN and END are already defined
513  //AGEN_ATTR_ORDER,
515 
516  /* population and children accompaniment brackets */
520 
521  /* parameters */
527 
528  /* city gates */
531 
532  //@name Netedit Attributes (used as virtual property holders, must be in SumoXMLAttr)
533  //
535  /* whether a feature has been loaded,guessed,modified or approved */
537  /* first coordinate of edge shape */
539  /* last coordinate of edge shape */
542 };
543 
544 /*
545  * definitions of special SumoXML-attribute values.
546  * Since these enums shall be used in switch statements we keep them separated
547  * @{
548  */
549 
556  NODETYPE_UNKNOWN, // terminator
565 };
566 
567 
579 };
580 
581 
593 };
594 
595 
608 enum LinkState {
631 };
632 
633 
655 };
656 
657 
665 };
666 
667 
669 
676 
677 public:
680 
683 
686 
689 
691 
693 
695 
697 
699 
701 
704 
705 private:
706 
708 
710 
712 
714 
716 
718 
719 };
720 
721 #endif
722 
723 /****************************************************************************/
724