author | Raj Bhattacharjea <raj.b@gatech.edu> |
Tue, 13 Jan 2009 17:15:44 -0500 | |
changeset 4218 | debf1a8a96d3 |
parent 4062 | 343056c3b5d0 |
child 4241 | c35796bc0b4b |
permissions | -rw-r--r-- |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
1 |
from pybindgen import Module, FileCodeSink, param, retval, cppclass |
3408 | 2 |
|
3 |
def register_types(module): |
|
4 |
root_module = module.get_root() |
|
5 |
||
3731
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3584
diff
changeset
|
6 |
## delay-jitter-estimation.h: ns3::DelayJitterEstimation [class] |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3584
diff
changeset
|
7 |
module.add_class('DelayJitterEstimation') |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3584
diff
changeset
|
8 |
## event-garbage-collector.h: ns3::EventGarbageCollector [class] |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3584
diff
changeset
|
9 |
module.add_class('EventGarbageCollector') |
3408 | 10 |
## gnuplot.h: ns3::Gnuplot [class] |
11 |
module.add_class('Gnuplot') |
|
4062
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
12 |
## gnuplot.h: ns3::GnuplotCollection [class] |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
13 |
module.add_class('GnuplotCollection') |
3408 | 14 |
## gnuplot.h: ns3::GnuplotDataset [class] |
15 |
module.add_class('GnuplotDataset') |
|
3731
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3584
diff
changeset
|
16 |
## gtk-config-store.h: ns3::GtkConfigStore [class] |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3584
diff
changeset
|
17 |
module.add_class('GtkConfigStore') |
3408 | 18 |
## config-store.h: ns3::ConfigStore [class] |
3457 | 19 |
module.add_class('ConfigStore', parent=root_module['ns3::ObjectBase']) |
3906
01acc159ffb1
merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3731
diff
changeset
|
20 |
## flow-id-tag.h: ns3::FlowIdTag [class] |
01acc159ffb1
merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3731
diff
changeset
|
21 |
module.add_class('FlowIdTag', parent=root_module['ns3::Tag']) |
4062
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
22 |
## gnuplot.h: ns3::Gnuplot2dDataset [class] |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
23 |
module.add_class('Gnuplot2dDataset', parent=root_module['ns3::GnuplotDataset']) |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
24 |
## gnuplot.h: ns3::Gnuplot2dDataset::Style [enumeration] |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
25 |
module.add_enum('Style', ['LINES', 'POINTS', 'LINES_POINTS', 'DOTS', 'IMPULSES', 'STEPS', 'FSTEPS', 'HISTEPS'], outer_class=root_module['ns3::Gnuplot2dDataset']) |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
26 |
## gnuplot.h: ns3::Gnuplot2dDataset::ErrorBars [enumeration] |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
27 |
module.add_enum('ErrorBars', ['NONE', 'X', 'Y', 'XY'], outer_class=root_module['ns3::Gnuplot2dDataset']) |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
28 |
## gnuplot.h: ns3::Gnuplot2dFunction [class] |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
29 |
module.add_class('Gnuplot2dFunction', parent=root_module['ns3::GnuplotDataset']) |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
30 |
## gnuplot.h: ns3::Gnuplot3dDataset [class] |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
31 |
module.add_class('Gnuplot3dDataset', parent=root_module['ns3::GnuplotDataset']) |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
32 |
## gnuplot.h: ns3::Gnuplot3dFunction [class] |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
33 |
module.add_class('Gnuplot3dFunction', parent=root_module['ns3::GnuplotDataset']) |
3408 | 34 |
|
3855
7fdcbeea6c4f
Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3731
diff
changeset
|
35 |
## Register a nested module for the namespace Config |
3408 | 36 |
|
3855
7fdcbeea6c4f
Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3731
diff
changeset
|
37 |
nested_module = module.add_cpp_namespace('Config') |
7fdcbeea6c4f
Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3731
diff
changeset
|
38 |
register_types_ns3_Config(nested_module) |
3408 | 39 |
|
40 |
||
41 |
## Register a nested module for the namespace TimeStepPrecision |
|
42 |
||
43 |
nested_module = module.add_cpp_namespace('TimeStepPrecision') |
|
44 |
register_types_ns3_TimeStepPrecision(nested_module) |
|
45 |
||
46 |
||
3855
7fdcbeea6c4f
Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3731
diff
changeset
|
47 |
## Register a nested module for the namespace internal |
3408 | 48 |
|
3855
7fdcbeea6c4f
Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3731
diff
changeset
|
49 |
nested_module = module.add_cpp_namespace('internal') |
7fdcbeea6c4f
Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3731
diff
changeset
|
50 |
register_types_ns3_internal(nested_module) |
3408 | 51 |
|
52 |
||
53 |
## Register a nested module for the namespace olsr |
|
54 |
||
55 |
nested_module = module.add_cpp_namespace('olsr') |
|
56 |
register_types_ns3_olsr(nested_module) |
|
57 |
||
58 |
||
3855
7fdcbeea6c4f
Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3731
diff
changeset
|
59 |
def register_types_ns3_Config(module): |
3408 | 60 |
root_module = module.get_root() |
61 |
||
62 |
||
63 |
def register_types_ns3_TimeStepPrecision(module): |
|
64 |
root_module = module.get_root() |
|
65 |
||
66 |
||
3855
7fdcbeea6c4f
Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3731
diff
changeset
|
67 |
def register_types_ns3_internal(module): |
3408 | 68 |
root_module = module.get_root() |
69 |
||
70 |
||
71 |
def register_types_ns3_olsr(module): |
|
72 |
root_module = module.get_root() |
|
73 |
||
74 |
||
75 |
def register_methods(root_module): |
|
3731
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3584
diff
changeset
|
76 |
register_Ns3DelayJitterEstimation_methods(root_module, root_module['ns3::DelayJitterEstimation']) |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3584
diff
changeset
|
77 |
register_Ns3EventGarbageCollector_methods(root_module, root_module['ns3::EventGarbageCollector']) |
3408 | 78 |
register_Ns3Gnuplot_methods(root_module, root_module['ns3::Gnuplot']) |
4062
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
79 |
register_Ns3GnuplotCollection_methods(root_module, root_module['ns3::GnuplotCollection']) |
3731
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3584
diff
changeset
|
80 |
register_Ns3GnuplotDataset_methods(root_module, root_module['ns3::GnuplotDataset']) |
3584
4eb48239b4dc
bug 274: bridge must detect compatibility of devices with bridging mode
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3574
diff
changeset
|
81 |
register_Ns3GtkConfigStore_methods(root_module, root_module['ns3::GtkConfigStore']) |
3408 | 82 |
register_Ns3ConfigStore_methods(root_module, root_module['ns3::ConfigStore']) |
3906
01acc159ffb1
merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3731
diff
changeset
|
83 |
register_Ns3FlowIdTag_methods(root_module, root_module['ns3::FlowIdTag']) |
4062
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
84 |
register_Ns3Gnuplot2dDataset_methods(root_module, root_module['ns3::Gnuplot2dDataset']) |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
85 |
register_Ns3Gnuplot2dFunction_methods(root_module, root_module['ns3::Gnuplot2dFunction']) |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
86 |
register_Ns3Gnuplot3dDataset_methods(root_module, root_module['ns3::Gnuplot3dDataset']) |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
87 |
register_Ns3Gnuplot3dFunction_methods(root_module, root_module['ns3::Gnuplot3dFunction']) |
3731
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3584
diff
changeset
|
88 |
return |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3584
diff
changeset
|
89 |
|
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3584
diff
changeset
|
90 |
def register_Ns3DelayJitterEstimation_methods(root_module, cls): |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3584
diff
changeset
|
91 |
## delay-jitter-estimation.h: ns3::DelayJitterEstimation::DelayJitterEstimation() [constructor] |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3584
diff
changeset
|
92 |
cls.add_constructor([]) |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3584
diff
changeset
|
93 |
## delay-jitter-estimation.h: static void ns3::DelayJitterEstimation::PrepareTx(ns3::Ptr<const ns3::Packet> packet) [member function] |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3584
diff
changeset
|
94 |
cls.add_method('PrepareTx', |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3584
diff
changeset
|
95 |
'void', |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3584
diff
changeset
|
96 |
[param('ns3::Ptr< ns3::Packet const >', 'packet')], |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3584
diff
changeset
|
97 |
is_static=True) |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3584
diff
changeset
|
98 |
## delay-jitter-estimation.h: void ns3::DelayJitterEstimation::RecordRx(ns3::Ptr<const ns3::Packet> packet) [member function] |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3584
diff
changeset
|
99 |
cls.add_method('RecordRx', |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3584
diff
changeset
|
100 |
'void', |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3584
diff
changeset
|
101 |
[param('ns3::Ptr< ns3::Packet const >', 'packet')]) |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3584
diff
changeset
|
102 |
## delay-jitter-estimation.h: ns3::Time ns3::DelayJitterEstimation::GetLastDelay() const [member function] |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3584
diff
changeset
|
103 |
cls.add_method('GetLastDelay', |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3584
diff
changeset
|
104 |
'ns3::Time', |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3584
diff
changeset
|
105 |
[], |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3584
diff
changeset
|
106 |
is_const=True) |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3584
diff
changeset
|
107 |
## delay-jitter-estimation.h: ns3::Time ns3::DelayJitterEstimation::GetLastJitter() const [member function] |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3584
diff
changeset
|
108 |
cls.add_method('GetLastJitter', |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3584
diff
changeset
|
109 |
'ns3::Time', |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3584
diff
changeset
|
110 |
[], |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3584
diff
changeset
|
111 |
is_const=True) |
4218
debf1a8a96d3
Proposed RNG API changes
Raj Bhattacharjea <raj.b@gatech.edu>
parents:
4062
diff
changeset
|
112 |
cls.add_copy_constructor() |
3731
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3584
diff
changeset
|
113 |
return |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3584
diff
changeset
|
114 |
|
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3584
diff
changeset
|
115 |
def register_Ns3EventGarbageCollector_methods(root_module, cls): |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3584
diff
changeset
|
116 |
## event-garbage-collector.h: ns3::EventGarbageCollector::EventGarbageCollector() [constructor] |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3584
diff
changeset
|
117 |
cls.add_constructor([]) |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3584
diff
changeset
|
118 |
## event-garbage-collector.h: void ns3::EventGarbageCollector::Track(ns3::EventId event) [member function] |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3584
diff
changeset
|
119 |
cls.add_method('Track', |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3584
diff
changeset
|
120 |
'void', |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3584
diff
changeset
|
121 |
[param('ns3::EventId', 'event')]) |
4218
debf1a8a96d3
Proposed RNG API changes
Raj Bhattacharjea <raj.b@gatech.edu>
parents:
4062
diff
changeset
|
122 |
cls.add_copy_constructor() |
3408 | 123 |
return |
124 |
||
125 |
def register_Ns3Gnuplot_methods(root_module, cls): |
|
4062
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
126 |
## gnuplot.h: ns3::Gnuplot::Gnuplot(std::string const & outputFilename="", std::string const & title="") [constructor] |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
127 |
cls.add_constructor([param('std::string const &', 'outputFilename', default_value='""'), param('std::string const &', 'title', default_value='""')]) |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
128 |
## gnuplot.h: static std::string ns3::Gnuplot::DetectTerminal(std::string const & filename) [member function] |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
129 |
cls.add_method('DetectTerminal', |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
130 |
'std::string', |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
131 |
[param('std::string const &', 'filename')], |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
132 |
is_static=True) |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
133 |
## gnuplot.h: void ns3::Gnuplot::SetTerminal(std::string const & terminal) [member function] |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
134 |
cls.add_method('SetTerminal', |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
135 |
'void', |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
136 |
[param('std::string const &', 'terminal')]) |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
137 |
## gnuplot.h: void ns3::Gnuplot::SetTitle(std::string const & title) [member function] |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
138 |
cls.add_method('SetTitle', |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
139 |
'void', |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
140 |
[param('std::string const &', 'title')]) |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
141 |
## gnuplot.h: void ns3::Gnuplot::SetLegend(std::string const & xLegend, std::string const & yLegend) [member function] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
142 |
cls.add_method('SetLegend', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
143 |
'void', |
4062
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
144 |
[param('std::string const &', 'xLegend'), param('std::string const &', 'yLegend')]) |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
145 |
## gnuplot.h: void ns3::Gnuplot::SetExtra(std::string const & extra) [member function] |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
146 |
cls.add_method('SetExtra', |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
147 |
'void', |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
148 |
[param('std::string const &', 'extra')]) |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
149 |
## gnuplot.h: void ns3::Gnuplot::AppendExtra(std::string const & extra) [member function] |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
150 |
cls.add_method('AppendExtra', |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
151 |
'void', |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
152 |
[param('std::string const &', 'extra')]) |
3408 | 153 |
## gnuplot.h: void ns3::Gnuplot::AddDataset(ns3::GnuplotDataset const & dataset) [member function] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
154 |
cls.add_method('AddDataset', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
155 |
'void', |
3574
b6804efbe16b
New pybindgen and API rescan. Extensive API description files changes because pybindgen now handles consts differently.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3567
diff
changeset
|
156 |
[param('ns3::GnuplotDataset const &', 'dataset')]) |
4062
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
157 |
## gnuplot.h: void ns3::Gnuplot::GenerateOutput(std::ostream & os) const [member function] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
158 |
cls.add_method('GenerateOutput', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
159 |
'void', |
4062
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
160 |
[param('std::ostream &', 'os')], |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
161 |
is_const=True) |
4218
debf1a8a96d3
Proposed RNG API changes
Raj Bhattacharjea <raj.b@gatech.edu>
parents:
4062
diff
changeset
|
162 |
cls.add_copy_constructor() |
4062
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
163 |
return |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
164 |
|
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
165 |
def register_Ns3GnuplotCollection_methods(root_module, cls): |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
166 |
## gnuplot.h: ns3::GnuplotCollection::GnuplotCollection(std::string const & outputFilename) [constructor] |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
167 |
cls.add_constructor([param('std::string const &', 'outputFilename')]) |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
168 |
## gnuplot.h: void ns3::GnuplotCollection::SetTerminal(std::string const & terminal) [member function] |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
169 |
cls.add_method('SetTerminal', |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
170 |
'void', |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
171 |
[param('std::string const &', 'terminal')]) |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
172 |
## gnuplot.h: void ns3::GnuplotCollection::AddPlot(ns3::Gnuplot const & plot) [member function] |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
173 |
cls.add_method('AddPlot', |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
174 |
'void', |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
175 |
[param('ns3::Gnuplot const &', 'plot')]) |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
176 |
## gnuplot.h: ns3::Gnuplot & ns3::GnuplotCollection::GetPlot(unsigned int id) [member function] |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
177 |
cls.add_method('GetPlot', |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
178 |
'ns3::Gnuplot &', |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
179 |
[param('unsigned int', 'id')]) |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
180 |
## gnuplot.h: void ns3::GnuplotCollection::GenerateOutput(std::ostream & os) const [member function] |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
181 |
cls.add_method('GenerateOutput', |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
182 |
'void', |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
183 |
[param('std::ostream &', 'os')], |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
184 |
is_const=True) |
4218
debf1a8a96d3
Proposed RNG API changes
Raj Bhattacharjea <raj.b@gatech.edu>
parents:
4062
diff
changeset
|
185 |
cls.add_copy_constructor() |
3408 | 186 |
return |
187 |
||
188 |
def register_Ns3GnuplotDataset_methods(root_module, cls): |
|
4062
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
189 |
## gnuplot.h: ns3::GnuplotDataset::GnuplotDataset(ns3::GnuplotDataset const & original) [copy constructor] |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
190 |
cls.add_constructor([param('ns3::GnuplotDataset const &', 'original')]) |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
191 |
## gnuplot.h: void ns3::GnuplotDataset::SetTitle(std::string const & title) [member function] |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
192 |
cls.add_method('SetTitle', |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
193 |
'void', |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
194 |
[param('std::string const &', 'title')]) |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
195 |
## gnuplot.h: static void ns3::GnuplotDataset::SetDefaultExtra(std::string const & extra) [member function] |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
196 |
cls.add_method('SetDefaultExtra', |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
197 |
'void', |
4062
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
198 |
[param('std::string const &', 'extra')], |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
199 |
is_static=True) |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
200 |
## gnuplot.h: void ns3::GnuplotDataset::SetExtra(std::string const & extra) [member function] |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
201 |
cls.add_method('SetExtra', |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
202 |
'void', |
4062
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
203 |
[param('std::string const &', 'extra')]) |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
204 |
## gnuplot.h: ns3::GnuplotDataset::GnuplotDataset(ns3::GnuplotDataset::Data * data) [constructor] |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
205 |
cls.add_constructor([param('ns3::GnuplotDataset::Data *', 'data')], |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
206 |
visibility='protected') |
3408 | 207 |
return |
208 |
||
3731
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3584
diff
changeset
|
209 |
def register_Ns3GtkConfigStore_methods(root_module, cls): |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3584
diff
changeset
|
210 |
## gtk-config-store.h: ns3::GtkConfigStore::GtkConfigStore() [constructor] |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3584
diff
changeset
|
211 |
cls.add_constructor([]) |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3584
diff
changeset
|
212 |
## gtk-config-store.h: void ns3::GtkConfigStore::Configure() [member function] |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3584
diff
changeset
|
213 |
cls.add_method('Configure', |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3584
diff
changeset
|
214 |
'void', |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3584
diff
changeset
|
215 |
[]) |
4218
debf1a8a96d3
Proposed RNG API changes
Raj Bhattacharjea <raj.b@gatech.edu>
parents:
4062
diff
changeset
|
216 |
cls.add_copy_constructor() |
3731
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3584
diff
changeset
|
217 |
return |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3584
diff
changeset
|
218 |
|
3408 | 219 |
def register_Ns3ConfigStore_methods(root_module, cls): |
220 |
## config-store.h: static ns3::TypeId ns3::ConfigStore::GetTypeId() [member function] |
|
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
221 |
cls.add_method('GetTypeId', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
222 |
'ns3::TypeId', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
223 |
[], |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
224 |
is_static=True) |
3408 | 225 |
## config-store.h: ns3::TypeId ns3::ConfigStore::GetInstanceTypeId() const [member function] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
226 |
cls.add_method('GetInstanceTypeId', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
227 |
'ns3::TypeId', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
228 |
[], |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
229 |
is_const=True, is_virtual=True) |
3408 | 230 |
## config-store.h: ns3::ConfigStore::ConfigStore() [constructor] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
231 |
cls.add_constructor([]) |
3408 | 232 |
## config-store.h: void ns3::ConfigStore::Configure() [member function] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
233 |
cls.add_method('Configure', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
234 |
'void', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
235 |
[]) |
4218
debf1a8a96d3
Proposed RNG API changes
Raj Bhattacharjea <raj.b@gatech.edu>
parents:
4062
diff
changeset
|
236 |
cls.add_copy_constructor() |
3408 | 237 |
return |
238 |
||
3906
01acc159ffb1
merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3731
diff
changeset
|
239 |
def register_Ns3FlowIdTag_methods(root_module, cls): |
01acc159ffb1
merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3731
diff
changeset
|
240 |
## flow-id-tag.h: static ns3::TypeId ns3::FlowIdTag::GetTypeId() [member function] |
01acc159ffb1
merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3731
diff
changeset
|
241 |
cls.add_method('GetTypeId', |
01acc159ffb1
merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3731
diff
changeset
|
242 |
'ns3::TypeId', |
01acc159ffb1
merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3731
diff
changeset
|
243 |
[], |
01acc159ffb1
merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3731
diff
changeset
|
244 |
is_static=True) |
01acc159ffb1
merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3731
diff
changeset
|
245 |
## flow-id-tag.h: ns3::TypeId ns3::FlowIdTag::GetInstanceTypeId() const [member function] |
01acc159ffb1
merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3731
diff
changeset
|
246 |
cls.add_method('GetInstanceTypeId', |
01acc159ffb1
merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3731
diff
changeset
|
247 |
'ns3::TypeId', |
01acc159ffb1
merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3731
diff
changeset
|
248 |
[], |
01acc159ffb1
merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3731
diff
changeset
|
249 |
is_const=True, is_virtual=True) |
01acc159ffb1
merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3731
diff
changeset
|
250 |
## flow-id-tag.h: uint32_t ns3::FlowIdTag::GetSerializedSize() const [member function] |
01acc159ffb1
merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3731
diff
changeset
|
251 |
cls.add_method('GetSerializedSize', |
01acc159ffb1
merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3731
diff
changeset
|
252 |
'uint32_t', |
01acc159ffb1
merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3731
diff
changeset
|
253 |
[], |
01acc159ffb1
merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3731
diff
changeset
|
254 |
is_const=True, is_virtual=True) |
01acc159ffb1
merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3731
diff
changeset
|
255 |
## flow-id-tag.h: void ns3::FlowIdTag::Serialize(ns3::TagBuffer buf) const [member function] |
01acc159ffb1
merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3731
diff
changeset
|
256 |
cls.add_method('Serialize', |
01acc159ffb1
merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3731
diff
changeset
|
257 |
'void', |
01acc159ffb1
merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3731
diff
changeset
|
258 |
[param('ns3::TagBuffer', 'buf')], |
01acc159ffb1
merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3731
diff
changeset
|
259 |
is_const=True, is_virtual=True) |
01acc159ffb1
merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3731
diff
changeset
|
260 |
## flow-id-tag.h: void ns3::FlowIdTag::Deserialize(ns3::TagBuffer buf) [member function] |
01acc159ffb1
merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3731
diff
changeset
|
261 |
cls.add_method('Deserialize', |
01acc159ffb1
merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3731
diff
changeset
|
262 |
'void', |
01acc159ffb1
merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3731
diff
changeset
|
263 |
[param('ns3::TagBuffer', 'buf')], |
01acc159ffb1
merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3731
diff
changeset
|
264 |
is_virtual=True) |
01acc159ffb1
merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3731
diff
changeset
|
265 |
## flow-id-tag.h: void ns3::FlowIdTag::Print(std::ostream & os) const [member function] |
01acc159ffb1
merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3731
diff
changeset
|
266 |
cls.add_method('Print', |
01acc159ffb1
merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3731
diff
changeset
|
267 |
'void', |
01acc159ffb1
merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3731
diff
changeset
|
268 |
[param('std::ostream &', 'os')], |
01acc159ffb1
merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3731
diff
changeset
|
269 |
is_const=True, is_virtual=True) |
01acc159ffb1
merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3731
diff
changeset
|
270 |
## flow-id-tag.h: ns3::FlowIdTag::FlowIdTag() [constructor] |
01acc159ffb1
merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3731
diff
changeset
|
271 |
cls.add_constructor([]) |
01acc159ffb1
merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3731
diff
changeset
|
272 |
## flow-id-tag.h: ns3::FlowIdTag::FlowIdTag(uint32_t flowId) [constructor] |
01acc159ffb1
merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3731
diff
changeset
|
273 |
cls.add_constructor([param('uint32_t', 'flowId')]) |
01acc159ffb1
merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3731
diff
changeset
|
274 |
## flow-id-tag.h: void ns3::FlowIdTag::SetFlowId(uint32_t flowId) [member function] |
01acc159ffb1
merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3731
diff
changeset
|
275 |
cls.add_method('SetFlowId', |
01acc159ffb1
merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3731
diff
changeset
|
276 |
'void', |
01acc159ffb1
merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3731
diff
changeset
|
277 |
[param('uint32_t', 'flowId')]) |
01acc159ffb1
merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3731
diff
changeset
|
278 |
## flow-id-tag.h: uint32_t ns3::FlowIdTag::GetFlowId() const [member function] |
01acc159ffb1
merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3731
diff
changeset
|
279 |
cls.add_method('GetFlowId', |
01acc159ffb1
merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3731
diff
changeset
|
280 |
'uint32_t', |
01acc159ffb1
merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3731
diff
changeset
|
281 |
[], |
01acc159ffb1
merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3731
diff
changeset
|
282 |
is_const=True) |
01acc159ffb1
merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3731
diff
changeset
|
283 |
## flow-id-tag.h: static uint32_t ns3::FlowIdTag::AllocateFlowId() [member function] |
01acc159ffb1
merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3731
diff
changeset
|
284 |
cls.add_method('AllocateFlowId', |
01acc159ffb1
merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3731
diff
changeset
|
285 |
'uint32_t', |
01acc159ffb1
merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3731
diff
changeset
|
286 |
[], |
01acc159ffb1
merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3731
diff
changeset
|
287 |
is_static=True) |
4218
debf1a8a96d3
Proposed RNG API changes
Raj Bhattacharjea <raj.b@gatech.edu>
parents:
4062
diff
changeset
|
288 |
cls.add_copy_constructor() |
3906
01acc159ffb1
merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3731
diff
changeset
|
289 |
return |
01acc159ffb1
merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3731
diff
changeset
|
290 |
|
4062
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
291 |
def register_Ns3Gnuplot2dDataset_methods(root_module, cls): |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
292 |
## gnuplot.h: ns3::Gnuplot2dDataset::Gnuplot2dDataset(std::string const & title="Untitled") [constructor] |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
293 |
cls.add_constructor([param('std::string const &', 'title', default_value='"Untitled"')]) |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
294 |
## gnuplot.h: static void ns3::Gnuplot2dDataset::SetDefaultStyle(ns3::Gnuplot2dDataset::Style style) [member function] |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
295 |
cls.add_method('SetDefaultStyle', |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
296 |
'void', |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
297 |
[param('ns3::Gnuplot2dDataset::Style', 'style')], |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
298 |
is_static=True) |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
299 |
## gnuplot.h: void ns3::Gnuplot2dDataset::SetStyle(ns3::Gnuplot2dDataset::Style style) [member function] |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
300 |
cls.add_method('SetStyle', |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
301 |
'void', |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
302 |
[param('ns3::Gnuplot2dDataset::Style', 'style')]) |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
303 |
## gnuplot.h: static void ns3::Gnuplot2dDataset::SetDefaultErrorBars(ns3::Gnuplot2dDataset::ErrorBars errorBars) [member function] |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
304 |
cls.add_method('SetDefaultErrorBars', |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
305 |
'void', |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
306 |
[param('ns3::Gnuplot2dDataset::ErrorBars', 'errorBars')], |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
307 |
is_static=True) |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
308 |
## gnuplot.h: void ns3::Gnuplot2dDataset::SetErrorBars(ns3::Gnuplot2dDataset::ErrorBars errorBars) [member function] |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
309 |
cls.add_method('SetErrorBars', |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
310 |
'void', |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
311 |
[param('ns3::Gnuplot2dDataset::ErrorBars', 'errorBars')]) |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
312 |
## gnuplot.h: void ns3::Gnuplot2dDataset::Add(double x, double y) [member function] |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
313 |
cls.add_method('Add', |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
314 |
'void', |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
315 |
[param('double', 'x'), param('double', 'y')]) |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
316 |
## gnuplot.h: void ns3::Gnuplot2dDataset::Add(double x, double y, double errorDelta) [member function] |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
317 |
cls.add_method('Add', |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
318 |
'void', |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
319 |
[param('double', 'x'), param('double', 'y'), param('double', 'errorDelta')]) |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
320 |
## gnuplot.h: void ns3::Gnuplot2dDataset::Add(double x, double y, double minY, double maxY) [member function] |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
321 |
cls.add_method('Add', |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
322 |
'void', |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
323 |
[param('double', 'x'), param('double', 'y'), param('double', 'minY'), param('double', 'maxY')]) |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
324 |
## gnuplot.h: void ns3::Gnuplot2dDataset::AddEmptyLine() [member function] |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
325 |
cls.add_method('AddEmptyLine', |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
326 |
'void', |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
327 |
[]) |
4218
debf1a8a96d3
Proposed RNG API changes
Raj Bhattacharjea <raj.b@gatech.edu>
parents:
4062
diff
changeset
|
328 |
cls.add_copy_constructor() |
4062
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
329 |
return |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
330 |
|
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
331 |
def register_Ns3Gnuplot2dFunction_methods(root_module, cls): |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
332 |
## gnuplot.h: ns3::Gnuplot2dFunction::Gnuplot2dFunction(std::string const & title="Untitled", std::string const & function="") [constructor] |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
333 |
cls.add_constructor([param('std::string const &', 'title', default_value='"Untitled"'), param('std::string const &', 'function', default_value='""')]) |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
334 |
## gnuplot.h: void ns3::Gnuplot2dFunction::SetFunction(std::string const & function) [member function] |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
335 |
cls.add_method('SetFunction', |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
336 |
'void', |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
337 |
[param('std::string const &', 'function')]) |
4218
debf1a8a96d3
Proposed RNG API changes
Raj Bhattacharjea <raj.b@gatech.edu>
parents:
4062
diff
changeset
|
338 |
cls.add_copy_constructor() |
4062
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
339 |
return |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
340 |
|
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
341 |
def register_Ns3Gnuplot3dDataset_methods(root_module, cls): |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
342 |
## gnuplot.h: ns3::Gnuplot3dDataset::Gnuplot3dDataset(std::string const & title="Untitled") [constructor] |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
343 |
cls.add_constructor([param('std::string const &', 'title', default_value='"Untitled"')]) |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
344 |
## gnuplot.h: static void ns3::Gnuplot3dDataset::SetDefaultStyle(std::string const & style) [member function] |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
345 |
cls.add_method('SetDefaultStyle', |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
346 |
'void', |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
347 |
[param('std::string const &', 'style')], |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
348 |
is_static=True) |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
349 |
## gnuplot.h: void ns3::Gnuplot3dDataset::SetStyle(std::string const & style) [member function] |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
350 |
cls.add_method('SetStyle', |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
351 |
'void', |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
352 |
[param('std::string const &', 'style')]) |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
353 |
## gnuplot.h: void ns3::Gnuplot3dDataset::Add(double x, double y, double z) [member function] |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
354 |
cls.add_method('Add', |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
355 |
'void', |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
356 |
[param('double', 'x'), param('double', 'y'), param('double', 'z')]) |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
357 |
## gnuplot.h: void ns3::Gnuplot3dDataset::AddEmptyLine() [member function] |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
358 |
cls.add_method('AddEmptyLine', |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
359 |
'void', |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
360 |
[]) |
4218
debf1a8a96d3
Proposed RNG API changes
Raj Bhattacharjea <raj.b@gatech.edu>
parents:
4062
diff
changeset
|
361 |
cls.add_copy_constructor() |
4062
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
362 |
return |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
363 |
|
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
364 |
def register_Ns3Gnuplot3dFunction_methods(root_module, cls): |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
365 |
## gnuplot.h: ns3::Gnuplot3dFunction::Gnuplot3dFunction(std::string const & title="Untitled", std::string const & function="") [constructor] |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
366 |
cls.add_constructor([param('std::string const &', 'title', default_value='"Untitled"'), param('std::string const &', 'function', default_value='""')]) |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
367 |
## gnuplot.h: void ns3::Gnuplot3dFunction::SetFunction(std::string const & function) [member function] |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
368 |
cls.add_method('SetFunction', |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
369 |
'void', |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
370 |
[param('std::string const &', 'function')]) |
4218
debf1a8a96d3
Proposed RNG API changes
Raj Bhattacharjea <raj.b@gatech.edu>
parents:
4062
diff
changeset
|
371 |
cls.add_copy_constructor() |
4062
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
372 |
return |
343056c3b5d0
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3972
diff
changeset
|
373 |
|
3408 | 374 |
def register_functions(root_module): |
375 |
module = root_module |
|
3855
7fdcbeea6c4f
Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3731
diff
changeset
|
376 |
register_functions_ns3_Config(module.get_submodule('Config'), root_module) |
3408 | 377 |
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module) |
3855
7fdcbeea6c4f
Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3731
diff
changeset
|
378 |
register_functions_ns3_internal(module.get_submodule('internal'), root_module) |
3408 | 379 |
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) |
380 |
return |
|
381 |
||
3855
7fdcbeea6c4f
Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3731
diff
changeset
|
382 |
def register_functions_ns3_Config(module, root_module): |
7fdcbeea6c4f
Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3731
diff
changeset
|
383 |
return |
7fdcbeea6c4f
Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3731
diff
changeset
|
384 |
|
7fdcbeea6c4f
Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3731
diff
changeset
|
385 |
def register_functions_ns3_TimeStepPrecision(module, root_module): |
7fdcbeea6c4f
Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3731
diff
changeset
|
386 |
return |
7fdcbeea6c4f
Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3731
diff
changeset
|
387 |
|
3408 | 388 |
def register_functions_ns3_internal(module, root_module): |
389 |
return |
|
390 |
||
391 |
def register_functions_ns3_olsr(module, root_module): |
|
392 |
return |
|
393 |