C++ API Reference
|
Base class for user-defined attribute pattern factories. More...
#include <MPxAttributePatternFactory.h>
Public Member Functions | |
MPxAttributePatternFactory () | |
Class constructor. | |
virtual | ~MPxAttributePatternFactory () |
Class destructor. | |
virtual MStatus | createPatternsFromString (const MString &patternString, MAttributePatternArray &createdPatterns) const =0 |
Call this to define a new attribute pattern using the pattern factory format definition passed in through the string parameter. More... | |
virtual MStatus | createPatternsFromFile (const MString &patternFile, MAttributePatternArray &createdPatterns) const =0 |
Call this to define a new attribute pattern using the pattern factory format definition passed in through the contents of the file in the parameter. More... | |
virtual MString | name () const =0 |
Return the name of the pattern factory. More... | |
Static Public Member Functions | |
static const char * | className () |
Returns the name of this class. More... | |
Base class for user-defined attribute pattern factories.
MPxAttributePatternFactory is the parent class of all user defined attribute pattern factories.
This class can be used to implement new kinds of attribute pattern factories within Maya that behave in a similar manner to the attribute pattern factories included in Maya.
|
pure virtual |
Call this to define a new attribute pattern using the pattern factory format definition passed in through the string parameter.
No default implementation is available.
[in] | patternString | The pattern definition |
[out] | createdPatterns | List of attribute patterns created from the string |
|
pure virtual |
Call this to define a new attribute pattern using the pattern factory format definition passed in through the contents of the file in the parameter.
No default implementation is available.
[in] | patternPath | The file name to be expanded |
[out] | createdPatterns | List of attribute patterns created from the file |
|
pure virtual |
Return the name of the pattern factory.
It's merely an identification for the commands operating on pattern factories and has no significance beyond that.
|
static |
Returns the name of this class.