00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef INTERROGATEMAKESEQ_H
00016 #define INTERROGATEMAKESEQ_H
00017
00018 #include "dtoolbase.h"
00019
00020 #include "interrogateComponent.h"
00021
00022 class IndexRemapper;
00023
00024
00025
00026
00027
00028
00029 class EXPCL_DTOOLCONFIG InterrogateMakeSeq : public InterrogateComponent {
00030 public:
00031 INLINE InterrogateMakeSeq(InterrogateModuleDef *def = NULL);
00032 INLINE InterrogateMakeSeq(const InterrogateMakeSeq ©);
00033 INLINE void operator = (const InterrogateMakeSeq ©);
00034
00035 INLINE TypeIndex get_class() const;
00036 INLINE const string &get_seq_name() const;
00037 INLINE const string &get_num_name() const;
00038 INLINE const string &get_element_name() const;
00039
00040 void output(ostream &out) const;
00041 void input(istream &in);
00042
00043 void remap_indices(const IndexRemapper &remap);
00044
00045 private:
00046 TypeIndex _class;
00047 string _seq_name;
00048 string _num_name;
00049 string _element_name;
00050
00051 friend class InterrogateBuilder;
00052 };
00053
00054 INLINE ostream &operator << (ostream &out, const InterrogateMakeSeq &make_seq);
00055 INLINE istream &operator >> (istream &in, InterrogateMakeSeq &make_seq);
00056
00057 #include "interrogateMakeSeq.I"
00058
00059 #endif