MtlBaseList.h

Go to the documentation of this file.
00001 //
00002 // Copyright [2008] Autodesk, Inc.  All rights reserved.
00003 //
00004 // Use of this software is subject to the terms of the Autodesk license
00005 // agreement provided at the time of installation or download, or which
00006 // otherwise accompanies this software in either electronic or hard copy form.  
00007 //
00008 //
00009 #pragma once
00010 
00011 #include "tab.h"
00012 #include "coreexp.h"
00013 #include "strclass.h"
00014 
00015 class MtlBase;
00016 typedef MtlBase* MtlBaseHandle;
00017 
00019 
00026 class MtlBaseList : public Tab<MtlBaseHandle>
00027 {
00028 public:
00030 
00035     CoreExport int AddMtl(MtlBase *m, BOOL checkUnique=TRUE);
00038 
00040     CoreExport int FindMtl(MtlBase *m);
00043 
00045     CoreExport int FindMtlByName(MSTR& name);
00047 
00049     CoreExport void RemoveEntry(int n);
00051     CoreExport void Empty();
00052 };
00053