Page MenuHomePhorge

Unit.cpp
No OneTemporary

Size
258 B
Referenced Files
None
Subscribers
None

Unit.cpp

#include "rosa/agent/experimental/Unit.hpp"
unsigned int Unit :: num_of_units = 0;
Unit :: Unit() {
this->id = num_of_units;
num_of_units++;
}
void Unit :: set_id(unsigned int id) {
this->id = id;
}
unsigned int Unit :: get_id() {
return this->id;
}

File Metadata

Mime Type
text/x-c
Expires
Sat, May 30, 11:40 PM (18 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
330619
Default Alt Text
Unit.cpp (258 B)

Event Timeline