Stride Reference Manual  1.0
ClusterType.h File Reference

Definition of ClusterType. More...

#include <cstddef>
#include <string>
Include dependency graph for ClusterType.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 stride
 Time Dependent Person DataType.
 

Enumerations

enum  stride::ClusterType {
  stride::ClusterType::Household, stride::ClusterType::School, stride::ClusterType::Work, stride::ClusterType::PrimaryCommunity,
  stride::ClusterType::SecondaryCommunity, stride::ClusterType::Null
}
 Enumerates the cluster types. More...
 

Functions

constexpr unsigned int stride::numOfClusterTypes ()
 Number of Cluster types (not including Null type). More...
 
std::size_t stride::toSizeType (ClusterType c)
 Cast for array access. More...
 
string stride::toString (ClusterType w)
 Converts a ClusterType value to corresponding name. More...
 
bool stride::isClusterType (const std::string &s)
 Check whether string is name of a ClusterType value. More...
 
ClusterType stride::toClusterType (const std::string &s)
 Converts a string with name to ClusterType value. More...
 

Detailed Description

Definition of ClusterType.

Definition in file ClusterType.h.