20 #ifndef Selector_NameGenerator_H_
21 #define Selector_NameGenerator_H_
25 #include <TDF_Label.hxx>
40 virtual std::wstring
contextName(
const TDF_Label theSelectionLab) = 0;
45 TDF_Label& theContext, TDF_Label& theValue) = 0;
48 virtual bool isLater(
const TDF_Label theResult1,
const TDF_Label theResult2)
const = 0;
An interface for generation of the naming name basing on the current selection and document informati...
Definition: Selector_NameGenerator.h:34
virtual bool restoreContext(std::wstring theName, TDF_Label &theContext, TDF_Label &theValue)=0
This method restores by the context and value name the context label and sub-label where the value is...
virtual std::wstring contextName(const TDF_Label theSelectionLab)=0
This method returns the context name by the label of the sub-selected shape.
Selector_NameGenerator()
empty constructor, nothing to add
Definition: Selector_NameGenerator.h:37
virtual bool isLater(const TDF_Label theResult1, const TDF_Label theResult2) const =0
Returns true if the first result is older than the second one in the tree of features.