Remove dynamic exceptions
[anna.git] / source / comm / Status.cpp
1 // ANNA - Anna is Not Nothingness Anymore                                                         //
2 //                                                                                                //
3 // (c) Copyright 2005-2015 Eduardo Ramos Testillano & Francisco Ruiz Rayo                         //
4 //                                                                                                //
5 // See project site at http://redmine.teslayout.com/projects/anna-suite                           //
6 // See accompanying file LICENSE or copy at http://www.teslayout.com/projects/public/anna.LICENSE //
7
8
9 #include <anna/comm/Status.hpp>
10
11 std::string anna::comm::Status::asString() const
12 {
13   static const char* status [] = { "Available", "Unavailable", "Overload" };
14   std::string result("comm::Status { ");
15   result += status [a_value];
16   return result += " }";
17 }
18
19