bindings/python/ns3_module_contrib.py
author Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
Mon, 27 Apr 2009 16:50:16 +0200
changeset 4422 f5ef533e56e4
parent 4407 ef566eeff84f
child 4449 c11b6d768ab3
permissions -rw-r--r--
rescan python bindings
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
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
    
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
    55
    ## Register a nested module for the namespace internal
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    56
    
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
    57
    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
    58
    register_types_ns3_internal(nested_module)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    59
    
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    60
    
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    61
    ## Register a nested module for the namespace olsr
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    62
    
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    63
    nested_module = module.add_cpp_namespace('olsr')
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    64
    register_types_ns3_olsr(nested_module)
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
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_Config(module):
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    68
    root_module = module.get_root()
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    69
    
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    70
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    71
def register_types_ns3_TimeStepPrecision(module):
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    72
    root_module = module.get_root()
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    73
    
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    74
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
    75
def register_types_ns3_internal(module):
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    76
    root_module = module.get_root()
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    77
    
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    78
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    79
def register_types_ns3_olsr(module):
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    80
    root_module = module.get_root()
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    81
    
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    82
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    83
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
    84
    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
    85
    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
    86
    register_Ns3FileConfig_methods(root_module, root_module['ns3::FileConfig'])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    87
    register_Ns3Gnuplot_methods(root_module, root_module['ns3::Gnuplot'])
4062
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
    88
    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
    89
    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
    90
    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
    91
    register_Ns3NoneFileConfig_methods(root_module, root_module['ns3::NoneFileConfig'])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    92
    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
    93
    register_Ns3FlowIdTag_methods(root_module, root_module['ns3::FlowIdTag'])
4062
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
    94
    register_Ns3Gnuplot2dDataset_methods(root_module, root_module['ns3::Gnuplot2dDataset'])
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
    95
    register_Ns3Gnuplot2dFunction_methods(root_module, root_module['ns3::Gnuplot2dFunction'])
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
    96
    register_Ns3Gnuplot3dDataset_methods(root_module, root_module['ns3::Gnuplot3dDataset'])
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
    97
    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
    98
    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
    99
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
def register_Ns3DelayJitterEstimation_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   101
    ## 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
   102
    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
   103
    ## 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
   104
    cls.add_constructor([])
4407
ef566eeff84f rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4279
diff changeset
   105
    ## 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
   106
    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
   107
                   '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
   108
                   [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
   109
                   is_static=True)
4407
ef566eeff84f rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4279
diff changeset
   110
    ## 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
   111
    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
   112
                   '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
   113
                   [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
   114
    ## 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
   115
    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
   116
                   '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
   117
                   [], 
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
                   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
   119
    ## 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
   120
    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
   121
                   '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
   122
                   [], 
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
                   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
   124
    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
   125
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
def register_Ns3EventGarbageCollector_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   127
    ## 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
   128
    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
   129
    ## 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
   130
    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
   131
    ## 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
   132
    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
   133
                   '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
   134
                   [param('ns3::EventId', 'event')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   135
    return
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   136
4279
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   137
def register_Ns3FileConfig_methods(root_module, cls):
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   138
    ## 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
   139
    cls.add_constructor([param('ns3::FileConfig const &', 'arg0')])
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   140
    ## file-config.h: ns3::FileConfig::FileConfig() [constructor]
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   141
    cls.add_constructor([])
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   142
    ## 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
   143
    cls.add_method('SetFilename', 
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   144
                   'void', 
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   145
                   [param('std::string', 'filename')], 
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   146
                   is_pure_virtual=True, is_virtual=True)
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   147
    ## file-config.h: void ns3::FileConfig::Default() [member function]
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   148
    cls.add_method('Default', 
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   149
                   'void', 
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   150
                   [], 
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   151
                   is_pure_virtual=True, is_virtual=True)
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   152
    ## file-config.h: void ns3::FileConfig::Global() [member function]
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   153
    cls.add_method('Global', 
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
                   [], 
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::Attributes() [member function]
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   158
    cls.add_method('Attributes', 
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
    return
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   163
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   164
def register_Ns3Gnuplot_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   165
    ## 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
   166
    cls.add_constructor([param('ns3::Gnuplot const &', 'arg0')])
4062
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   167
    ## 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
   168
    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
   169
    ## 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
   170
    cls.add_method('DetectTerminal', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   171
                   'std::string', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   172
                   [param('std::string const &', 'filename')], 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   173
                   is_static=True)
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   174
    ## 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
   175
    cls.add_method('SetTerminal', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   176
                   'void', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   177
                   [param('std::string const &', 'terminal')])
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   178
    ## 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
   179
    cls.add_method('SetTitle', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   180
                   'void', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   181
                   [param('std::string const &', 'title')])
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   182
    ## 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
   183
    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
   184
                   'void', 
4062
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   185
                   [param('std::string const &', 'xLegend'), param('std::string const &', 'yLegend')])
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   186
    ## 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
   187
    cls.add_method('SetExtra', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   188
                   'void', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   189
                   [param('std::string const &', 'extra')])
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   190
    ## 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
   191
    cls.add_method('AppendExtra', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   192
                   'void', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   193
                   [param('std::string const &', 'extra')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   194
    ## 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
   195
    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
   196
                   '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
   197
                   [param('ns3::GnuplotDataset const &', 'dataset')])
4062
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   198
    ## 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
   199
    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
   200
                   'void', 
4062
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   201
                   [param('std::ostream &', 'os')], 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   202
                   is_const=True)
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   203
    return
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   204
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   205
def register_Ns3GnuplotCollection_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   206
    ## 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
   207
    cls.add_constructor([param('ns3::GnuplotCollection const &', 'arg0')])
4062
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   208
    ## gnuplot.h: ns3::GnuplotCollection::GnuplotCollection(std::string const & outputFilename) [constructor]
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   209
    cls.add_constructor([param('std::string const &', 'outputFilename')])
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   210
    ## 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
   211
    cls.add_method('SetTerminal', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   212
                   'void', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   213
                   [param('std::string const &', 'terminal')])
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   214
    ## 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
   215
    cls.add_method('AddPlot', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   216
                   'void', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   217
                   [param('ns3::Gnuplot const &', 'plot')])
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   218
    ## 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
   219
    cls.add_method('GetPlot', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   220
                   'ns3::Gnuplot &', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   221
                   [param('unsigned int', 'id')])
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   222
    ## 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
   223
    cls.add_method('GenerateOutput', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   224
                   'void', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   225
                   [param('std::ostream &', 'os')], 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   226
                   is_const=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   227
    return
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   228
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   229
def register_Ns3GnuplotDataset_methods(root_module, cls):
4062
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   230
    ## 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
   231
    cls.add_constructor([param('ns3::GnuplotDataset const &', 'original')])
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   232
    ## 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
   233
    cls.add_method('SetTitle', 
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::string const &', 'title')])
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   236
    ## 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
   237
    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
   238
                   'void', 
4062
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   239
                   [param('std::string const &', 'extra')], 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   240
                   is_static=True)
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   241
    ## 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
   242
    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
   243
                   'void', 
4062
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   244
                   [param('std::string const &', 'extra')])
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   245
    ## gnuplot.h: ns3::GnuplotDataset::GnuplotDataset(ns3::GnuplotDataset::Data * data) [constructor]
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   246
    cls.add_constructor([param('ns3::GnuplotDataset::Data *', 'data')], 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   247
                        visibility='protected')
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   248
    return
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   249
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
   250
def register_Ns3GtkConfigStore_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   251
    ## 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
   252
    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
   253
    ## 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
   254
    cls.add_constructor([])
4279
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   255
    ## 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
   256
    cls.add_method('ConfigureDefaults', 
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   257
                   'void', 
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   258
                   [])
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   259
    ## 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
   260
    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
   261
                   '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
   262
                   [])
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
    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
   264
4279
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   265
def register_Ns3NoneFileConfig_methods(root_module, cls):
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   266
    ## 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
   267
    cls.add_constructor([param('ns3::NoneFileConfig const &', 'arg0')])
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   268
    ## file-config.h: ns3::NoneFileConfig::NoneFileConfig() [constructor]
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   269
    cls.add_constructor([])
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   270
    ## 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
   271
    cls.add_method('SetFilename', 
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   272
                   'void', 
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   273
                   [param('std::string', 'filename')], 
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   274
                   is_virtual=True)
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   275
    ## file-config.h: void ns3::NoneFileConfig::Default() [member function]
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   276
    cls.add_method('Default', 
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   277
                   'void', 
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   278
                   [], 
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   279
                   is_virtual=True)
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   280
    ## file-config.h: void ns3::NoneFileConfig::Global() [member function]
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   281
    cls.add_method('Global', 
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
                   [], 
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::Attributes() [member function]
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   286
    cls.add_method('Attributes', 
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
    return
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   291
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   292
def register_Ns3ConfigStore_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   293
    ## 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
   294
    cls.add_constructor([param('ns3::ConfigStore const &', 'arg0')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   295
    ## 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
   296
    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
   297
                   '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
   298
                   [], 
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
   299
                   is_static=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   300
    ## 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
   301
    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
   302
                   '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
   303
                   [], 
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
   304
                   is_const=True, is_virtual=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   305
    ## 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
   306
    cls.add_constructor([])
4279
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   307
    ## 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
   308
    cls.add_method('SetMode', 
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   309
                   'void', 
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   310
                   [param('ns3::ConfigStore::Mode', 'mode')])
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   311
    ## 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
   312
    cls.add_method('SetFileFormat', 
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   313
                   'void', 
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   314
                   [param('ns3::ConfigStore::FileFormat', 'format')])
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   315
    ## 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
   316
    cls.add_method('SetFilename', 
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   317
                   'void', 
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   318
                   [param('std::string', 'filename')])
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   319
    ## config-store.h: void ns3::ConfigStore::ConfigureDefaults() [member function]
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   320
    cls.add_method('ConfigureDefaults', 
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   321
                   'void', 
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   322
                   [])
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   323
    ## config-store.h: void ns3::ConfigStore::ConfigureAttributes() [member function]
7cb2938928d4 Update the python bindings
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 4241
diff changeset
   324
    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
   325
                   '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
   326
                   [])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   327
    return
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   328
3906
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   329
def register_Ns3FlowIdTag_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   330
    ## 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
   331
    cls.add_constructor([param('ns3::FlowIdTag const &', 'arg0')])
3906
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   332
    ## 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
   333
    cls.add_method('GetTypeId', 
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   334
                   'ns3::TypeId', 
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   335
                   [], 
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   336
                   is_static=True)
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   337
    ## 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
   338
    cls.add_method('GetInstanceTypeId', 
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   339
                   'ns3::TypeId', 
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   340
                   [], 
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   341
                   is_const=True, is_virtual=True)
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   342
    ## 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
   343
    cls.add_method('GetSerializedSize', 
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   344
                   'uint32_t', 
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_const=True, is_virtual=True)
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   347
    ## 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
   348
    cls.add_method('Serialize', 
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   349
                   'void', 
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   350
                   [param('ns3::TagBuffer', 'buf')], 
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: void ns3::FlowIdTag::Deserialize(ns3::TagBuffer buf) [member function]
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   353
    cls.add_method('Deserialize', 
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   354
                   'void', 
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   355
                   [param('ns3::TagBuffer', 'buf')], 
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   356
                   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::Print(std::ostream & os) const [member function]
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   358
    cls.add_method('Print', 
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('std::ostream &', 'os')], 
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: ns3::FlowIdTag::FlowIdTag() [constructor]
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   363
    cls.add_constructor([])
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   364
    ## 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
   365
    cls.add_constructor([param('uint32_t', 'flowId')])
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   366
    ## 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
   367
    cls.add_method('SetFlowId', 
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   368
                   'void', 
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   369
                   [param('uint32_t', 'flowId')])
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   370
    ## 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
   371
    cls.add_method('GetFlowId', 
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   372
                   'uint32_t', 
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   373
                   [], 
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   374
                   is_const=True)
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   375
    ## 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
   376
    cls.add_method('AllocateFlowId', 
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   377
                   'uint32_t', 
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   378
                   [], 
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   379
                   is_static=True)
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   380
    return
01acc159ffb1 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3731
diff changeset
   381
4062
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   382
def register_Ns3Gnuplot2dDataset_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   383
    ## 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
   384
    cls.add_constructor([param('ns3::Gnuplot2dDataset const &', 'arg0')])
4062
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   385
    ## 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
   386
    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
   387
    ## 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
   388
    cls.add_method('SetDefaultStyle', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   389
                   'void', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   390
                   [param('ns3::Gnuplot2dDataset::Style', 'style')], 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   391
                   is_static=True)
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   392
    ## 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
   393
    cls.add_method('SetStyle', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   394
                   'void', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   395
                   [param('ns3::Gnuplot2dDataset::Style', 'style')])
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   396
    ## 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
   397
    cls.add_method('SetDefaultErrorBars', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   398
                   'void', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   399
                   [param('ns3::Gnuplot2dDataset::ErrorBars', 'errorBars')], 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   400
                   is_static=True)
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   401
    ## 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
   402
    cls.add_method('SetErrorBars', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   403
                   'void', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   404
                   [param('ns3::Gnuplot2dDataset::ErrorBars', 'errorBars')])
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   405
    ## 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
   406
    cls.add_method('Add', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   407
                   'void', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   408
                   [param('double', 'x'), param('double', 'y')])
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   409
    ## 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
   410
    cls.add_method('Add', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   411
                   'void', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   412
                   [param('double', 'x'), param('double', 'y'), param('double', 'errorDelta')])
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   413
    ## 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
   414
    cls.add_method('Add', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   415
                   'void', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   416
                   [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
   417
    ## gnuplot.h: void ns3::Gnuplot2dDataset::AddEmptyLine() [member function]
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   418
    cls.add_method('AddEmptyLine', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   419
                   'void', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   420
                   [])
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   421
    return
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   422
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   423
def register_Ns3Gnuplot2dFunction_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   424
    ## 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
   425
    cls.add_constructor([param('ns3::Gnuplot2dFunction const &', 'arg0')])
4062
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   426
    ## 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
   427
    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
   428
    ## 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
   429
    cls.add_method('SetFunction', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   430
                   'void', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   431
                   [param('std::string const &', 'function')])
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   432
    return
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   433
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   434
def register_Ns3Gnuplot3dDataset_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   435
    ## 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
   436
    cls.add_constructor([param('ns3::Gnuplot3dDataset const &', 'arg0')])
4062
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   437
    ## 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
   438
    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
   439
    ## 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
   440
    cls.add_method('SetDefaultStyle', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   441
                   'void', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   442
                   [param('std::string const &', 'style')], 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   443
                   is_static=True)
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   444
    ## 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
   445
    cls.add_method('SetStyle', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   446
                   'void', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   447
                   [param('std::string const &', 'style')])
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   448
    ## 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
   449
    cls.add_method('Add', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   450
                   'void', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   451
                   [param('double', 'x'), param('double', 'y'), param('double', 'z')])
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   452
    ## gnuplot.h: void ns3::Gnuplot3dDataset::AddEmptyLine() [member function]
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   453
    cls.add_method('AddEmptyLine', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   454
                   'void', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   455
                   [])
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   456
    return
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   457
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   458
def register_Ns3Gnuplot3dFunction_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   459
    ## 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
   460
    cls.add_constructor([param('ns3::Gnuplot3dFunction const &', 'arg0')])
4062
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   461
    ## 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
   462
    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
   463
    ## 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
   464
    cls.add_method('SetFunction', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   465
                   'void', 
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   466
                   [param('std::string const &', 'function')])
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   467
    return
343056c3b5d0 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3972
diff changeset
   468
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   469
def register_functions(root_module):
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   470
    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
   471
    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
   472
    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
   473
    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
   474
    register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   475
    return
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   476
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
   477
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
   478
    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
   479
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
   480
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
   481
    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
   482
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   483
def register_functions_ns3_internal(module, root_module):
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   484
    return
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   485
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   486
def register_functions_ns3_olsr(module, root_module):
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   487
    return
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   488