fpmas 1.6
location_state.h
Go to the documentation of this file.
1#ifndef FPMAS_LOCATION_STATE_H
2#define FPMAS_LOCATION_STATE_H
3
8#include <iostream>
9
10namespace fpmas { namespace api { namespace graph {
29 };
30
38 inline std::ostream& operator<<(std::ostream& os, const LocationState& loc) {
39 switch(loc) {
40 case LOCAL:
41 os << "LOCAL";
42 break;
43 case DISTANT:
44 os << "DISTANT";
45 break;
46 default:
47 os << "UNDEFINED";
48 }
49 return os;
50 }
51}}}
52#endif
LocationState
Definition: location_state.h:15
@ DISTANT
Definition: location_state.h:28
@ LOCAL
Definition: location_state.h:21
std::ostream & operator<<(std::ostream &os, const DistributedId &id)
Definition: distributed_id.cpp:13
Definition: fpmas.cpp:3