![]() |
VR-Link API Documentation for HLA Evolved
|
00001 /****************************************************************************** 00002 ** Copyright (c) 1992-2010 VT MAK 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 00006 00010 00011 #ifndef envMTLReader_H__ 00012 #define envMTLReader_H__ 00013 00014 #include "envReader.h" 00015 #include "mtl.h" 00016 00017 #ifdef DtUSE_UTILITIES_NAMESPACE 00018 namespace DtUSE_UTILITIES_NAMESPACE 00019 { 00020 #endif 00021 00022 00025 class DT_DLL_MTL DtEnvMTLReader : public DtEnvReader 00026 { 00027 public: 00028 00030 DtEnvMTLReader(); 00031 00033 virtual ~DtEnvMTLReader(); 00034 00038 virtual DtEnvironment readFile(const DtString& filename, bool& success); 00039 00040 protected: 00041 void processObject(const DtlObjPtr& newList); 00042 00043 protected: 00044 00045 DtEnvironment* myCurrentEnvironment; 00046 DtEnvValueWP myCurrentRoot; 00047 00048 }; 00049 #ifdef DtUSE_UTILITIES_NAMESPACE 00050 } 00051 #endif 00052 00053 #endif