NGen
Loading...
Searching...
No Matches
hy_features::identifiers Namespace Reference

Functions

const bool isNexus (const std::string &type)
 Determine if a provided prefix/type is representative of a Nexus concept.
 
const bool isCatchment (const std::string &type)
 Determine if a provided prefix/type is representative of a Catchment concept.
 
const bool isFlowpath (const std::string &type)
 Determine if a provided prefix/type is representative of a Flowpath concept.
 

Variables

static const std::string seperator = "-"
 Namespace constants, define the string prefixes for various hydrofabric identifier types.
 
static const std::string nexus = "nex"
 
static const std::string coastal = "cnx"
 
static const std::string terminal = "tnx"
 
static const std::string catchment = "cat"
 
static const std::string flowpath = "wb"
 
static const std::string inland = "inx"
 

Function Documentation

◆ isCatchment()

const bool hy_features::identifiers::isCatchment ( const std::string & type)
inline

Determine if a provided prefix/type is representative of a Catchment concept.

Parameters
typestring to test

References catchment, and flowpath.

Referenced by hy_features::HY_Features::HY_Features(), network::Network::filter(), and network::Network::filter().

◆ isFlowpath()

const bool hy_features::identifiers::isFlowpath ( const std::string & type)
inline

Determine if a provided prefix/type is representative of a Flowpath concept.

Parameters
typestring to test

References flowpath.

◆ isNexus()

const bool hy_features::identifiers::isNexus ( const std::string & type)
inline

Determine if a provided prefix/type is representative of a Nexus concept.

Parameters
typestring to test

References coastal, inland, nexus, and terminal.

Referenced by hy_features::HY_Features::HY_Features(), network::Network::filter(), and network::Network::filter().

Variable Documentation

◆ catchment

const std::string hy_features::identifiers::catchment = "cat"
static

◆ coastal

const std::string hy_features::identifiers::coastal = "cnx"
static

Referenced by isNexus().

◆ flowpath

const std::string hy_features::identifiers::flowpath = "wb"
static

Referenced by isCatchment(), and isFlowpath().

◆ inland

const std::string hy_features::identifiers::inland = "inx"
static

Referenced by isNexus().

◆ nexus

const std::string hy_features::identifiers::nexus = "nex"
static

◆ seperator

const std::string hy_features::identifiers::seperator = "-"
static

Namespace constants, define the string prefixes for various hydrofabric identifier types.

Referenced by hy_features::HY_Features::HY_Features(), network::Network::filter(), and network::Network::filter().

◆ terminal

const std::string hy_features::identifiers::terminal = "tnx"
static

Referenced by isNexus().