00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef TECPLOT_TOOLBOX_ARGLIST_H
00012 #define TECPLOT_TOOLBOX_ARGLIST_H
00013
00014 #if defined MSWIN
00015 #pragma once
00016 #endif
00017
00018 #include <string>
00019 #include "OutOfMemoryException.h"
00020
00021 namespace tecplot { namespace toolbox {
00022
00023 class Set;
00024 class StringList;
00025
00030 class TPTOOLBOX_DLLAPI ArgList
00031 {
00032 public:
00039 ArgList() throw (OutOfMemoryException);
00040 virtual ~ArgList();
00041
00054 virtual Boolean_t appendArbParam(std::string name,
00055 ArbParam_t value);
00056
00069 virtual Boolean_t appendArbParamPtr(std::string name,
00070 ArbParam_t* value);
00071
00084 virtual Boolean_t appendArray(std::string name,
00085 const void* value);
00086
00099 virtual Boolean_t appendDouble(std::string name,
00100 double value);
00101
00114 virtual Boolean_t appendDoublePtr(std::string name,
00115 double* value);
00116
00129 virtual Boolean_t appendFunction(std::string name,
00130 const void* function);
00131
00144 virtual Boolean_t appendInt(std::string name,
00145 LgIndex_t value);
00146
00159 virtual Boolean_t appendSet(std::string name,
00160 const Set& set);
00161
00174 virtual Boolean_t appendString(std::string name,
00175 std::string value);
00176
00189 virtual Boolean_t appendStringList(std::string name,
00190 const StringList& stringList);
00191
00198 virtual void clear();
00199
00207 virtual const ArgList_pa getRef() const;
00208 private:
00209 ArgList_pa m_argList;
00210
00211 ArgList(const ArgList&);
00212 ArgList& operator=(const ArgList&);
00213 };
00214
00215 }}
00216
00217 #endif