charmxi: convert SdagConstruct::publishesList from TList to std::list
[charm.git] / src / xlat-i / xi-symbol.h
index 496ba03c70b64bd9acb94e1f8f86f3e9721c549e..0d0e27731c8db0a86ff4e14d06ccb146c9353a4f 100644 (file)
@@ -1281,9 +1281,9 @@ protected:
   void generateListEventBracket(XStr& defs, int eventType);
   void generateChildrenCode(XStr& decls, XStr& defs, Entry* entry);
   void generateChildrenEntryList(std::list<CEntry*>& CEntrylist, WhenConstruct *thisWhen);
-  void propagateStateToChildren(std::list<CStateVar*>&, std::list<CStateVar*>&, TList<SdagConstruct*>&, int);
+  void propagateStateToChildren(std::list<CStateVar*>&, std::list<CStateVar*>&, std::list<SdagConstruct*>&, int);
   std::list<SdagConstruct *> *constructs;
-  TList<SdagConstruct *> *publishesList;
+  std::list<SdagConstruct *> *publishesList;
   std::list<CStateVar *> *stateVars;
   std::list<CStateVar *> *stateVarsChildren;
 
@@ -1310,15 +1310,15 @@ public:
 
  SdagConstruct(EToken t, const char *str) : type(t), traceName(NULL), con1(0), con2(0), con3(0), con4(0)
   { text = new XStr(str); constructs = new std::list<SdagConstruct*>();
-                  publishesList = new TList<SdagConstruct*>(); }
+    publishesList = new std::list<SdagConstruct*>(); }
                                              
  
   SdagConstruct(EToken t) : type(t), traceName(NULL), con1(0), con2(0), con3(0), con4(0) 
-               { publishesList = new TList<SdagConstruct*>();
+  { publishesList = new std::list<SdagConstruct*>();
                  constructs = new std::list<SdagConstruct*>(); }
 
   SdagConstruct(EToken t, XStr *txt) : type(t), traceName(NULL), text(txt), con1(0), con2(0), con3(0), con4(0) 
-                { publishesList = new TList<SdagConstruct*>();
+  { publishesList = new std::list<SdagConstruct*>();
                  constructs = new std::list<SdagConstruct*>();  }
   SdagConstruct(EToken t, const char *entryStr, const char *codeStr, ParamList *pl);
   void numberNodes(void);
@@ -1327,7 +1327,7 @@ public:
   void generateConnectEntries(XStr&);
   virtual void generateEntryList(std::list<CEntry*>&, WhenConstruct *);
   void propagateState(int);
-  virtual void propagateState(std::list<CStateVar*>&, std::list<CStateVar*>&, TList<SdagConstruct*>&, int);
+  virtual void propagateState(std::list<CStateVar*>&, std::list<CStateVar*>&, std::list<SdagConstruct*>&, int);
   virtual void generateCode(XStr& decls, XStr& defs, Entry *entry);
   void generateWhenCode(XStr& op);
   void setNext(SdagConstruct *, int);
@@ -1351,7 +1351,7 @@ public:
     : SdagConstruct(SWHEN, 0, 0, 0,0,0, body, el)
   { }
   void generateEntryList(std::list<CEntry*>& CEntrylist, WhenConstruct *thisWhen);
-  void propagateState(std::list<CStateVar*>&, std::list<CStateVar*>&, TList<SdagConstruct*>&, int);
+  void propagateState(std::list<CStateVar*>&, std::list<CStateVar*>&, std::list<SdagConstruct*>&, int);
 };
 
 SdagConstruct *buildAtomic(const char* code,