bindings/python/ns3_module_contrib.py
author Tom Henderson <tomh@tomh.org>
Thu, 28 May 2009 21:38:49 -0700
changeset 4474 19e2b7ff3482
parent 4454 f2af91ee09e7
permissions -rw-r--r--
bindings/ changes for IPv4 routing rework
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4474
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
     1
from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
     2
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
     3
def register_types(module):
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
     4
    root_module = module.get_root()
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
     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')
4279
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
    10
    ## file-config.h: ns3::FileConfig [class]
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
    11
    module.add_class('FileConfig', allow_subclassing=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    12
    ## gnuplot.h: ns3::Gnuplot [class]
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    13
    module.add_class('Gnuplot')
4062
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
    14
    ## gnuplot.h: ns3::GnuplotCollection [class]
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
    15
    module.add_class('GnuplotCollection')
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    16
    ## gnuplot.h: ns3::GnuplotDataset [class]
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    17
    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
    18
    ## 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
    19
    module.add_class('GtkConfigStore')
4279
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
    20
    ## file-config.h: ns3::NoneFileConfig [class]
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
    21
    module.add_class('NoneFileConfig', parent=root_module['ns3::FileConfig'])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    22
    ## config-store.h: ns3::ConfigStore [class]
3457
2ff6f05b9467 Rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3408
diff changeset
    23
    module.add_class('ConfigStore', parent=root_module['ns3::ObjectBase'])
4279
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
    24
    ## config-store.h: ns3::ConfigStore::Mode [enumeration]
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
    25
    module.add_enum('Mode', ['LOAD', 'SAVE', 'NONE'], outer_class=root_module['ns3::ConfigStore'])
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
    26
    ## config-store.h: ns3::ConfigStore::FileFormat [enumeration]
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
    27
    module.add_enum('FileFormat', ['XML', 'RAW_TEXT'], outer_class=root_module['ns3::ConfigStore'])
3906
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
    28
    ## flow-id-tag.h: ns3::FlowIdTag [class]
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
    29
    module.add_class('FlowIdTag', parent=root_module['ns3::Tag'])
4062
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
    30
    ## gnuplot.h: ns3::Gnuplot2dDataset [class]
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
    31
    module.add_class('Gnuplot2dDataset', parent=root_module['ns3::GnuplotDataset'])
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
    32
    ## gnuplot.h: ns3::Gnuplot2dDataset::Style [enumeration]
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
    33
    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
    34
    ## gnuplot.h: ns3::Gnuplot2dDataset::ErrorBars [enumeration]
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
    35
    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
    36
    ## gnuplot.h: ns3::Gnuplot2dFunction [class]
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
    37
    module.add_class('Gnuplot2dFunction', parent=root_module['ns3::GnuplotDataset'])
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
    38
    ## gnuplot.h: ns3::Gnuplot3dDataset [class]
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
    39
    module.add_class('Gnuplot3dDataset', parent=root_module['ns3::GnuplotDataset'])
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
    40
    ## gnuplot.h: ns3::Gnuplot3dFunction [class]
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
    41
    module.add_class('Gnuplot3dFunction', parent=root_module['ns3::GnuplotDataset'])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    42
    
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
    43
    ## Register a nested module for the namespace Config
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    44
    
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
    45
    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
    46
    register_types_ns3_Config(nested_module)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    47
    
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    48
    
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    49
    ## Register a nested module for the namespace TimeStepPrecision
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    50
    
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    51
    nested_module = module.add_cpp_namespace('TimeStepPrecision')
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    52
    register_types_ns3_TimeStepPrecision(nested_module)
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    53
    
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    54
    
4474
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
    55
    ## Register a nested module for the namespace addressUtils
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
    56
    
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
    57
    nested_module = module.add_cpp_namespace('addressUtils')
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
    58
    register_types_ns3_addressUtils(nested_module)
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
    59
    
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
    60
    
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
    61
    ## Register a nested module for the namespace internal
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    62
    
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
    63
    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
    64
    register_types_ns3_internal(nested_module)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    65
    
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    66
    
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    67
    ## Register a nested module for the namespace olsr
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    68
    
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    69
    nested_module = module.add_cpp_namespace('olsr')
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    70
    register_types_ns3_olsr(nested_module)
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    71
    
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    72
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
    73
def register_types_ns3_Config(module):
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    74
    root_module = module.get_root()
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    75
    
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    76
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    77
def register_types_ns3_TimeStepPrecision(module):
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    78
    root_module = module.get_root()
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    79
    
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    80
4474
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
    81
def register_types_ns3_addressUtils(module):
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
    82
    root_module = module.get_root()
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
    83
    
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
    84
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
    85
def register_types_ns3_internal(module):
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    86
    root_module = module.get_root()
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    87
    
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    88
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    89
def register_types_ns3_olsr(module):
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    90
    root_module = module.get_root()
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    91
    
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    92
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    93
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
    94
    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
    95
    register_Ns3EventGarbageCollector_methods(root_module, root_module['ns3::EventGarbageCollector'])
4279
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
    96
    register_Ns3FileConfig_methods(root_module, root_module['ns3::FileConfig'])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    97
    register_Ns3Gnuplot_methods(root_module, root_module['ns3::Gnuplot'])
4062
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
    98
    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
    99
    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
   100
    register_Ns3GtkConfigStore_methods(root_module, root_module['ns3::GtkConfigStore'])
4279
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   101
    register_Ns3NoneFileConfig_methods(root_module, root_module['ns3::NoneFileConfig'])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   102
    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
   103
    register_Ns3FlowIdTag_methods(root_module, root_module['ns3::FlowIdTag'])
4062
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   104
    register_Ns3Gnuplot2dDataset_methods(root_module, root_module['ns3::Gnuplot2dDataset'])
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   105
    register_Ns3Gnuplot2dFunction_methods(root_module, root_module['ns3::Gnuplot2dFunction'])
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   106
    register_Ns3Gnuplot3dDataset_methods(root_module, root_module['ns3::Gnuplot3dDataset'])
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   107
    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
   108
    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
   109
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
def register_Ns3DelayJitterEstimation_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   111
    ## delay-jitter-estimation.h: ns3::DelayJitterEstimation::DelayJitterEstimation(ns3::DelayJitterEstimation const & arg0) [copy constructor]
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   112
    cls.add_constructor([param('ns3::DelayJitterEstimation const &', 'arg0')])
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
    ## 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
   114
    cls.add_constructor([])
4407
ef566eeff84f rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4279
diff changeset
   115
    ## delay-jitter-estimation.h: static void ns3::DelayJitterEstimation::PrepareTx(ns3::Ptr<ns3::Packet const> packet) [member function]
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
   116
    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
   117
                   '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
   118
                   [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
   119
                   is_static=True)
4407
ef566eeff84f rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4279
diff changeset
   120
    ## delay-jitter-estimation.h: void ns3::DelayJitterEstimation::RecordRx(ns3::Ptr<ns3::Packet const> packet) [member function]
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
   121
    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
   122
                   '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
   123
                   [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
   124
    ## 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
   125
    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
   126
                   '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
   127
                   [], 
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
   128
                   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
   129
    ## 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
   130
    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
   131
                   '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
   132
                   [], 
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
   133
                   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
   134
    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
   135
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
   136
def register_Ns3EventGarbageCollector_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   137
    ## event-garbage-collector.h: ns3::EventGarbageCollector::EventGarbageCollector(ns3::EventGarbageCollector const & arg0) [copy constructor]
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   138
    cls.add_constructor([param('ns3::EventGarbageCollector const &', 'arg0')])
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
   139
    ## 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
   140
    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
   141
    ## 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
   142
    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
   143
                   '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
   144
                   [param('ns3::EventId', 'event')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   145
    return
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   146
4279
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   147
def register_Ns3FileConfig_methods(root_module, cls):
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   148
    ## file-config.h: ns3::FileConfig::FileConfig(ns3::FileConfig const & arg0) [copy constructor]
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   149
    cls.add_constructor([param('ns3::FileConfig const &', 'arg0')])
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   150
    ## file-config.h: ns3::FileConfig::FileConfig() [constructor]
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   151
    cls.add_constructor([])
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   152
    ## file-config.h: void ns3::FileConfig::SetFilename(std::string filename) [member function]
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   153
    cls.add_method('SetFilename', 
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   154
                   'void', 
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   155
                   [param('std::string', 'filename')], 
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   156
                   is_pure_virtual=True, is_virtual=True)
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   157
    ## file-config.h: void ns3::FileConfig::Default() [member function]
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   158
    cls.add_method('Default', 
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   159
                   'void', 
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   160
                   [], 
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   161
                   is_pure_virtual=True, is_virtual=True)
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   162
    ## file-config.h: void ns3::FileConfig::Global() [member function]
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   163
    cls.add_method('Global', 
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   164
                   'void', 
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   165
                   [], 
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   166
                   is_pure_virtual=True, is_virtual=True)
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   167
    ## file-config.h: void ns3::FileConfig::Attributes() [member function]
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   168
    cls.add_method('Attributes', 
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   169
                   'void', 
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   170
                   [], 
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   171
                   is_pure_virtual=True, is_virtual=True)
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   172
    return
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   173
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   174
def register_Ns3Gnuplot_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   175
    ## gnuplot.h: ns3::Gnuplot::Gnuplot(ns3::Gnuplot const & arg0) [copy constructor]
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   176
    cls.add_constructor([param('ns3::Gnuplot const &', 'arg0')])
4062
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   177
    ## 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
   178
    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
   179
    ## 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
   180
    cls.add_method('DetectTerminal', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   181
                   'std::string', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   182
                   [param('std::string const &', 'filename')], 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   183
                   is_static=True)
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   184
    ## 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
   185
    cls.add_method('SetTerminal', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   186
                   'void', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   187
                   [param('std::string const &', 'terminal')])
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   188
    ## 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
   189
    cls.add_method('SetTitle', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   190
                   'void', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   191
                   [param('std::string const &', 'title')])
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   192
    ## 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
   193
    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
   194
                   'void', 
4062
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   195
                   [param('std::string const &', 'xLegend'), param('std::string const &', 'yLegend')])
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   196
    ## 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
   197
    cls.add_method('SetExtra', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   198
                   'void', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   199
                   [param('std::string const &', 'extra')])
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   200
    ## 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
   201
    cls.add_method('AppendExtra', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   202
                   'void', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   203
                   [param('std::string const &', 'extra')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   204
    ## 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
   205
    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
   206
                   '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
   207
                   [param('ns3::GnuplotDataset const &', 'dataset')])
4062
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   208
    ## 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
   209
    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
   210
                   'void', 
4062
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   211
                   [param('std::ostream &', 'os')], 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   212
                   is_const=True)
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   213
    return
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   214
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   215
def register_Ns3GnuplotCollection_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   216
    ## gnuplot.h: ns3::GnuplotCollection::GnuplotCollection(ns3::GnuplotCollection const & arg0) [copy constructor]
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   217
    cls.add_constructor([param('ns3::GnuplotCollection const &', 'arg0')])
4062
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   218
    ## gnuplot.h: ns3::GnuplotCollection::GnuplotCollection(std::string const & outputFilename) [constructor]
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   219
    cls.add_constructor([param('std::string const &', 'outputFilename')])
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   220
    ## 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
   221
    cls.add_method('SetTerminal', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   222
                   'void', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   223
                   [param('std::string const &', 'terminal')])
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   224
    ## 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
   225
    cls.add_method('AddPlot', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   226
                   'void', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   227
                   [param('ns3::Gnuplot const &', 'plot')])
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   228
    ## 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
   229
    cls.add_method('GetPlot', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   230
                   'ns3::Gnuplot &', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   231
                   [param('unsigned int', 'id')])
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   232
    ## 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
   233
    cls.add_method('GenerateOutput', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   234
                   'void', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   235
                   [param('std::ostream &', 'os')], 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   236
                   is_const=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   237
    return
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   238
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   239
def register_Ns3GnuplotDataset_methods(root_module, cls):
4062
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   240
    ## 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
   241
    cls.add_constructor([param('ns3::GnuplotDataset const &', 'original')])
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   242
    ## 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
   243
    cls.add_method('SetTitle', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   244
                   'void', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   245
                   [param('std::string const &', 'title')])
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   246
    ## 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
   247
    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
   248
                   'void', 
4062
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   249
                   [param('std::string const &', 'extra')], 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   250
                   is_static=True)
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   251
    ## 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
   252
    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
   253
                   'void', 
4062
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   254
                   [param('std::string const &', 'extra')])
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   255
    ## gnuplot.h: ns3::GnuplotDataset::GnuplotDataset(ns3::GnuplotDataset::Data * data) [constructor]
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   256
    cls.add_constructor([param('ns3::GnuplotDataset::Data *', 'data')], 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   257
                        visibility='protected')
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   258
    return
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   259
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
   260
def register_Ns3GtkConfigStore_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   261
    ## gtk-config-store.h: ns3::GtkConfigStore::GtkConfigStore(ns3::GtkConfigStore const & arg0) [copy constructor]
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   262
    cls.add_constructor([param('ns3::GtkConfigStore const &', 'arg0')])
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
   263
    ## 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
   264
    cls.add_constructor([])
4279
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   265
    ## gtk-config-store.h: void ns3::GtkConfigStore::ConfigureDefaults() [member function]
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   266
    cls.add_method('ConfigureDefaults', 
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   267
                   'void', 
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   268
                   [])
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   269
    ## gtk-config-store.h: void ns3::GtkConfigStore::ConfigureAttributes() [member function]
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   270
    cls.add_method('ConfigureAttributes', 
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
   271
                   '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
   272
                   [])
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
   273
    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
   274
4279
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   275
def register_Ns3NoneFileConfig_methods(root_module, cls):
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   276
    ## file-config.h: ns3::NoneFileConfig::NoneFileConfig(ns3::NoneFileConfig const & arg0) [copy constructor]
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   277
    cls.add_constructor([param('ns3::NoneFileConfig const &', 'arg0')])
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   278
    ## file-config.h: ns3::NoneFileConfig::NoneFileConfig() [constructor]
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   279
    cls.add_constructor([])
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   280
    ## file-config.h: void ns3::NoneFileConfig::SetFilename(std::string filename) [member function]
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   281
    cls.add_method('SetFilename', 
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   282
                   'void', 
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   283
                   [param('std::string', 'filename')], 
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   284
                   is_virtual=True)
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   285
    ## file-config.h: void ns3::NoneFileConfig::Default() [member function]
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   286
    cls.add_method('Default', 
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   287
                   'void', 
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   288
                   [], 
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   289
                   is_virtual=True)
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   290
    ## file-config.h: void ns3::NoneFileConfig::Global() [member function]
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   291
    cls.add_method('Global', 
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   292
                   'void', 
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   293
                   [], 
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   294
                   is_virtual=True)
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   295
    ## file-config.h: void ns3::NoneFileConfig::Attributes() [member function]
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   296
    cls.add_method('Attributes', 
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   297
                   'void', 
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   298
                   [], 
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   299
                   is_virtual=True)
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   300
    return
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   301
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   302
def register_Ns3ConfigStore_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   303
    ## config-store.h: ns3::ConfigStore::ConfigStore(ns3::ConfigStore const & arg0) [copy constructor]
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   304
    cls.add_constructor([param('ns3::ConfigStore const &', 'arg0')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   305
    ## 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
   306
    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
   307
                   '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
   308
                   [], 
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
   309
                   is_static=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   310
    ## 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
   311
    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
   312
                   '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
   313
                   [], 
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
   314
                   is_const=True, is_virtual=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   315
    ## 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
   316
    cls.add_constructor([])
4279
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   317
    ## config-store.h: void ns3::ConfigStore::SetMode(ns3::ConfigStore::Mode mode) [member function]
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   318
    cls.add_method('SetMode', 
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   319
                   'void', 
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   320
                   [param('ns3::ConfigStore::Mode', 'mode')])
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   321
    ## config-store.h: void ns3::ConfigStore::SetFileFormat(ns3::ConfigStore::FileFormat format) [member function]
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   322
    cls.add_method('SetFileFormat', 
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   323
                   'void', 
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   324
                   [param('ns3::ConfigStore::FileFormat', 'format')])
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   325
    ## config-store.h: void ns3::ConfigStore::SetFilename(std::string filename) [member function]
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   326
    cls.add_method('SetFilename', 
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   327
                   'void', 
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   328
                   [param('std::string', 'filename')])
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   329
    ## config-store.h: void ns3::ConfigStore::ConfigureDefaults() [member function]
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   330
    cls.add_method('ConfigureDefaults', 
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   331
                   'void', 
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   332
                   [])
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   333
    ## config-store.h: void ns3::ConfigStore::ConfigureAttributes() [member function]
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   334
    cls.add_method('ConfigureAttributes', 
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
   335
                   '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
   336
                   [])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   337
    return
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   338
3906
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   339
def register_Ns3FlowIdTag_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   340
    ## flow-id-tag.h: ns3::FlowIdTag::FlowIdTag(ns3::FlowIdTag const & arg0) [copy constructor]
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   341
    cls.add_constructor([param('ns3::FlowIdTag const &', 'arg0')])
3906
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   342
    ## 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
   343
    cls.add_method('GetTypeId', 
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   344
                   'ns3::TypeId', 
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   345
                   [], 
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   346
                   is_static=True)
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   347
    ## 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
   348
    cls.add_method('GetInstanceTypeId', 
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   349
                   'ns3::TypeId', 
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   350
                   [], 
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   351
                   is_const=True, is_virtual=True)
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   352
    ## 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
   353
    cls.add_method('GetSerializedSize', 
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   354
                   'uint32_t', 
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   355
                   [], 
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   356
                   is_const=True, is_virtual=True)
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   357
    ## 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
   358
    cls.add_method('Serialize', 
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   359
                   'void', 
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   360
                   [param('ns3::TagBuffer', 'buf')], 
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   361
                   is_const=True, is_virtual=True)
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   362
    ## 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
   363
    cls.add_method('Deserialize', 
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   364
                   'void', 
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   365
                   [param('ns3::TagBuffer', 'buf')], 
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   366
                   is_virtual=True)
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   367
    ## 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
   368
    cls.add_method('Print', 
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   369
                   'void', 
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   370
                   [param('std::ostream &', 'os')], 
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   371
                   is_const=True, is_virtual=True)
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   372
    ## flow-id-tag.h: ns3::FlowIdTag::FlowIdTag() [constructor]
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   373
    cls.add_constructor([])
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   374
    ## 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
   375
    cls.add_constructor([param('uint32_t', 'flowId')])
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   376
    ## 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
   377
    cls.add_method('SetFlowId', 
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   378
                   'void', 
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   379
                   [param('uint32_t', 'flowId')])
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   380
    ## 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
   381
    cls.add_method('GetFlowId', 
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   382
                   'uint32_t', 
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   383
                   [], 
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   384
                   is_const=True)
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   385
    ## 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
   386
    cls.add_method('AllocateFlowId', 
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   387
                   'uint32_t', 
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   388
                   [], 
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   389
                   is_static=True)
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   390
    return
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   391
4062
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   392
def register_Ns3Gnuplot2dDataset_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   393
    ## gnuplot.h: ns3::Gnuplot2dDataset::Gnuplot2dDataset(ns3::Gnuplot2dDataset const & arg0) [copy constructor]
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   394
    cls.add_constructor([param('ns3::Gnuplot2dDataset const &', 'arg0')])
4062
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   395
    ## 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
   396
    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
   397
    ## 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
   398
    cls.add_method('SetDefaultStyle', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   399
                   'void', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   400
                   [param('ns3::Gnuplot2dDataset::Style', 'style')], 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   401
                   is_static=True)
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   402
    ## 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
   403
    cls.add_method('SetStyle', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   404
                   'void', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   405
                   [param('ns3::Gnuplot2dDataset::Style', 'style')])
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   406
    ## 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
   407
    cls.add_method('SetDefaultErrorBars', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   408
                   'void', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   409
                   [param('ns3::Gnuplot2dDataset::ErrorBars', 'errorBars')], 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   410
                   is_static=True)
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   411
    ## 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
   412
    cls.add_method('SetErrorBars', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   413
                   'void', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   414
                   [param('ns3::Gnuplot2dDataset::ErrorBars', 'errorBars')])
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   415
    ## 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
   416
    cls.add_method('Add', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   417
                   'void', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   418
                   [param('double', 'x'), param('double', 'y')])
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   419
    ## 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
   420
    cls.add_method('Add', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   421
                   'void', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   422
                   [param('double', 'x'), param('double', 'y'), param('double', 'errorDelta')])
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   423
    ## 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
   424
    cls.add_method('Add', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   425
                   'void', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   426
                   [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
   427
    ## gnuplot.h: void ns3::Gnuplot2dDataset::AddEmptyLine() [member function]
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   428
    cls.add_method('AddEmptyLine', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   429
                   'void', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   430
                   [])
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   431
    return
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   432
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   433
def register_Ns3Gnuplot2dFunction_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   434
    ## gnuplot.h: ns3::Gnuplot2dFunction::Gnuplot2dFunction(ns3::Gnuplot2dFunction const & arg0) [copy constructor]
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   435
    cls.add_constructor([param('ns3::Gnuplot2dFunction const &', 'arg0')])
4062
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   436
    ## 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
   437
    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
   438
    ## 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
   439
    cls.add_method('SetFunction', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   440
                   'void', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   441
                   [param('std::string const &', 'function')])
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   442
    return
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   443
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   444
def register_Ns3Gnuplot3dDataset_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   445
    ## gnuplot.h: ns3::Gnuplot3dDataset::Gnuplot3dDataset(ns3::Gnuplot3dDataset const & arg0) [copy constructor]
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   446
    cls.add_constructor([param('ns3::Gnuplot3dDataset const &', 'arg0')])
4062
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   447
    ## 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
   448
    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
   449
    ## 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
   450
    cls.add_method('SetDefaultStyle', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   451
                   'void', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   452
                   [param('std::string const &', 'style')], 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   453
                   is_static=True)
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   454
    ## 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
   455
    cls.add_method('SetStyle', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   456
                   'void', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   457
                   [param('std::string const &', 'style')])
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   458
    ## 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
   459
    cls.add_method('Add', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   460
                   'void', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   461
                   [param('double', 'x'), param('double', 'y'), param('double', 'z')])
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   462
    ## gnuplot.h: void ns3::Gnuplot3dDataset::AddEmptyLine() [member function]
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   463
    cls.add_method('AddEmptyLine', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   464
                   'void', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   465
                   [])
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   466
    return
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   467
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   468
def register_Ns3Gnuplot3dFunction_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   469
    ## gnuplot.h: ns3::Gnuplot3dFunction::Gnuplot3dFunction(ns3::Gnuplot3dFunction const & arg0) [copy constructor]
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   470
    cls.add_constructor([param('ns3::Gnuplot3dFunction const &', 'arg0')])
4062
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   471
    ## 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
   472
    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
   473
    ## 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
   474
    cls.add_method('SetFunction', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   475
                   'void', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   476
                   [param('std::string const &', 'function')])
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   477
    return
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   478
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   479
def register_functions(root_module):
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   480
    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
   481
    register_functions_ns3_Config(module.get_submodule('Config'), root_module)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   482
    register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
4474
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   483
    register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), 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
   484
    register_functions_ns3_internal(module.get_submodule('internal'), root_module)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   485
    register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   486
    return
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   487
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
   488
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
   489
    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
   490
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
   491
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
   492
    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
   493
4474
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   494
def register_functions_ns3_addressUtils(module, root_module):
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   495
    return
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   496
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   497
def register_functions_ns3_internal(module, root_module):
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   498
    return
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   499
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   500
def register_functions_ns3_olsr(module, root_module):
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   501
    return
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   502