string my_string;
my_string. <- this would list all the string class members that are available.
skelly:~/test$ more test.cpp
#include <iostream>
#include <list>
#include <vector>
#include <map>
class some_class
{ public:
std::string some_string;
std::list<some_class> some_list;
std::vector<some_class> some_vector;
std::map<int, some_class> some_map;
};
int main( void )
{ some_class c;
c.some_string = "Something";
return -1;
}
skelly:~/test$ ctags -x ./test.cpp
main function 15 ./test.cpp int main( void )
some_class class 6 ./test.cpp class some_class
some_list member 9 ./test.cpp std::list<some_class> some_list;
some_map member 11 ./test.cpp std::map<int, some_class> some_map;
some_string member 8 ./test.cpp std::string some_string;
some_vector member 10 ./test.cpp std::vector<some_class> some_vector;
#!/bin/csh
ctags -R –c++-kinds=+p –fields=+iaS –extra=+q
echo ctags created for mud src files
mv tags mudtags
echo changed name of tags to mudtags
cp ~/utility/c_tags/tags ~/mud/src
echo copied c / c++ taglist to src file
mv tags cpptags
echo changed name of c / c++ tags file to cpptags
cat mudtags cpptags > tags
echo concantinated mudtags and cpptags into standard tags file for omni
rm mudtags
rm cpptags
echo removed mudtags and cpptags
echo -Tag Migration Complete!
Is there a place you can download all the tags for C++ libraries?