|
Go to the documentation of this file.
36 mEventCondition(false),
37 mStateCondition(false)
39 FD_DX( "AttributeSimCondition::AttributeSimCondition()");
47 mEventCondition(false),
48 mStateCondition(false)
50 FD_DX( "AttributeSimCondition::AttributeSimCondition(attr)");
91 FD_DC( "AttributeSimCondition::DoWrite(rTr," << rLabel << ", " << pContext << "): cast " <<
92 dynamic_cast<const ParallelExecutor*>(pContext));
118 if(executor-> Size()!=n) {
119 std::stringstream errstr;
120 errstr << "Invalid ParalleExecutor context (dimension mismatch)";
121 throw Exception( "AttributeSimCondition::DoWrite", errstr.str(), 501);
124 for( Idx i=0; i<n; i++) {
126 if(executor) executor-> At(i). Generator().WriteStateSet(rTw, set);
127 else set.Write(rTw, "StateSet");
140 FD_DC( "AttributeSimCondition::DoRead(rTr," << rLabel << ", " << pContext << "): cast " <<
141 dynamic_cast<const ParallelExecutor*>(pContext));
161 while(!rTr. Eos( "EventCondition")) {
196 while(!rTr. Eos( "StateCondition")) {
224 if(executor-> Size()<=i) {
225 std::stringstream errstr;
226 errstr << "Invalid ParalleExecutor context (dimension mismatch)";
227 throw Exception( "AttributeSimCondition::DoRead", errstr.str(), 501);
231 if(executor) executor-> At(i). Generator().ReadStateSet(rTr, "StateSet", set);
232 else set.Read(rTr, "StateSet");
233 set.Name( "StateSet");
244 std::stringstream errstr;
245 errstr << "invalid simulation condition" << rTr. FileLine();
246 throw Exception( "AttributeSimCondition::Read", errstr.str(), 52);
287 FD_DX( "SimConditionSet::SimConditionSet()");
292 FD_DX( "SimConditionSet::SimConditionSet()");
306 for(Iterator cit= Begin(); cit != End(); ++cit)
313 FD_DX( "SimConditionSet::Reset()");
314 for(Iterator cit= Begin(); cit != End(); ++cit) {
320 FD_DX( "SimConditionSet::Reset(): done");
libFAUDES 2.28a
--- 2016.09.13
--- c++ api documentaion by doxygen
|