Beispiel #1
0
 std::vector<int> tags() const
     {
         std::vector<int> thetags(3);
         thetags[0] = M_marker1.value();
         thetags[1] = M_marker2.value();
         thetags[2] = this->processId();
         return thetags;
     }
Beispiel #2
0
 std::vector<int> tags() const
     {
         std::vector<int> thetags(3);
         thetags[0] = (this->hasMarker(1))? this->marker(1).value() : 0;//M_marker1.value();
         thetags[1] = (this->hasMarker(2))? this->marker(2).value() : 0;//M_marker2.value();
         thetags[2] = this->processId();
         return thetags;
     }