FACT++  1.0
State::State ( int  i = -256,
const std::string &  n = "",
const std::string &  c = "",
const Time t = Time(Time::none) 
)

Construct a Description object

Parameters
iIndex of the state, e.g. 1
nName of the state, e.g. 'Connected'
cDescriptive text of the state, e.g. "Connection to hardware established."

Definition at line 42 of file State.cc.

Referenced by Compare().

43  : index(i), name(Trim(n)), comment(Trim(c)), time(t)
44 {
45 }
std::string comment
Name (e.g. 'Connected')
Definition: State.h:13
int i
Definition: db_dim_client.c:21
int index
Definition: State.h:11
std::string name
Index (e.g. 1)
Definition: State.h:12
std::string Trim(const std::string &str)
Definition: tools.cc:68
Time time
Description (e.g. 'Connection to hardware established.')
Definition: State.h:14

+ Here is the caller graph for this function: