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