Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AcademySoftwareFoundation/MaterialX
/ isValidName
Function
isValidName
source/MaterialXCore/Util.cpp:52–56 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
50
}
51
52
bool isValidName(const string& name)
53
{
54
auto it = std::find_if(name.begin(), name.end(), invalidNameChar);
55
return it == name.end();
56
}
57
58
string incrementName(const string& name)
59
{
Callers
2
CoreUtil.cpp
File · 0.85
validate
Method · 0.85
Calls
2
begin
Method · 0.45
end
Method · 0.45
Tested by
no test coverage detected