|
HDK
|
A namespace for UN library utility functions. More...
Functions | |
| UN_API bool | isValidNodeTypeName (const UT_StringRef &name, const UT_StringRef &safe_chars=UT_StringRef()) |
A namespace for UN library utility functions.
| UN_API bool UN_Utils::isValidNodeTypeName | ( | const UT_StringRef & | name, |
| const UT_StringRef & | safe_chars = UT_StringRef() |
||
| ) |
Returns true if the given name is a valid C-like variable. Ie, contains only aplphanumeric or underscore charactedrs, but does not start with a numeric character. Ohterwise, returns false. safe_chars - other additional (non-alphanumeric) characters that are allowed in the name.