12#ifndef SST_CORE_SST_NAMECHECK_H
13#define SST_CORE_SST_NAMECHECK_H
45 static bool isNameValid(
const std::string& name,
bool allow_wildcard,
bool allow_dot);
48 static inline bool isComponentNameValid(
const std::string& name) {
return isNameValid(name,
false,
true); }
50 static inline bool isLinkNameValid(
const std::string& name) {
return isNameValid(name,
false,
true); }
52 static inline bool isParamNameValid(
const std::string& name) {
return isNameValid(name,
true,
true); }
54 static inline bool isPortNameValid(
const std::string& name) {
return isNameValid(name,
true,
true); }
56 static inline bool isSlotNameValid(
const std::string& name) {
return isNameValid(name,
false,
false); }
Definition: namecheck.h:20