Stride Reference Manual  - generated for commit 9643b11
stride::ContactLogMode Namespace Reference

Enum specifiying the level of logging required: More...

Enumerations

enum  Id { Id::None = 0U, Id::Transmissions = 1U, Id::All = 2U, Id::Susceptibles = 3U }
 

Functions

string ToString (ContactLogMode::Id w)
 Converts a LogMode value to corresponding name. More...
 
Id ToMode (const std::string &s)
 Converts a string with name to LogMode value. More...
 
bool IsMode (const std::string &s)
 Check whether string is name of LogMode value. More...
 

Detailed Description

Enum specifiying the level of logging required:

  • none at all
  • only contacts where transmission occurs
  • all contacts.

Enumeration Type Documentation

Enumerator
None 
Transmissions 
All 
Susceptibles 

Definition at line 34 of file ContactLogMode.h.

Function Documentation

std::string stride::ContactLogMode::ToString ( Id  l)
ContactLogMode::Id stride::ContactLogMode::ToMode ( const string &  s)

Converts a string with name to LogMode value.

Definition at line 39 of file ContactLogMode.cpp.

References All, None, Susceptibles, and Transmissions.

Referenced by stride::SimBuilder::Build().

Here is the caller graph for this function:

bool stride::ContactLogMode::IsMode ( const std::string &  s)

Check whether string is name of LogMode value.