*/
const std::vector<std::pair<Attr,AttrType> > & getAttrs(void) const;
+ /** Event name.
+ *
+ * Retrieves string representation of the event type.
+ * \param[in] type Symbolic name of the event type.
+ * \returns String name of the event.
+ * \throw Exception Invalid event type.
+ *
+ */
+ static const std::string getEventName(Type type);
+
private:
static void destroyFlesh(void *);
CountRef<Event> *flesh;
* \returns List of attributes.
*/
const std::vector<std::pair<Attr,AttrType> >& getAttrs(void) const;
+
+ /** Get name of state.
+ *
+ * Retrieve string representation of symbolic job state.
+ * \param[in] state Symbolic state name.
+ * \returns String state name.
+ * \throw Exception Invalid state.
+ *
+ */
+ static const std::string &getStateName(Code state);
/** Default constructor.
*