35 #ifndef IE_COREMAYA_STRINGPARAMETERHANDLER_H
36 #define IE_COREMAYA_STRINGPARAMETERHANDLER_H
38 #include "IECoreMaya/ParameterHandler.h"
40 #include "maya/MObject.h"
41 #include "maya/MString.h"
42 #include "maya/MPlug.h"
51 virtual MPlug doCreate( IECore::ConstParameterPtr parameter,
const MString &plugName, MObject &node )
const;
52 virtual MStatus doUpdate( IECore::ConstParameterPtr parameter, MPlug &plug )
const;
53 virtual MStatus doSetValue( IECore::ConstParameterPtr parameter, MPlug &plug )
const;
54 virtual MStatus doSetValue(
const MPlug &plug, IECore::ParameterPtr parameter )
const;
59 InvalidValueProvider = 0,
60 NodeNameValueProvider = 1,
61 ConnectedNodeNameValueProvider = 2
64 MStatus getPlugValue(
const MPlug &plug, IECore::ConstStringParameterPtr parameter, MString &value )
const;
65 static MStatus getPathOrNameFromNode(
const MObject &node, MString &name );
66 static ValueProvider getValueProvider(
const IECore::ConstParameterPtr parameter );
71 #endif // IE_COREMAYA_STRINGPARAMETERHANDLER_H
Definition: ParameterHandler.h:57
The IECoreMaya namespace holds all the functionality of libIECoreMaya.
Definition: BoolParameterHandler.h:44
A ParameterHandler which deals with strings.
Definition: StringParameterHandler.h:48