M-Herr 165c3a690c
Added interface file includes for C++ types supported by swig (#1853)
* Added interface file includes for C++ types supported by swig

* Testing swig interface includes

* Inital pass at testing STL access via input file for swig interface file update

* Updated test comparison for keys() return function that swig generates for std::map. Added SIM_test_ip_stl to the trickops yml file

* Updated trick_swig.i to remove redundant includes

* Renamed input file for SIM_test_ip_stL

* Added typemap so swig can convert from C++ std::string pointer to python string

* Commented out some %include .i files. Also commented out %import for unordered_map as not supported by swig3 in the test code.

* Removed duplicated includes and added checking swig version for some .i files.

* Moved std_sstream.i to the right place as the order matters.

* Moved all work in progress .i files in swig 3 to swig 4 block.

* Removed unused files and added proper purposes for header files.

* Updated vector of char16_t and char32_t tests.

---------

Co-authored-by: Hong Chen <hchen99@users.noreply.github.com>
Co-authored-by: mherr <mherr@pop-os.lan>
2025-05-20 15:24:03 -05:00

17 lines
219 B
Plaintext

#include "sim_objects/default_trick_sys.sm"
##include "STLIPTest.hh"
class STLSimObject : public Trick::SimObject
{
public:
STLIPTest stl_ip_test;
STLSimObject()
{
}
};
STLSimObject stl_so;