![]() |
VR-Link API Documentation for HLA 1.3
|
00001 /****************************************************************************** 00002 ** Copyright (c) 1992-2010 VT MAK 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 00006 00010 00011 #ifndef envNamedList_H__ 00012 #define envNamedList_H__ 00013 00014 #include "envList.h" 00015 00016 #ifdef DtUSE_UTILITIES_NAMESPACE 00017 namespace DtUSE_UTILITIES_NAMESPACE 00018 { 00019 #endif 00020 00021 00024 class DT_DLL_MTL DtEnvNamedList : public DtEnvList 00025 { 00026 public: 00027 friend class DtEnvironment; 00028 00030 virtual ~DtEnvNamedList(); 00031 00033 virtual DtString name() const; 00034 00036 virtual void setName(const DtString& name); 00037 00039 virtual DtEnvValueSP first() const; 00040 00042 static bool isNamedList(DtEnvValueSP); 00043 00046 static DtEnvNamedList* castToNamedList(DtEnvValueSP value); 00047 00048 protected: 00049 00050 DtEnvNamedList(const DtString& name,const DtString& value); 00051 virtual DtEnvValue* clone() const; 00052 }; 00053 00054 #ifdef DtUSE_UTILITIES_NAMESPACE 00055 } 00056 #endif 00057 00058 #endif