HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UN_Utils Namespace Reference

A namespace for UN library utility functions. More...

Functions

UN_API bool isValidNodeTypeName (const UT_StringRef &name, const UT_StringRef &safe_chars=UT_StringRef())
 

Detailed Description

A namespace for UN library utility functions.

Function Documentation

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.