Commit Graph
20 Commits
Author SHA1 Message Date
Gustavo J. A. M. Carneiro 035fc29474 Modular bindings: add the std::ios::openmode constants 2011-03-30 18:44:36 +01:00
Gustavo J. A. M. Carneiro 4a1d280f3b 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 3b0f44269d Modular bindings: add the Callback<...> type handlers 2011-03-13 15:28:57 +00:00
Gustavo J. A. M. Carneiro ce0dabd900 Fix Python bindings ns3.Object subclassing bug 2010-05-06 14:21:20 +01:00
Gustavo J. A. M. Carneiro 52e078aecd Add python support for std::ios::openmode and its constants 2010-04-16 15:06:27 +01:00
Gustavo J. A. M. Carneiro ecc1df19d5 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 774a746985 Bug 786 - Make Ipv4Address hashable from Python 2010-01-14 11:45:04 +00:00
Gustavo J. A. M. Carneiro 594dd9b90e Python: add default_value support to our custom Callback type handlers 2009-11-18 12:01:33 +00:00
Mathieu Lacage 0d5554a509 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 d1b501f370 Python: wrap std::ostream/ofstream, for ascii tracing. 2009-02-18 12:23:08 +00:00
Gustavo J. A. M. Carneiro c0ea878ba2 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 d474f1933a Bug 289: CommandLine::AddValue is not wrapped 2008-11-26 12:11:11 +00:00
Gustavo J. A. M. Carneiro dd6476d804 Python: fix bug with missing wrapper registration for objects created directly via the python constructor 2008-10-20 16:56:40 +01:00
Gustavo J. A. M. Carneiro fe8cbc9a0f A more pythonic wrapper for ns3.TypeId.LookupByNameFailSafe 2008-10-15 15:55:09 +01:00
Gustavo J. A. M. Carneiro 0adbfb8047 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 7570be25c5 Python: fix constructor wrapper name for templated ns3::Objects. 2008-08-31 22:33:23 +01:00
Gustavo J. A. M. Carneiro b9722796d7 Require new PyBindGen; make it work for Python 2.3. 2008-07-22 16:54:24 +01:00
Gustavo J. A. M. Carneiro 10ee9b9e01 Python: make helper class methods using attribute optional parameters work. 2008-07-13 17:55:48 +01:00
Gustavo J. A. M. Carneiro a6ccafbed7 Fix a problem with callback proxies with zero or one parameters. 2008-07-09 18:33:16 +01:00
Gustavo J. A. M. Carneiro 5f994081d5 python bindings 2008-07-08 10:43:58 -07:00