HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
OP_OpNamespaceHierarchy::op_PrefEntry Class Reference

#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...
 

Detailed Description

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.

Constructor & Destructor Documentation

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 
)

Member Function Documentation

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.


The documentation for this class was generated from the following file: