bindings/python/ns3_module_common.py
author Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
Sat, 04 Jul 2009 08:15:48 +0200
changeset 4654 2eaebe77d66b
parent 4505 e865dbc1d157
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@3408
     6
    ## error-model.h: ns3::ErrorUnit [enumeration]
gjc@3408
     7
    module.add_enum('ErrorUnit', ['EU_BIT', 'EU_BYTE', 'EU_PKT'])
gjc@3731
     8
    ## buffer.h: ns3::Buffer [class]
gjc@3731
     9
    module.add_class('Buffer')
gjc@3731
    10
    ## buffer.h: ns3::Buffer::Iterator [class]
gjc@3731
    11
    module.add_class('Iterator', outer_class=root_module['ns3::Buffer'])
mathieu@4502
    12
    ## packet.h: ns3::ByteTagIterator [class]
mathieu@4502
    13
    module.add_class('ByteTagIterator')
mathieu@4502
    14
    ## packet.h: ns3::ByteTagIterator::Item [class]
mathieu@4502
    15
    module.add_class('Item', outer_class=root_module['ns3::ByteTagIterator'])
mathieu@4502
    16
    ## byte-tag-list.h: ns3::ByteTagList [class]
mathieu@4502
    17
    module.add_class('ByteTagList')
mathieu@4502
    18
    ## byte-tag-list.h: ns3::ByteTagList::Iterator [class]
mathieu@4502
    19
    module.add_class('Iterator', outer_class=root_module['ns3::ByteTagList'])
mathieu@4502
    20
    ## byte-tag-list.h: ns3::ByteTagList::Iterator::Item [struct]
mathieu@4502
    21
    module.add_class('Item', outer_class=root_module['ns3::ByteTagList::Iterator'])
gjc@3731
    22
    ## data-rate.h: ns3::DataRate [class]
gjc@3731
    23
    module.add_class('DataRate')
gjc@3408
    24
    ## packet.h: ns3::Packet [class]
gjc@3468
    25
    module.add_class('Packet', memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
gjc@3755
    26
    ## packet-metadata.h: ns3::PacketMetadata [class]
gjc@3755
    27
    module.add_class('PacketMetadata')
gjc@3755
    28
    ## packet-metadata.h: ns3::PacketMetadata::Item [struct]
gjc@3755
    29
    module.add_class('Item', outer_class=root_module['ns3::PacketMetadata'])
gjc@3755
    30
    ## packet-metadata.h: ns3::PacketMetadata::Item [enumeration]
gjc@3755
    31
    module.add_enum('', ['PAYLOAD', 'HEADER', 'TRAILER'], outer_class=root_module['ns3::PacketMetadata::Item'])
gjc@3755
    32
    ## packet-metadata.h: ns3::PacketMetadata::ItemIterator [class]
gjc@3755
    33
    module.add_class('ItemIterator', outer_class=root_module['ns3::PacketMetadata'])
mathieu@4502
    34
    ## packet.h: ns3::PacketTagIterator [class]
mathieu@4502
    35
    module.add_class('PacketTagIterator')
mathieu@4502
    36
    ## packet.h: ns3::PacketTagIterator::Item [class]
mathieu@4502
    37
    module.add_class('Item', outer_class=root_module['ns3::PacketTagIterator'])
mathieu@4502
    38
    ## packet-tag-list.h: ns3::PacketTagList [class]
mathieu@4502
    39
    module.add_class('PacketTagList')
mathieu@4502
    40
    ## packet-tag-list.h: ns3::PacketTagList::TagData [struct]
mathieu@4502
    41
    module.add_class('TagData', outer_class=root_module['ns3::PacketTagList'])
gjc@3731
    42
    ## tag.h: ns3::Tag [class]
gjc@3731
    43
    module.add_class('Tag', parent=root_module['ns3::ObjectBase'])
gjc@3731
    44
    ## tag-buffer.h: ns3::TagBuffer [class]
gjc@3731
    45
    module.add_class('TagBuffer')
gjc@3408
    46
    ## chunk.h: ns3::Chunk [class]
gjc@3457
    47
    module.add_class('Chunk', parent=root_module['ns3::ObjectBase'])
gjc@3731
    48
    ## data-rate.h: ns3::DataRateChecker [class]
gjc@3731
    49
    module.add_class('DataRateChecker', parent=root_module['ns3::AttributeChecker'])
gjc@3731
    50
    ## data-rate.h: ns3::DataRateValue [class]
gjc@3731
    51
    module.add_class('DataRateValue', parent=root_module['ns3::AttributeValue'])
gjc@3731
    52
    ## header.h: ns3::Header [class]
gjc@3731
    53
    module.add_class('Header', parent=root_module['ns3::Chunk'])
gjc@3408
    54
    ## pcap-writer.h: ns3::PcapWriter [class]
gjc@3408
    55
    module.add_class('PcapWriter', parent=root_module['ns3::RefCountBase'])
gjc@3731
    56
    ## trailer.h: ns3::Trailer [class]
gjc@3731
    57
    module.add_class('Trailer', parent=root_module['ns3::Chunk'])
gjc@3408
    58
    ## error-model.h: ns3::ErrorModel [class]
gjc@3457
    59
    module.add_class('ErrorModel', parent=root_module['ns3::Object'])
gjc@3408
    60
    ## error-model.h: ns3::ListErrorModel [class]
gjc@3457
    61
    module.add_class('ListErrorModel', parent=root_module['ns3::ErrorModel'])
gjc@3408
    62
    ## error-model.h: ns3::RateErrorModel [class]
gjc@3457
    63
    module.add_class('RateErrorModel', parent=root_module['ns3::ErrorModel'])
gjc@3408
    64
    
gjc@3855
    65
    ## Register a nested module for the namespace Config
gjc@3408
    66
    
gjc@3855
    67
    nested_module = module.add_cpp_namespace('Config')
gjc@3855
    68
    register_types_ns3_Config(nested_module)
gjc@3408
    69
    
gjc@3408
    70
    
gjc@3408
    71
    ## Register a nested module for the namespace TimeStepPrecision
gjc@3408
    72
    
gjc@3408
    73
    nested_module = module.add_cpp_namespace('TimeStepPrecision')
gjc@3408
    74
    register_types_ns3_TimeStepPrecision(nested_module)
gjc@3408
    75
    
gjc@3408
    76
    
tomh@4474
    77
    ## Register a nested module for the namespace addressUtils
tomh@4474
    78
    
tomh@4474
    79
    nested_module = module.add_cpp_namespace('addressUtils')
tomh@4474
    80
    register_types_ns3_addressUtils(nested_module)
tomh@4474
    81
    
tomh@4474
    82
    
gjc@3855
    83
    ## Register a nested module for the namespace internal
gjc@3408
    84
    
gjc@3855
    85
    nested_module = module.add_cpp_namespace('internal')
gjc@3855
    86
    register_types_ns3_internal(nested_module)
gjc@3408
    87
    
gjc@3408
    88
    
gjc@3408
    89
    ## Register a nested module for the namespace olsr
gjc@3408
    90
    
gjc@3408
    91
    nested_module = module.add_cpp_namespace('olsr')
gjc@3408
    92
    register_types_ns3_olsr(nested_module)
gjc@3408
    93
    
gjc@3408
    94
gjc@3855
    95
def register_types_ns3_Config(module):
gjc@3408
    96
    root_module = module.get_root()
gjc@3408
    97
    
gjc@3408
    98
gjc@3408
    99
def register_types_ns3_TimeStepPrecision(module):
gjc@3408
   100
    root_module = module.get_root()
gjc@3408
   101
    
gjc@3408
   102
tomh@4474
   103
def register_types_ns3_addressUtils(module):
tomh@4474
   104
    root_module = module.get_root()
tomh@4474
   105
    
tomh@4474
   106
gjc@3855
   107
def register_types_ns3_internal(module):
gjc@3408
   108
    root_module = module.get_root()
gjc@3408
   109
    
gjc@3408
   110
gjc@3408
   111
def register_types_ns3_olsr(module):
gjc@3408
   112
    root_module = module.get_root()
gjc@3408
   113
    
gjc@3408
   114
gjc@3408
   115
def register_methods(root_module):
gjc@3731
   116
    register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer'])
gjc@3731
   117
    register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator'])
mathieu@4502
   118
    register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator'])
mathieu@4502
   119
    register_Ns3ByteTagIteratorItem_methods(root_module, root_module['ns3::ByteTagIterator::Item'])
mathieu@4502
   120
    register_Ns3ByteTagList_methods(root_module, root_module['ns3::ByteTagList'])
mathieu@4502
   121
    register_Ns3ByteTagListIterator_methods(root_module, root_module['ns3::ByteTagList::Iterator'])
mathieu@4502
   122
    register_Ns3ByteTagListIteratorItem_methods(root_module, root_module['ns3::ByteTagList::Iterator::Item'])
gjc@3731
   123
    register_Ns3DataRate_methods(root_module, root_module['ns3::DataRate'])
gjc@3408
   124
    register_Ns3Packet_methods(root_module, root_module['ns3::Packet'])
gjc@3755
   125
    register_Ns3PacketMetadata_methods(root_module, root_module['ns3::PacketMetadata'])
gjc@3755
   126
    register_Ns3PacketMetadataItem_methods(root_module, root_module['ns3::PacketMetadata::Item'])
gjc@3755
   127
    register_Ns3PacketMetadataItemIterator_methods(root_module, root_module['ns3::PacketMetadata::ItemIterator'])
mathieu@4502
   128
    register_Ns3PacketTagIterator_methods(root_module, root_module['ns3::PacketTagIterator'])
mathieu@4502
   129
    register_Ns3PacketTagIteratorItem_methods(root_module, root_module['ns3::PacketTagIterator::Item'])
mathieu@4502
   130
    register_Ns3PacketTagList_methods(root_module, root_module['ns3::PacketTagList'])
mathieu@4502
   131
    register_Ns3PacketTagListTagData_methods(root_module, root_module['ns3::PacketTagList::TagData'])
gjc@3731
   132
    register_Ns3Tag_methods(root_module, root_module['ns3::Tag'])
gjc@3731
   133
    register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer'])
gjc@3408
   134
    register_Ns3Chunk_methods(root_module, root_module['ns3::Chunk'])
gjc@3731
   135
    register_Ns3DataRateChecker_methods(root_module, root_module['ns3::DataRateChecker'])
gjc@3731
   136
    register_Ns3DataRateValue_methods(root_module, root_module['ns3::DataRateValue'])
gjc@3731
   137
    register_Ns3Header_methods(root_module, root_module['ns3::Header'])
gjc@3408
   138
    register_Ns3PcapWriter_methods(root_module, root_module['ns3::PcapWriter'])
gjc@3731
   139
    register_Ns3Trailer_methods(root_module, root_module['ns3::Trailer'])
gjc@3408
   140
    register_Ns3ErrorModel_methods(root_module, root_module['ns3::ErrorModel'])
gjc@3408
   141
    register_Ns3ListErrorModel_methods(root_module, root_module['ns3::ListErrorModel'])
gjc@3408
   142
    register_Ns3RateErrorModel_methods(root_module, root_module['ns3::RateErrorModel'])
gjc@3408
   143
    return
gjc@3408
   144
gjc@3408
   145
def register_Ns3Buffer_methods(root_module, cls):
gjc@3408
   146
    ## buffer.h: uint32_t ns3::Buffer::GetSize() const [member function]
gjc@3468
   147
    cls.add_method('GetSize', 
gjc@3468
   148
                   'uint32_t', 
gjc@3468
   149
                   [], 
gjc@3468
   150
                   is_const=True)
gjc@3408
   151
    ## buffer.h: uint8_t const * ns3::Buffer::PeekData() const [member function]
gjc@3468
   152
    cls.add_method('PeekData', 
gjc@3574
   153
                   'uint8_t const *', 
gjc@3468
   154
                   [], 
gjc@3468
   155
                   is_const=True)
gjc@3408
   156
    ## buffer.h: bool ns3::Buffer::AddAtStart(uint32_t start) [member function]
gjc@3468
   157
    cls.add_method('AddAtStart', 
gjc@3468
   158
                   'bool', 
gjc@3468
   159
                   [param('uint32_t', 'start')])
gjc@3408
   160
    ## buffer.h: bool ns3::Buffer::AddAtEnd(uint32_t end) [member function]
gjc@3468
   161
    cls.add_method('AddAtEnd', 
gjc@3468
   162
                   'bool', 
gjc@3468
   163
                   [param('uint32_t', 'end')])
gjc@3408
   164
    ## buffer.h: void ns3::Buffer::AddAtEnd(ns3::Buffer const & o) [member function]
gjc@3468
   165
    cls.add_method('AddAtEnd', 
gjc@3468
   166
                   'void', 
gjc@3574
   167
                   [param('ns3::Buffer const &', 'o')])
gjc@3408
   168
    ## buffer.h: void ns3::Buffer::RemoveAtStart(uint32_t start) [member function]
gjc@3468
   169
    cls.add_method('RemoveAtStart', 
gjc@3468
   170
                   'void', 
gjc@3468
   171
                   [param('uint32_t', 'start')])
gjc@3408
   172
    ## buffer.h: void ns3::Buffer::RemoveAtEnd(uint32_t end) [member function]
gjc@3468
   173
    cls.add_method('RemoveAtEnd', 
gjc@3468
   174
                   'void', 
gjc@3468
   175
                   [param('uint32_t', 'end')])
gjc@3408
   176
    ## buffer.h: ns3::Buffer ns3::Buffer::CreateFragment(uint32_t start, uint32_t length) const [member function]
gjc@3468
   177
    cls.add_method('CreateFragment', 
gjc@3468
   178
                   'ns3::Buffer', 
gjc@3468
   179
                   [param('uint32_t', 'start'), param('uint32_t', 'length')], 
gjc@3468
   180
                   is_const=True)
gjc@3408
   181
    ## buffer.h: ns3::Buffer::Iterator ns3::Buffer::Begin() const [member function]
gjc@3468
   182
    cls.add_method('Begin', 
gjc@3468
   183
                   'ns3::Buffer::Iterator', 
gjc@3468
   184
                   [], 
gjc@3468
   185
                   is_const=True)
gjc@3408
   186
    ## buffer.h: ns3::Buffer::Iterator ns3::Buffer::End() const [member function]
gjc@3468
   187
    cls.add_method('End', 
gjc@3468
   188
                   'ns3::Buffer::Iterator', 
gjc@3468
   189
                   [], 
gjc@3468
   190
                   is_const=True)
gjc@3408
   191
    ## buffer.h: ns3::Buffer ns3::Buffer::CreateFullCopy() const [member function]
gjc@3468
   192
    cls.add_method('CreateFullCopy', 
gjc@3468
   193
                   'ns3::Buffer', 
gjc@3468
   194
                   [], 
gjc@3468
   195
                   is_const=True)
gjc@3408
   196
    ## buffer.h: int32_t ns3::Buffer::GetCurrentStartOffset() const [member function]
gjc@3468
   197
    cls.add_method('GetCurrentStartOffset', 
gjc@3468
   198
                   'int32_t', 
gjc@3468
   199
                   [], 
gjc@3468
   200
                   is_const=True)
gjc@3408
   201
    ## buffer.h: int32_t ns3::Buffer::GetCurrentEndOffset() const [member function]
gjc@3468
   202
    cls.add_method('GetCurrentEndOffset', 
gjc@3468
   203
                   'int32_t', 
gjc@3468
   204
                   [], 
gjc@3468
   205
                   is_const=True)
mathieu@4524
   206
    ## buffer.h: void ns3::Buffer::CopyData(std::ostream * os, uint32_t size) const [member function]
mathieu@4524
   207
    cls.add_method('CopyData', 
mathieu@4524
   208
                   'void', 
mathieu@4524
   209
                   [param('std::ostream *', 'os'), param('uint32_t', 'size')], 
mathieu@4524
   210
                   is_const=True)
gjc@3408
   211
    ## buffer.h: ns3::Buffer::Buffer(ns3::Buffer const & o) [copy constructor]
gjc@3574
   212
    cls.add_constructor([param('ns3::Buffer const &', 'o')])
gjc@3408
   213
    ## buffer.h: ns3::Buffer::Buffer() [constructor]
gjc@3468
   214
    cls.add_constructor([])
gjc@3408
   215
    ## buffer.h: ns3::Buffer::Buffer(uint32_t dataSize) [constructor]
gjc@3468
   216
    cls.add_constructor([param('uint32_t', 'dataSize')])
gjc@3408
   217
    return
gjc@3408
   218
gjc@3408
   219
def register_Ns3BufferIterator_methods(root_module, cls):
mathieu@4241
   220
    ## buffer.h: ns3::Buffer::Iterator::Iterator(ns3::Buffer::Iterator const & arg0) [copy constructor]
mathieu@4241
   221
    cls.add_constructor([param('ns3::Buffer::Iterator const &', 'arg0')])
gjc@3408
   222
    ## buffer.h: ns3::Buffer::Iterator::Iterator() [constructor]
gjc@3468
   223
    cls.add_constructor([])
gjc@3408
   224
    ## buffer.h: void ns3::Buffer::Iterator::Next() [member function]
gjc@3468
   225
    cls.add_method('Next', 
gjc@3468
   226
                   'void', 
gjc@3468
   227
                   [])
gjc@3408
   228
    ## buffer.h: void ns3::Buffer::Iterator::Prev() [member function]
gjc@3468
   229
    cls.add_method('Prev', 
gjc@3468
   230
                   'void', 
gjc@3468
   231
                   [])
gjc@3408
   232
    ## buffer.h: void ns3::Buffer::Iterator::Next(uint32_t delta) [member function]
gjc@3468
   233
    cls.add_method('Next', 
gjc@3468
   234
                   'void', 
gjc@3468
   235
                   [param('uint32_t', 'delta')])
gjc@3408
   236
    ## buffer.h: void ns3::Buffer::Iterator::Prev(uint32_t delta) [member function]
gjc@3468
   237
    cls.add_method('Prev', 
gjc@3468
   238
                   'void', 
gjc@3468
   239
                   [param('uint32_t', 'delta')])
gjc@3408
   240
    ## buffer.h: uint32_t ns3::Buffer::Iterator::GetDistanceFrom(ns3::Buffer::Iterator const & o) const [member function]
gjc@3468
   241
    cls.add_method('GetDistanceFrom', 
gjc@3468
   242
                   'uint32_t', 
gjc@3574
   243
                   [param('ns3::Buffer::Iterator const &', 'o')], 
gjc@3468
   244
                   is_const=True)
gjc@3408
   245
    ## buffer.h: bool ns3::Buffer::Iterator::IsEnd() const [member function]
gjc@3468
   246
    cls.add_method('IsEnd', 
gjc@3468
   247
                   'bool', 
gjc@3468
   248
                   [], 
gjc@3468
   249
                   is_const=True)
gjc@3408
   250
    ## buffer.h: bool ns3::Buffer::Iterator::IsStart() const [member function]
gjc@3468
   251
    cls.add_method('IsStart', 
gjc@3468
   252
                   'bool', 
gjc@3468
   253
                   [], 
gjc@3468
   254
                   is_const=True)
gjc@3408
   255
    ## buffer.h: void ns3::Buffer::Iterator::WriteU8(uint8_t data) [member function]
gjc@3468
   256
    cls.add_method('WriteU8', 
gjc@3468
   257
                   'void', 
gjc@3468
   258
                   [param('uint8_t', 'data')])
gjc@3408
   259
    ## buffer.h: void ns3::Buffer::Iterator::WriteU8(uint8_t data, uint32_t len) [member function]
gjc@3468
   260
    cls.add_method('WriteU8', 
gjc@3468
   261
                   'void', 
gjc@3468
   262
                   [param('uint8_t', 'data'), param('uint32_t', 'len')])
gjc@3408
   263
    ## buffer.h: void ns3::Buffer::Iterator::WriteU16(uint16_t data) [member function]
gjc@3468
   264
    cls.add_method('WriteU16', 
gjc@3468
   265
                   'void', 
gjc@3468
   266
                   [param('uint16_t', 'data')])
gjc@3408
   267
    ## buffer.h: void ns3::Buffer::Iterator::WriteU32(uint32_t data) [member function]
gjc@3468
   268
    cls.add_method('WriteU32', 
gjc@3468
   269
                   'void', 
gjc@3468
   270
                   [param('uint32_t', 'data')])
gjc@3408
   271
    ## buffer.h: void ns3::Buffer::Iterator::WriteU64(uint64_t data) [member function]
gjc@3468
   272
    cls.add_method('WriteU64', 
gjc@3468
   273
                   'void', 
gjc@3468
   274
                   [param('uint64_t', 'data')])
gjc@3408
   275
    ## buffer.h: void ns3::Buffer::Iterator::WriteHtolsbU16(uint16_t data) [member function]
gjc@3468
   276
    cls.add_method('WriteHtolsbU16', 
gjc@3468
   277
                   'void', 
gjc@3468
   278
                   [param('uint16_t', 'data')])
gjc@3408
   279
    ## buffer.h: void ns3::Buffer::Iterator::WriteHtolsbU32(uint32_t data) [member function]
gjc@3468
   280
    cls.add_method('WriteHtolsbU32', 
gjc@3468
   281
                   'void', 
gjc@3468
   282
                   [param('uint32_t', 'data')])
gjc@3408
   283
    ## buffer.h: void ns3::Buffer::Iterator::WriteHtolsbU64(uint64_t data) [member function]
gjc@3468
   284
    cls.add_method('WriteHtolsbU64', 
gjc@3468
   285
                   'void', 
gjc@3468
   286
                   [param('uint64_t', 'data')])
gjc@3408
   287
    ## buffer.h: void ns3::Buffer::Iterator::WriteHtonU16(uint16_t data) [member function]
gjc@3468
   288
    cls.add_method('WriteHtonU16', 
gjc@3468
   289
                   'void', 
gjc@3468
   290
                   [param('uint16_t', 'data')])
gjc@3408
   291
    ## buffer.h: void ns3::Buffer::Iterator::WriteHtonU32(uint32_t data) [member function]
gjc@3468
   292
    cls.add_method('WriteHtonU32', 
gjc@3468
   293
                   'void', 
gjc@3468
   294
                   [param('uint32_t', 'data')])
gjc@3408
   295
    ## buffer.h: void ns3::Buffer::Iterator::WriteHtonU64(uint64_t data) [member function]
gjc@3468
   296
    cls.add_method('WriteHtonU64', 
gjc@3468
   297
                   'void', 
gjc@3468
   298
                   [param('uint64_t', 'data')])
gjc@3408
   299
    ## buffer.h: void ns3::Buffer::Iterator::Write(uint8_t const * buffer, uint32_t size) [member function]
gjc@3468
   300
    cls.add_method('Write', 
gjc@3468
   301
                   'void', 
gjc@3574
   302
                   [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
gjc@3408
   303
    ## buffer.h: void ns3::Buffer::Iterator::Write(ns3::Buffer::Iterator start, ns3::Buffer::Iterator end) [member function]
gjc@3468
   304
    cls.add_method('Write', 
gjc@3468
   305
                   'void', 
gjc@3468
   306
                   [param('ns3::Buffer::Iterator', 'start'), param('ns3::Buffer::Iterator', 'end')])
gjc@3408
   307
    ## buffer.h: uint8_t ns3::Buffer::Iterator::ReadU8() [member function]
gjc@3468
   308
    cls.add_method('ReadU8', 
gjc@3468
   309
                   'uint8_t', 
gjc@3468
   310
                   [])
gjc@3408
   311
    ## buffer.h: uint16_t ns3::Buffer::Iterator::ReadU16() [member function]
gjc@3468
   312
    cls.add_method('ReadU16', 
gjc@3468
   313
                   'uint16_t', 
gjc@3468
   314
                   [])
gjc@3408
   315
    ## buffer.h: uint32_t ns3::Buffer::Iterator::ReadU32() [member function]
gjc@3468
   316
    cls.add_method('ReadU32', 
gjc@3468
   317
                   'uint32_t', 
gjc@3468
   318
                   [])
gjc@3408
   319
    ## buffer.h: uint64_t ns3::Buffer::Iterator::ReadU64() [member function]
gjc@3468
   320
    cls.add_method('ReadU64', 
gjc@3468
   321
                   'uint64_t', 
gjc@3468
   322
                   [])
gjc@3408
   323
    ## buffer.h: uint16_t ns3::Buffer::Iterator::ReadNtohU16() [member function]
gjc@3468
   324
    cls.add_method('ReadNtohU16', 
gjc@3468
   325
                   'uint16_t', 
gjc@3468
   326
                   [])
gjc@3408
   327
    ## buffer.h: uint32_t ns3::Buffer::Iterator::ReadNtohU32() [member function]
gjc@3468
   328
    cls.add_method('ReadNtohU32', 
gjc@3468
   329
                   'uint32_t', 
gjc@3468
   330
                   [])
gjc@3408
   331
    ## buffer.h: uint64_t ns3::Buffer::Iterator::ReadNtohU64() [member function]
gjc@3468
   332
    cls.add_method('ReadNtohU64', 
gjc@3468
   333
                   'uint64_t', 
gjc@3468
   334
                   [])
gjc@3408
   335
    ## buffer.h: uint16_t ns3::Buffer::Iterator::ReadLsbtohU16() [member function]
gjc@3468
   336
    cls.add_method('ReadLsbtohU16', 
gjc@3468
   337
                   'uint16_t', 
gjc@3468
   338
                   [])
gjc@3408
   339
    ## buffer.h: uint32_t ns3::Buffer::Iterator::ReadLsbtohU32() [member function]
gjc@3468
   340
    cls.add_method('ReadLsbtohU32', 
gjc@3468
   341
                   'uint32_t', 
gjc@3468
   342
                   [])
gjc@3408
   343
    ## buffer.h: uint64_t ns3::Buffer::Iterator::ReadLsbtohU64() [member function]
gjc@3468
   344
    cls.add_method('ReadLsbtohU64', 
gjc@3468
   345
                   'uint64_t', 
gjc@3468
   346
                   [])
gjc@3408
   347
    ## buffer.h: void ns3::Buffer::Iterator::Read(uint8_t * buffer, uint32_t size) [member function]
gjc@3468
   348
    cls.add_method('Read', 
gjc@3468
   349
                   'void', 
gjc@3468
   350
                   [param('uint8_t *', 'buffer'), param('uint32_t', 'size')])
gjc@3408
   351
    ## buffer.h: uint16_t ns3::Buffer::Iterator::CalculateIpChecksum(uint16_t size) [member function]
gjc@3468
   352
    cls.add_method('CalculateIpChecksum', 
gjc@3468
   353
                   'uint16_t', 
gjc@3468
   354
                   [param('uint16_t', 'size')])
gjc@3408
   355
    ## buffer.h: uint16_t ns3::Buffer::Iterator::CalculateIpChecksum(uint16_t size, uint32_t initialChecksum) [member function]
gjc@3468
   356
    cls.add_method('CalculateIpChecksum', 
gjc@3468
   357
                   'uint16_t', 
gjc@3468
   358
                   [param('uint16_t', 'size'), param('uint32_t', 'initialChecksum')])
gjc@3416
   359
    ## buffer.h: uint32_t ns3::Buffer::Iterator::GetSize() const [member function]
gjc@3468
   360
    cls.add_method('GetSize', 
gjc@3468
   361
                   'uint32_t', 
gjc@3468
   362
                   [], 
gjc@3468
   363
                   is_const=True)
gjc@3408
   364
    return
gjc@3408
   365
mathieu@4502
   366
def register_Ns3ByteTagIterator_methods(root_module, cls):
mathieu@4502
   367
    ## packet.h: ns3::ByteTagIterator::ByteTagIterator(ns3::ByteTagIterator const & arg0) [copy constructor]
mathieu@4502
   368
    cls.add_constructor([param('ns3::ByteTagIterator const &', 'arg0')])
mathieu@4502
   369
    ## packet.h: bool ns3::ByteTagIterator::HasNext() const [member function]
mathieu@4502
   370
    cls.add_method('HasNext', 
mathieu@4502
   371
                   'bool', 
mathieu@4502
   372
                   [], 
mathieu@4502
   373
                   is_const=True)
mathieu@4502
   374
    ## packet.h: ns3::ByteTagIterator::Item ns3::ByteTagIterator::Next() [member function]
mathieu@4502
   375
    cls.add_method('Next', 
mathieu@4502
   376
                   'ns3::ByteTagIterator::Item', 
mathieu@4502
   377
                   [])
mathieu@4502
   378
    return
mathieu@4502
   379
mathieu@4502
   380
def register_Ns3ByteTagIteratorItem_methods(root_module, cls):
mathieu@4502
   381
    ## packet.h: ns3::ByteTagIterator::Item::Item(ns3::ByteTagIterator::Item const & arg0) [copy constructor]
mathieu@4502
   382
    cls.add_constructor([param('ns3::ByteTagIterator::Item const &', 'arg0')])
mathieu@4502
   383
    ## packet.h: ns3::TypeId ns3::ByteTagIterator::Item::GetTypeId() const [member function]
mathieu@4502
   384
    cls.add_method('GetTypeId', 
mathieu@4502
   385
                   'ns3::TypeId', 
mathieu@4502
   386
                   [], 
mathieu@4502
   387
                   is_const=True)
mathieu@4502
   388
    ## packet.h: uint32_t ns3::ByteTagIterator::Item::GetStart() const [member function]
mathieu@4502
   389
    cls.add_method('GetStart', 
mathieu@4502
   390
                   'uint32_t', 
mathieu@4502
   391
                   [], 
mathieu@4502
   392
                   is_const=True)
mathieu@4502
   393
    ## packet.h: uint32_t ns3::ByteTagIterator::Item::GetEnd() const [member function]
mathieu@4502
   394
    cls.add_method('GetEnd', 
mathieu@4502
   395
                   'uint32_t', 
mathieu@4502
   396
                   [], 
mathieu@4502
   397
                   is_const=True)
mathieu@4502
   398
    ## packet.h: void ns3::ByteTagIterator::Item::GetTag(ns3::Tag & tag) const [member function]
mathieu@4502
   399
    cls.add_method('GetTag', 
mathieu@4502
   400
                   'void', 
mathieu@4502
   401
                   [param('ns3::Tag &', 'tag')], 
mathieu@4502
   402
                   is_const=True)
mathieu@4502
   403
    return
mathieu@4502
   404
mathieu@4502
   405
def register_Ns3ByteTagList_methods(root_module, cls):
mathieu@4502
   406
    ## byte-tag-list.h: ns3::ByteTagList::ByteTagList() [constructor]
mathieu@4502
   407
    cls.add_constructor([])
mathieu@4502
   408
    ## byte-tag-list.h: ns3::ByteTagList::ByteTagList(ns3::ByteTagList const & o) [copy constructor]
mathieu@4502
   409
    cls.add_constructor([param('ns3::ByteTagList const &', 'o')])
mathieu@4502
   410
    ## byte-tag-list.h: ns3::TagBuffer ns3::ByteTagList::Add(ns3::TypeId tid, uint32_t bufferSize, int32_t start, int32_t end) [member function]
mathieu@4502
   411
    cls.add_method('Add', 
mathieu@4502
   412
                   'ns3::TagBuffer', 
mathieu@4502
   413
                   [param('ns3::TypeId', 'tid'), param('uint32_t', 'bufferSize'), param('int32_t', 'start'), param('int32_t', 'end')])
mathieu@4502
   414
    ## byte-tag-list.h: void ns3::ByteTagList::Add(ns3::ByteTagList const & o) [member function]
mathieu@4502
   415
    cls.add_method('Add', 
mathieu@4502
   416
                   'void', 
mathieu@4502
   417
                   [param('ns3::ByteTagList const &', 'o')])
mathieu@4502
   418
    ## byte-tag-list.h: void ns3::ByteTagList::RemoveAll() [member function]
mathieu@4502
   419
    cls.add_method('RemoveAll', 
mathieu@4502
   420
                   'void', 
mathieu@4502
   421
                   [])
mathieu@4502
   422
    ## byte-tag-list.h: ns3::ByteTagList::Iterator ns3::ByteTagList::Begin(int32_t offsetStart, int32_t offsetEnd) const [member function]
mathieu@4502
   423
    cls.add_method('Begin', 
mathieu@4502
   424
                   'ns3::ByteTagList::Iterator', 
mathieu@4502
   425
                   [param('int32_t', 'offsetStart'), param('int32_t', 'offsetEnd')], 
mathieu@4502
   426
                   is_const=True)
mathieu@4502
   427
    ## byte-tag-list.h: void ns3::ByteTagList::AddAtEnd(int32_t adjustment, int32_t appendOffset) [member function]
mathieu@4502
   428
    cls.add_method('AddAtEnd', 
mathieu@4502
   429
                   'void', 
mathieu@4502
   430
                   [param('int32_t', 'adjustment'), param('int32_t', 'appendOffset')])
mathieu@4502
   431
    ## byte-tag-list.h: void ns3::ByteTagList::AddAtStart(int32_t adjustment, int32_t prependOffset) [member function]
mathieu@4502
   432
    cls.add_method('AddAtStart', 
mathieu@4502
   433
                   'void', 
mathieu@4502
   434
                   [param('int32_t', 'adjustment'), param('int32_t', 'prependOffset')])
mathieu@4502
   435
    return
mathieu@4502
   436
mathieu@4502
   437
def register_Ns3ByteTagListIterator_methods(root_module, cls):
mathieu@4502
   438
    ## byte-tag-list.h: ns3::ByteTagList::Iterator::Iterator(ns3::ByteTagList::Iterator const & arg0) [copy constructor]
mathieu@4502
   439
    cls.add_constructor([param('ns3::ByteTagList::Iterator const &', 'arg0')])
mathieu@4502
   440
    ## byte-tag-list.h: bool ns3::ByteTagList::Iterator::HasNext() const [member function]
mathieu@4502
   441
    cls.add_method('HasNext', 
mathieu@4502
   442
                   'bool', 
mathieu@4502
   443
                   [], 
mathieu@4502
   444
                   is_const=True)
mathieu@4502
   445
    ## byte-tag-list.h: ns3::ByteTagList::Iterator::Item ns3::ByteTagList::Iterator::Next() [member function]
mathieu@4502
   446
    cls.add_method('Next', 
mathieu@4502
   447
                   'ns3::ByteTagList::Iterator::Item', 
mathieu@4502
   448
                   [])
mathieu@4502
   449
    ## byte-tag-list.h: uint32_t ns3::ByteTagList::Iterator::GetOffsetStart() const [member function]
mathieu@4502
   450
    cls.add_method('GetOffsetStart', 
mathieu@4502
   451
                   'uint32_t', 
mathieu@4502
   452
                   [], 
mathieu@4502
   453
                   is_const=True)
mathieu@4502
   454
    return
mathieu@4502
   455
mathieu@4502
   456
def register_Ns3ByteTagListIteratorItem_methods(root_module, cls):
mathieu@4502
   457
    ## byte-tag-list.h: ns3::ByteTagList::Iterator::Item::tid [variable]
mathieu@4502
   458
    cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
mathieu@4502
   459
    ## byte-tag-list.h: ns3::ByteTagList::Iterator::Item::size [variable]
mathieu@4502
   460
    cls.add_instance_attribute('size', 'uint32_t', is_const=False)
mathieu@4502
   461
    ## byte-tag-list.h: ns3::ByteTagList::Iterator::Item::start [variable]
mathieu@4502
   462
    cls.add_instance_attribute('start', 'int32_t', is_const=False)
mathieu@4502
   463
    ## byte-tag-list.h: ns3::ByteTagList::Iterator::Item::end [variable]
mathieu@4502
   464
    cls.add_instance_attribute('end', 'int32_t', is_const=False)
mathieu@4502
   465
    ## byte-tag-list.h: ns3::ByteTagList::Iterator::Item::buf [variable]
mathieu@4502
   466
    cls.add_instance_attribute('buf', 'ns3::TagBuffer', is_const=False)
mathieu@4502
   467
    ## byte-tag-list.h: ns3::ByteTagList::Iterator::Item::Item(ns3::ByteTagList::Iterator::Item const & arg0) [copy constructor]
mathieu@4502
   468
    cls.add_constructor([param('ns3::ByteTagList::Iterator::Item const &', 'arg0')])
mathieu@4502
   469
    ## byte-tag-list.h: ns3::ByteTagList::Iterator::Item::Item(ns3::TagBuffer buf) [constructor]
mathieu@4502
   470
    cls.add_constructor([param('ns3::TagBuffer', 'buf')])
mathieu@4502
   471
    return
mathieu@4502
   472
gjc@3408
   473
def register_Ns3DataRate_methods(root_module, cls):
gjc@3731
   474
    cls.add_output_stream_operator()
gjc@3731
   475
    cls.add_binary_comparison_operator('!=')
gjc@3731
   476
    cls.add_binary_comparison_operator('<')
gjc@3731
   477
    cls.add_binary_comparison_operator('<=')
gjc@3731
   478
    cls.add_binary_comparison_operator('==')
gjc@3731
   479
    cls.add_binary_comparison_operator('>')
gjc@3731
   480
    cls.add_binary_comparison_operator('>=')
gjc@3408
   481
    ## data-rate.h: ns3::DataRate::DataRate(ns3::DataRate const & arg0) [copy constructor]
gjc@3574
   482
    cls.add_constructor([param('ns3::DataRate const &', 'arg0')])
gjc@3408
   483
    ## data-rate.h: ns3::DataRate::DataRate() [constructor]
gjc@3468
   484
    cls.add_constructor([])
gjc@3408
   485
    ## data-rate.h: ns3::DataRate::DataRate(uint64_t bps) [constructor]
gjc@3468
   486
    cls.add_constructor([param('uint64_t', 'bps')])
gjc@3408
   487
    ## data-rate.h: ns3::DataRate::DataRate(std::string rate) [constructor]
gjc@3468
   488
    cls.add_constructor([param('std::string', 'rate')])
gjc@3408
   489
    ## data-rate.h: double ns3::DataRate::CalculateTxTime(uint32_t bytes) const [member function]
gjc@3468
   490
    cls.add_method('CalculateTxTime', 
gjc@3468
   491
                   'double', 
gjc@3468
   492
                   [param('uint32_t', 'bytes')], 
gjc@3468
   493
                   is_const=True)
gjc@3408
   494
    ## data-rate.h: uint64_t ns3::DataRate::GetBitRate() const [member function]
gjc@3468
   495
    cls.add_method('GetBitRate', 
gjc@3468
   496
                   'uint64_t', 
gjc@3468
   497
                   [], 
gjc@3468
   498
                   is_const=True)
gjc@3731
   499
    return
gjc@3731
   500
gjc@3731
   501
def register_Ns3Packet_methods(root_module, cls):
gjc@3408
   502
    cls.add_output_stream_operator()
gjc@3731
   503
    ## packet.h: ns3::Packet::Packet() [constructor]
gjc@3731
   504
    cls.add_constructor([])
gjc@3731
   505
    ## packet.h: ns3::Packet::Packet(ns3::Packet const & o) [copy constructor]
gjc@3731
   506
    cls.add_constructor([param('ns3::Packet const &', 'o')])
gjc@3731
   507
    ## packet.h: ns3::Packet::Packet(uint32_t size) [constructor]
gjc@3731
   508
    cls.add_constructor([param('uint32_t', 'size')])
gjc@3731
   509
    ## packet.h: ns3::Packet::Packet(uint8_t const * buffer, uint32_t size) [constructor]
gjc@3731
   510
    cls.add_constructor([param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
mathieu@4407
   511
    ## packet.h: void ns3::Packet::AddAtEnd(ns3::Ptr<ns3::Packet const> packet) [member function]
gjc@3731
   512
    cls.add_method('AddAtEnd', 
gjc@3731
   513
                   'void', 
gjc@3731
   514
                   [param('ns3::Ptr< ns3::Packet const >', 'packet')])
mathieu@4502
   515
    ## packet.h: void ns3::Packet::AddByteTag(ns3::Tag const & tag) const [member function]
mathieu@4502
   516
    cls.add_method('AddByteTag', 
mathieu@4502
   517
                   'void', 
mathieu@4502
   518
                   [param('ns3::Tag const &', 'tag')], 
mathieu@4502
   519
                   is_const=True)
gjc@3731
   520
    ## packet.h: void ns3::Packet::AddHeader(ns3::Header const & header) [member function]
gjc@3731
   521
    cls.add_method('AddHeader', 
gjc@3731
   522
                   'void', 
gjc@3731
   523
                   [param('ns3::Header const &', 'header')])
mathieu@4502
   524
    ## packet.h: void ns3::Packet::AddPacketTag(ns3::Tag const & tag) const [member function]
mathieu@4502
   525
    cls.add_method('AddPacketTag', 
mathieu@4502
   526
                   'void', 
mathieu@4502
   527
                   [param('ns3::Tag const &', 'tag')], 
mathieu@4502
   528
                   is_const=True)
gjc@3731
   529
    ## packet.h: void ns3::Packet::AddPaddingAtEnd(uint32_t size) [member function]
gjc@3731
   530
    cls.add_method('AddPaddingAtEnd', 
gjc@3731
   531
                   'void', 
gjc@3731
   532
                   [param('uint32_t', 'size')])
gjc@3731
   533
    ## packet.h: void ns3::Packet::AddTrailer(ns3::Trailer const & trailer) [member function]
gjc@3731
   534
    cls.add_method('AddTrailer', 
gjc@3731
   535
                   'void', 
gjc@3731
   536
                   [param('ns3::Trailer const &', 'trailer')])
gjc@3731
   537
    ## packet.h: ns3::PacketMetadata::ItemIterator ns3::Packet::BeginItem() const [member function]
gjc@3731
   538
    cls.add_method('BeginItem', 
gjc@3731
   539
                   'ns3::PacketMetadata::ItemIterator', 
gjc@3731
   540
                   [], 
gjc@3731
   541
                   is_const=True)
gjc@3731
   542
    ## packet.h: ns3::Ptr<ns3::Packet> ns3::Packet::Copy() const [member function]
gjc@3731
   543
    cls.add_method('Copy', 
gjc@3731
   544
                   'ns3::Ptr< ns3::Packet >', 
gjc@3731
   545
                   [], 
gjc@3731
   546
                   is_const=True)
craigdo@3773
   547
    ## packet.h: uint32_t ns3::Packet::CopyData(uint8_t * buffer, uint32_t size) const [member function]
craigdo@3773
   548
    cls.add_method('CopyData', 
craigdo@3773
   549
                   'uint32_t', 
craigdo@3773
   550
                   [param('uint8_t *', 'buffer'), param('uint32_t', 'size')], 
craigdo@3773
   551
                   is_const=True)
mathieu@4524
   552
    ## packet.h: void ns3::Packet::CopyData(std::ostream * os, uint32_t size) const [member function]
mathieu@4524
   553
    cls.add_method('CopyData', 
mathieu@4524
   554
                   'void', 
mathieu@4524
   555
                   [param('std::ostream *', 'os'), param('uint32_t', 'size')], 
mathieu@4524
   556
                   is_const=True)
gjc@3731
   557
    ## packet.h: ns3::Ptr<ns3::Packet> ns3::Packet::CreateFragment(uint32_t start, uint32_t length) const [member function]
gjc@3731
   558
    cls.add_method('CreateFragment', 
gjc@3731
   559
                   'ns3::Ptr< ns3::Packet >', 
gjc@3731
   560
                   [param('uint32_t', 'start'), param('uint32_t', 'length')], 
gjc@3731
   561
                   is_const=True)
gjc@3731
   562
    ## packet.h: void ns3::Packet::Deserialize(ns3::Buffer buffer) [member function]
gjc@3731
   563
    cls.add_method('Deserialize', 
gjc@3731
   564
                   'void', 
gjc@3731
   565
                   [param('ns3::Buffer', 'buffer')])
gjc@3731
   566
    ## packet.h: static void ns3::Packet::EnableChecking() [member function]
gjc@3731
   567
    cls.add_method('EnableChecking', 
gjc@3731
   568
                   'void', 
gjc@3731
   569
                   [], 
gjc@3731
   570
                   is_static=True)
gjc@3731
   571
    ## packet.h: static void ns3::Packet::EnablePrinting() [member function]
gjc@3731
   572
    cls.add_method('EnablePrinting', 
gjc@3731
   573
                   'void', 
gjc@3731
   574
                   [], 
gjc@3731
   575
                   is_static=True)
mathieu@4502
   576
    ## packet.h: bool ns3::Packet::FindFirstMatchingByteTag(ns3::Tag & tag) const [member function]
mathieu@4502
   577
    cls.add_method('FindFirstMatchingByteTag', 
gjc@3731
   578
                   'bool', 
gjc@3731
   579
                   [param('ns3::Tag &', 'tag')], 
gjc@3731
   580
                   is_const=True)
mathieu@4502
   581
    ## packet.h: ns3::ByteTagIterator ns3::Packet::GetByteTagIterator() const [member function]
mathieu@4502
   582
    cls.add_method('GetByteTagIterator', 
mathieu@4502
   583
                   'ns3::ByteTagIterator', 
mathieu@4502
   584
                   [], 
mathieu@4502
   585
                   is_const=True)
mathieu@4502
   586
    ## packet.h: ns3::PacketTagIterator ns3::Packet::GetPacketTagIterator() const [member function]
mathieu@4502
   587
    cls.add_method('GetPacketTagIterator', 
mathieu@4502
   588
                   'ns3::PacketTagIterator', 
mathieu@4502
   589
                   [], 
mathieu@4502
   590
                   is_const=True)
gjc@3731
   591
    ## packet.h: uint32_t ns3::Packet::GetSize() const [member function]
gjc@3731
   592
    cls.add_method('GetSize', 
gjc@3731
   593
                   'uint32_t', 
gjc@3731
   594
                   [], 
gjc@3731
   595
                   is_const=True)
gjc@3731
   596
    ## packet.h: uint32_t ns3::Packet::GetUid() const [member function]
gjc@3731
   597
    cls.add_method('GetUid', 
gjc@3731
   598
                   'uint32_t', 
gjc@3731
   599
                   [], 
gjc@3731
   600
                   is_const=True)
gjc@3731
   601
    ## packet.h: uint8_t const * ns3::Packet::PeekData() const [member function]
gjc@3731
   602
    cls.add_method('PeekData', 
gjc@3731
   603
                   'uint8_t const *', 
gjc@3731
   604
                   [], 
gjc@3731
   605
                   is_const=True)
gjc@3743
   606
    ## packet.h: uint32_t ns3::Packet::PeekHeader(ns3::Header & header) const [member function]
gjc@3731
   607
    cls.add_method('PeekHeader', 
gjc@3731
   608
                   'uint32_t', 
gjc@3743
   609
                   [param('ns3::Header &', 'header')], 
gjc@3743
   610
                   is_const=True)
mathieu@4502
   611
    ## packet.h: bool ns3::Packet::PeekPacketTag(ns3::Tag & tag) const [member function]
mathieu@4502
   612
    cls.add_method('PeekPacketTag', 
mathieu@4502
   613
                   'bool', 
mathieu@4502
   614
                   [param('ns3::Tag &', 'tag')], 
mathieu@4502
   615
                   is_const=True)
gjc@3731
   616
    ## packet.h: uint32_t ns3::Packet::PeekTrailer(ns3::Trailer & trailer) [member function]
gjc@3731
   617
    cls.add_method('PeekTrailer', 
gjc@3731
   618
                   'uint32_t', 
gjc@3731
   619
                   [param('ns3::Trailer &', 'trailer')])
gjc@3731
   620
    ## packet.h: void ns3::Packet::Print(std::ostream & os) const [member function]
gjc@3731
   621
    cls.add_method('Print', 
gjc@3731
   622
                   'void', 
gjc@3731
   623
                   [param('std::ostream &', 'os')], 
gjc@3731
   624
                   is_const=True)
mathieu@4502
   625
    ## packet.h: void ns3::Packet::PrintByteTags(std::ostream & os) const [member function]
mathieu@4502
   626
    cls.add_method('PrintByteTags', 
gjc@3731
   627
                   'void', 
gjc@3731
   628
                   [param('std::ostream &', 'os')], 
gjc@3731
   629
                   is_const=True)
mathieu@4502
   630
    ## packet.h: void ns3::Packet::PrintPacketTags(std::ostream & os) const [member function]
mathieu@4502
   631
    cls.add_method('PrintPacketTags', 
mathieu@4502
   632
                   'void', 
mathieu@4502
   633
                   [param('std::ostream &', 'os')], 
mathieu@4502
   634
                   is_const=True)
mathieu@4502
   635
    ## packet.h: void ns3::Packet::RemoveAllByteTags() [member function]
mathieu@4502
   636
    cls.add_method('RemoveAllByteTags', 
mathieu@4502
   637
                   'void', 
mathieu@4502
   638
                   [])
mathieu@4502
   639
    ## packet.h: void ns3::Packet::RemoveAllPacketTags() [member function]
mathieu@4502
   640
    cls.add_method('RemoveAllPacketTags', 
gjc@3731
   641
                   'void', 
gjc@3731
   642
                   [])
gjc@3731
   643
    ## packet.h: void ns3::Packet::RemoveAtEnd(uint32_t size) [member function]
gjc@3731
   644
    cls.add_method('RemoveAtEnd', 
gjc@3731
   645
                   'void', 
gjc@3731
   646
                   [param('uint32_t', 'size')])
gjc@3731
   647
    ## packet.h: void ns3::Packet::RemoveAtStart(uint32_t size) [member function]
gjc@3731
   648
    cls.add_method('RemoveAtStart', 
gjc@3731
   649
                   'void', 
gjc@3731
   650
                   [param('uint32_t', 'size')])
gjc@3731
   651
    ## packet.h: uint32_t ns3::Packet::RemoveHeader(ns3::Header & header) [member function]
gjc@3731
   652
    cls.add_method('RemoveHeader', 
gjc@3731
   653
                   'uint32_t', 
gjc@3731
   654
                   [param('ns3::Header &', 'header')])
mathieu@4502
   655
    ## packet.h: bool ns3::Packet::RemovePacketTag(ns3::Tag & tag) [member function]
mathieu@4502
   656
    cls.add_method('RemovePacketTag', 
mathieu@4502
   657
                   'bool', 
mathieu@4502
   658
                   [param('ns3::Tag &', 'tag')])
gjc@3731
   659
    ## packet.h: uint32_t ns3::Packet::RemoveTrailer(ns3::Trailer & trailer) [member function]
gjc@3731
   660
    cls.add_method('RemoveTrailer', 
gjc@3731
   661
                   'uint32_t', 
gjc@3731
   662
                   [param('ns3::Trailer &', 'trailer')])
gjc@3731
   663
    ## packet.h: ns3::Buffer ns3::Packet::Serialize() const [member function]
gjc@3731
   664
    cls.add_method('Serialize', 
gjc@3731
   665
                   'ns3::Buffer', 
gjc@3731
   666
                   [], 
gjc@3731
   667
                   is_const=True)
gjc@3408
   668
    return
gjc@3408
   669
gjc@3755
   670
def register_Ns3PacketMetadata_methods(root_module, cls):
gjc@3755
   671
    ## packet-metadata.h: static void ns3::PacketMetadata::Enable() [member function]
gjc@3755
   672
    cls.add_method('Enable', 
gjc@3755
   673
                   'void', 
gjc@3755
   674
                   [], 
gjc@3755
   675
                   is_static=True)
gjc@3755
   676
    ## packet-metadata.h: static void ns3::PacketMetadata::EnableChecking() [member function]
gjc@3755
   677
    cls.add_method('EnableChecking', 
gjc@3755
   678
                   'void', 
gjc@3755
   679
                   [], 
gjc@3755
   680
                   is_static=True)
gjc@3755
   681
    ## packet-metadata.h: ns3::PacketMetadata::PacketMetadata(uint32_t uid, uint32_t size) [constructor]
gjc@3755
   682
    cls.add_constructor([param('uint32_t', 'uid'), param('uint32_t', 'size')])
gjc@3755
   683
    ## packet-metadata.h: ns3::PacketMetadata::PacketMetadata(ns3::PacketMetadata const & o) [copy constructor]
gjc@3755
   684
    cls.add_constructor([param('ns3::PacketMetadata const &', 'o')])
gjc@3755
   685
    ## packet-metadata.h: void ns3::PacketMetadata::AddHeader(ns3::Header const & header, uint32_t size) [member function]
gjc@3755
   686
    cls.add_method('AddHeader', 
gjc@3755
   687
                   'void', 
gjc@3755
   688
                   [param('ns3::Header const &', 'header'), param('uint32_t', 'size')])
gjc@3755
   689
    ## packet-metadata.h: void ns3::PacketMetadata::RemoveHeader(ns3::Header const & header, uint32_t size) [member function]
gjc@3755
   690
    cls.add_method('RemoveHeader', 
gjc@3755
   691
                   'void', 
gjc@3755
   692
                   [param('ns3::Header const &', 'header'), param('uint32_t', 'size')])
gjc@3755
   693
    ## packet-metadata.h: void ns3::PacketMetadata::AddTrailer(ns3::Trailer const & trailer, uint32_t size) [member function]
gjc@3755
   694
    cls.add_method('AddTrailer', 
gjc@3755
   695
                   'void', 
gjc@3755
   696
                   [param('ns3::Trailer const &', 'trailer'), param('uint32_t', 'size')])
gjc@3755
   697
    ## packet-metadata.h: void ns3::PacketMetadata::RemoveTrailer(ns3::Trailer const & trailer, uint32_t size) [member function]
gjc@3755
   698
    cls.add_method('RemoveTrailer', 
gjc@3755
   699
                   'void', 
gjc@3755
   700
                   [param('ns3::Trailer const &', 'trailer'), param('uint32_t', 'size')])
gjc@3755
   701
    ## packet-metadata.h: ns3::PacketMetadata ns3::PacketMetadata::CreateFragment(uint32_t start, uint32_t end) const [member function]
gjc@3755
   702
    cls.add_method('CreateFragment', 
gjc@3755
   703
                   'ns3::PacketMetadata', 
gjc@3755
   704
                   [param('uint32_t', 'start'), param('uint32_t', 'end')], 
gjc@3755
   705
                   is_const=True)
gjc@3755
   706
    ## packet-metadata.h: void ns3::PacketMetadata::AddAtEnd(ns3::PacketMetadata const & o) [member function]
gjc@3755
   707
    cls.add_method('AddAtEnd', 
gjc@3755
   708
                   'void', 
gjc@3755
   709
                   [param('ns3::PacketMetadata const &', 'o')])
gjc@3755
   710
    ## packet-metadata.h: void ns3::PacketMetadata::AddPaddingAtEnd(uint32_t end) [member function]
gjc@3755
   711
    cls.add_method('AddPaddingAtEnd', 
gjc@3755
   712
                   'void', 
gjc@3755
   713
                   [param('uint32_t', 'end')])
gjc@3755
   714
    ## packet-metadata.h: void ns3::PacketMetadata::RemoveAtStart(uint32_t start) [member function]
gjc@3755
   715
    cls.add_method('RemoveAtStart', 
gjc@3755
   716
                   'void', 
gjc@3755
   717
                   [param('uint32_t', 'start')])
gjc@3755
   718
    ## packet-metadata.h: void ns3::PacketMetadata::RemoveAtEnd(uint32_t end) [member function]
gjc@3755
   719
    cls.add_method('RemoveAtEnd', 
gjc@3755
   720
                   'void', 
gjc@3755
   721
                   [param('uint32_t', 'end')])
gjc@3755
   722
    ## packet-metadata.h: uint32_t ns3::PacketMetadata::GetUid() const [member function]
gjc@3755
   723
    cls.add_method('GetUid', 
gjc@3755
   724
                   'uint32_t', 
gjc@3755
   725
                   [], 
gjc@3755
   726
                   is_const=True)
gjc@3755
   727
    ## packet-metadata.h: uint32_t ns3::PacketMetadata::GetSerializedSize() const [member function]
gjc@3755
   728
    cls.add_method('GetSerializedSize', 
gjc@3755
   729
                   'uint32_t', 
gjc@3755
   730
                   [], 
gjc@3755
   731
                   is_const=True)
gjc@3755
   732
    ## packet-metadata.h: void ns3::PacketMetadata::Serialize(ns3::Buffer::Iterator i, uint32_t size) const [member function]
gjc@3755
   733
    cls.add_method('Serialize', 
gjc@3755
   734
                   'void', 
gjc@3755
   735
                   [param('ns3::Buffer::Iterator', 'i'), param('uint32_t', 'size')], 
gjc@3755
   736
                   is_const=True)
gjc@3755
   737
    ## packet-metadata.h: uint32_t ns3::PacketMetadata::Deserialize(ns3::Buffer::Iterator i) [member function]
gjc@3755
   738
    cls.add_method('Deserialize', 
gjc@3755
   739
                   'uint32_t', 
gjc@3755
   740
                   [param('ns3::Buffer::Iterator', 'i')])
gjc@3755
   741
    ## packet-metadata.h: ns3::PacketMetadata::ItemIterator ns3::PacketMetadata::BeginItem(ns3::Buffer buffer) const [member function]
gjc@3755
   742
    cls.add_method('BeginItem', 
gjc@3755
   743
                   'ns3::PacketMetadata::ItemIterator', 
gjc@3755
   744
                   [param('ns3::Buffer', 'buffer')], 
gjc@3755
   745
                   is_const=True)
gjc@3755
   746
    return
gjc@3755
   747
gjc@3755
   748
def register_Ns3PacketMetadataItem_methods(root_module, cls):
gjc@3755
   749
    ## packet-metadata.h: ns3::PacketMetadata::Item::isFragment [variable]
gjc@3755
   750
    cls.add_instance_attribute('isFragment', 'bool', is_const=False)
gjc@3755
   751
    ## packet-metadata.h: ns3::PacketMetadata::Item::tid [variable]
gjc@3755
   752
    cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
gjc@3755
   753
    ## packet-metadata.h: ns3::PacketMetadata::Item::currentSize [variable]
gjc@3755
   754
    cls.add_instance_attribute('currentSize', 'uint32_t', is_const=False)
gjc@3755
   755
    ## packet-metadata.h: ns3::PacketMetadata::Item::currentTrimedFromStart [variable]
gjc@3755
   756
    cls.add_instance_attribute('currentTrimedFromStart', 'uint32_t', is_const=False)
gjc@3755
   757
    ## packet-metadata.h: ns3::PacketMetadata::Item::currentTrimedFromEnd [variable]
gjc@3755
   758
    cls.add_instance_attribute('currentTrimedFromEnd', 'uint32_t', is_const=False)
gjc@3755
   759
    ## packet-metadata.h: ns3::PacketMetadata::Item::current [variable]
gjc@3755
   760
    cls.add_instance_attribute('current', 'ns3::Buffer::Iterator', is_const=False)
mathieu@4241
   761
    ## packet-metadata.h: ns3::PacketMetadata::Item::Item(ns3::PacketMetadata::Item const & arg0) [copy constructor]
mathieu@4241
   762
    cls.add_constructor([param('ns3::PacketMetadata::Item const &', 'arg0')])
mathieu@4241
   763
    ## packet-metadata.h: ns3::PacketMetadata::Item::Item() [constructor]
gjc@3755
   764
    cls.add_constructor([])
gjc@3755
   765
    return
gjc@3755
   766
gjc@3755
   767
def register_Ns3PacketMetadataItemIterator_methods(root_module, cls):
mathieu@4241
   768
    ## packet-metadata.h: ns3::PacketMetadata::ItemIterator::ItemIterator(ns3::PacketMetadata::ItemIterator const & arg0) [copy constructor]
mathieu@4241
   769
    cls.add_constructor([param('ns3::PacketMetadata::ItemIterator const &', 'arg0')])
gjc@3755
   770
    ## packet-metadata.h: ns3::PacketMetadata::ItemIterator::ItemIterator(ns3::PacketMetadata const * metadata, ns3::Buffer buffer) [constructor]
gjc@3755
   771
    cls.add_constructor([param('ns3::PacketMetadata const *', 'metadata'), param('ns3::Buffer', 'buffer')])
gjc@3755
   772
    ## packet-metadata.h: bool ns3::PacketMetadata::ItemIterator::HasNext() const [member function]
gjc@3755
   773
    cls.add_method('HasNext', 
gjc@3755
   774
                   'bool', 
gjc@3755
   775
                   [], 
gjc@3755
   776
                   is_const=True)
gjc@3755
   777
    ## packet-metadata.h: ns3::PacketMetadata::Item ns3::PacketMetadata::ItemIterator::Next() [member function]
gjc@3755
   778
    cls.add_method('Next', 
gjc@3755
   779
                   'ns3::PacketMetadata::Item', 
gjc@3755
   780
                   [])
gjc@3755
   781
    return
gjc@3755
   782
mathieu@4502
   783
def register_Ns3PacketTagIterator_methods(root_module, cls):
mathieu@4502
   784
    ## packet.h: ns3::PacketTagIterator::PacketTagIterator(ns3::PacketTagIterator const & arg0) [copy constructor]
mathieu@4502
   785
    cls.add_constructor([param('ns3::PacketTagIterator const &', 'arg0')])
mathieu@4502
   786
    ## packet.h: bool ns3::PacketTagIterator::HasNext() const [member function]
mathieu@4502
   787
    cls.add_method('HasNext', 
mathieu@4502
   788
                   'bool', 
mathieu@4502
   789
                   [], 
mathieu@4502
   790
                   is_const=True)
mathieu@4502
   791
    ## packet.h: ns3::PacketTagIterator::Item ns3::PacketTagIterator::Next() [member function]
mathieu@4502
   792
    cls.add_method('Next', 
mathieu@4502
   793
                   'ns3::PacketTagIterator::Item', 
mathieu@4502
   794
                   [])
mathieu@4502
   795
    return
mathieu@4502
   796
mathieu@4502
   797
def register_Ns3PacketTagIteratorItem_methods(root_module, cls):
mathieu@4502
   798
    ## packet.h: ns3::PacketTagIterator::Item::Item(ns3::PacketTagIterator::Item const & arg0) [copy constructor]
mathieu@4502
   799
    cls.add_constructor([param('ns3::PacketTagIterator::Item const &', 'arg0')])
mathieu@4502
   800
    ## packet.h: ns3::TypeId ns3::PacketTagIterator::Item::GetTypeId() const [member function]
mathieu@4502
   801
    cls.add_method('GetTypeId', 
mathieu@4502
   802
                   'ns3::TypeId', 
mathieu@4502
   803
                   [], 
mathieu@4502
   804
                   is_const=True)
mathieu@4502
   805
    ## packet.h: void ns3::PacketTagIterator::Item::GetTag(ns3::Tag & tag) const [member function]
mathieu@4502
   806
    cls.add_method('GetTag', 
mathieu@4502
   807
                   'void', 
mathieu@4502
   808
                   [param('ns3::Tag &', 'tag')], 
mathieu@4502
   809
                   is_const=True)
mathieu@4502
   810
    return
mathieu@4502
   811
mathieu@4502
   812
def register_Ns3PacketTagList_methods(root_module, cls):
mathieu@4502
   813
    ## packet-tag-list.h: ns3::PacketTagList::PacketTagList() [constructor]
mathieu@4502
   814
    cls.add_constructor([])
mathieu@4502
   815
    ## packet-tag-list.h: ns3::PacketTagList::PacketTagList(ns3::PacketTagList const & o) [copy constructor]
mathieu@4502
   816
    cls.add_constructor([param('ns3::PacketTagList const &', 'o')])
mathieu@4502
   817
    ## packet-tag-list.h: void ns3::PacketTagList::Add(ns3::Tag const & tag) const [member function]
mathieu@4502
   818
    cls.add_method('Add', 
mathieu@4502
   819
                   'void', 
mathieu@4502
   820
                   [param('ns3::Tag const &', 'tag')], 
mathieu@4502
   821
                   is_const=True)
mathieu@4502
   822
    ## packet-tag-list.h: bool ns3::PacketTagList::Remove(ns3::Tag & tag) [member function]
mathieu@4502
   823
    cls.add_method('Remove', 
mathieu@4502
   824
                   'bool', 
mathieu@4502
   825
                   [param('ns3::Tag &', 'tag')])
mathieu@4502
   826
    ## packet-tag-list.h: bool ns3::PacketTagList::Peek(ns3::Tag & tag) const [member function]
mathieu@4502
   827
    cls.add_method('Peek', 
mathieu@4502
   828
                   'bool', 
mathieu@4502
   829
                   [param('ns3::Tag &', 'tag')], 
mathieu@4502
   830
                   is_const=True)
mathieu@4502
   831
    ## packet-tag-list.h: void ns3::PacketTagList::RemoveAll() [member function]
mathieu@4502
   832
    cls.add_method('RemoveAll', 
mathieu@4502
   833
                   'void', 
mathieu@4502
   834
                   [])
mathieu@4502
   835
    ## packet-tag-list.h: ns3::PacketTagList::TagData const * ns3::PacketTagList::Head() const [member function]
mathieu@4502
   836
    cls.add_method('Head', 
mathieu@4502
   837
                   'ns3::PacketTagList::TagData const *', 
mathieu@4502
   838
                   [], 
mathieu@4502
   839
                   is_const=True)
mathieu@4502
   840
    return
mathieu@4502
   841
mathieu@4502
   842
def register_Ns3PacketTagListTagData_methods(root_module, cls):
mathieu@4502
   843
    ## packet-tag-list.h: ns3::PacketTagList::TagData::data [variable]
mathieu@4502
   844
    cls.add_instance_attribute('data', 'uint8_t [ 20 ]', is_const=False)
mathieu@4502
   845
    ## packet-tag-list.h: ns3::PacketTagList::TagData::next [variable]
mathieu@4502
   846
    cls.add_instance_attribute('next', 'ns3::PacketTagList::TagData *', is_const=False)
mathieu@4502
   847
    ## packet-tag-list.h: ns3::PacketTagList::TagData::tid [variable]
mathieu@4502
   848
    cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
mathieu@4502
   849
    ## packet-tag-list.h: ns3::PacketTagList::TagData::count [variable]
mathieu@4502
   850
    cls.add_instance_attribute('count', 'uint32_t', is_const=False)
mathieu@4502
   851
    ## packet-tag-list.h: ns3::PacketTagList::TagData::TagData(ns3::PacketTagList::TagData const & arg0) [copy constructor]
mathieu@4502
   852
    cls.add_constructor([param('ns3::PacketTagList::TagData const &', 'arg0')])
mathieu@4502
   853
    ## packet-tag-list.h: ns3::PacketTagList::TagData::TagData() [constructor]
mathieu@4502
   854
    cls.add_constructor([])
mathieu@4502
   855
    return
mathieu@4502
   856
gjc@3408
   857
def register_Ns3Tag_methods(root_module, cls):
mathieu@4241
   858
    ## tag.h: ns3::Tag::Tag(ns3::Tag const & arg0) [copy constructor]
mathieu@4241
   859
    cls.add_constructor([param('ns3::Tag const &', 'arg0')])
mathieu@4241
   860
    ## tag.h: ns3::Tag::Tag() [constructor]
mathieu@4241
   861
    cls.add_constructor([])
gjc@3408
   862
    ## tag.h: static ns3::TypeId ns3::Tag::GetTypeId() [member function]
gjc@3468
   863
    cls.add_method('GetTypeId', 
gjc@3468
   864
                   'ns3::TypeId', 
gjc@3468
   865
                   [], 
gjc@3468
   866
                   is_static=True)
gjc@3408
   867
    ## tag.h: uint32_t ns3::Tag::GetSerializedSize() const [member function]
gjc@3468
   868
    cls.add_method('GetSerializedSize', 
gjc@3468
   869
                   'uint32_t', 
gjc@3468
   870
                   [], 
gjc@3468
   871
                   is_pure_virtual=True, is_const=True, is_virtual=True)
gjc@3408
   872
    ## tag.h: void ns3::Tag::Serialize(ns3::TagBuffer i) const [member function]
gjc@3468
   873
    cls.add_method('Serialize', 
gjc@3468
   874
                   'void', 
gjc@3468
   875
                   [param('ns3::TagBuffer', 'i')], 
gjc@3468
   876
                   is_pure_virtual=True, is_const=True, is_virtual=True)
gjc@3408
   877
    ## tag.h: void ns3::Tag::Deserialize(ns3::TagBuffer i) [member function]
gjc@3468
   878
    cls.add_method('Deserialize', 
gjc@3468
   879
                   'void', 
gjc@3468
   880
                   [param('ns3::TagBuffer', 'i')], 
gjc@3468
   881
                   is_pure_virtual=True, is_virtual=True)
gjc@3408
   882
    ## tag.h: void ns3::Tag::Print(std::ostream & os) const [member function]
gjc@3468
   883
    cls.add_method('Print', 
gjc@3468
   884
                   'void', 
gjc@3574
   885
                   [param('std::ostream &', 'os')], 
gjc@3468
   886
                   is_pure_virtual=True, is_const=True, is_virtual=True)
gjc@3408
   887
    return
gjc@3408
   888
gjc@3731
   889
def register_Ns3TagBuffer_methods(root_module, cls):
mathieu@4241
   890
    ## tag-buffer.h: ns3::TagBuffer::TagBuffer(ns3::TagBuffer const & arg0) [copy constructor]
mathieu@4241
   891
    cls.add_constructor([param('ns3::TagBuffer const &', 'arg0')])
gjc@3731
   892
    ## tag-buffer.h: ns3::TagBuffer::TagBuffer(uint8_t * start, uint8_t * end) [constructor]
gjc@3731
   893
    cls.add_constructor([param('uint8_t *', 'start'), param('uint8_t *', 'end')])
gjc@3731
   894
    ## tag-buffer.h: void ns3::TagBuffer::TrimAtEnd(uint32_t trim) [member function]
gjc@3731
   895
    cls.add_method('TrimAtEnd', 
gjc@3731
   896
                   'void', 
gjc@3731
   897
                   [param('uint32_t', 'trim')])
gjc@3731
   898
    ## tag-buffer.h: void ns3::TagBuffer::CopyFrom(ns3::TagBuffer o) [member function]
gjc@3731
   899
    cls.add_method('CopyFrom', 
gjc@3731
   900
                   'void', 
gjc@3731
   901
                   [param('ns3::TagBuffer', 'o')])
gjc@3731
   902
    ## tag-buffer.h: void ns3::TagBuffer::WriteU8(uint8_t v) [member function]
gjc@3731
   903
    cls.add_method('WriteU8', 
gjc@3731
   904
                   'void', 
gjc@3731
   905
                   [param('uint8_t', 'v')])
gjc@3731
   906
    ## tag-buffer.h: void ns3::TagBuffer::WriteU16(uint16_t data) [member function]
gjc@3731
   907
    cls.add_method('WriteU16', 
gjc@3731
   908
                   'void', 
gjc@3731
   909
                   [param('uint16_t', 'data')])
gjc@3731
   910
    ## tag-buffer.h: void ns3::TagBuffer::WriteU32(uint32_t data) [member function]
gjc@3731
   911
    cls.add_method('WriteU32', 
gjc@3731
   912
                   'void', 
gjc@3731
   913
                   [param('uint32_t', 'data')])
gjc@3731
   914
    ## tag-buffer.h: void ns3::TagBuffer::WriteU64(uint64_t v) [member function]
gjc@3731
   915
    cls.add_method('WriteU64', 
gjc@3731
   916
                   'void', 
gjc@3731
   917
                   [param('uint64_t', 'v')])
gjc@3731
   918
    ## tag-buffer.h: void ns3::TagBuffer::WriteDouble(double v) [member function]
gjc@3731
   919
    cls.add_method('WriteDouble', 
gjc@3731
   920
                   'void', 
gjc@3731
   921
                   [param('double', 'v')])
gjc@3731
   922
    ## tag-buffer.h: void ns3::TagBuffer::Write(uint8_t const * buffer, uint32_t size) [member function]
gjc@3731
   923
    cls.add_method('Write', 
gjc@3731
   924
                   'void', 
gjc@3731
   925
                   [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
gjc@3731
   926
    ## tag-buffer.h: uint8_t ns3::TagBuffer::ReadU8() [member function]
gjc@3731
   927
    cls.add_method('ReadU8', 
gjc@3731
   928
                   'uint8_t', 
gjc@3731
   929
                   [])
gjc@3731
   930
    ## tag-buffer.h: uint16_t ns3::TagBuffer::ReadU16() [member function]
gjc@3731
   931
    cls.add_method('ReadU16', 
gjc@3731
   932
                   'uint16_t', 
gjc@3731
   933
                   [])
gjc@3731
   934
    ## tag-buffer.h: uint32_t ns3::TagBuffer::ReadU32() [member function]
gjc@3731
   935
    cls.add_method('ReadU32', 
gjc@3731
   936
                   'uint32_t', 
gjc@3731
   937
                   [])
gjc@3731
   938
    ## tag-buffer.h: uint64_t ns3::TagBuffer::ReadU64() [member function]
gjc@3731
   939
    cls.add_method('ReadU64', 
gjc@3731
   940
                   'uint64_t', 
gjc@3731
   941
                   [])
gjc@3731
   942
    ## tag-buffer.h: double ns3::TagBuffer::ReadDouble() [member function]
gjc@3731
   943
    cls.add_method('ReadDouble', 
gjc@3731
   944
                   'double', 
gjc@3731
   945
                   [])
gjc@3731
   946
    ## tag-buffer.h: void ns3::TagBuffer::Read(uint8_t * buffer, uint32_t size) [member function]
gjc@3731
   947
    cls.add_method('Read', 
gjc@3731
   948
                   'void', 
gjc@3731
   949
                   [param('uint8_t *', 'buffer'), param('uint32_t', 'size')])
gjc@3731
   950
    return
gjc@3731
   951
gjc@3731
   952
def register_Ns3Chunk_methods(root_module, cls):
mathieu@4241
   953
    ## chunk.h: ns3::Chunk::Chunk(ns3::Chunk const & arg0) [copy constructor]
mathieu@4241
   954
    cls.add_constructor([param('ns3::Chunk const &', 'arg0')])
raj@4218
   955
    ## chunk.h: ns3::Chunk::Chunk() [constructor]
raj@4218
   956
    cls.add_constructor([])
gjc@3731
   957
    ## chunk.h: static ns3::TypeId ns3::Chunk::GetTypeId() [member function]
gjc@3731
   958
    cls.add_method('GetTypeId', 
gjc@3731
   959
                   'ns3::TypeId', 
gjc@3731
   960
                   [], 
gjc@3731
   961
                   is_static=True)
gjc@3731
   962
    ## chunk.h: uint32_t ns3::Chunk::Deserialize(ns3::Buffer::Iterator start) [member function]
gjc@3731
   963
    cls.add_method('Deserialize', 
gjc@3731
   964
                   'uint32_t', 
gjc@3731
   965
                   [param('ns3::Buffer::Iterator', 'start')], 
gjc@3731
   966
                   is_pure_virtual=True, is_virtual=True)
gjc@3731
   967
    ## chunk.h: void ns3::Chunk::Print(std::ostream & os) const [member function]
gjc@3731
   968
    cls.add_method('Print', 
gjc@3731
   969
                   'void', 
gjc@3731
   970
                   [param('std::ostream &', 'os')], 
gjc@3731
   971
                   is_pure_virtual=True, is_const=True, is_virtual=True)
gjc@3731
   972
    return
gjc@3731
   973
gjc@3731
   974
def register_Ns3DataRateChecker_methods(root_module, cls):
mathieu@4241
   975
    ## data-rate.h: ns3::DataRateChecker::DataRateChecker(ns3::DataRateChecker const & arg0) [copy constructor]
mathieu@4241
   976
    cls.add_constructor([param('ns3::DataRateChecker const &', 'arg0')])
mathieu@4241
   977
    ## data-rate.h: ns3::DataRateChecker::DataRateChecker() [constructor]
gjc@3731
   978
    cls.add_constructor([])
gjc@3731
   979
    return
gjc@3731
   980
gjc@3731
   981
def register_Ns3DataRateValue_methods(root_module, cls):
mathieu@4241
   982
    ## data-rate.h: ns3::DataRateValue::DataRateValue(ns3::DataRateValue const & arg0) [copy constructor]
mathieu@4241
   983
    cls.add_constructor([param('ns3::DataRateValue const &', 'arg0')])
gjc@3731
   984
    ## data-rate.h: ns3::DataRateValue::DataRateValue() [constructor]
gjc@3731
   985
    cls.add_constructor([])
gjc@3731
   986
    ## data-rate.h: ns3::DataRateValue::DataRateValue(ns3::DataRate const & value) [constructor]
gjc@3731
   987
    cls.add_constructor([param('ns3::DataRate const &', 'value')])
gjc@3731
   988
    ## data-rate.h: void ns3::DataRateValue::Set(ns3::DataRate const & value) [member function]
gjc@3731
   989
    cls.add_method('Set', 
gjc@3731
   990
                   'void', 
gjc@3731
   991
                   [param('ns3::DataRate const &', 'value')])
gjc@3731
   992
    ## data-rate.h: ns3::DataRate ns3::DataRateValue::Get() const [member function]
gjc@3731
   993
    cls.add_method('Get', 
gjc@3731
   994
                   'ns3::DataRate', 
gjc@3731
   995
                   [], 
gjc@3731
   996
                   is_const=True)
gjc@3731
   997
    ## data-rate.h: ns3::Ptr<ns3::AttributeValue> ns3::DataRateValue::Copy() const [member function]
gjc@3731
   998
    cls.add_method('Copy', 
gjc@3731
   999
                   'ns3::Ptr< ns3::AttributeValue >', 
gjc@3731
  1000
                   [], 
gjc@3731
  1001
                   is_const=True, is_virtual=True)
gjc@3731
  1002
    ## data-rate.h: std::string ns3::DataRateValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
gjc@3731
  1003
    cls.add_method('SerializeToString', 
gjc@3731
  1004
                   'std::string', 
gjc@3731
  1005
                   [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
gjc@3731
  1006
                   is_const=True, is_virtual=True)
gjc@3731
  1007
    ## data-rate.h: bool ns3::DataRateValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
gjc@3731
  1008
    cls.add_method('DeserializeFromString', 
gjc@3731
  1009
                   'bool', 
gjc@3731
  1010
                   [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
gjc@3731
  1011
                   is_virtual=True)
gjc@3731
  1012
    return
gjc@3731
  1013
gjc@3731
  1014
def register_Ns3Header_methods(root_module, cls):
gjc@3731
  1015
    cls.add_output_stream_operator()
gjc@3731
  1016
    ## header.h: ns3::Header::Header() [constructor]
gjc@3731
  1017
    cls.add_constructor([])
gjc@3731
  1018
    ## header.h: ns3::Header::Header(ns3::Header const & arg0) [copy constructor]
gjc@3731
  1019
    cls.add_constructor([param('ns3::Header const &', 'arg0')])
gjc@3731
  1020
    ## header.h: uint32_t ns3::Header::Deserialize(ns3::Buffer::Iterator start) [member function]
gjc@3731
  1021
    cls.add_method('Deserialize', 
gjc@3731
  1022
                   'uint32_t', 
gjc@3731
  1023
                   [param('ns3::Buffer::Iterator', 'start')], 
gjc@3731
  1024
                   is_pure_virtual=True, is_virtual=True)
gjc@3731
  1025
    ## header.h: uint32_t ns3::Header::GetSerializedSize() const [member function]
gjc@3731
  1026
    cls.add_method('GetSerializedSize', 
gjc@3731
  1027
                   'uint32_t', 
gjc@3731
  1028
                   [], 
gjc@3731
  1029
                   is_pure_virtual=True, is_const=True, is_virtual=True)
gjc@3731
  1030
    ## header.h: static ns3::TypeId ns3::Header::GetTypeId() [member function]
gjc@3731
  1031
    cls.add_method('GetTypeId', 
gjc@3731
  1032
                   'ns3::TypeId', 
gjc@3731
  1033
                   [], 
gjc@3731
  1034
                   is_static=True)
gjc@3731
  1035
    ## header.h: void ns3::Header::Print(std::ostream & os) const [member function]
gjc@3731
  1036
    cls.add_method('Print', 
gjc@3731
  1037
                   'void', 
gjc@3731
  1038
                   [param('std::ostream &', 'os')], 
gjc@3731
  1039
                   is_pure_virtual=True, is_const=True, is_virtual=True)
gjc@3731
  1040
    ## header.h: void ns3::Header::Serialize(ns3::Buffer::Iterator start) const [member function]
gjc@3731
  1041
    cls.add_method('Serialize', 
gjc@3731
  1042
                   'void', 
gjc@3731
  1043
                   [param('ns3::Buffer::Iterator', 'start')], 
gjc@3731
  1044
                   is_pure_virtual=True, is_const=True, is_virtual=True)
gjc@3731
  1045
    return
gjc@3731
  1046
gjc@3408
  1047
def register_Ns3PcapWriter_methods(root_module, cls):
mathieu@4241
  1048
    ## pcap-writer.h: ns3::PcapWriter::PcapWriter(ns3::PcapWriter const & arg0) [copy constructor]
mathieu@4241
  1049
    cls.add_constructor([param('ns3::PcapWriter const &', 'arg0')])
gjc@3408
  1050
    ## pcap-writer.h: ns3::PcapWriter::PcapWriter() [constructor]
gjc@3468
  1051
    cls.add_constructor([])
gjc@3408
  1052
    ## pcap-writer.h: void ns3::PcapWriter::Open(std::string const & name) [member function]
gjc@3468
  1053
    cls.add_method('Open', 
gjc@3468
  1054
                   'void', 
gjc@3574
  1055
                   [param('std::string const &', 'name')])
gjc@3408
  1056
    ## pcap-writer.h: void ns3::PcapWriter::WriteEthernetHeader() [member function]
gjc@3468
  1057
    cls.add_method('WriteEthernetHeader', 
gjc@3468
  1058
                   'void', 
gjc@3468
  1059
                   [])
gjc@3408
  1060
    ## pcap-writer.h: void ns3::PcapWriter::WriteIpHeader() [member function]
gjc@3468
  1061
    cls.add_method('WriteIpHeader', 
gjc@3468
  1062
                   'void', 
gjc@3468
  1063
                   [])
gjc@3408
  1064
    ## pcap-writer.h: void ns3::PcapWriter::WriteWifiHeader() [member function]
gjc@3468
  1065
    cls.add_method('WriteWifiHeader', 
gjc@3468
  1066
                   'void', 
gjc@3468
  1067
                   [])
mathieu@4496
  1068
    ## pcap-writer.h: void ns3::PcapWriter::WriteWifiRadiotapHeader() [member function]
mathieu@4496
  1069
    cls.add_method('WriteWifiRadiotapHeader', 
mathieu@4496
  1070
                   'void', 
mathieu@4496
  1071
                   [])
mathieu@4496
  1072
    ## pcap-writer.h: void ns3::PcapWriter::WriteWifiPrismHeader() [member function]
mathieu@4496
  1073
    cls.add_method('WriteWifiPrismHeader', 
mathieu@4496
  1074
                   'void', 
mathieu@4496
  1075
                   [])
gjc@3408
  1076
    ## pcap-writer.h: void ns3::PcapWriter::WritePppHeader() [member function]
gjc@3468
  1077
    cls.add_method('WritePppHeader', 
gjc@3468
  1078
                   'void', 
gjc@3468
  1079
                   [])
mathieu@4407
  1080
    ## pcap-writer.h: void ns3::PcapWriter::WritePacket(ns3::Ptr<ns3::Packet const> packet) [member function]
gjc@3468
  1081
    cls.add_method('WritePacket', 
gjc@3468
  1082
                   'void', 
gjc@3731
  1083
                   [param('ns3::Ptr< ns3::Packet const >', 'packet')])
mathieu@4496
  1084
    ## pcap-writer.h: void ns3::PcapWriter::WriteWifiMonitorPacket(ns3::Ptr<ns3::Packet const> packet, uint16_t channelFreqMhz, uint32_t rate, bool isShortPreamble, bool isTx, double signalDbm, double noiseDbm) [member function]
mathieu@4496
  1085
    cls.add_method('WriteWifiMonitorPacket', 
mathieu@4496
  1086
                   'void', 
mathieu@4496
  1087
                   [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('uint16_t', 'channelFreqMhz'), param('uint32_t', 'rate'), param('bool', 'isShortPreamble'), param('bool', 'isTx'), param('double', 'signalDbm'), param('double', 'noiseDbm')])
gjc@3408
  1088
    return
gjc@3408
  1089
gjc@3731
  1090
def register_Ns3Trailer_methods(root_module, cls):
gjc@3731
  1091
    cls.add_output_stream_operator()
gjc@3731
  1092
    ## trailer.h: ns3::Trailer::Trailer() [constructor]
gjc@3408
  1093
    cls.add_constructor([])
gjc@3731
  1094
    ## trailer.h: ns3::Trailer::Trailer(ns3::Trailer const & arg0) [copy constructor]
gjc@3731
  1095
    cls.add_constructor([param('ns3::Trailer const &', 'arg0')])
gjc@3731
  1096
    ## trailer.h: uint32_t ns3::Trailer::Deserialize(ns3::Buffer::Iterator end) [member function]
gjc@3731
  1097
    cls.add_method('Deserialize', 
gjc@3731
  1098
                   'uint32_t', 
gjc@3731
  1099
                   [param('ns3::Buffer::Iterator', 'end')], 
gjc@3731
  1100
                   is_pure_virtual=True, is_virtual=True)
gjc@3731
  1101
    ## trailer.h: uint32_t ns3::Trailer::GetSerializedSize() const [member function]
gjc@3731
  1102
    cls.add_method('GetSerializedSize', 
gjc@3731
  1103
                   'uint32_t', 
gjc@3731
  1104
                   [], 
gjc@3731
  1105
                   is_pure_virtual=True, is_const=True, is_virtual=True)
gjc@3731
  1106
    ## trailer.h: static ns3::TypeId ns3::Trailer::GetTypeId() [member function]
gjc@3731
  1107
    cls.add_method('GetTypeId', 
gjc@3731
  1108
                   'ns3::TypeId', 
gjc@3731
  1109
                   [], 
gjc@3731
  1110
                   is_static=True)
gjc@3731
  1111
    ## trailer.h: void ns3::Trailer::Print(std::ostream & os) const [member function]
gjc@3731
  1112
    cls.add_method('Print', 
gjc@3731
  1113
                   'void', 
gjc@3731
  1114
                   [param('std::ostream &', 'os')], 
gjc@3731
  1115
                   is_pure_virtual=True, is_const=True, is_virtual=True)
gjc@3731
  1116
    ## trailer.h: void ns3::Trailer::Serialize(ns3::Buffer::Iterator start) const [member function]
gjc@3731
  1117
    cls.add_method('Serialize', 
gjc@3731
  1118
                   'void', 
gjc@3731
  1119
                   [param('ns3::Buffer::Iterator', 'start')], 
gjc@3731
  1120
                   is_pure_virtual=True, is_const=True, is_virtual=True)
gjc@3408
  1121
    return
gjc@3408
  1122
gjc@3408
  1123
def register_Ns3ErrorModel_methods(root_module, cls):
mathieu@4241
  1124
    ## error-model.h: ns3::ErrorModel::ErrorModel(ns3::ErrorModel const & arg0) [copy constructor]
mathieu@4241
  1125
    cls.add_constructor([param('ns3::ErrorModel const &', 'arg0')])
gjc@3408
  1126
    ## error-model.h: static ns3::TypeId ns3::ErrorModel::GetTypeId() [member function]
gjc@3468
  1127
    cls.add_method('GetTypeId', 
gjc@3468
  1128
                   'ns3::TypeId', 
gjc@3468
  1129
                   [], 
gjc@3468
  1130
                   is_static=True)
gjc@3408
  1131
    ## error-model.h: ns3::ErrorModel::ErrorModel() [constructor]
gjc@3468
  1132
    cls.add_constructor([])
gjc@3408
  1133
    ## error-model.h: bool ns3::ErrorModel::IsCorrupt(ns3::Ptr<ns3::Packet> pkt) [member function]
gjc@3468
  1134
    cls.add_method('IsCorrupt', 
gjc@3468
  1135
                   'bool', 
gjc@3468
  1136
                   [param('ns3::Ptr< ns3::Packet >', 'pkt')])
gjc@3408
  1137
    ## error-model.h: void ns3::ErrorModel::Reset() [member function]
gjc@3468
  1138
    cls.add_method('Reset', 
gjc@3468
  1139
                   'void', 
gjc@3468
  1140
                   [])
gjc@3408
  1141
    ## error-model.h: void ns3::ErrorModel::Enable() [member function]
gjc@3468
  1142
    cls.add_method('Enable', 
gjc@3468
  1143
                   'void', 
gjc@3468
  1144
                   [])
gjc@3408
  1145
    ## error-model.h: void ns3::ErrorModel::Disable() [member function]
gjc@3468
  1146
    cls.add_method('Disable', 
gjc@3468
  1147
                   'void', 
gjc@3468
  1148
                   [])
gjc@3408
  1149
    ## error-model.h: bool ns3::ErrorModel::IsEnabled() const [member function]
gjc@3468
  1150
    cls.add_method('IsEnabled', 
gjc@3468
  1151
                   'bool', 
gjc@3468
  1152
                   [], 
gjc@3468
  1153
                   is_const=True)
gjc@3408
  1154
    ## error-model.h: bool ns3::ErrorModel::DoCorrupt(ns3::Ptr<ns3::Packet> arg0) [member function]
gjc@3468
  1155
    cls.add_method('DoCorrupt', 
gjc@3468
  1156
                   'bool', 
gjc@3468
  1157
                   [param('ns3::Ptr< ns3::Packet >', 'arg0')], 
gjc@3468
  1158
                   is_pure_virtual=True, visibility='private', is_virtual=True)
gjc@3408
  1159
    ## error-model.h: void ns3::ErrorModel::DoReset() [member function]
gjc@3468
  1160
    cls.add_method('DoReset', 
gjc@3468
  1161
                   'void', 
gjc@3468
  1162
                   [], 
gjc@3468
  1163
                   is_pure_virtual=True, visibility='private', is_virtual=True)
gjc@3408
  1164
    return
gjc@3408
  1165
gjc@3408
  1166
def register_Ns3ListErrorModel_methods(root_module, cls):
mathieu@4241
  1167
    ## error-model.h: ns3::ListErrorModel::ListErrorModel(ns3::ListErrorModel const & arg0) [copy constructor]
mathieu@4241
  1168
    cls.add_constructor([param('ns3::ListErrorModel const &', 'arg0')])
gjc@3408
  1169
    ## error-model.h: static ns3::TypeId ns3::ListErrorModel::GetTypeId() [member function]
gjc@3468
  1170
    cls.add_method('GetTypeId', 
gjc@3468
  1171
                   'ns3::TypeId', 
gjc@3468
  1172
                   [], 
gjc@3468
  1173
                   is_static=True)
gjc@3408
  1174
    ## error-model.h: ns3::ListErrorModel::ListErrorModel() [constructor]
gjc@3468
  1175
    cls.add_constructor([])
gjc@3408
  1176
    ## error-model.h: std::list<unsigned int, std::allocator<unsigned int> > ns3::ListErrorModel::GetList() const [member function]
gjc@3468
  1177
    cls.add_method('GetList', 
gjc@3567
  1178
                   'std::list< unsigned int >', 
gjc@3468
  1179
                   [], 
gjc@3468
  1180
                   is_const=True)
gjc@3408
  1181
    ## error-model.h: void ns3::ListErrorModel::SetList(std::list<unsigned int, std::allocator<unsigned int> > const & packetlist) [member function]
gjc@3468
  1182
    cls.add_method('SetList', 
gjc@3468
  1183
                   'void', 
gjc@3731
  1184
                   [param('std::list< unsigned int > const &', 'packetlist')])
gjc@3408
  1185
    ## error-model.h: bool ns3::ListErrorModel::DoCorrupt(ns3::Ptr<ns3::Packet> p) [member function]
gjc@3468
  1186
    cls.add_method('DoCorrupt', 
gjc@3468
  1187
                   'bool', 
gjc@3468
  1188
                   [param('ns3::Ptr< ns3::Packet >', 'p')], 
gjc@3468
  1189
                   visibility='private', is_virtual=True)
gjc@3408
  1190
    ## error-model.h: void ns3::ListErrorModel::DoReset() [member function]
gjc@3468
  1191
    cls.add_method('DoReset', 
gjc@3468
  1192
                   'void', 
gjc@3468
  1193
                   [], 
gjc@3468
  1194
                   visibility='private', is_virtual=True)
gjc@3408
  1195
    return
gjc@3408
  1196
gjc@3408
  1197
def register_Ns3RateErrorModel_methods(root_module, cls):
mathieu@4241
  1198
    ## error-model.h: ns3::RateErrorModel::RateErrorModel(ns3::RateErrorModel const & arg0) [copy constructor]
mathieu@4241
  1199
    cls.add_constructor([param('ns3::RateErrorModel const &', 'arg0')])
gjc@3408
  1200
    ## error-model.h: static ns3::TypeId ns3::RateErrorModel::GetTypeId() [member function]
gjc@3468
  1201
    cls.add_method('GetTypeId', 
gjc@3468
  1202
                   'ns3::TypeId', 
gjc@3468
  1203
                   [], 
gjc@3468
  1204
                   is_static=True)
gjc@3408
  1205
    ## error-model.h: ns3::RateErrorModel::RateErrorModel() [constructor]
gjc@3468
  1206
    cls.add_constructor([])
gjc@3408
  1207
    ## error-model.h: ns3::ErrorUnit ns3::RateErrorModel::GetUnit() const [member function]
gjc@3468
  1208
    cls.add_method('GetUnit', 
gjc@3468
  1209
                   'ns3::ErrorUnit', 
gjc@3468
  1210
                   [], 
gjc@3468
  1211
                   is_const=True)
gjc@3408
  1212
    ## error-model.h: void ns3::RateErrorModel::SetUnit(ns3::ErrorUnit error_unit) [member function]
gjc@3468
  1213
    cls.add_method('SetUnit', 
gjc@3468
  1214
                   'void', 
gjc@3468
  1215
                   [param('ns3::ErrorUnit', 'error_unit')])
gjc@3408
  1216
    ## error-model.h: double ns3::RateErrorModel::GetRate() const [member function]
gjc@3468
  1217
    cls.add_method('GetRate', 
gjc@3468
  1218
                   'double', 
gjc@3468
  1219
                   [], 
gjc@3468
  1220
                   is_const=True)
gjc@3408
  1221
    ## error-model.h: void ns3::RateErrorModel::SetRate(double rate) [member function]
gjc@3468
  1222
    cls.add_method('SetRate', 
gjc@3468
  1223
                   'void', 
gjc@3468
  1224
                   [param('double', 'rate')])
gjc@3408
  1225
    ## error-model.h: void ns3::RateErrorModel::SetRandomVariable(ns3::RandomVariable const & ranvar) [member function]
gjc@3468
  1226
    cls.add_method('SetRandomVariable', 
gjc@3468
  1227
                   'void', 
gjc@3574
  1228
                   [param('ns3::RandomVariable const &', 'ranvar')])
gjc@3408
  1229
    ## error-model.h: bool ns3::RateErrorModel::DoCorrupt(ns3::Ptr<ns3::Packet> p) [member function]
gjc@3468
  1230
    cls.add_method('DoCorrupt', 
gjc@3468
  1231
                   'bool', 
gjc@3468
  1232
                   [param('ns3::Ptr< ns3::Packet >', 'p')], 
gjc@3468
  1233
                   visibility='private', is_virtual=True)
gjc@3408
  1234
    ## error-model.h: bool ns3::RateErrorModel::DoCorruptPkt(ns3::Ptr<ns3::Packet> p) [member function]
gjc@3468
  1235
    cls.add_method('DoCorruptPkt', 
gjc@3468
  1236
                   'bool', 
gjc@3468
  1237
                   [param('ns3::Ptr< ns3::Packet >', 'p')], 
gjc@3468
  1238
                   visibility='private', is_virtual=True)
gjc@3408
  1239
    ## error-model.h: bool ns3::RateErrorModel::DoCorruptByte(ns3::Ptr<ns3::Packet> p) [member function]
gjc@3468
  1240
    cls.add_method('DoCorruptByte', 
gjc@3468
  1241
                   'bool', 
gjc@3468
  1242
                   [param('ns3::Ptr< ns3::Packet >', 'p')], 
gjc@3468
  1243
                   visibility='private', is_virtual=True)
gjc@3408
  1244
    ## error-model.h: bool ns3::RateErrorModel::DoCorruptBit(ns3::Ptr<ns3::Packet> p) [member function]
gjc@3468
  1245
    cls.add_method('DoCorruptBit', 
gjc@3468
  1246
                   'bool', 
gjc@3468
  1247
                   [param('ns3::Ptr< ns3::Packet >', 'p')], 
gjc@3468
  1248
                   visibility='private', is_virtual=True)
gjc@3408
  1249
    ## error-model.h: void ns3::RateErrorModel::DoReset() [member function]
gjc@3468
  1250
    cls.add_method('DoReset', 
gjc@3468
  1251
                   'void', 
gjc@3468
  1252
                   [], 
gjc@3468
  1253
                   visibility='private', is_virtual=True)
gjc@3408
  1254
    return
gjc@3408
  1255
gjc@3408
  1256
def register_functions(root_module):
gjc@3408
  1257
    module = root_module
gjc@3408
  1258
    ## data-rate.h: extern ns3::Ptr<ns3::AttributeChecker const> ns3::MakeDataRateChecker() [free function]
gjc@3468
  1259
    module.add_function('MakeDataRateChecker', 
gjc@3468
  1260
                        'ns3::Ptr< ns3::AttributeChecker const >', 
gjc@3468
  1261
                        [])
gjc@3855
  1262
    register_functions_ns3_Config(module.get_submodule('Config'), root_module)
gjc@3855
  1263
    register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
tomh@4474
  1264
    register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
gjc@3408
  1265
    register_functions_ns3_internal(module.get_submodule('internal'), root_module)
gjc@3408
  1266
    register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
gjc@3408
  1267
    return
gjc@3408
  1268
gjc@3855
  1269
def register_functions_ns3_Config(module, root_module):
gjc@3855
  1270
    return
gjc@3855
  1271
gjc@3855
  1272
def register_functions_ns3_TimeStepPrecision(module, root_module):
gjc@3855
  1273
    return
gjc@3855
  1274
tomh@4474
  1275
def register_functions_ns3_addressUtils(module, root_module):
tomh@4474
  1276
    return
tomh@4474
  1277
gjc@3408
  1278
def register_functions_ns3_internal(module, root_module):
gjc@3408
  1279
    return
gjc@3408
  1280
gjc@3408
  1281
def register_functions_ns3_olsr(module, root_module):
gjc@3408
  1282
    return
gjc@3408
  1283