MetadataSample/createMetadataCmd.h
#ifndef _createMetadataCmd_h_
#define _createMetadataCmd_h_
#include "cmdUtils.h"
#include <maya/MFn.h>
#include <maya/MPxCommand.h>
#include <maya/MObjectArray.h>
#include <maya/MDGModifier.h>
#include <maya/MIntArray.h>
#include <maya/adskDataAssociations.h>
namespace adsk {
namespace Data {
class Structure; } }
{
public:
static void* creator ();
static const char* name ();
createMetadataCmd ();
virtual ~createMetadataCmd ();
protected:
private:
OptFlag<MString, CommandMode(kCreate)> fChannelNameFlag;
OptFlag<MString, CommandMode(kCreate)> fStreamNameFlag;
OptFlag<MString, CommandMode(kCreate)> fStructureFlag;
std::string fChannelName;
fStructure;
};
#endif // _createMetadataCmd_h_