12 #ifndef __UN_PortTypeRegistry_h__
13 #define __UN_PortTypeRegistry_h__
37 myPortTypeNameSafeChars = safe_chars;
43 return UN_Utils::isValidPortTypeName(
44 port_type_name, myPortTypeNameSafeChars );
void setPortTypeNameSafeChars(const UT_StringRef &safe_chars)
A set of additional characters that are legal in port type names.
std::unique_ptr< T, Deleter > UT_UniquePtr
A smart pointer for unique ownership of dynamically allocated objects.
UT_UniquePtr< UN_PortType > PortTypeHandle
bool isValidTypeName(const UT_StringRef &port_type_name) const
Returns true if the given port type name is valid in this category.
bool addType(TypeHandle type_handle)
UT_UniquePtr< UN_PortType > UN_PortTypeHandle
A handle to the port type object, for expressing the ownership.