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