FACT++  1.0
const string StateMachineImp::GetStateDesc ( int  state) const
Parameters
stateThe state for which the name should be returned.
Returns
The description of a state name as stored in fStateNames is returned, corresponding to the state given. If no name exists an empty string is returned.

Definition at line 713 of file StateMachineImp.cc.

References fStateNames, and i.

714 {
715  const StateNames::const_iterator i = fStateNames.find(state);
716  return i==fStateNames.end() ? "" : i->second.second;
717 }
int i
Definition: db_dim_client.c:21
StateNames fStateNames
Human readable names associated with the states.