#include
<MFnStringData.h>
MFnStringData allows the creation and manipulation of MString data objects for use in the dependency graph.
If a user written dependency node either accepts or produces MString, then this class is used to extract or create the data that comes from or goes to other dependency graph nodes. The MDataHandle::type method will return kStringData when data of this type is present. To access it, the MDataHandle::data method is used to get an MObject for the data and this should then be used to initialize an instance of MFnStringData.
Public Member Functions |
|
virtual MFn::Type | type () const |
Function set type. |
|
virtual | ~MFnStringData () |
Destructor. |
|
MFnStringData () | |
Default constructor. |
|
MFnStringData (MObject &object, MStatus *ReturnStatus=NULL) | |
Constructor. |
|
MString | string (MStatus *ReturnStatus=NULL) const |
MStatus | set (const MString &newString) |
MObject | create (const MString &str, MStatus *ReturnStatus=NULL) |
MObject | create (MStatus *ReturnStatus=NULL) |
MFnStringData (const MObject &object, MStatus *ReturnStatus=NULL) | |
Constructor. |
|
Protected Member Functions |
|
virtual const char * | className () const |
Class name. |
Constructor.
Class constructor that initializes the function set to the given MObject.
[in] | object | The MObject to attach the function set to |
[out] | ReturnStatus | the return status |
Constructor.
Class constructor that initializes the function set to the given MObject.
[in] | object | The MObject to attach the function set to |
[out] | ReturnStatus | the return status |
MFn::Type MFnStringData::type | ( | ) | const [virtual] |
const char * MFnStringData::className | ( | ) | const [protected, virtual] |
Autodesk® Maya® 2011 © 1997-2010 Autodesk, Inc. All rights reserved. | Generated with 1.5.6 |