bindings/python/apidefs/gcc-LP64/ns3_module_common.py
author Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
Mon, 28 Dec 2009 18:19:13 +0000
changeset 5881 edfb6efba4cd
parent 5841 144ef1f94bf2
child 5941 0731d1f144a1
child 6009 e1b696a1ed28
permissions -rw-r--r--
rescan python
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5249
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
     1
from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
     2
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
     3
def register_types(module):
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
     4
    root_module = module.get_root()
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
     5
    
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
     6
    ## error-model.h: ns3::ErrorUnit [enumeration]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
     7
    module.add_enum('ErrorUnit', ['EU_BIT', 'EU_BYTE', 'EU_PKT'])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
     8
    ## buffer.h: ns3::Buffer [class]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
     9
    module.add_class('Buffer')
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    10
    ## buffer.h: ns3::Buffer::Iterator [class]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    11
    module.add_class('Iterator', outer_class=root_module['ns3::Buffer'])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    12
    ## packet.h: ns3::ByteTagIterator [class]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    13
    module.add_class('ByteTagIterator')
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    14
    ## packet.h: ns3::ByteTagIterator::Item [class]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    15
    module.add_class('Item', outer_class=root_module['ns3::ByteTagIterator'])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    16
    ## byte-tag-list.h: ns3::ByteTagList [class]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    17
    module.add_class('ByteTagList')
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    18
    ## byte-tag-list.h: ns3::ByteTagList::Iterator [class]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    19
    module.add_class('Iterator', outer_class=root_module['ns3::ByteTagList'])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    20
    ## byte-tag-list.h: ns3::ByteTagList::Iterator::Item [struct]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    21
    module.add_class('Item', outer_class=root_module['ns3::ByteTagList::Iterator'])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    22
    ## data-rate.h: ns3::DataRate [class]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    23
    module.add_class('DataRate')
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    24
    ## packet-metadata.h: ns3::PacketMetadata [class]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    25
    module.add_class('PacketMetadata')
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    26
    ## packet-metadata.h: ns3::PacketMetadata::Item [struct]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    27
    module.add_class('Item', outer_class=root_module['ns3::PacketMetadata'])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    28
    ## packet-metadata.h: ns3::PacketMetadata::Item [enumeration]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    29
    module.add_enum('', ['PAYLOAD', 'HEADER', 'TRAILER'], outer_class=root_module['ns3::PacketMetadata::Item'])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    30
    ## packet-metadata.h: ns3::PacketMetadata::ItemIterator [class]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    31
    module.add_class('ItemIterator', outer_class=root_module['ns3::PacketMetadata'])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    32
    ## packet.h: ns3::PacketTagIterator [class]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    33
    module.add_class('PacketTagIterator')
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    34
    ## packet.h: ns3::PacketTagIterator::Item [class]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    35
    module.add_class('Item', outer_class=root_module['ns3::PacketTagIterator'])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    36
    ## packet-tag-list.h: ns3::PacketTagList [class]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    37
    module.add_class('PacketTagList')
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    38
    ## packet-tag-list.h: ns3::PacketTagList::TagData [struct]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    39
    module.add_class('TagData', outer_class=root_module['ns3::PacketTagList'])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    40
    ## pcap-file.h: ns3::PcapFile [class]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    41
    module.add_class('PcapFile')
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    42
    ## tag.h: ns3::Tag [class]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    43
    module.add_class('Tag', parent=root_module['ns3::ObjectBase'])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    44
    ## tag-buffer.h: ns3::TagBuffer [class]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    45
    module.add_class('TagBuffer')
5753
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
    46
    ## chunk.h: ns3::Chunk [class]
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
    47
    module.add_class('Chunk', parent=root_module['ns3::ObjectBase'])
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
    48
    ## header.h: ns3::Header [class]
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
    49
    module.add_class('Header', parent=root_module['ns3::Chunk'])
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
    50
    ## pcap-writer.h: ns3::PcapWriter [class]
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
    51
    module.add_class('PcapWriter', parent=root_module['ns3::Object'])
5841
144ef1f94bf2 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 5754
diff changeset
    52
    ## simple-ref-count.h: ns3::SimpleRefCount<ns3::AsciiWriter, ns3::empty, ns3::DefaultDeleter<ns3::AsciiWriter> > [class]
5881
edfb6efba4cd rescan python
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5841
diff changeset
    53
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::AsciiWriter', 'ns3::empty', 'ns3::DefaultDeleter<ns3::AsciiWriter>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
5841
144ef1f94bf2 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 5754
diff changeset
    54
    ## simple-ref-count.h: ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> > [class]
5881
edfb6efba4cd rescan python
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5841
diff changeset
    55
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::Packet', 'ns3::empty', 'ns3::DefaultDeleter<ns3::Packet>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
5753
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
    56
    ## trailer.h: ns3::Trailer [class]
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
    57
    module.add_class('Trailer', parent=root_module['ns3::Chunk'])
5249
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    58
    ## ascii-writer.h: ns3::AsciiWriter [class]
5841
144ef1f94bf2 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 5754
diff changeset
    59
    module.add_class('AsciiWriter', parent=root_module['ns3::SimpleRefCount< ns3::AsciiWriter, ns3::empty, ns3::DefaultDeleter<ns3::AsciiWriter> >'])
5249
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    60
    ## ascii-writer.h: ns3::AsciiWriter::Type [enumeration]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    61
    module.add_enum('Type', ['ENQUEUE', 'DEQUEUE', 'DROP', 'TX', 'RX'], outer_class=root_module['ns3::AsciiWriter'])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    62
    ## data-rate.h: ns3::DataRateChecker [class]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    63
    module.add_class('DataRateChecker', parent=root_module['ns3::AttributeChecker'])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    64
    ## data-rate.h: ns3::DataRateValue [class]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    65
    module.add_class('DataRateValue', parent=root_module['ns3::AttributeValue'])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    66
    ## error-model.h: ns3::ErrorModel [class]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    67
    module.add_class('ErrorModel', parent=root_module['ns3::Object'])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    68
    ## error-model.h: ns3::ListErrorModel [class]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    69
    module.add_class('ListErrorModel', parent=root_module['ns3::ErrorModel'])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    70
    ## nix-vector.h: ns3::NixVector [class]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    71
    module.add_class('NixVector', parent=root_module['ns3::Object'])
5753
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
    72
    ## packet.h: ns3::Packet [class]
5881
edfb6efba4cd rescan python
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5841
diff changeset
    73
    module.add_class('Packet', parent=root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >'])
5249
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    74
    ## error-model.h: ns3::RateErrorModel [class]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    75
    module.add_class('RateErrorModel', parent=root_module['ns3::ErrorModel'])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    76
    
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    77
    ## Register a nested module for the namespace Config
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    78
    
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    79
    nested_module = module.add_cpp_namespace('Config')
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    80
    register_types_ns3_Config(nested_module)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    81
    
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    82
    
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    83
    ## Register a nested module for the namespace TimeStepPrecision
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    84
    
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    85
    nested_module = module.add_cpp_namespace('TimeStepPrecision')
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    86
    register_types_ns3_TimeStepPrecision(nested_module)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    87
    
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    88
    
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    89
    ## Register a nested module for the namespace addressUtils
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    90
    
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    91
    nested_module = module.add_cpp_namespace('addressUtils')
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    92
    register_types_ns3_addressUtils(nested_module)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    93
    
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    94
    
5753
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
    95
    ## Register a nested module for the namespace aodv
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
    96
    
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
    97
    nested_module = module.add_cpp_namespace('aodv')
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
    98
    register_types_ns3_aodv(nested_module)
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
    99
    
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
   100
    
5249
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   101
    ## Register a nested module for the namespace dot11s
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   102
    
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   103
    nested_module = module.add_cpp_namespace('dot11s')
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   104
    register_types_ns3_dot11s(nested_module)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   105
    
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   106
    
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   107
    ## Register a nested module for the namespace flame
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   108
    
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   109
    nested_module = module.add_cpp_namespace('flame')
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   110
    register_types_ns3_flame(nested_module)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   111
    
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   112
    
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   113
    ## Register a nested module for the namespace internal
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   114
    
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   115
    nested_module = module.add_cpp_namespace('internal')
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   116
    register_types_ns3_internal(nested_module)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   117
    
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   118
    
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   119
    ## Register a nested module for the namespace olsr
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   120
    
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   121
    nested_module = module.add_cpp_namespace('olsr')
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   122
    register_types_ns3_olsr(nested_module)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   123
    
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   124
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   125
def register_types_ns3_Config(module):
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   126
    root_module = module.get_root()
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   127
    
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   128
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   129
def register_types_ns3_TimeStepPrecision(module):
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   130
    root_module = module.get_root()
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   131
    
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   132
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   133
def register_types_ns3_addressUtils(module):
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   134
    root_module = module.get_root()
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   135
    
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   136
5753
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
   137
def register_types_ns3_aodv(module):
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
   138
    root_module = module.get_root()
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
   139
    
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
   140
5249
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   141
def register_types_ns3_dot11s(module):
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   142
    root_module = module.get_root()
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   143
    
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   144
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   145
def register_types_ns3_flame(module):
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   146
    root_module = module.get_root()
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   147
    
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   148
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   149
def register_types_ns3_internal(module):
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   150
    root_module = module.get_root()
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   151
    
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   152
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   153
def register_types_ns3_olsr(module):
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   154
    root_module = module.get_root()
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   155
    
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   156
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   157
def register_methods(root_module):
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   158
    register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer'])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   159
    register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator'])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   160
    register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator'])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   161
    register_Ns3ByteTagIteratorItem_methods(root_module, root_module['ns3::ByteTagIterator::Item'])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   162
    register_Ns3ByteTagList_methods(root_module, root_module['ns3::ByteTagList'])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   163
    register_Ns3ByteTagListIterator_methods(root_module, root_module['ns3::ByteTagList::Iterator'])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   164
    register_Ns3ByteTagListIteratorItem_methods(root_module, root_module['ns3::ByteTagList::Iterator::Item'])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   165
    register_Ns3DataRate_methods(root_module, root_module['ns3::DataRate'])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   166
    register_Ns3PacketMetadata_methods(root_module, root_module['ns3::PacketMetadata'])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   167
    register_Ns3PacketMetadataItem_methods(root_module, root_module['ns3::PacketMetadata::Item'])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   168
    register_Ns3PacketMetadataItemIterator_methods(root_module, root_module['ns3::PacketMetadata::ItemIterator'])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   169
    register_Ns3PacketTagIterator_methods(root_module, root_module['ns3::PacketTagIterator'])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   170
    register_Ns3PacketTagIteratorItem_methods(root_module, root_module['ns3::PacketTagIterator::Item'])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   171
    register_Ns3PacketTagList_methods(root_module, root_module['ns3::PacketTagList'])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   172
    register_Ns3PacketTagListTagData_methods(root_module, root_module['ns3::PacketTagList::TagData'])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   173
    register_Ns3PcapFile_methods(root_module, root_module['ns3::PcapFile'])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   174
    register_Ns3Tag_methods(root_module, root_module['ns3::Tag'])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   175
    register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer'])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   176
    register_Ns3Chunk_methods(root_module, root_module['ns3::Chunk'])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   177
    register_Ns3Header_methods(root_module, root_module['ns3::Header'])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   178
    register_Ns3PcapWriter_methods(root_module, root_module['ns3::PcapWriter'])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   179
    register_Ns3Trailer_methods(root_module, root_module['ns3::Trailer'])
5753
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
   180
    register_Ns3AsciiWriter_methods(root_module, root_module['ns3::AsciiWriter'])
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
   181
    register_Ns3DataRateChecker_methods(root_module, root_module['ns3::DataRateChecker'])
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
   182
    register_Ns3DataRateValue_methods(root_module, root_module['ns3::DataRateValue'])
5249
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   183
    register_Ns3ErrorModel_methods(root_module, root_module['ns3::ErrorModel'])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   184
    register_Ns3ListErrorModel_methods(root_module, root_module['ns3::ListErrorModel'])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   185
    register_Ns3NixVector_methods(root_module, root_module['ns3::NixVector'])
5753
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
   186
    register_Ns3Packet_methods(root_module, root_module['ns3::Packet'])
5249
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   187
    register_Ns3RateErrorModel_methods(root_module, root_module['ns3::RateErrorModel'])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   188
    return
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   189
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   190
def register_Ns3Buffer_methods(root_module, cls):
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   191
    ## buffer.h: ns3::Buffer::Buffer(ns3::Buffer const & o) [copy constructor]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   192
    cls.add_constructor([param('ns3::Buffer const &', 'o')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   193
    ## buffer.h: ns3::Buffer::Buffer() [constructor]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   194
    cls.add_constructor([])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   195
    ## buffer.h: ns3::Buffer::Buffer(uint32_t dataSize) [constructor]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   196
    cls.add_constructor([param('uint32_t', 'dataSize')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   197
    ## buffer.h: bool ns3::Buffer::AddAtEnd(uint32_t end) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   198
    cls.add_method('AddAtEnd', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   199
                   'bool', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   200
                   [param('uint32_t', 'end')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   201
    ## buffer.h: void ns3::Buffer::AddAtEnd(ns3::Buffer const & o) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   202
    cls.add_method('AddAtEnd', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   203
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   204
                   [param('ns3::Buffer const &', 'o')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   205
    ## buffer.h: bool ns3::Buffer::AddAtStart(uint32_t start) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   206
    cls.add_method('AddAtStart', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   207
                   'bool', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   208
                   [param('uint32_t', 'start')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   209
    ## buffer.h: ns3::Buffer::Iterator ns3::Buffer::Begin() const [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   210
    cls.add_method('Begin', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   211
                   'ns3::Buffer::Iterator', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   212
                   [], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   213
                   is_const=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   214
    ## buffer.h: void ns3::Buffer::CopyData(std::ostream * os, uint32_t size) const [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   215
    cls.add_method('CopyData', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   216
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   217
                   [param('std::ostream *', 'os'), param('uint32_t', 'size')], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   218
                   is_const=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   219
    ## buffer.h: ns3::Buffer ns3::Buffer::CreateFragment(uint32_t start, uint32_t length) const [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   220
    cls.add_method('CreateFragment', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   221
                   'ns3::Buffer', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   222
                   [param('uint32_t', 'start'), param('uint32_t', 'length')], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   223
                   is_const=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   224
    ## buffer.h: ns3::Buffer ns3::Buffer::CreateFullCopy() const [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   225
    cls.add_method('CreateFullCopy', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   226
                   'ns3::Buffer', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   227
                   [], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   228
                   is_const=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   229
    ## buffer.h: ns3::Buffer::Iterator ns3::Buffer::End() const [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   230
    cls.add_method('End', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   231
                   'ns3::Buffer::Iterator', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   232
                   [], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   233
                   is_const=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   234
    ## buffer.h: int32_t ns3::Buffer::GetCurrentEndOffset() const [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   235
    cls.add_method('GetCurrentEndOffset', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   236
                   'int32_t', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   237
                   [], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   238
                   is_const=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   239
    ## buffer.h: int32_t ns3::Buffer::GetCurrentStartOffset() const [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   240
    cls.add_method('GetCurrentStartOffset', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   241
                   'int32_t', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   242
                   [], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   243
                   is_const=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   244
    ## buffer.h: uint32_t ns3::Buffer::GetSize() const [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   245
    cls.add_method('GetSize', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   246
                   'uint32_t', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   247
                   [], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   248
                   is_const=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   249
    ## buffer.h: uint8_t const * ns3::Buffer::PeekData() const [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   250
    cls.add_method('PeekData', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   251
                   'uint8_t const *', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   252
                   [], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   253
                   is_const=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   254
    ## buffer.h: void ns3::Buffer::RemoveAtEnd(uint32_t end) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   255
    cls.add_method('RemoveAtEnd', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   256
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   257
                   [param('uint32_t', 'end')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   258
    ## buffer.h: void ns3::Buffer::RemoveAtStart(uint32_t start) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   259
    cls.add_method('RemoveAtStart', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   260
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   261
                   [param('uint32_t', 'start')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   262
    return
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   263
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   264
def register_Ns3BufferIterator_methods(root_module, cls):
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   265
    ## buffer.h: ns3::Buffer::Iterator::Iterator(ns3::Buffer::Iterator const & arg0) [copy constructor]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   266
    cls.add_constructor([param('ns3::Buffer::Iterator const &', 'arg0')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   267
    ## buffer.h: ns3::Buffer::Iterator::Iterator() [constructor]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   268
    cls.add_constructor([])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   269
    ## buffer.h: uint16_t ns3::Buffer::Iterator::CalculateIpChecksum(uint16_t size) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   270
    cls.add_method('CalculateIpChecksum', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   271
                   'uint16_t', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   272
                   [param('uint16_t', 'size')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   273
    ## buffer.h: uint16_t ns3::Buffer::Iterator::CalculateIpChecksum(uint16_t size, uint32_t initialChecksum) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   274
    cls.add_method('CalculateIpChecksum', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   275
                   'uint16_t', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   276
                   [param('uint16_t', 'size'), param('uint32_t', 'initialChecksum')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   277
    ## buffer.h: uint32_t ns3::Buffer::Iterator::GetDistanceFrom(ns3::Buffer::Iterator const & o) const [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   278
    cls.add_method('GetDistanceFrom', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   279
                   'uint32_t', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   280
                   [param('ns3::Buffer::Iterator const &', 'o')], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   281
                   is_const=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   282
    ## buffer.h: uint32_t ns3::Buffer::Iterator::GetSize() const [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   283
    cls.add_method('GetSize', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   284
                   'uint32_t', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   285
                   [], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   286
                   is_const=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   287
    ## buffer.h: bool ns3::Buffer::Iterator::IsEnd() const [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   288
    cls.add_method('IsEnd', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   289
                   'bool', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   290
                   [], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   291
                   is_const=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   292
    ## buffer.h: bool ns3::Buffer::Iterator::IsStart() const [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   293
    cls.add_method('IsStart', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   294
                   'bool', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   295
                   [], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   296
                   is_const=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   297
    ## buffer.h: void ns3::Buffer::Iterator::Next() [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   298
    cls.add_method('Next', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   299
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   300
                   [])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   301
    ## buffer.h: void ns3::Buffer::Iterator::Next(uint32_t delta) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   302
    cls.add_method('Next', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   303
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   304
                   [param('uint32_t', 'delta')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   305
    ## buffer.h: void ns3::Buffer::Iterator::Prev() [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   306
    cls.add_method('Prev', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   307
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   308
                   [])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   309
    ## buffer.h: void ns3::Buffer::Iterator::Prev(uint32_t delta) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   310
    cls.add_method('Prev', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   311
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   312
                   [param('uint32_t', 'delta')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   313
    ## buffer.h: void ns3::Buffer::Iterator::Read(uint8_t * buffer, uint32_t size) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   314
    cls.add_method('Read', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   315
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   316
                   [param('uint8_t *', 'buffer'), param('uint32_t', 'size')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   317
    ## buffer.h: uint16_t ns3::Buffer::Iterator::ReadLsbtohU16() [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   318
    cls.add_method('ReadLsbtohU16', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   319
                   'uint16_t', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   320
                   [])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   321
    ## buffer.h: uint32_t ns3::Buffer::Iterator::ReadLsbtohU32() [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   322
    cls.add_method('ReadLsbtohU32', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   323
                   'uint32_t', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   324
                   [])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   325
    ## buffer.h: uint64_t ns3::Buffer::Iterator::ReadLsbtohU64() [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   326
    cls.add_method('ReadLsbtohU64', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   327
                   'uint64_t', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   328
                   [])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   329
    ## buffer.h: uint16_t ns3::Buffer::Iterator::ReadNtohU16() [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   330
    cls.add_method('ReadNtohU16', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   331
                   'uint16_t', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   332
                   [])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   333
    ## buffer.h: uint32_t ns3::Buffer::Iterator::ReadNtohU32() [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   334
    cls.add_method('ReadNtohU32', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   335
                   'uint32_t', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   336
                   [])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   337
    ## buffer.h: uint64_t ns3::Buffer::Iterator::ReadNtohU64() [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   338
    cls.add_method('ReadNtohU64', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   339
                   'uint64_t', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   340
                   [])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   341
    ## buffer.h: uint16_t ns3::Buffer::Iterator::ReadU16() [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   342
    cls.add_method('ReadU16', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   343
                   'uint16_t', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   344
                   [])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   345
    ## buffer.h: uint32_t ns3::Buffer::Iterator::ReadU32() [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   346
    cls.add_method('ReadU32', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   347
                   'uint32_t', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   348
                   [])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   349
    ## buffer.h: uint64_t ns3::Buffer::Iterator::ReadU64() [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   350
    cls.add_method('ReadU64', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   351
                   'uint64_t', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   352
                   [])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   353
    ## buffer.h: uint8_t ns3::Buffer::Iterator::ReadU8() [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   354
    cls.add_method('ReadU8', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   355
                   'uint8_t', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   356
                   [])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   357
    ## buffer.h: void ns3::Buffer::Iterator::Write(uint8_t const * buffer, uint32_t size) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   358
    cls.add_method('Write', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   359
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   360
                   [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   361
    ## buffer.h: void ns3::Buffer::Iterator::Write(ns3::Buffer::Iterator start, ns3::Buffer::Iterator end) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   362
    cls.add_method('Write', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   363
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   364
                   [param('ns3::Buffer::Iterator', 'start'), param('ns3::Buffer::Iterator', 'end')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   365
    ## buffer.h: void ns3::Buffer::Iterator::WriteHtolsbU16(uint16_t data) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   366
    cls.add_method('WriteHtolsbU16', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   367
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   368
                   [param('uint16_t', 'data')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   369
    ## buffer.h: void ns3::Buffer::Iterator::WriteHtolsbU32(uint32_t data) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   370
    cls.add_method('WriteHtolsbU32', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   371
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   372
                   [param('uint32_t', 'data')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   373
    ## buffer.h: void ns3::Buffer::Iterator::WriteHtolsbU64(uint64_t data) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   374
    cls.add_method('WriteHtolsbU64', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   375
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   376
                   [param('uint64_t', 'data')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   377
    ## buffer.h: void ns3::Buffer::Iterator::WriteHtonU16(uint16_t data) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   378
    cls.add_method('WriteHtonU16', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   379
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   380
                   [param('uint16_t', 'data')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   381
    ## buffer.h: void ns3::Buffer::Iterator::WriteHtonU32(uint32_t data) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   382
    cls.add_method('WriteHtonU32', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   383
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   384
                   [param('uint32_t', 'data')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   385
    ## buffer.h: void ns3::Buffer::Iterator::WriteHtonU64(uint64_t data) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   386
    cls.add_method('WriteHtonU64', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   387
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   388
                   [param('uint64_t', 'data')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   389
    ## buffer.h: void ns3::Buffer::Iterator::WriteU16(uint16_t data) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   390
    cls.add_method('WriteU16', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   391
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   392
                   [param('uint16_t', 'data')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   393
    ## buffer.h: void ns3::Buffer::Iterator::WriteU32(uint32_t data) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   394
    cls.add_method('WriteU32', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   395
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   396
                   [param('uint32_t', 'data')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   397
    ## buffer.h: void ns3::Buffer::Iterator::WriteU64(uint64_t data) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   398
    cls.add_method('WriteU64', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   399
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   400
                   [param('uint64_t', 'data')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   401
    ## buffer.h: void ns3::Buffer::Iterator::WriteU8(uint8_t data) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   402
    cls.add_method('WriteU8', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   403
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   404
                   [param('uint8_t', 'data')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   405
    ## buffer.h: void ns3::Buffer::Iterator::WriteU8(uint8_t data, uint32_t len) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   406
    cls.add_method('WriteU8', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   407
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   408
                   [param('uint8_t', 'data'), param('uint32_t', 'len')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   409
    return
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   410
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   411
def register_Ns3ByteTagIterator_methods(root_module, cls):
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   412
    ## packet.h: ns3::ByteTagIterator::ByteTagIterator(ns3::ByteTagIterator const & arg0) [copy constructor]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   413
    cls.add_constructor([param('ns3::ByteTagIterator const &', 'arg0')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   414
    ## packet.h: bool ns3::ByteTagIterator::HasNext() const [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   415
    cls.add_method('HasNext', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   416
                   'bool', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   417
                   [], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   418
                   is_const=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   419
    ## packet.h: ns3::ByteTagIterator::Item ns3::ByteTagIterator::Next() [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   420
    cls.add_method('Next', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   421
                   'ns3::ByteTagIterator::Item', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   422
                   [])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   423
    return
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   424
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   425
def register_Ns3ByteTagIteratorItem_methods(root_module, cls):
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   426
    ## packet.h: ns3::ByteTagIterator::Item::Item(ns3::ByteTagIterator::Item const & arg0) [copy constructor]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   427
    cls.add_constructor([param('ns3::ByteTagIterator::Item const &', 'arg0')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   428
    ## packet.h: uint32_t ns3::ByteTagIterator::Item::GetEnd() const [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   429
    cls.add_method('GetEnd', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   430
                   'uint32_t', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   431
                   [], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   432
                   is_const=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   433
    ## packet.h: uint32_t ns3::ByteTagIterator::Item::GetStart() const [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   434
    cls.add_method('GetStart', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   435
                   'uint32_t', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   436
                   [], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   437
                   is_const=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   438
    ## packet.h: void ns3::ByteTagIterator::Item::GetTag(ns3::Tag & tag) const [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   439
    cls.add_method('GetTag', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   440
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   441
                   [param('ns3::Tag &', 'tag')], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   442
                   is_const=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   443
    ## packet.h: ns3::TypeId ns3::ByteTagIterator::Item::GetTypeId() const [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   444
    cls.add_method('GetTypeId', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   445
                   'ns3::TypeId', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   446
                   [], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   447
                   is_const=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   448
    return
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   449
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   450
def register_Ns3ByteTagList_methods(root_module, cls):
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   451
    ## byte-tag-list.h: ns3::ByteTagList::ByteTagList() [constructor]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   452
    cls.add_constructor([])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   453
    ## byte-tag-list.h: ns3::ByteTagList::ByteTagList(ns3::ByteTagList const & o) [copy constructor]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   454
    cls.add_constructor([param('ns3::ByteTagList const &', 'o')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   455
    ## byte-tag-list.h: ns3::TagBuffer ns3::ByteTagList::Add(ns3::TypeId tid, uint32_t bufferSize, int32_t start, int32_t end) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   456
    cls.add_method('Add', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   457
                   'ns3::TagBuffer', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   458
                   [param('ns3::TypeId', 'tid'), param('uint32_t', 'bufferSize'), param('int32_t', 'start'), param('int32_t', 'end')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   459
    ## byte-tag-list.h: void ns3::ByteTagList::Add(ns3::ByteTagList const & o) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   460
    cls.add_method('Add', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   461
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   462
                   [param('ns3::ByteTagList const &', 'o')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   463
    ## byte-tag-list.h: void ns3::ByteTagList::AddAtEnd(int32_t adjustment, int32_t appendOffset) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   464
    cls.add_method('AddAtEnd', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   465
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   466
                   [param('int32_t', 'adjustment'), param('int32_t', 'appendOffset')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   467
    ## byte-tag-list.h: void ns3::ByteTagList::AddAtStart(int32_t adjustment, int32_t prependOffset) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   468
    cls.add_method('AddAtStart', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   469
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   470
                   [param('int32_t', 'adjustment'), param('int32_t', 'prependOffset')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   471
    ## byte-tag-list.h: ns3::ByteTagList::Iterator ns3::ByteTagList::Begin(int32_t offsetStart, int32_t offsetEnd) const [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   472
    cls.add_method('Begin', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   473
                   'ns3::ByteTagList::Iterator', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   474
                   [param('int32_t', 'offsetStart'), param('int32_t', 'offsetEnd')], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   475
                   is_const=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   476
    ## byte-tag-list.h: void ns3::ByteTagList::RemoveAll() [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   477
    cls.add_method('RemoveAll', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   478
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   479
                   [])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   480
    return
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   481
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   482
def register_Ns3ByteTagListIterator_methods(root_module, cls):
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   483
    ## byte-tag-list.h: ns3::ByteTagList::Iterator::Iterator(ns3::ByteTagList::Iterator const & arg0) [copy constructor]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   484
    cls.add_constructor([param('ns3::ByteTagList::Iterator const &', 'arg0')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   485
    ## byte-tag-list.h: uint32_t ns3::ByteTagList::Iterator::GetOffsetStart() const [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   486
    cls.add_method('GetOffsetStart', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   487
                   'uint32_t', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   488
                   [], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   489
                   is_const=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   490
    ## byte-tag-list.h: bool ns3::ByteTagList::Iterator::HasNext() const [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   491
    cls.add_method('HasNext', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   492
                   'bool', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   493
                   [], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   494
                   is_const=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   495
    ## byte-tag-list.h: ns3::ByteTagList::Iterator::Item ns3::ByteTagList::Iterator::Next() [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   496
    cls.add_method('Next', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   497
                   'ns3::ByteTagList::Iterator::Item', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   498
                   [])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   499
    return
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   500
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   501
def register_Ns3ByteTagListIteratorItem_methods(root_module, cls):
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   502
    ## byte-tag-list.h: ns3::ByteTagList::Iterator::Item::Item(ns3::ByteTagList::Iterator::Item const & arg0) [copy constructor]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   503
    cls.add_constructor([param('ns3::ByteTagList::Iterator::Item const &', 'arg0')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   504
    ## byte-tag-list.h: ns3::ByteTagList::Iterator::Item::Item(ns3::TagBuffer buf) [constructor]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   505
    cls.add_constructor([param('ns3::TagBuffer', 'buf')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   506
    ## byte-tag-list.h: ns3::ByteTagList::Iterator::Item::buf [variable]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   507
    cls.add_instance_attribute('buf', 'ns3::TagBuffer', is_const=False)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   508
    ## byte-tag-list.h: ns3::ByteTagList::Iterator::Item::end [variable]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   509
    cls.add_instance_attribute('end', 'int32_t', is_const=False)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   510
    ## byte-tag-list.h: ns3::ByteTagList::Iterator::Item::size [variable]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   511
    cls.add_instance_attribute('size', 'uint32_t', is_const=False)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   512
    ## byte-tag-list.h: ns3::ByteTagList::Iterator::Item::start [variable]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   513
    cls.add_instance_attribute('start', 'int32_t', is_const=False)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   514
    ## byte-tag-list.h: ns3::ByteTagList::Iterator::Item::tid [variable]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   515
    cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   516
    return
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   517
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   518
def register_Ns3DataRate_methods(root_module, cls):
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   519
    cls.add_output_stream_operator()
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   520
    cls.add_binary_comparison_operator('!=')
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   521
    cls.add_binary_comparison_operator('<')
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   522
    cls.add_binary_comparison_operator('<=')
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   523
    cls.add_binary_comparison_operator('==')
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   524
    cls.add_binary_comparison_operator('>')
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   525
    cls.add_binary_comparison_operator('>=')
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   526
    ## data-rate.h: ns3::DataRate::DataRate(ns3::DataRate const & arg0) [copy constructor]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   527
    cls.add_constructor([param('ns3::DataRate const &', 'arg0')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   528
    ## data-rate.h: ns3::DataRate::DataRate() [constructor]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   529
    cls.add_constructor([])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   530
    ## data-rate.h: ns3::DataRate::DataRate(uint64_t bps) [constructor]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   531
    cls.add_constructor([param('uint64_t', 'bps')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   532
    ## data-rate.h: ns3::DataRate::DataRate(std::string rate) [constructor]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   533
    cls.add_constructor([param('std::string', 'rate')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   534
    ## data-rate.h: double ns3::DataRate::CalculateTxTime(uint32_t bytes) const [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   535
    cls.add_method('CalculateTxTime', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   536
                   'double', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   537
                   [param('uint32_t', 'bytes')], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   538
                   is_const=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   539
    ## data-rate.h: uint64_t ns3::DataRate::GetBitRate() const [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   540
    cls.add_method('GetBitRate', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   541
                   'uint64_t', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   542
                   [], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   543
                   is_const=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   544
    return
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   545
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   546
def register_Ns3PacketMetadata_methods(root_module, cls):
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   547
    ## packet-metadata.h: ns3::PacketMetadata::PacketMetadata(uint32_t uid, uint32_t size) [constructor]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   548
    cls.add_constructor([param('uint32_t', 'uid'), param('uint32_t', 'size')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   549
    ## packet-metadata.h: ns3::PacketMetadata::PacketMetadata(ns3::PacketMetadata const & o) [copy constructor]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   550
    cls.add_constructor([param('ns3::PacketMetadata const &', 'o')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   551
    ## packet-metadata.h: void ns3::PacketMetadata::AddAtEnd(ns3::PacketMetadata const & o) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   552
    cls.add_method('AddAtEnd', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   553
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   554
                   [param('ns3::PacketMetadata const &', 'o')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   555
    ## packet-metadata.h: void ns3::PacketMetadata::AddHeader(ns3::Header const & header, uint32_t size) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   556
    cls.add_method('AddHeader', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   557
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   558
                   [param('ns3::Header const &', 'header'), param('uint32_t', 'size')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   559
    ## packet-metadata.h: void ns3::PacketMetadata::AddPaddingAtEnd(uint32_t end) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   560
    cls.add_method('AddPaddingAtEnd', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   561
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   562
                   [param('uint32_t', 'end')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   563
    ## packet-metadata.h: void ns3::PacketMetadata::AddTrailer(ns3::Trailer const & trailer, uint32_t size) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   564
    cls.add_method('AddTrailer', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   565
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   566
                   [param('ns3::Trailer const &', 'trailer'), param('uint32_t', 'size')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   567
    ## packet-metadata.h: ns3::PacketMetadata::ItemIterator ns3::PacketMetadata::BeginItem(ns3::Buffer buffer) const [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   568
    cls.add_method('BeginItem', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   569
                   'ns3::PacketMetadata::ItemIterator', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   570
                   [param('ns3::Buffer', 'buffer')], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   571
                   is_const=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   572
    ## packet-metadata.h: ns3::PacketMetadata ns3::PacketMetadata::CreateFragment(uint32_t start, uint32_t end) const [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   573
    cls.add_method('CreateFragment', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   574
                   'ns3::PacketMetadata', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   575
                   [param('uint32_t', 'start'), param('uint32_t', 'end')], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   576
                   is_const=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   577
    ## packet-metadata.h: uint32_t ns3::PacketMetadata::Deserialize(ns3::Buffer::Iterator i) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   578
    cls.add_method('Deserialize', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   579
                   'uint32_t', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   580
                   [param('ns3::Buffer::Iterator', 'i')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   581
    ## packet-metadata.h: static void ns3::PacketMetadata::Enable() [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   582
    cls.add_method('Enable', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   583
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   584
                   [], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   585
                   is_static=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   586
    ## packet-metadata.h: static void ns3::PacketMetadata::EnableChecking() [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   587
    cls.add_method('EnableChecking', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   588
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   589
                   [], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   590
                   is_static=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   591
    ## packet-metadata.h: uint32_t ns3::PacketMetadata::GetSerializedSize() const [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   592
    cls.add_method('GetSerializedSize', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   593
                   'uint32_t', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   594
                   [], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   595
                   is_const=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   596
    ## packet-metadata.h: uint32_t ns3::PacketMetadata::GetUid() const [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   597
    cls.add_method('GetUid', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   598
                   'uint32_t', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   599
                   [], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   600
                   is_const=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   601
    ## packet-metadata.h: void ns3::PacketMetadata::RemoveAtEnd(uint32_t end) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   602
    cls.add_method('RemoveAtEnd', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   603
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   604
                   [param('uint32_t', 'end')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   605
    ## packet-metadata.h: void ns3::PacketMetadata::RemoveAtStart(uint32_t start) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   606
    cls.add_method('RemoveAtStart', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   607
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   608
                   [param('uint32_t', 'start')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   609
    ## packet-metadata.h: void ns3::PacketMetadata::RemoveHeader(ns3::Header const & header, uint32_t size) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   610
    cls.add_method('RemoveHeader', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   611
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   612
                   [param('ns3::Header const &', 'header'), param('uint32_t', 'size')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   613
    ## packet-metadata.h: void ns3::PacketMetadata::RemoveTrailer(ns3::Trailer const & trailer, uint32_t size) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   614
    cls.add_method('RemoveTrailer', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   615
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   616
                   [param('ns3::Trailer const &', 'trailer'), param('uint32_t', 'size')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   617
    ## packet-metadata.h: void ns3::PacketMetadata::Serialize(ns3::Buffer::Iterator i, uint32_t size) const [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   618
    cls.add_method('Serialize', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   619
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   620
                   [param('ns3::Buffer::Iterator', 'i'), param('uint32_t', 'size')], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   621
                   is_const=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   622
    return
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   623
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   624
def register_Ns3PacketMetadataItem_methods(root_module, cls):
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   625
    ## packet-metadata.h: ns3::PacketMetadata::Item::Item() [constructor]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   626
    cls.add_constructor([])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   627
    ## packet-metadata.h: ns3::PacketMetadata::Item::Item(ns3::PacketMetadata::Item const & arg0) [copy constructor]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   628
    cls.add_constructor([param('ns3::PacketMetadata::Item const &', 'arg0')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   629
    ## packet-metadata.h: ns3::PacketMetadata::Item::current [variable]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   630
    cls.add_instance_attribute('current', 'ns3::Buffer::Iterator', is_const=False)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   631
    ## packet-metadata.h: ns3::PacketMetadata::Item::currentSize [variable]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   632
    cls.add_instance_attribute('currentSize', 'uint32_t', is_const=False)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   633
    ## packet-metadata.h: ns3::PacketMetadata::Item::currentTrimedFromEnd [variable]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   634
    cls.add_instance_attribute('currentTrimedFromEnd', 'uint32_t', is_const=False)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   635
    ## packet-metadata.h: ns3::PacketMetadata::Item::currentTrimedFromStart [variable]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   636
    cls.add_instance_attribute('currentTrimedFromStart', 'uint32_t', is_const=False)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   637
    ## packet-metadata.h: ns3::PacketMetadata::Item::isFragment [variable]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   638
    cls.add_instance_attribute('isFragment', 'bool', is_const=False)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   639
    ## packet-metadata.h: ns3::PacketMetadata::Item::tid [variable]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   640
    cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   641
    return
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   642
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   643
def register_Ns3PacketMetadataItemIterator_methods(root_module, cls):
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   644
    ## packet-metadata.h: ns3::PacketMetadata::ItemIterator::ItemIterator(ns3::PacketMetadata::ItemIterator const & arg0) [copy constructor]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   645
    cls.add_constructor([param('ns3::PacketMetadata::ItemIterator const &', 'arg0')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   646
    ## packet-metadata.h: ns3::PacketMetadata::ItemIterator::ItemIterator(ns3::PacketMetadata const * metadata, ns3::Buffer buffer) [constructor]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   647
    cls.add_constructor([param('ns3::PacketMetadata const *', 'metadata'), param('ns3::Buffer', 'buffer')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   648
    ## packet-metadata.h: bool ns3::PacketMetadata::ItemIterator::HasNext() const [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   649
    cls.add_method('HasNext', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   650
                   'bool', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   651
                   [], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   652
                   is_const=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   653
    ## packet-metadata.h: ns3::PacketMetadata::Item ns3::PacketMetadata::ItemIterator::Next() [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   654
    cls.add_method('Next', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   655
                   'ns3::PacketMetadata::Item', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   656
                   [])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   657
    return
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   658
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   659
def register_Ns3PacketTagIterator_methods(root_module, cls):
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   660
    ## packet.h: ns3::PacketTagIterator::PacketTagIterator(ns3::PacketTagIterator const & arg0) [copy constructor]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   661
    cls.add_constructor([param('ns3::PacketTagIterator const &', 'arg0')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   662
    ## packet.h: bool ns3::PacketTagIterator::HasNext() const [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   663
    cls.add_method('HasNext', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   664
                   'bool', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   665
                   [], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   666
                   is_const=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   667
    ## packet.h: ns3::PacketTagIterator::Item ns3::PacketTagIterator::Next() [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   668
    cls.add_method('Next', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   669
                   'ns3::PacketTagIterator::Item', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   670
                   [])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   671
    return
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   672
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   673
def register_Ns3PacketTagIteratorItem_methods(root_module, cls):
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   674
    ## packet.h: ns3::PacketTagIterator::Item::Item(ns3::PacketTagIterator::Item const & arg0) [copy constructor]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   675
    cls.add_constructor([param('ns3::PacketTagIterator::Item const &', 'arg0')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   676
    ## packet.h: void ns3::PacketTagIterator::Item::GetTag(ns3::Tag & tag) const [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   677
    cls.add_method('GetTag', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   678
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   679
                   [param('ns3::Tag &', 'tag')], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   680
                   is_const=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   681
    ## packet.h: ns3::TypeId ns3::PacketTagIterator::Item::GetTypeId() const [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   682
    cls.add_method('GetTypeId', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   683
                   'ns3::TypeId', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   684
                   [], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   685
                   is_const=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   686
    return
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   687
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   688
def register_Ns3PacketTagList_methods(root_module, cls):
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   689
    ## packet-tag-list.h: ns3::PacketTagList::PacketTagList() [constructor]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   690
    cls.add_constructor([])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   691
    ## packet-tag-list.h: ns3::PacketTagList::PacketTagList(ns3::PacketTagList const & o) [copy constructor]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   692
    cls.add_constructor([param('ns3::PacketTagList const &', 'o')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   693
    ## packet-tag-list.h: void ns3::PacketTagList::Add(ns3::Tag const & tag) const [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   694
    cls.add_method('Add', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   695
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   696
                   [param('ns3::Tag const &', 'tag')], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   697
                   is_const=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   698
    ## packet-tag-list.h: ns3::PacketTagList::TagData const * ns3::PacketTagList::Head() const [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   699
    cls.add_method('Head', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   700
                   'ns3::PacketTagList::TagData const *', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   701
                   [], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   702
                   is_const=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   703
    ## packet-tag-list.h: bool ns3::PacketTagList::Peek(ns3::Tag & tag) const [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   704
    cls.add_method('Peek', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   705
                   'bool', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   706
                   [param('ns3::Tag &', 'tag')], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   707
                   is_const=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   708
    ## packet-tag-list.h: bool ns3::PacketTagList::Remove(ns3::Tag & tag) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   709
    cls.add_method('Remove', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   710
                   'bool', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   711
                   [param('ns3::Tag &', 'tag')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   712
    ## packet-tag-list.h: void ns3::PacketTagList::RemoveAll() [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   713
    cls.add_method('RemoveAll', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   714
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   715
                   [])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   716
    return
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   717
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   718
def register_Ns3PacketTagListTagData_methods(root_module, cls):
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   719
    ## packet-tag-list.h: ns3::PacketTagList::TagData::TagData() [constructor]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   720
    cls.add_constructor([])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   721
    ## packet-tag-list.h: ns3::PacketTagList::TagData::TagData(ns3::PacketTagList::TagData const & arg0) [copy constructor]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   722
    cls.add_constructor([param('ns3::PacketTagList::TagData const &', 'arg0')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   723
    ## packet-tag-list.h: ns3::PacketTagList::TagData::count [variable]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   724
    cls.add_instance_attribute('count', 'uint32_t', is_const=False)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   725
    ## packet-tag-list.h: ns3::PacketTagList::TagData::data [variable]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   726
    cls.add_instance_attribute('data', 'uint8_t [ 20 ]', is_const=False)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   727
    ## packet-tag-list.h: ns3::PacketTagList::TagData::next [variable]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   728
    cls.add_instance_attribute('next', 'ns3::PacketTagList::TagData *', is_const=False)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   729
    ## packet-tag-list.h: ns3::PacketTagList::TagData::tid [variable]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   730
    cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   731
    return
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   732
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   733
def register_Ns3PcapFile_methods(root_module, cls):
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   734
    ## pcap-file.h: ns3::PcapFile::PcapFile(ns3::PcapFile const & arg0) [copy constructor]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   735
    cls.add_constructor([param('ns3::PcapFile const &', 'arg0')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   736
    ## pcap-file.h: ns3::PcapFile::PcapFile() [constructor]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   737
    cls.add_constructor([])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   738
    ## pcap-file.h: void ns3::PcapFile::Close() [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   739
    cls.add_method('Close', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   740
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   741
                   [])
5504
2cc780c07f5e Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents: 5249
diff changeset
   742
    ## pcap-file.h: static bool ns3::PcapFile::Diff(std::string const & f1, std::string const & f2, uint32_t & sec, uint32_t & usec, uint32_t snapLen=ns3::PcapFile::SNAPLEN_DEFAULT) [member function]
2cc780c07f5e Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents: 5249
diff changeset
   743
    cls.add_method('Diff', 
2cc780c07f5e Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents: 5249
diff changeset
   744
                   'bool', 
2cc780c07f5e Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents: 5249
diff changeset
   745
                   [param('std::string const &', 'f1'), param('std::string const &', 'f2'), param('uint32_t &', 'sec'), param('uint32_t &', 'usec'), param('uint32_t', 'snapLen', default_value='ns3::PcapFile::SNAPLEN_DEFAULT')], 
2cc780c07f5e Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents: 5249
diff changeset
   746
                   is_static=True)
5249
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   747
    ## pcap-file.h: uint32_t ns3::PcapFile::GetDataLinkType() [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   748
    cls.add_method('GetDataLinkType', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   749
                   'uint32_t', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   750
                   [])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   751
    ## pcap-file.h: uint32_t ns3::PcapFile::GetMagic() [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   752
    cls.add_method('GetMagic', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   753
                   'uint32_t', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   754
                   [])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   755
    ## pcap-file.h: uint32_t ns3::PcapFile::GetSigFigs() [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   756
    cls.add_method('GetSigFigs', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   757
                   'uint32_t', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   758
                   [])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   759
    ## pcap-file.h: uint32_t ns3::PcapFile::GetSnapLen() [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   760
    cls.add_method('GetSnapLen', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   761
                   'uint32_t', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   762
                   [])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   763
    ## pcap-file.h: bool ns3::PcapFile::GetSwapMode() [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   764
    cls.add_method('GetSwapMode', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   765
                   'bool', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   766
                   [])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   767
    ## pcap-file.h: int32_t ns3::PcapFile::GetTimeZoneOffset() [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   768
    cls.add_method('GetTimeZoneOffset', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   769
                   'int32_t', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   770
                   [])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   771
    ## pcap-file.h: uint16_t ns3::PcapFile::GetVersionMajor() [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   772
    cls.add_method('GetVersionMajor', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   773
                   'uint16_t', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   774
                   [])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   775
    ## pcap-file.h: uint16_t ns3::PcapFile::GetVersionMinor() [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   776
    cls.add_method('GetVersionMinor', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   777
                   'uint16_t', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   778
                   [])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   779
    ## pcap-file.h: bool ns3::PcapFile::Init(uint32_t dataLinkType, uint32_t snapLen=ns3::PcapFile::SNAPLEN_DEFAULT, int32_t timeZoneCorrection=ns3::PcapFile::ZONE_DEFAULT, bool swapMode=false) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   780
    cls.add_method('Init', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   781
                   'bool', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   782
                   [param('uint32_t', 'dataLinkType'), param('uint32_t', 'snapLen', default_value='ns3::PcapFile::SNAPLEN_DEFAULT'), param('int32_t', 'timeZoneCorrection', default_value='ns3::PcapFile::ZONE_DEFAULT'), param('bool', 'swapMode', default_value='false')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   783
    ## pcap-file.h: bool ns3::PcapFile::Open(std::string const & filename, std::string const & mode) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   784
    cls.add_method('Open', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   785
                   'bool', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   786
                   [param('std::string const &', 'filename'), param('std::string const &', 'mode')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   787
    ## pcap-file.h: bool ns3::PcapFile::Read(uint8_t * const data, uint32_t maxBytes, uint32_t & tsSec, uint32_t & tsUsec, uint32_t & inclLen, uint32_t & origLen, uint32_t & readLen) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   788
    cls.add_method('Read', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   789
                   'bool', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   790
                   [param('uint8_t * const', 'data'), param('uint32_t', 'maxBytes'), param('uint32_t &', 'tsSec'), param('uint32_t &', 'tsUsec'), param('uint32_t &', 'inclLen'), param('uint32_t &', 'origLen'), param('uint32_t &', 'readLen')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   791
    ## pcap-file.h: bool ns3::PcapFile::Write(uint32_t tsSec, uint32_t tsUsec, uint8_t const * const data, uint32_t totalLen) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   792
    cls.add_method('Write', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   793
                   'bool', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   794
                   [param('uint32_t', 'tsSec'), param('uint32_t', 'tsUsec'), param('uint8_t const * const', 'data'), param('uint32_t', 'totalLen')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   795
    ## pcap-file.h: ns3::PcapFile::SNAPLEN_DEFAULT [variable]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   796
    cls.add_static_attribute('SNAPLEN_DEFAULT', 'uint32_t const', is_const=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   797
    ## pcap-file.h: ns3::PcapFile::ZONE_DEFAULT [variable]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   798
    cls.add_static_attribute('ZONE_DEFAULT', 'int32_t const', is_const=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   799
    return
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   800
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   801
def register_Ns3Tag_methods(root_module, cls):
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   802
    ## tag.h: ns3::Tag::Tag() [constructor]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   803
    cls.add_constructor([])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   804
    ## tag.h: ns3::Tag::Tag(ns3::Tag const & arg0) [copy constructor]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   805
    cls.add_constructor([param('ns3::Tag const &', 'arg0')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   806
    ## tag.h: void ns3::Tag::Deserialize(ns3::TagBuffer i) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   807
    cls.add_method('Deserialize', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   808
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   809
                   [param('ns3::TagBuffer', 'i')], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   810
                   is_pure_virtual=True, is_virtual=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   811
    ## tag.h: uint32_t ns3::Tag::GetSerializedSize() const [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   812
    cls.add_method('GetSerializedSize', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   813
                   'uint32_t', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   814
                   [], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   815
                   is_pure_virtual=True, is_const=True, is_virtual=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   816
    ## tag.h: static ns3::TypeId ns3::Tag::GetTypeId() [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   817
    cls.add_method('GetTypeId', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   818
                   'ns3::TypeId', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   819
                   [], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   820
                   is_static=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   821
    ## tag.h: void ns3::Tag::Print(std::ostream & os) const [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   822
    cls.add_method('Print', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   823
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   824
                   [param('std::ostream &', 'os')], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   825
                   is_pure_virtual=True, is_const=True, is_virtual=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   826
    ## tag.h: void ns3::Tag::Serialize(ns3::TagBuffer i) const [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   827
    cls.add_method('Serialize', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   828
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   829
                   [param('ns3::TagBuffer', 'i')], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   830
                   is_pure_virtual=True, is_const=True, is_virtual=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   831
    return
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   832
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   833
def register_Ns3TagBuffer_methods(root_module, cls):
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   834
    ## tag-buffer.h: ns3::TagBuffer::TagBuffer(ns3::TagBuffer const & arg0) [copy constructor]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   835
    cls.add_constructor([param('ns3::TagBuffer const &', 'arg0')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   836
    ## tag-buffer.h: ns3::TagBuffer::TagBuffer(uint8_t * start, uint8_t * end) [constructor]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   837
    cls.add_constructor([param('uint8_t *', 'start'), param('uint8_t *', 'end')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   838
    ## tag-buffer.h: void ns3::TagBuffer::CopyFrom(ns3::TagBuffer o) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   839
    cls.add_method('CopyFrom', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   840
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   841
                   [param('ns3::TagBuffer', 'o')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   842
    ## tag-buffer.h: void ns3::TagBuffer::Read(uint8_t * buffer, uint32_t size) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   843
    cls.add_method('Read', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   844
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   845
                   [param('uint8_t *', 'buffer'), param('uint32_t', 'size')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   846
    ## tag-buffer.h: double ns3::TagBuffer::ReadDouble() [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   847
    cls.add_method('ReadDouble', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   848
                   'double', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   849
                   [])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   850
    ## tag-buffer.h: uint16_t ns3::TagBuffer::ReadU16() [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   851
    cls.add_method('ReadU16', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   852
                   'uint16_t', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   853
                   [])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   854
    ## tag-buffer.h: uint32_t ns3::TagBuffer::ReadU32() [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   855
    cls.add_method('ReadU32', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   856
                   'uint32_t', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   857
                   [])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   858
    ## tag-buffer.h: uint64_t ns3::TagBuffer::ReadU64() [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   859
    cls.add_method('ReadU64', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   860
                   'uint64_t', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   861
                   [])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   862
    ## tag-buffer.h: uint8_t ns3::TagBuffer::ReadU8() [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   863
    cls.add_method('ReadU8', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   864
                   'uint8_t', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   865
                   [])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   866
    ## tag-buffer.h: void ns3::TagBuffer::TrimAtEnd(uint32_t trim) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   867
    cls.add_method('TrimAtEnd', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   868
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   869
                   [param('uint32_t', 'trim')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   870
    ## tag-buffer.h: void ns3::TagBuffer::Write(uint8_t const * buffer, uint32_t size) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   871
    cls.add_method('Write', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   872
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   873
                   [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   874
    ## tag-buffer.h: void ns3::TagBuffer::WriteDouble(double v) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   875
    cls.add_method('WriteDouble', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   876
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   877
                   [param('double', 'v')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   878
    ## tag-buffer.h: void ns3::TagBuffer::WriteU16(uint16_t data) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   879
    cls.add_method('WriteU16', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   880
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   881
                   [param('uint16_t', 'data')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   882
    ## tag-buffer.h: void ns3::TagBuffer::WriteU32(uint32_t data) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   883
    cls.add_method('WriteU32', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   884
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   885
                   [param('uint32_t', 'data')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   886
    ## tag-buffer.h: void ns3::TagBuffer::WriteU64(uint64_t v) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   887
    cls.add_method('WriteU64', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   888
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   889
                   [param('uint64_t', 'v')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   890
    ## tag-buffer.h: void ns3::TagBuffer::WriteU8(uint8_t v) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   891
    cls.add_method('WriteU8', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   892
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   893
                   [param('uint8_t', 'v')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   894
    return
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   895
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   896
def register_Ns3Chunk_methods(root_module, cls):
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   897
    ## chunk.h: ns3::Chunk::Chunk() [constructor]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   898
    cls.add_constructor([])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   899
    ## chunk.h: ns3::Chunk::Chunk(ns3::Chunk const & arg0) [copy constructor]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   900
    cls.add_constructor([param('ns3::Chunk const &', 'arg0')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   901
    ## chunk.h: uint32_t ns3::Chunk::Deserialize(ns3::Buffer::Iterator start) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   902
    cls.add_method('Deserialize', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   903
                   'uint32_t', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   904
                   [param('ns3::Buffer::Iterator', 'start')], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   905
                   is_pure_virtual=True, is_virtual=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   906
    ## chunk.h: static ns3::TypeId ns3::Chunk::GetTypeId() [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   907
    cls.add_method('GetTypeId', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   908
                   'ns3::TypeId', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   909
                   [], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   910
                   is_static=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   911
    ## chunk.h: void ns3::Chunk::Print(std::ostream & os) const [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   912
    cls.add_method('Print', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   913
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   914
                   [param('std::ostream &', 'os')], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   915
                   is_pure_virtual=True, is_const=True, is_virtual=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   916
    return
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   917
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   918
def register_Ns3Header_methods(root_module, cls):
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   919
    cls.add_output_stream_operator()
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   920
    ## header.h: ns3::Header::Header() [constructor]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   921
    cls.add_constructor([])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   922
    ## header.h: ns3::Header::Header(ns3::Header const & arg0) [copy constructor]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   923
    cls.add_constructor([param('ns3::Header const &', 'arg0')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   924
    ## header.h: uint32_t ns3::Header::Deserialize(ns3::Buffer::Iterator start) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   925
    cls.add_method('Deserialize', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   926
                   'uint32_t', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   927
                   [param('ns3::Buffer::Iterator', 'start')], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   928
                   is_pure_virtual=True, is_virtual=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   929
    ## header.h: uint32_t ns3::Header::GetSerializedSize() const [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   930
    cls.add_method('GetSerializedSize', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   931
                   'uint32_t', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   932
                   [], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   933
                   is_pure_virtual=True, is_const=True, is_virtual=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   934
    ## header.h: static ns3::TypeId ns3::Header::GetTypeId() [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   935
    cls.add_method('GetTypeId', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   936
                   'ns3::TypeId', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   937
                   [], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   938
                   is_static=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   939
    ## header.h: void ns3::Header::Print(std::ostream & os) const [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   940
    cls.add_method('Print', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   941
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   942
                   [param('std::ostream &', 'os')], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   943
                   is_pure_virtual=True, is_const=True, is_virtual=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   944
    ## header.h: void ns3::Header::Serialize(ns3::Buffer::Iterator start) const [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   945
    cls.add_method('Serialize', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   946
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   947
                   [param('ns3::Buffer::Iterator', 'start')], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   948
                   is_pure_virtual=True, is_const=True, is_virtual=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   949
    return
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   950
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   951
def register_Ns3PcapWriter_methods(root_module, cls):
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   952
    ## pcap-writer.h: ns3::PcapWriter::PcapWriter(ns3::PcapWriter const & arg0) [copy constructor]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   953
    cls.add_constructor([param('ns3::PcapWriter const &', 'arg0')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   954
    ## pcap-writer.h: ns3::PcapWriter::PcapWriter() [constructor]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   955
    cls.add_constructor([])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   956
    ## pcap-writer.h: static ns3::TypeId ns3::PcapWriter::GetTypeId() [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   957
    cls.add_method('GetTypeId', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   958
                   'ns3::TypeId', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   959
                   [], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   960
                   is_static=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   961
    ## pcap-writer.h: void ns3::PcapWriter::Open(std::string const & name) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   962
    cls.add_method('Open', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   963
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   964
                   [param('std::string const &', 'name')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   965
    ## pcap-writer.h: void ns3::PcapWriter::SetCaptureSize(uint32_t size) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   966
    cls.add_method('SetCaptureSize', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   967
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   968
                   [param('uint32_t', 'size')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   969
    ## pcap-writer.h: void ns3::PcapWriter::WriteEthernetHeader() [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   970
    cls.add_method('WriteEthernetHeader', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   971
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   972
                   [])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   973
    ## pcap-writer.h: void ns3::PcapWriter::WriteIpHeader() [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   974
    cls.add_method('WriteIpHeader', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   975
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   976
                   [])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   977
    ## pcap-writer.h: void ns3::PcapWriter::WritePacket(ns3::Ptr<ns3::Packet const> packet) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   978
    cls.add_method('WritePacket', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   979
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   980
                   [param('ns3::Ptr< ns3::Packet const >', 'packet')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   981
    ## pcap-writer.h: void ns3::PcapWriter::WritePppHeader() [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   982
    cls.add_method('WritePppHeader', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   983
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   984
                   [])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   985
    ## pcap-writer.h: void ns3::PcapWriter::WriteWifiHeader() [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   986
    cls.add_method('WriteWifiHeader', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   987
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   988
                   [])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   989
    ## pcap-writer.h: void ns3::PcapWriter::WriteWifiMonitorPacket(ns3::Ptr<ns3::Packet const> packet, uint16_t channelFreqMhz, uint16_t channelNumber, uint32_t rate, bool isShortPreamble, bool isTx, double signalDbm, double noiseDbm) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   990
    cls.add_method('WriteWifiMonitorPacket', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   991
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   992
                   [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('uint16_t', 'channelFreqMhz'), param('uint16_t', 'channelNumber'), param('uint32_t', 'rate'), param('bool', 'isShortPreamble'), param('bool', 'isTx'), param('double', 'signalDbm'), param('double', 'noiseDbm')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   993
    ## pcap-writer.h: void ns3::PcapWriter::WriteWifiPrismHeader() [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   994
    cls.add_method('WriteWifiPrismHeader', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   995
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   996
                   [])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   997
    ## pcap-writer.h: void ns3::PcapWriter::WriteWifiRadiotapHeader() [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   998
    cls.add_method('WriteWifiRadiotapHeader', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   999
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1000
                   [])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1001
    return
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1002
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1003
def register_Ns3Trailer_methods(root_module, cls):
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1004
    cls.add_output_stream_operator()
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1005
    ## trailer.h: ns3::Trailer::Trailer() [constructor]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1006
    cls.add_constructor([])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1007
    ## trailer.h: ns3::Trailer::Trailer(ns3::Trailer const & arg0) [copy constructor]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1008
    cls.add_constructor([param('ns3::Trailer const &', 'arg0')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1009
    ## trailer.h: uint32_t ns3::Trailer::Deserialize(ns3::Buffer::Iterator end) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1010
    cls.add_method('Deserialize', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1011
                   'uint32_t', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1012
                   [param('ns3::Buffer::Iterator', 'end')], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1013
                   is_pure_virtual=True, is_virtual=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1014
    ## trailer.h: uint32_t ns3::Trailer::GetSerializedSize() const [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1015
    cls.add_method('GetSerializedSize', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1016
                   'uint32_t', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1017
                   [], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1018
                   is_pure_virtual=True, is_const=True, is_virtual=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1019
    ## trailer.h: static ns3::TypeId ns3::Trailer::GetTypeId() [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1020
    cls.add_method('GetTypeId', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1021
                   'ns3::TypeId', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1022
                   [], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1023
                   is_static=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1024
    ## trailer.h: void ns3::Trailer::Print(std::ostream & os) const [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1025
    cls.add_method('Print', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1026
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1027
                   [param('std::ostream &', 'os')], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1028
                   is_pure_virtual=True, is_const=True, is_virtual=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1029
    ## trailer.h: void ns3::Trailer::Serialize(ns3::Buffer::Iterator start) const [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1030
    cls.add_method('Serialize', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1031
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1032
                   [param('ns3::Buffer::Iterator', 'start')], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1033
                   is_pure_virtual=True, is_const=True, is_virtual=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1034
    return
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1035
5753
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1036
def register_Ns3AsciiWriter_methods(root_module, cls):
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1037
    ## ascii-writer.h: ns3::AsciiWriter::AsciiWriter(ns3::AsciiWriter const & arg0) [copy constructor]
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1038
    cls.add_constructor([param('ns3::AsciiWriter const &', 'arg0')])
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1039
    ## ascii-writer.h: static ns3::Ptr<ns3::AsciiWriter> ns3::AsciiWriter::Get(std::ostream & os) [member function]
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1040
    cls.add_method('Get', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1041
                   'ns3::Ptr< ns3::AsciiWriter >', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1042
                   [param('std::ostream &', 'os')], 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1043
                   is_static=True)
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1044
    ## ascii-writer.h: void ns3::AsciiWriter::WritePacket(ns3::AsciiWriter::Type type, std::string message, ns3::Ptr<ns3::Packet const> p) [member function]
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1045
    cls.add_method('WritePacket', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1046
                   'void', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1047
                   [param('ns3::AsciiWriter::Type', 'type'), param('std::string', 'message'), param('ns3::Ptr< ns3::Packet const >', 'p')])
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1048
    return
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1049
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1050
def register_Ns3DataRateChecker_methods(root_module, cls):
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1051
    ## data-rate.h: ns3::DataRateChecker::DataRateChecker() [constructor]
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1052
    cls.add_constructor([])
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1053
    ## data-rate.h: ns3::DataRateChecker::DataRateChecker(ns3::DataRateChecker const & arg0) [copy constructor]
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1054
    cls.add_constructor([param('ns3::DataRateChecker const &', 'arg0')])
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1055
    return
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1056
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1057
def register_Ns3DataRateValue_methods(root_module, cls):
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1058
    ## data-rate.h: ns3::DataRateValue::DataRateValue() [constructor]
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1059
    cls.add_constructor([])
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1060
    ## data-rate.h: ns3::DataRateValue::DataRateValue(ns3::DataRateValue const & arg0) [copy constructor]
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1061
    cls.add_constructor([param('ns3::DataRateValue const &', 'arg0')])
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1062
    ## data-rate.h: ns3::DataRateValue::DataRateValue(ns3::DataRate const & value) [constructor]
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1063
    cls.add_constructor([param('ns3::DataRate const &', 'value')])
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1064
    ## data-rate.h: ns3::Ptr<ns3::AttributeValue> ns3::DataRateValue::Copy() const [member function]
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1065
    cls.add_method('Copy', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1066
                   'ns3::Ptr< ns3::AttributeValue >', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1067
                   [], 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1068
                   is_const=True, is_virtual=True)
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1069
    ## data-rate.h: bool ns3::DataRateValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1070
    cls.add_method('DeserializeFromString', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1071
                   'bool', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1072
                   [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1073
                   is_virtual=True)
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1074
    ## data-rate.h: ns3::DataRate ns3::DataRateValue::Get() const [member function]
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1075
    cls.add_method('Get', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1076
                   'ns3::DataRate', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1077
                   [], 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1078
                   is_const=True)
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1079
    ## data-rate.h: std::string ns3::DataRateValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1080
    cls.add_method('SerializeToString', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1081
                   'std::string', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1082
                   [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1083
                   is_const=True, is_virtual=True)
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1084
    ## data-rate.h: void ns3::DataRateValue::Set(ns3::DataRate const & value) [member function]
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1085
    cls.add_method('Set', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1086
                   'void', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1087
                   [param('ns3::DataRate const &', 'value')])
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1088
    return
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1089
5249
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1090
def register_Ns3ErrorModel_methods(root_module, cls):
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1091
    ## error-model.h: ns3::ErrorModel::ErrorModel(ns3::ErrorModel const & arg0) [copy constructor]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1092
    cls.add_constructor([param('ns3::ErrorModel const &', 'arg0')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1093
    ## error-model.h: ns3::ErrorModel::ErrorModel() [constructor]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1094
    cls.add_constructor([])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1095
    ## error-model.h: void ns3::ErrorModel::Disable() [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1096
    cls.add_method('Disable', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1097
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1098
                   [])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1099
    ## error-model.h: void ns3::ErrorModel::Enable() [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1100
    cls.add_method('Enable', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1101
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1102
                   [])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1103
    ## error-model.h: static ns3::TypeId ns3::ErrorModel::GetTypeId() [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1104
    cls.add_method('GetTypeId', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1105
                   'ns3::TypeId', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1106
                   [], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1107
                   is_static=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1108
    ## error-model.h: bool ns3::ErrorModel::IsCorrupt(ns3::Ptr<ns3::Packet> pkt) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1109
    cls.add_method('IsCorrupt', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1110
                   'bool', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1111
                   [param('ns3::Ptr< ns3::Packet >', 'pkt')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1112
    ## error-model.h: bool ns3::ErrorModel::IsEnabled() const [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1113
    cls.add_method('IsEnabled', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1114
                   'bool', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1115
                   [], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1116
                   is_const=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1117
    ## error-model.h: void ns3::ErrorModel::Reset() [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1118
    cls.add_method('Reset', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1119
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1120
                   [])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1121
    ## error-model.h: bool ns3::ErrorModel::DoCorrupt(ns3::Ptr<ns3::Packet> arg0) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1122
    cls.add_method('DoCorrupt', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1123
                   'bool', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1124
                   [param('ns3::Ptr< ns3::Packet >', 'arg0')], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1125
                   is_pure_virtual=True, visibility='private', is_virtual=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1126
    ## error-model.h: void ns3::ErrorModel::DoReset() [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1127
    cls.add_method('DoReset', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1128
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1129
                   [], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1130
                   is_pure_virtual=True, visibility='private', is_virtual=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1131
    return
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1132
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1133
def register_Ns3ListErrorModel_methods(root_module, cls):
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1134
    ## error-model.h: ns3::ListErrorModel::ListErrorModel(ns3::ListErrorModel const & arg0) [copy constructor]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1135
    cls.add_constructor([param('ns3::ListErrorModel const &', 'arg0')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1136
    ## error-model.h: ns3::ListErrorModel::ListErrorModel() [constructor]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1137
    cls.add_constructor([])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1138
    ## error-model.h: std::list<unsigned int, std::allocator<unsigned int> > ns3::ListErrorModel::GetList() const [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1139
    cls.add_method('GetList', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1140
                   'std::list< unsigned int >', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1141
                   [], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1142
                   is_const=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1143
    ## error-model.h: static ns3::TypeId ns3::ListErrorModel::GetTypeId() [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1144
    cls.add_method('GetTypeId', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1145
                   'ns3::TypeId', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1146
                   [], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1147
                   is_static=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1148
    ## error-model.h: void ns3::ListErrorModel::SetList(std::list<unsigned int, std::allocator<unsigned int> > const & packetlist) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1149
    cls.add_method('SetList', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1150
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1151
                   [param('std::list< unsigned int > const &', 'packetlist')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1152
    ## error-model.h: bool ns3::ListErrorModel::DoCorrupt(ns3::Ptr<ns3::Packet> p) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1153
    cls.add_method('DoCorrupt', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1154
                   'bool', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1155
                   [param('ns3::Ptr< ns3::Packet >', 'p')], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1156
                   visibility='private', is_virtual=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1157
    ## error-model.h: void ns3::ListErrorModel::DoReset() [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1158
    cls.add_method('DoReset', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1159
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1160
                   [], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1161
                   visibility='private', is_virtual=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1162
    return
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1163
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1164
def register_Ns3NixVector_methods(root_module, cls):
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1165
    cls.add_output_stream_operator()
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1166
    ## nix-vector.h: ns3::NixVector::NixVector() [constructor]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1167
    cls.add_constructor([])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1168
    ## nix-vector.h: ns3::NixVector::NixVector(ns3::NixVector const & o) [copy constructor]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1169
    cls.add_constructor([param('ns3::NixVector const &', 'o')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1170
    ## nix-vector.h: void ns3::NixVector::AddNeighborIndex(uint32_t newBits, uint32_t numberOfBits) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1171
    cls.add_method('AddNeighborIndex', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1172
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1173
                   [param('uint32_t', 'newBits'), param('uint32_t', 'numberOfBits')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1174
    ## nix-vector.h: uint32_t ns3::NixVector::BitCount(uint32_t numberOfNeighbors) const [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1175
    cls.add_method('BitCount', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1176
                   'uint32_t', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1177
                   [param('uint32_t', 'numberOfNeighbors')], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1178
                   is_const=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1179
    ## nix-vector.h: ns3::Ptr<ns3::NixVector> ns3::NixVector::Copy() const [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1180
    cls.add_method('Copy', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1181
                   'ns3::Ptr< ns3::NixVector >', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1182
                   [], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1183
                   is_const=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1184
    ## nix-vector.h: uint32_t ns3::NixVector::Deserialize(ns3::Buffer::Iterator i) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1185
    cls.add_method('Deserialize', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1186
                   'uint32_t', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1187
                   [param('ns3::Buffer::Iterator', 'i')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1188
    ## nix-vector.h: void ns3::NixVector::DumpNixVector(std::ostream & os) const [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1189
    cls.add_method('DumpNixVector', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1190
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1191
                   [param('std::ostream &', 'os')], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1192
                   is_const=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1193
    ## nix-vector.h: uint32_t ns3::NixVector::ExtractNeighborIndex(uint32_t numberOfBits) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1194
    cls.add_method('ExtractNeighborIndex', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1195
                   'uint32_t', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1196
                   [param('uint32_t', 'numberOfBits')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1197
    ## nix-vector.h: uint32_t ns3::NixVector::GetRemainingBits() [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1198
    cls.add_method('GetRemainingBits', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1199
                   'uint32_t', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1200
                   [])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1201
    ## nix-vector.h: uint32_t ns3::NixVector::GetSerializedSize() const [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1202
    cls.add_method('GetSerializedSize', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1203
                   'uint32_t', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1204
                   [], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1205
                   is_const=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1206
    ## nix-vector.h: static ns3::TypeId ns3::NixVector::GetTypeId() [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1207
    cls.add_method('GetTypeId', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1208
                   'ns3::TypeId', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1209
                   [], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1210
                   is_static=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1211
    ## nix-vector.h: void ns3::NixVector::Serialize(ns3::Buffer::Iterator i, uint32_t size) const [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1212
    cls.add_method('Serialize', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1213
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1214
                   [param('ns3::Buffer::Iterator', 'i'), param('uint32_t', 'size')], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1215
                   is_const=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1216
    return
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1217
5753
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1218
def register_Ns3Packet_methods(root_module, cls):
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1219
    cls.add_output_stream_operator()
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1220
    ## packet.h: ns3::Packet::Packet() [constructor]
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1221
    cls.add_constructor([])
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1222
    ## packet.h: ns3::Packet::Packet(ns3::Packet const & o) [copy constructor]
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1223
    cls.add_constructor([param('ns3::Packet const &', 'o')])
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1224
    ## packet.h: ns3::Packet::Packet(uint32_t size) [constructor]
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1225
    cls.add_constructor([param('uint32_t', 'size')])
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1226
    ## packet.h: ns3::Packet::Packet(uint8_t const * buffer, uint32_t size) [constructor]
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1227
    cls.add_constructor([param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1228
    ## packet.h: void ns3::Packet::AddAtEnd(ns3::Ptr<ns3::Packet const> packet) [member function]
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1229
    cls.add_method('AddAtEnd', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1230
                   'void', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1231
                   [param('ns3::Ptr< ns3::Packet const >', 'packet')])
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1232
    ## packet.h: void ns3::Packet::AddByteTag(ns3::Tag const & tag) const [member function]
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1233
    cls.add_method('AddByteTag', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1234
                   'void', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1235
                   [param('ns3::Tag const &', 'tag')], 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1236
                   is_const=True)
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1237
    ## packet.h: void ns3::Packet::AddHeader(ns3::Header const & header) [member function]
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1238
    cls.add_method('AddHeader', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1239
                   'void', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1240
                   [param('ns3::Header const &', 'header')])
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1241
    ## packet.h: void ns3::Packet::AddPacketTag(ns3::Tag const & tag) const [member function]
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1242
    cls.add_method('AddPacketTag', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1243
                   'void', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1244
                   [param('ns3::Tag const &', 'tag')], 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1245
                   is_const=True)
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1246
    ## packet.h: void ns3::Packet::AddPaddingAtEnd(uint32_t size) [member function]
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1247
    cls.add_method('AddPaddingAtEnd', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1248
                   'void', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1249
                   [param('uint32_t', 'size')])
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1250
    ## packet.h: void ns3::Packet::AddTrailer(ns3::Trailer const & trailer) [member function]
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1251
    cls.add_method('AddTrailer', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1252
                   'void', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1253
                   [param('ns3::Trailer const &', 'trailer')])
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1254
    ## packet.h: ns3::PacketMetadata::ItemIterator ns3::Packet::BeginItem() const [member function]
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1255
    cls.add_method('BeginItem', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1256
                   'ns3::PacketMetadata::ItemIterator', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1257
                   [], 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1258
                   is_const=True)
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1259
    ## packet.h: ns3::Ptr<ns3::Packet> ns3::Packet::Copy() const [member function]
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1260
    cls.add_method('Copy', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1261
                   'ns3::Ptr< ns3::Packet >', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1262
                   [], 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1263
                   is_const=True)
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1264
    ## packet.h: uint32_t ns3::Packet::CopyData(uint8_t * buffer, uint32_t size) const [member function]
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1265
    cls.add_method('CopyData', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1266
                   'uint32_t', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1267
                   [param('uint8_t *', 'buffer'), param('uint32_t', 'size')], 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1268
                   is_const=True)
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1269
    ## packet.h: void ns3::Packet::CopyData(std::ostream * os, uint32_t size) const [member function]
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1270
    cls.add_method('CopyData', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1271
                   'void', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1272
                   [param('std::ostream *', 'os'), param('uint32_t', 'size')], 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1273
                   is_const=True)
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1274
    ## packet.h: ns3::Ptr<ns3::Packet> ns3::Packet::CreateFragment(uint32_t start, uint32_t length) const [member function]
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1275
    cls.add_method('CreateFragment', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1276
                   'ns3::Ptr< ns3::Packet >', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1277
                   [param('uint32_t', 'start'), param('uint32_t', 'length')], 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1278
                   is_const=True)
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1279
    ## packet.h: void ns3::Packet::Deserialize(ns3::Buffer buffer) [member function]
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1280
    cls.add_method('Deserialize', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1281
                   'void', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1282
                   [param('ns3::Buffer', 'buffer')])
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1283
    ## packet.h: static void ns3::Packet::EnableChecking() [member function]
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1284
    cls.add_method('EnableChecking', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1285
                   'void', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1286
                   [], 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1287
                   is_static=True)
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1288
    ## packet.h: static void ns3::Packet::EnablePrinting() [member function]
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1289
    cls.add_method('EnablePrinting', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1290
                   'void', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1291
                   [], 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1292
                   is_static=True)
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1293
    ## packet.h: bool ns3::Packet::FindFirstMatchingByteTag(ns3::Tag & tag) const [member function]
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1294
    cls.add_method('FindFirstMatchingByteTag', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1295
                   'bool', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1296
                   [param('ns3::Tag &', 'tag')], 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1297
                   is_const=True)
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1298
    ## packet.h: ns3::ByteTagIterator ns3::Packet::GetByteTagIterator() const [member function]
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1299
    cls.add_method('GetByteTagIterator', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1300
                   'ns3::ByteTagIterator', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1301
                   [], 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1302
                   is_const=True)
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1303
    ## packet.h: ns3::Ptr<ns3::NixVector> ns3::Packet::GetNixVector() const [member function]
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1304
    cls.add_method('GetNixVector', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1305
                   'ns3::Ptr< ns3::NixVector >', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1306
                   [], 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1307
                   is_const=True)
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1308
    ## packet.h: ns3::PacketTagIterator ns3::Packet::GetPacketTagIterator() const [member function]
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1309
    cls.add_method('GetPacketTagIterator', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1310
                   'ns3::PacketTagIterator', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1311
                   [], 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1312
                   is_const=True)
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1313
    ## packet.h: uint32_t ns3::Packet::GetSize() const [member function]
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1314
    cls.add_method('GetSize', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1315
                   'uint32_t', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1316
                   [], 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1317
                   is_const=True)
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1318
    ## packet.h: uint32_t ns3::Packet::GetUid() const [member function]
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1319
    cls.add_method('GetUid', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1320
                   'uint32_t', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1321
                   [], 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1322
                   is_const=True)
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1323
    ## packet.h: uint8_t const * ns3::Packet::PeekData() const [member function]
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1324
    cls.add_method('PeekData', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1325
                   'uint8_t const *', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1326
                   [], 
5754
7f0de9a416ea There was a race condition in last python apidefs rescan...
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5753
diff changeset
  1327
                   deprecated=True, is_const=True)
5753
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1328
    ## packet.h: uint32_t ns3::Packet::PeekHeader(ns3::Header & header) const [member function]
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1329
    cls.add_method('PeekHeader', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1330
                   'uint32_t', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1331
                   [param('ns3::Header &', 'header')], 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1332
                   is_const=True)
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1333
    ## packet.h: bool ns3::Packet::PeekPacketTag(ns3::Tag & tag) const [member function]
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1334
    cls.add_method('PeekPacketTag', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1335
                   'bool', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1336
                   [param('ns3::Tag &', 'tag')], 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1337
                   is_const=True)
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1338
    ## packet.h: uint32_t ns3::Packet::PeekTrailer(ns3::Trailer & trailer) [member function]
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1339
    cls.add_method('PeekTrailer', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1340
                   'uint32_t', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1341
                   [param('ns3::Trailer &', 'trailer')])
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1342
    ## packet.h: void ns3::Packet::Print(std::ostream & os) const [member function]
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1343
    cls.add_method('Print', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1344
                   'void', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1345
                   [param('std::ostream &', 'os')], 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1346
                   is_const=True)
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1347
    ## packet.h: void ns3::Packet::PrintByteTags(std::ostream & os) const [member function]
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1348
    cls.add_method('PrintByteTags', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1349
                   'void', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1350
                   [param('std::ostream &', 'os')], 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1351
                   is_const=True)
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1352
    ## packet.h: void ns3::Packet::PrintPacketTags(std::ostream & os) const [member function]
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1353
    cls.add_method('PrintPacketTags', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1354
                   'void', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1355
                   [param('std::ostream &', 'os')], 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1356
                   is_const=True)
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1357
    ## packet.h: void ns3::Packet::RemoveAllByteTags() [member function]
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1358
    cls.add_method('RemoveAllByteTags', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1359
                   'void', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1360
                   [])
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1361
    ## packet.h: void ns3::Packet::RemoveAllPacketTags() [member function]
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1362
    cls.add_method('RemoveAllPacketTags', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1363
                   'void', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1364
                   [])
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1365
    ## packet.h: void ns3::Packet::RemoveAtEnd(uint32_t size) [member function]
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1366
    cls.add_method('RemoveAtEnd', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1367
                   'void', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1368
                   [param('uint32_t', 'size')])
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1369
    ## packet.h: void ns3::Packet::RemoveAtStart(uint32_t size) [member function]
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1370
    cls.add_method('RemoveAtStart', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1371
                   'void', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1372
                   [param('uint32_t', 'size')])
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1373
    ## packet.h: uint32_t ns3::Packet::RemoveHeader(ns3::Header & header) [member function]
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1374
    cls.add_method('RemoveHeader', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1375
                   'uint32_t', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1376
                   [param('ns3::Header &', 'header')])
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1377
    ## packet.h: bool ns3::Packet::RemovePacketTag(ns3::Tag & tag) [member function]
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1378
    cls.add_method('RemovePacketTag', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1379
                   'bool', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1380
                   [param('ns3::Tag &', 'tag')])
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1381
    ## packet.h: uint32_t ns3::Packet::RemoveTrailer(ns3::Trailer & trailer) [member function]
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1382
    cls.add_method('RemoveTrailer', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1383
                   'uint32_t', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1384
                   [param('ns3::Trailer &', 'trailer')])
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1385
    ## packet.h: ns3::Buffer ns3::Packet::Serialize() const [member function]
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1386
    cls.add_method('Serialize', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1387
                   'ns3::Buffer', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1388
                   [], 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1389
                   is_const=True)
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1390
    ## packet.h: void ns3::Packet::SetNixVector(ns3::Ptr<ns3::NixVector> arg0) [member function]
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1391
    cls.add_method('SetNixVector', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1392
                   'void', 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1393
                   [param('ns3::Ptr< ns3::NixVector >', 'arg0')])
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1394
    return
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1395
5249
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1396
def register_Ns3RateErrorModel_methods(root_module, cls):
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1397
    ## error-model.h: ns3::RateErrorModel::RateErrorModel(ns3::RateErrorModel const & arg0) [copy constructor]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1398
    cls.add_constructor([param('ns3::RateErrorModel const &', 'arg0')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1399
    ## error-model.h: ns3::RateErrorModel::RateErrorModel() [constructor]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1400
    cls.add_constructor([])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1401
    ## error-model.h: double ns3::RateErrorModel::GetRate() const [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1402
    cls.add_method('GetRate', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1403
                   'double', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1404
                   [], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1405
                   is_const=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1406
    ## error-model.h: static ns3::TypeId ns3::RateErrorModel::GetTypeId() [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1407
    cls.add_method('GetTypeId', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1408
                   'ns3::TypeId', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1409
                   [], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1410
                   is_static=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1411
    ## error-model.h: ns3::ErrorUnit ns3::RateErrorModel::GetUnit() const [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1412
    cls.add_method('GetUnit', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1413
                   'ns3::ErrorUnit', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1414
                   [], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1415
                   is_const=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1416
    ## error-model.h: void ns3::RateErrorModel::SetRandomVariable(ns3::RandomVariable const & ranvar) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1417
    cls.add_method('SetRandomVariable', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1418
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1419
                   [param('ns3::RandomVariable const &', 'ranvar')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1420
    ## error-model.h: void ns3::RateErrorModel::SetRate(double rate) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1421
    cls.add_method('SetRate', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1422
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1423
                   [param('double', 'rate')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1424
    ## error-model.h: void ns3::RateErrorModel::SetUnit(ns3::ErrorUnit error_unit) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1425
    cls.add_method('SetUnit', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1426
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1427
                   [param('ns3::ErrorUnit', 'error_unit')])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1428
    ## error-model.h: bool ns3::RateErrorModel::DoCorrupt(ns3::Ptr<ns3::Packet> p) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1429
    cls.add_method('DoCorrupt', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1430
                   'bool', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1431
                   [param('ns3::Ptr< ns3::Packet >', 'p')], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1432
                   visibility='private', is_virtual=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1433
    ## error-model.h: bool ns3::RateErrorModel::DoCorruptBit(ns3::Ptr<ns3::Packet> p) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1434
    cls.add_method('DoCorruptBit', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1435
                   'bool', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1436
                   [param('ns3::Ptr< ns3::Packet >', 'p')], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1437
                   visibility='private', is_virtual=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1438
    ## error-model.h: bool ns3::RateErrorModel::DoCorruptByte(ns3::Ptr<ns3::Packet> p) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1439
    cls.add_method('DoCorruptByte', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1440
                   'bool', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1441
                   [param('ns3::Ptr< ns3::Packet >', 'p')], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1442
                   visibility='private', is_virtual=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1443
    ## error-model.h: bool ns3::RateErrorModel::DoCorruptPkt(ns3::Ptr<ns3::Packet> p) [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1444
    cls.add_method('DoCorruptPkt', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1445
                   'bool', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1446
                   [param('ns3::Ptr< ns3::Packet >', 'p')], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1447
                   visibility='private', is_virtual=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1448
    ## error-model.h: void ns3::RateErrorModel::DoReset() [member function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1449
    cls.add_method('DoReset', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1450
                   'void', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1451
                   [], 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1452
                   visibility='private', is_virtual=True)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1453
    return
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1454
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1455
def register_functions(root_module):
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1456
    module = root_module
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1457
    ## data-rate.h: extern ns3::Ptr<ns3::AttributeChecker const> ns3::MakeDataRateChecker() [free function]
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1458
    module.add_function('MakeDataRateChecker', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1459
                        'ns3::Ptr< ns3::AttributeChecker const >', 
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1460
                        [])
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1461
    register_functions_ns3_Config(module.get_submodule('Config'), root_module)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1462
    register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1463
    register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
5753
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1464
    register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
5249
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1465
    register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1466
    register_functions_ns3_flame(module.get_submodule('flame'), root_module)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1467
    register_functions_ns3_internal(module.get_submodule('internal'), root_module)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1468
    register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1469
    return
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1470
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1471
def register_functions_ns3_Config(module, root_module):
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1472
    return
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1473
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1474
def register_functions_ns3_TimeStepPrecision(module, root_module):
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1475
    return
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1476
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1477
def register_functions_ns3_addressUtils(module, root_module):
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1478
    return
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1479
5753
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1480
def register_functions_ns3_aodv(module, root_module):
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1481
    return
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1482
5249
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1483
def register_functions_ns3_dot11s(module, root_module):
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1484
    return
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1485
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1486
def register_functions_ns3_flame(module, root_module):
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1487
    return
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1488
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1489
def register_functions_ns3_internal(module, root_module):
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1490
    return
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1491
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1492
def register_functions_ns3_olsr(module, root_module):
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1493
    return
85cde7d987ed Python: allow multiple api definitions directories, one per data model.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
  1494