sceneAssembly/assemblyReference.h
#ifndef _assemblyReference_h_
#define _assemblyReference_h_
#include "assemblyDefinition.h"
#include "assemblyDefinitionFileCache.h"
class assemblyReferenceInitialRep;
class AssemblyReference : public AssemblyDefinition
{
public:
static void* creator();
AssemblyReference();
~AssemblyReference();
virtual void setExternalContent(
);
virtual MString createRepresentation(
);
virtual MString getRepNamespace()
const;
virtual void updateRepNamespace(
const MString& repNamespace);
virtual MStatus deleteAllRepresentations();
virtual bool supportsEdits() const;
private:
typedef AssemblyDefinition BaseNode;
virtual bool setInternalValueInContext(
virtual void copyInternalData(
MPxNode* srcNode);
void beforeSave();
void postLoad();
virtual MString getInitialRep(
const MObject &assembly,
bool& hasInitialRep,
MStatus* status = NULL)
const;
virtual MString getDefaultIcon()
const;
AssemblyReference(const AssemblyReference& obj);
const AssemblyReference& operator=(const AssemblyReference& obj);
bool fUseDefnFileAttrib;
AssemblyDefinitionFileCache::EntryPtr fDefnFileCacheEntry;
assemblyReferenceInitialRep *fInitialRep;
bool fUpdatingRepNamespace;
};
#endif