12 #ifndef __UN_GraphConfig_h__
13 #define __UN_GraphConfig_h__
40 {
return myForceValidGraphItemNames; }
42 { myForceValidGraphItemNames = flag; }
47 {
return myGraphItemNameSafeChars; }
50 { myGraphItemNameSafeChars = safe_chars; }
56 {
return myForceUniqueGraphItemNames; }
58 { myForceUniqueGraphItemNames = flag; }
65 {
return myUsesRegistryNodeTypes; }
67 { myUsesRegistryNodeTypes = flag; }
72 {
return myForceValidPortNames; }
74 { myForceValidPortNames = flag; }
80 {
return myForceValidPortTypeNames; }
82 { myForceValidPortTypeNames = flag; }
87 bool myForceValidGraphItemNames =
false;
91 bool myForceUniqueGraphItemNames =
false;
95 bool myUsesRegistryNodeTypes =
false;
98 bool myForceValidPortNames =
false;
101 bool myForceValidPortTypeNames =
false;
void setForceValidPortNames(bool flag)
A flag that ensures all the ports have an alphanumeric name.
const UT_StringHolder & graphItemNameSafeChars() const
A set of additional characters that are legal in node names.
bool usesRegistryNodeTypes() const
bool shouldForceValidGraphItemNames() const
void setForceUniqueGraphItemNames(bool flag)
void setForceValidUniqueGraphItemNames(bool flag)
bool shouldForceUniqueGraphItemNames() const
void setGraphItemNameSafeChars(const UT_StringRef &safe_chars)
A set of additional characters that are legal in node names.
void setForceValidPortTypeNames(bool flag)
void useRegistryNodeTypes(bool flag)
void setForceValidGraphItemNames(bool flag)
bool shouldForceValidPortNames() const
A flag that ensures all the ports have an alphanumeric name.
bool shouldForceValidPortTypeNames() const