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-2012 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 {
62 #ifdef _MESSAGES
63 
64  SUMO_TAG_MSG_EMITTER,
65 #endif
66 
190 
194 
214 
222 
226 
231  /* streets object */
233 
234  /* workingHours object */
238 
239  /* school object */
242 
243  /* busStation and bus objects */
250 
251  /* population and children accompaniment brackets */
254  //AGEN_TAG_CHILD_ACOMP,
255 
256  /* city entrances */
259 
260  /* parameters */
262 
263 };
264 
265 
275  /* common attributes */
288  /* edge attributes */
296  /* node attributes */
300  /* sumo-junction attributes */
315  /* vehicle attributes */
341  /* Car following model attributes */
342  SUMO_ATTR_SIGMA, // used by: Krauss
343  SUMO_ATTR_TAU, // Krauss
344  /* route alternatives / distribution attributes */
351  /* trip definition attributes */
362  /* source definitions */
401 
409 #ifdef _MESSAGES
410  // Attributes for message emitter
412  SUMO_ATTR_EVENTS,
414  SUMO_ATTR_REVERSE,
416  SUMO_ATTR_TABLE,
418  SUMO_ATTR_XY,
420  SUMO_ATTR_STEP,
421  // Attribute for detectors
423  SUMO_ATTR_MSG,
424 #endif
425  // Attributes for actuated traffic lights:
432  // Attributes for junction-internal lanes
435  // Attributes for detectors
444 
451 
482 
489 
499 
504 
514 
516 
520  /* general object */
530 
531  /* streets object */
532  //SUMO_ATTR_EDGE already defined
535 
536  /* workHours object */
539 
540  /* school object */
541  //SUMO_ATTR_EDGE, SUMO_ATTR_POSITION, SUMO_ATTR_TYPE already defined
545 
546  /* busStation and Bus objects */
547  // ID, EDGE, POSITION, REFID, BEGIN and END are already defined
549  //AGEN_ATTR_ORDER,
551 
552  /* population and children accompaniment brackets */
556 
557  /* parameters */
563 
564  /* city gates */
567 
568  //@name Netedit Attributes (used as virtual property holders, must be in SumoXMLAttr)
569  //
571  /* whether a feature has been loaded,guessed,modified or approved */
573  /* first coordinate of edge shape */
575  /* last coordinate of edge shape */
578 };
579 
580 /*
581  * definitions of special SumoXML-attribute values.
582  * Since these enums shall be used in switch statements we keep them separated
583  * @{
584  */
585 
592  NODETYPE_UNKNOWN, // terminator
601 };
602 
603 
615 };
616 
617 
629 };
630 
631 
644 enum LinkState {
667 };
668 
669 
691 };
692 
693 
701 };
702 
703 
705 
712 
713 public:
716 
719 
722 
725 
727 
729 
731 
733 
735 
737 
740 
741 private:
742 
744 
746 
748 
750 
752 
754 
755 };
756 
757 #endif
758 
759 /****************************************************************************/
760