00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef _MBStringSetI_H
00025 #define _MBStringSetI_H
00026
00027 #ifdef _WIN32
00028 # pragma warning( push )
00029 # pragma warning(disable:4250)
00030 #endif
00031
00032 #include <MeshVizXLM/mesh/data/MiDataSetI.h>
00033 #include <MeshVizXLM/extrmesh/data/MeXDataSetI.h>
00034
00035 #include <data/MbDataSet.h>
00036 #include <MbMeshVizImpl.h>
00037
00038
00039 #include <Inventor/STL/vector>
00040 #include <Inventor/STL/iostream>
00041 #include <Inventor/STL/sstream>
00042 #include <Inventor/STL/algorithm>
00043
00052 class MbStringSetI : virtual public MiStringSetI, public MbStringSet
00053 {
00054 public:
00055
00061 MbStringSetI(size_t size);
00062
00067 MbStringSetI(const std::string& name, DataBinding binding, size_t size);
00068
00073 MbStringSetI(const MeXStringSetI& stringset);
00074
00078 virtual std::string get(size_t i) const;
00079
00083 size_t getSize() const;
00084
00085
00086 private:
00090 virtual std::ostream& toStream(std::ostream& s) const;
00091
00092 static size_t s_numInstance;
00093
00094 std::vector<std::string> m_strings;
00095
00096 };
00097
00098 #ifdef _WIN32
00099 # pragma warning( pop )
00100 #endif
00101
00102 #endif
00103
00104