00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef INTERROGATECOMPONENT_H
00020 #define INTERROGATECOMPONENT_H
00021
00022 #include <dtoolbase.h>
00023
00024 #include "interrogate_interface.h"
00025 #include "interrogate_request.h"
00026
00027 #include <vector>
00028
00029 class IndexRemapper;
00030
00031
00032
00033
00034
00035
00036
00037 class EXPCL_DTOOLCONFIG InterrogateComponent {
00038 public:
00039 INLINE InterrogateComponent(InterrogateModuleDef *def = NULL);
00040 INLINE InterrogateComponent(const InterrogateComponent ©);
00041 INLINE void operator = (const InterrogateComponent ©);
00042
00043 INLINE bool has_library_name() const;
00044 INLINE const char *get_library_name() const;
00045
00046 INLINE bool has_module_name() const;
00047 INLINE const char *get_module_name() const;
00048
00049 INLINE bool has_name() const;
00050 INLINE const string &get_name() const;
00051
00052 void output(ostream &out) const;
00053 void input(istream &in);
00054
00055 private:
00056 InterrogateModuleDef *_def;
00057 string _name;
00058
00059 friend class InterrogateBuilder;
00060 friend class FunctionRemap;
00061 };
00062
00063 #include "interrogateComponent.I"
00064
00065 #endif
00066
00067