Commit Graph
20 Commits
Author SHA1 Message Date
Gustavo J. A. M. Carneiro 650632f474 Modular bindings: add the std::ios::openmode constants 2011-03-30 18:44:36 +01:00
Gustavo J. A. M. Carneiro 168efa0be8 Modular bindings: fix binding code generation when the module does not use ns3::Object 2011-03-24 17:01:06 +00:00
Gustavo J. A. M. Carneiro afc9ece749 Modular bindings: add the Callback<...> type handlers 2011-03-13 15:28:57 +00:00
Gustavo J. A. M. Carneiro 1bdab52ab6 Fix Python bindings ns3.Object subclassing bug 2010-05-06 14:21:20 +01:00
Gustavo J. A. M. Carneiro 012d6eea5e Add python support for std::ios::openmode and its constants 2010-04-16 15:06:27 +01:00
Gustavo J. A. M. Carneiro 29f86f9565 Realign Python ns3.Object constructors with C++
The Python constructors are now parameter oriented instead of attribute oriented.
The main motivation for this change is that Python bindings become broken with new Object types being introduced that do not have a default constructor (constructor without parameters).  Another reason is to shorten the gap between C++ and Python, API-wise--the more similar they are, the less confusing it becomes.
2010-03-17 11:18:55 +00:00
Gustavo J. A. M. Carneiro 9743ab39d9 Bug 786 - Make Ipv4Address hashable from Python 2010-01-14 11:45:04 +00:00
Gustavo J. A. M. Carneiro 3ad98e4e26 Python: add default_value support to our custom Callback type handlers 2009-11-18 12:01:33 +00:00
Mathieu Lacage 0b8a6084bd make CreateObject<> behave like Create<>: use positional constructor arguments rather than attribute lists. 2009-06-19 08:43:58 +02:00
Gustavo J. A. M. Carneiro f4fbfd63c8 Python: wrap std::ostream/ofstream, for ascii tracing. 2009-02-18 12:23:08 +00:00
Gustavo J. A. M. Carneiro 2e534fd8eb Bug 375: Ctrl-C does not always work when running Python simulations 2009-01-13 19:28:26 +00:00
Gustavo J. A. M. Carneiro beb8e003f7 Bug 289: CommandLine::AddValue is not wrapped 2008-11-26 12:11:11 +00:00
Gustavo J. A. M. Carneiro 958ef01844 Python: fix bug with missing wrapper registration for objects created directly via the python constructor
--HG--
extra : transplant_source : %7Fp%14%AA%2A%D88%EFP%82%BD%C7%B1%1BYQ%BB0r%22
2008-10-20 16:56:40 +01:00
Gustavo J. A. M. Carneiro 3eb274081d A more pythonic wrapper for ns3.TypeId.LookupByNameFailSafe 2008-10-15 15:55:09 +01:00
Gustavo J. A. M. Carneiro 0479738e6d New pybindgen and API rescan. Extensive API description files changes because pybindgen now handles consts differently. 2008-09-02 11:12:42 +01:00
Gustavo J. A. M. Carneiro 4b0018f349 Python: fix constructor wrapper name for templated ns3::Objects. 2008-08-31 22:33:23 +01:00
Gustavo J. A. M. Carneiro fd4fa128c6 Require new PyBindGen; make it work for Python 2.3. 2008-07-22 16:54:24 +01:00
Gustavo J. A. M. Carneiro 453ed1e996 Python: make helper class methods using attribute optional parameters work. 2008-07-13 17:55:48 +01:00
Gustavo J. A. M. Carneiro fe87fc9900 Fix a problem with callback proxies with zero or one parameters. 2008-07-09 18:33:16 +01:00
Gustavo J. A. M. Carneiro 9efa9be722 python bindings 2008-07-08 10:43:58 -07:00