HDK
|
#include "UT_API.h"
#include "UT_ArrayStringMap.h"
#include "UT_Defines.h"
#include "UT_Function.h"
#include "UT_String.h"
#include "UT_StringHolder.h"
#include "UT_WorkBuffer.h"
Go to the source code of this file.
Classes | |
class | UT_NameManager< DATA_TYPE > |
Functions | |
UT_API UT_StringHolder | UTuniqueName (const UT_StringRef &name, UT_Function< bool(const UT_StringRef &)> is_unique) |
UT_API UT_StringHolder UTuniqueName | ( | const UT_StringRef & | name, |
UT_Function< bool(const UT_StringRef &)> | is_unique | ||
) |
Returns a unique name based on the requested one, by appending numerical suffix if there is a name collision. The is_unique parameter function takes a suggestd name as a parameter and returns true if it is unique; or false otherwise.