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