Changeset 10497 for trunk/FACT++/src/StateMachineImp.cc
- Timestamp:
- 04/29/11 13:09:16 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/StateMachineImp.cc
r10496 r10497 563 563 EventImp &StateMachineImp::AddTransition(int targetstate, const char *name, int s1, int s2, int s3, int s4, int s5) 564 564 { 565 return AddTransition(targetstate, name, 566 Tools::Form("%d %d %d %d %d", s1, s2, s3, s4, s5).c_str(), ""); 565 ostringstream str; 566 str << s1 << ' ' << s2 << ' ' << s3 << ' ' << s4 << ' ' << s5; 567 return AddTransition(targetstate, name, str.str().c_str(), ""); 567 568 } 568 569 … … 596 597 EventImp &StateMachineImp::AddTransition(int targetstate, const char *name, const char *fmt, int s1, int s2, int s3, int s4, int s5) 597 598 { 598 return AddTransition(targetstate, name, 599 Tools::Form("%d %d %d %d %d", s1, s2, s3, s4, s5).c_str(), fmt); 599 ostringstream str; 600 str << s1 << ' ' << s2 << ' ' << s3 << ' ' << s4 << ' ' << s5; 601 return AddTransition(targetstate, name, str.str().c_str(), fmt); 600 602 } 601 603
Note:
See TracChangeset
for help on using the changeset viewer.