HDK
|
#include <OP_OpNamespaceHierarchy.h>
Public Member Functions | |
op_PrefEntry (const UT_StringHolder &scope_pattern, const UT_StringHolder &namespace_pattern, const UT_StringHolder &core_name_pattern, const UT_StringHolder &version_pattern) | |
bool | matches (const UT_WorkBuffer &scope_opname, const UT_WorkBuffer &namespace_name, const UT_WorkBuffer &core_name, const UT_WorkBuffer &version) const |
Returns true if the given op entry matches this preference entry. More... | |
Class representing an entry in an preference list. It is different from op_OpEntry because it does not represent an operator from the op table, but rather a pattern against which operators are compared (many operators may match that entry, but also the pattern may be narrow enough that it matchs only one operator).
Definition at line 115 of file OP_OpNamespaceHierarchy.h.
OP_OpNamespaceHierarchy::op_PrefEntry::op_PrefEntry | ( | const UT_StringHolder & | scope_pattern, |
const UT_StringHolder & | namespace_pattern, | ||
const UT_StringHolder & | core_name_pattern, | ||
const UT_StringHolder & | version_pattern | ||
) |
bool OP_OpNamespaceHierarchy::op_PrefEntry::matches | ( | const UT_WorkBuffer & | scope_opname, |
const UT_WorkBuffer & | namespace_name, | ||
const UT_WorkBuffer & | core_name, | ||
const UT_WorkBuffer & | version | ||
) | const |
Returns true if the given op entry matches this preference entry.