vector_string.h 960 B

123456789101112131415161718192021222324252627282930
  1. // Filename: vector_string.h
  2. // Created by: drose (15May00)
  3. //
  4. ////////////////////////////////////////////////////////////////////
  5. #ifndef VECTOR_STRING_H
  6. #define VECTOR_STRING_H
  7. #include <dtoolbase.h>
  8. #include <vector>
  9. ////////////////////////////////////////////////////////////////////
  10. // Class : vector_string
  11. // Description : A vector of ints. This class is defined once here,
  12. // and exported to DTOOL.DLL; other packages that want
  13. // to use a vector of this type (whether they need to
  14. // export it or not) should include this header file,
  15. // rather than defining the vector again.
  16. ////////////////////////////////////////////////////////////////////
  17. EXPORT_TEMPLATE_CLASS(EXPCL_DTOOL, EXPTP_DTOOL, std::vector<std::string>)
  18. typedef vector<string> vector_string;
  19. // Tell GCC that we'll take care of the instantiation explicitly here.
  20. #ifdef __GNUC__
  21. #pragma interface
  22. #endif
  23. #endif