X7ROOT File Manager
Current Path:
/usr/share/swig/2.0.10/d
usr
/
share
/
swig
/
2.0.10
/
d
/
📁
..
📄
boost_shared_ptr.i
(8.03 KB)
📄
carrays.i
(2.51 KB)
📄
cpointer.i
(3.4 KB)
📄
d.swg
(1.32 KB)
📄
dclassgen.swg
(3.53 KB)
📄
ddirectives.swg
(466 B)
📄
denums.swg
(1.87 KB)
📄
dexception.swg
(1.15 KB)
📄
dhead.swg
(9.59 KB)
📄
director.swg
(1.2 KB)
📄
dkw.swg
(2.36 KB)
📄
dmemberfunctionpointers.swg
(2.67 KB)
📄
doperators.swg
(7.93 KB)
📄
dprimitives.swg
(4.5 KB)
📄
dstrings.swg
(2.51 KB)
📄
dswigtype.swg
(5.09 KB)
📄
dvoid.swg
(559 B)
📄
std_common.i
(102 B)
📄
std_deque.i
(28 B)
📄
std_except.i
(1.86 KB)
📄
std_map.i
(1.7 KB)
📄
std_pair.i
(703 B)
📄
std_shared_ptr.i
(68 B)
📄
std_string.i
(3.04 KB)
📄
std_vector.i
(16.07 KB)
📄
stl.i
(357 B)
📄
typemaps.i
(10.81 KB)
📄
wrapperloader.swg
(7.71 KB)
Editing: director.swg
/* ----------------------------------------------------------------------------- * director.swg * * This file contains support for director classes so that D proxy * methods can be called from C++. * ----------------------------------------------------------------------------- */ #ifdef __cplusplus #if defined(DEBUG_DIRECTOR_OWNED) #include <iostream> #endif #include <string> namespace Swig { // Director base class – not used in D directors. class Director { }; // Base class for director exceptions. class DirectorException { protected: std::string swig_msg; public: DirectorException(const char* msg) : swig_msg(msg) { } DirectorException(const std::string &msg) : swig_msg(msg) { } const std::string& what() const { return swig_msg; } virtual ~DirectorException() { } }; // Exception which is thrown when attempting to call a pure virtual method // from D code thorugh the director layer. class DirectorPureVirtualException : public Swig::DirectorException { public: DirectorPureVirtualException(const char* msg) : DirectorException(std::string("Attempted to invoke pure virtual method ") + msg) { } }; } #endif /* __cplusplus */
Upload File
Create Folder