bindings/python/apidefs/gcc-ILP32/ns3_module_common.py
author Craig Dowell <craigdo@ee.washington.edu>
Wed, 24 Feb 2010 10:00:13 -0800
changeset 6055 18ed08fb4c4a
parent 6053 b17ea72acee9
child 6113 0ce37bf4f1c1
permissions -rw-r--r--
Remove GetTypeId and rescan
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5348
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
     1
from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
     2
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
     3
def register_types(module):
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
     4
    root_module = module.get_root()
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
     5
    
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
     6
    ## error-model.h: ns3::ErrorUnit [enumeration]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
     7
    module.add_enum('ErrorUnit', ['EU_BIT', 'EU_BYTE', 'EU_PKT'])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
     8
    ## buffer.h: ns3::Buffer [class]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
     9
    module.add_class('Buffer')
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
    10
    ## buffer.h: ns3::Buffer::Iterator [class]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
    11
    module.add_class('Iterator', outer_class=root_module['ns3::Buffer'])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
    12
    ## packet.h: ns3::ByteTagIterator [class]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
    13
    module.add_class('ByteTagIterator')
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
    14
    ## packet.h: ns3::ByteTagIterator::Item [class]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
    15
    module.add_class('Item', outer_class=root_module['ns3::ByteTagIterator'])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
    16
    ## byte-tag-list.h: ns3::ByteTagList [class]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
    17
    module.add_class('ByteTagList')
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
    18
    ## byte-tag-list.h: ns3::ByteTagList::Iterator [class]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
    19
    module.add_class('Iterator', outer_class=root_module['ns3::ByteTagList'])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
    20
    ## byte-tag-list.h: ns3::ByteTagList::Iterator::Item [struct]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
    21
    module.add_class('Item', outer_class=root_module['ns3::ByteTagList::Iterator'])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
    22
    ## data-rate.h: ns3::DataRate [class]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
    23
    module.add_class('DataRate')
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
    24
    ## packet-metadata.h: ns3::PacketMetadata [class]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
    25
    module.add_class('PacketMetadata')
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
    26
    ## packet-metadata.h: ns3::PacketMetadata::Item [struct]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
    27
    module.add_class('Item', outer_class=root_module['ns3::PacketMetadata'])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
    28
    ## packet-metadata.h: ns3::PacketMetadata::Item [enumeration]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
    29
    module.add_enum('', ['PAYLOAD', 'HEADER', 'TRAILER'], outer_class=root_module['ns3::PacketMetadata::Item'])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
    30
    ## packet-metadata.h: ns3::PacketMetadata::ItemIterator [class]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
    31
    module.add_class('ItemIterator', outer_class=root_module['ns3::PacketMetadata'])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
    32
    ## packet.h: ns3::PacketTagIterator [class]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
    33
    module.add_class('PacketTagIterator')
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
    34
    ## packet.h: ns3::PacketTagIterator::Item [class]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
    35
    module.add_class('Item', outer_class=root_module['ns3::PacketTagIterator'])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
    36
    ## packet-tag-list.h: ns3::PacketTagList [class]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
    37
    module.add_class('PacketTagList')
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
    38
    ## packet-tag-list.h: ns3::PacketTagList::TagData [struct]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
    39
    module.add_class('TagData', outer_class=root_module['ns3::PacketTagList'])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
    40
    ## pcap-file.h: ns3::PcapFile [class]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
    41
    module.add_class('PcapFile')
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
    42
    ## tag.h: ns3::Tag [class]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
    43
    module.add_class('Tag', parent=root_module['ns3::ObjectBase'])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
    44
    ## tag-buffer.h: ns3::TagBuffer [class]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
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'])
6052
e146b9c9c7e7 PcapFileObject to PcapFileWrapper
Craig Dowell <craigdo@ee.washington.edu>
parents: 6050
diff changeset
    50
    ## pcap-file-wrapper.h: ns3::PcapFileWrapper [class]
e146b9c9c7e7 PcapFileObject to PcapFileWrapper
Craig Dowell <craigdo@ee.washington.edu>
parents: 6050
diff changeset
    51
    module.add_class('PcapFileWrapper', parent=root_module['ns3::Object'])
5982
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
    52
    ## propagation-delay-model.h: ns3::PropagationDelayModel [class]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
    53
    module.add_class('PropagationDelayModel', parent=root_module['ns3::Object'])
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
    54
    ## propagation-loss-model.h: ns3::PropagationLossModel [class]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
    55
    module.add_class('PropagationLossModel', parent=root_module['ns3::Object'])
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
    56
    ## propagation-delay-model.h: ns3::RandomPropagationDelayModel [class]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
    57
    module.add_class('RandomPropagationDelayModel', parent=root_module['ns3::PropagationDelayModel'])
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
    58
    ## propagation-loss-model.h: ns3::RandomPropagationLossModel [class]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
    59
    module.add_class('RandomPropagationLossModel', parent=root_module['ns3::PropagationLossModel'])
6053
b17ea72acee9 OutputStreamKeeper to OutputStreamWrapper
Craig Dowell <craigdo@ee.washington.edu>
parents: 6052
diff changeset
    60
    ## simple-ref-count.h: ns3::SimpleRefCount<ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter<ns3::OutputStreamWrapper> > [class]
b17ea72acee9 OutputStreamKeeper to OutputStreamWrapper
Craig Dowell <craigdo@ee.washington.edu>
parents: 6052
diff changeset
    61
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::OutputStreamWrapper', 'ns3::empty', 'ns3::DefaultDeleter<ns3::OutputStreamWrapper>'], 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
    62
    ## 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
    63
    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'))
5982
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
    64
    ## propagation-loss-model.h: ns3::ThreeLogDistancePropagationLossModel [class]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
    65
    module.add_class('ThreeLogDistancePropagationLossModel', parent=root_module['ns3::PropagationLossModel'])
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
    66
    ## 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
    67
    module.add_class('Trailer', parent=root_module['ns3::Chunk'])
5982
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
    68
    ## propagation-loss-model.h: ns3::TwoRayGroundPropagationLossModel [class]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
    69
    module.add_class('TwoRayGroundPropagationLossModel', parent=root_module['ns3::PropagationLossModel'])
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
    70
    ## propagation-delay-model.h: ns3::ConstantSpeedPropagationDelayModel [class]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
    71
    module.add_class('ConstantSpeedPropagationDelayModel', parent=root_module['ns3::PropagationDelayModel'])
5348
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
    72
    ## data-rate.h: ns3::DataRateChecker [class]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
    73
    module.add_class('DataRateChecker', parent=root_module['ns3::AttributeChecker'])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
    74
    ## data-rate.h: ns3::DataRateValue [class]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
    75
    module.add_class('DataRateValue', parent=root_module['ns3::AttributeValue'])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
    76
    ## error-model.h: ns3::ErrorModel [class]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
    77
    module.add_class('ErrorModel', parent=root_module['ns3::Object'])
5982
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
    78
    ## propagation-loss-model.h: ns3::FixedRssLossModel [class]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
    79
    module.add_class('FixedRssLossModel', parent=root_module['ns3::PropagationLossModel'])
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
    80
    ## propagation-loss-model.h: ns3::FriisPropagationLossModel [class]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
    81
    module.add_class('FriisPropagationLossModel', parent=root_module['ns3::PropagationLossModel'])
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
    82
    ## jakes-propagation-loss-model.h: ns3::JakesPropagationLossModel [class]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
    83
    module.add_class('JakesPropagationLossModel', parent=root_module['ns3::PropagationLossModel'])
5348
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
    84
    ## error-model.h: ns3::ListErrorModel [class]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
    85
    module.add_class('ListErrorModel', parent=root_module['ns3::ErrorModel'])
5982
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
    86
    ## propagation-loss-model.h: ns3::LogDistancePropagationLossModel [class]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
    87
    module.add_class('LogDistancePropagationLossModel', parent=root_module['ns3::PropagationLossModel'])
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
    88
    ## propagation-loss-model.h: ns3::NakagamiPropagationLossModel [class]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
    89
    module.add_class('NakagamiPropagationLossModel', parent=root_module['ns3::PropagationLossModel'])
5348
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
    90
    ## nix-vector.h: ns3::NixVector [class]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
    91
    module.add_class('NixVector', parent=root_module['ns3::Object'])
6053
b17ea72acee9 OutputStreamKeeper to OutputStreamWrapper
Craig Dowell <craigdo@ee.washington.edu>
parents: 6052
diff changeset
    92
    ## output-stream-wrapper.h: ns3::OutputStreamWrapper [class]
b17ea72acee9 OutputStreamKeeper to OutputStreamWrapper
Craig Dowell <craigdo@ee.washington.edu>
parents: 6052
diff changeset
    93
    module.add_class('OutputStreamWrapper', parent=root_module['ns3::SimpleRefCount< ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter<ns3::OutputStreamWrapper> >'])
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
    94
    ## packet.h: ns3::Packet [class]
5881
edfb6efba4cd rescan python
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5841
diff changeset
    95
    module.add_class('Packet', parent=root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >'])
5348
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
    96
    ## error-model.h: ns3::RateErrorModel [class]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
    97
    module.add_class('RateErrorModel', parent=root_module['ns3::ErrorModel'])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
    98
    
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
    99
    ## Register a nested module for the namespace Config
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   100
    
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   101
    nested_module = module.add_cpp_namespace('Config')
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   102
    register_types_ns3_Config(nested_module)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   103
    
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   104
    
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   105
    ## Register a nested module for the namespace TimeStepPrecision
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   106
    
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   107
    nested_module = module.add_cpp_namespace('TimeStepPrecision')
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   108
    register_types_ns3_TimeStepPrecision(nested_module)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   109
    
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   110
    
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   111
    ## Register a nested module for the namespace addressUtils
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   112
    
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   113
    nested_module = module.add_cpp_namespace('addressUtils')
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   114
    register_types_ns3_addressUtils(nested_module)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   115
    
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   116
    
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
   117
    ## 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
   118
    
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
   119
    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
   120
    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
   121
    
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
   122
    
5348
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   123
    ## Register a nested module for the namespace dot11s
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   124
    
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   125
    nested_module = module.add_cpp_namespace('dot11s')
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   126
    register_types_ns3_dot11s(nested_module)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   127
    
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   128
    
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   129
    ## Register a nested module for the namespace flame
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   130
    
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   131
    nested_module = module.add_cpp_namespace('flame')
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   132
    register_types_ns3_flame(nested_module)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   133
    
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   134
    
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   135
    ## Register a nested module for the namespace internal
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   136
    
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   137
    nested_module = module.add_cpp_namespace('internal')
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   138
    register_types_ns3_internal(nested_module)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   139
    
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   140
    
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   141
    ## Register a nested module for the namespace olsr
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   142
    
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   143
    nested_module = module.add_cpp_namespace('olsr')
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   144
    register_types_ns3_olsr(nested_module)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   145
    
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   146
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   147
def register_types_ns3_Config(module):
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   148
    root_module = module.get_root()
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   149
    
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   150
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   151
def register_types_ns3_TimeStepPrecision(module):
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   152
    root_module = module.get_root()
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   153
    
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   154
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   155
def register_types_ns3_addressUtils(module):
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   156
    root_module = module.get_root()
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   157
    
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   158
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
   159
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
   160
    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
   161
    
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
   162
5348
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   163
def register_types_ns3_dot11s(module):
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   164
    root_module = module.get_root()
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   165
    
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   166
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   167
def register_types_ns3_flame(module):
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   168
    root_module = module.get_root()
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   169
    
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   170
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   171
def register_types_ns3_internal(module):
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   172
    root_module = module.get_root()
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   173
    
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   174
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   175
def register_types_ns3_olsr(module):
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   176
    root_module = module.get_root()
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   177
    
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   178
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   179
def register_methods(root_module):
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   180
    register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer'])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   181
    register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator'])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   182
    register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator'])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   183
    register_Ns3ByteTagIteratorItem_methods(root_module, root_module['ns3::ByteTagIterator::Item'])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   184
    register_Ns3ByteTagList_methods(root_module, root_module['ns3::ByteTagList'])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   185
    register_Ns3ByteTagListIterator_methods(root_module, root_module['ns3::ByteTagList::Iterator'])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   186
    register_Ns3ByteTagListIteratorItem_methods(root_module, root_module['ns3::ByteTagList::Iterator::Item'])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   187
    register_Ns3DataRate_methods(root_module, root_module['ns3::DataRate'])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   188
    register_Ns3PacketMetadata_methods(root_module, root_module['ns3::PacketMetadata'])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   189
    register_Ns3PacketMetadataItem_methods(root_module, root_module['ns3::PacketMetadata::Item'])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   190
    register_Ns3PacketMetadataItemIterator_methods(root_module, root_module['ns3::PacketMetadata::ItemIterator'])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   191
    register_Ns3PacketTagIterator_methods(root_module, root_module['ns3::PacketTagIterator'])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   192
    register_Ns3PacketTagIteratorItem_methods(root_module, root_module['ns3::PacketTagIterator::Item'])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   193
    register_Ns3PacketTagList_methods(root_module, root_module['ns3::PacketTagList'])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   194
    register_Ns3PacketTagListTagData_methods(root_module, root_module['ns3::PacketTagList::TagData'])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   195
    register_Ns3PcapFile_methods(root_module, root_module['ns3::PcapFile'])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   196
    register_Ns3Tag_methods(root_module, root_module['ns3::Tag'])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   197
    register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer'])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   198
    register_Ns3Chunk_methods(root_module, root_module['ns3::Chunk'])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   199
    register_Ns3Header_methods(root_module, root_module['ns3::Header'])
6052
e146b9c9c7e7 PcapFileObject to PcapFileWrapper
Craig Dowell <craigdo@ee.washington.edu>
parents: 6050
diff changeset
   200
    register_Ns3PcapFileWrapper_methods(root_module, root_module['ns3::PcapFileWrapper'])
5982
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
   201
    register_Ns3PropagationDelayModel_methods(root_module, root_module['ns3::PropagationDelayModel'])
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
   202
    register_Ns3PropagationLossModel_methods(root_module, root_module['ns3::PropagationLossModel'])
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
   203
    register_Ns3RandomPropagationDelayModel_methods(root_module, root_module['ns3::RandomPropagationDelayModel'])
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
   204
    register_Ns3RandomPropagationLossModel_methods(root_module, root_module['ns3::RandomPropagationLossModel'])
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
   205
    register_Ns3ThreeLogDistancePropagationLossModel_methods(root_module, root_module['ns3::ThreeLogDistancePropagationLossModel'])
5348
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   206
    register_Ns3Trailer_methods(root_module, root_module['ns3::Trailer'])
5982
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
   207
    register_Ns3TwoRayGroundPropagationLossModel_methods(root_module, root_module['ns3::TwoRayGroundPropagationLossModel'])
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
   208
    register_Ns3ConstantSpeedPropagationDelayModel_methods(root_module, root_module['ns3::ConstantSpeedPropagationDelayModel'])
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
   209
    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
   210
    register_Ns3DataRateValue_methods(root_module, root_module['ns3::DataRateValue'])
5348
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   211
    register_Ns3ErrorModel_methods(root_module, root_module['ns3::ErrorModel'])
5982
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
   212
    register_Ns3FixedRssLossModel_methods(root_module, root_module['ns3::FixedRssLossModel'])
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
   213
    register_Ns3FriisPropagationLossModel_methods(root_module, root_module['ns3::FriisPropagationLossModel'])
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
   214
    register_Ns3JakesPropagationLossModel_methods(root_module, root_module['ns3::JakesPropagationLossModel'])
5348
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   215
    register_Ns3ListErrorModel_methods(root_module, root_module['ns3::ListErrorModel'])
5982
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
   216
    register_Ns3LogDistancePropagationLossModel_methods(root_module, root_module['ns3::LogDistancePropagationLossModel'])
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
   217
    register_Ns3NakagamiPropagationLossModel_methods(root_module, root_module['ns3::NakagamiPropagationLossModel'])
5348
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   218
    register_Ns3NixVector_methods(root_module, root_module['ns3::NixVector'])
6053
b17ea72acee9 OutputStreamKeeper to OutputStreamWrapper
Craig Dowell <craigdo@ee.washington.edu>
parents: 6052
diff changeset
   219
    register_Ns3OutputStreamWrapper_methods(root_module, root_module['ns3::OutputStreamWrapper'])
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
   220
    register_Ns3Packet_methods(root_module, root_module['ns3::Packet'])
5348
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   221
    register_Ns3RateErrorModel_methods(root_module, root_module['ns3::RateErrorModel'])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   222
    return
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   223
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   224
def register_Ns3Buffer_methods(root_module, cls):
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   225
    ## buffer.h: ns3::Buffer::Buffer(ns3::Buffer const & o) [copy constructor]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   226
    cls.add_constructor([param('ns3::Buffer const &', 'o')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   227
    ## buffer.h: ns3::Buffer::Buffer() [constructor]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   228
    cls.add_constructor([])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   229
    ## buffer.h: ns3::Buffer::Buffer(uint32_t dataSize) [constructor]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   230
    cls.add_constructor([param('uint32_t', 'dataSize')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   231
    ## buffer.h: bool ns3::Buffer::AddAtEnd(uint32_t end) [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   232
    cls.add_method('AddAtEnd', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   233
                   'bool', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   234
                   [param('uint32_t', 'end')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   235
    ## buffer.h: void ns3::Buffer::AddAtEnd(ns3::Buffer const & o) [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   236
    cls.add_method('AddAtEnd', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   237
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   238
                   [param('ns3::Buffer const &', 'o')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   239
    ## buffer.h: bool ns3::Buffer::AddAtStart(uint32_t start) [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   240
    cls.add_method('AddAtStart', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   241
                   'bool', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   242
                   [param('uint32_t', 'start')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   243
    ## buffer.h: ns3::Buffer::Iterator ns3::Buffer::Begin() const [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   244
    cls.add_method('Begin', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   245
                   'ns3::Buffer::Iterator', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   246
                   [], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   247
                   is_const=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   248
    ## buffer.h: void ns3::Buffer::CopyData(std::ostream * os, uint32_t size) const [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   249
    cls.add_method('CopyData', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   250
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   251
                   [param('std::ostream *', 'os'), param('uint32_t', 'size')], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   252
                   is_const=True)
5941
0731d1f144a1 Rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5881
diff changeset
   253
    ## buffer.h: uint32_t ns3::Buffer::CopyData(uint8_t * buffer, uint32_t size) const [member function]
0731d1f144a1 Rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5881
diff changeset
   254
    cls.add_method('CopyData', 
0731d1f144a1 Rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5881
diff changeset
   255
                   'uint32_t', 
0731d1f144a1 Rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5881
diff changeset
   256
                   [param('uint8_t *', 'buffer'), param('uint32_t', 'size')], 
0731d1f144a1 Rescan python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5881
diff changeset
   257
                   is_const=True)
5348
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   258
    ## buffer.h: ns3::Buffer ns3::Buffer::CreateFragment(uint32_t start, uint32_t length) const [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   259
    cls.add_method('CreateFragment', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   260
                   'ns3::Buffer', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   261
                   [param('uint32_t', 'start'), param('uint32_t', 'length')], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   262
                   is_const=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   263
    ## buffer.h: ns3::Buffer ns3::Buffer::CreateFullCopy() const [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   264
    cls.add_method('CreateFullCopy', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   265
                   'ns3::Buffer', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   266
                   [], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   267
                   is_const=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   268
    ## buffer.h: ns3::Buffer::Iterator ns3::Buffer::End() const [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   269
    cls.add_method('End', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   270
                   'ns3::Buffer::Iterator', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   271
                   [], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   272
                   is_const=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   273
    ## buffer.h: int32_t ns3::Buffer::GetCurrentEndOffset() const [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   274
    cls.add_method('GetCurrentEndOffset', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   275
                   'int32_t', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   276
                   [], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   277
                   is_const=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   278
    ## buffer.h: int32_t ns3::Buffer::GetCurrentStartOffset() const [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   279
    cls.add_method('GetCurrentStartOffset', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   280
                   'int32_t', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   281
                   [], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   282
                   is_const=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   283
    ## buffer.h: uint32_t ns3::Buffer::GetSize() const [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   284
    cls.add_method('GetSize', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   285
                   'uint32_t', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   286
                   [], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   287
                   is_const=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   288
    ## buffer.h: uint8_t const * ns3::Buffer::PeekData() const [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   289
    cls.add_method('PeekData', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   290
                   'uint8_t const *', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   291
                   [], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   292
                   is_const=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   293
    ## buffer.h: void ns3::Buffer::RemoveAtEnd(uint32_t end) [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   294
    cls.add_method('RemoveAtEnd', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   295
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   296
                   [param('uint32_t', 'end')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   297
    ## buffer.h: void ns3::Buffer::RemoveAtStart(uint32_t start) [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   298
    cls.add_method('RemoveAtStart', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   299
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   300
                   [param('uint32_t', 'start')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   301
    return
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   302
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   303
def register_Ns3BufferIterator_methods(root_module, cls):
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   304
    ## buffer.h: ns3::Buffer::Iterator::Iterator(ns3::Buffer::Iterator const & arg0) [copy constructor]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   305
    cls.add_constructor([param('ns3::Buffer::Iterator const &', 'arg0')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   306
    ## buffer.h: ns3::Buffer::Iterator::Iterator() [constructor]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   307
    cls.add_constructor([])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   308
    ## buffer.h: uint16_t ns3::Buffer::Iterator::CalculateIpChecksum(uint16_t size) [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   309
    cls.add_method('CalculateIpChecksum', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   310
                   'uint16_t', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   311
                   [param('uint16_t', 'size')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   312
    ## buffer.h: uint16_t ns3::Buffer::Iterator::CalculateIpChecksum(uint16_t size, uint32_t initialChecksum) [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   313
    cls.add_method('CalculateIpChecksum', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   314
                   'uint16_t', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   315
                   [param('uint16_t', 'size'), param('uint32_t', 'initialChecksum')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   316
    ## buffer.h: uint32_t ns3::Buffer::Iterator::GetDistanceFrom(ns3::Buffer::Iterator const & o) const [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   317
    cls.add_method('GetDistanceFrom', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   318
                   'uint32_t', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   319
                   [param('ns3::Buffer::Iterator const &', 'o')], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   320
                   is_const=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   321
    ## buffer.h: uint32_t ns3::Buffer::Iterator::GetSize() const [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   322
    cls.add_method('GetSize', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   323
                   'uint32_t', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   324
                   [], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   325
                   is_const=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   326
    ## buffer.h: bool ns3::Buffer::Iterator::IsEnd() const [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   327
    cls.add_method('IsEnd', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   328
                   'bool', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   329
                   [], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   330
                   is_const=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   331
    ## buffer.h: bool ns3::Buffer::Iterator::IsStart() const [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   332
    cls.add_method('IsStart', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   333
                   'bool', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   334
                   [], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   335
                   is_const=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   336
    ## buffer.h: void ns3::Buffer::Iterator::Next() [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   337
    cls.add_method('Next', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   338
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   339
                   [])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   340
    ## buffer.h: void ns3::Buffer::Iterator::Next(uint32_t delta) [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   341
    cls.add_method('Next', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   342
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   343
                   [param('uint32_t', 'delta')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   344
    ## buffer.h: void ns3::Buffer::Iterator::Prev() [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   345
    cls.add_method('Prev', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   346
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   347
                   [])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   348
    ## buffer.h: void ns3::Buffer::Iterator::Prev(uint32_t delta) [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   349
    cls.add_method('Prev', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   350
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   351
                   [param('uint32_t', 'delta')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   352
    ## buffer.h: void ns3::Buffer::Iterator::Read(uint8_t * buffer, uint32_t size) [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   353
    cls.add_method('Read', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   354
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   355
                   [param('uint8_t *', 'buffer'), param('uint32_t', 'size')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   356
    ## buffer.h: uint16_t ns3::Buffer::Iterator::ReadLsbtohU16() [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   357
    cls.add_method('ReadLsbtohU16', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   358
                   'uint16_t', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   359
                   [])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   360
    ## buffer.h: uint32_t ns3::Buffer::Iterator::ReadLsbtohU32() [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   361
    cls.add_method('ReadLsbtohU32', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   362
                   'uint32_t', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   363
                   [])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   364
    ## buffer.h: uint64_t ns3::Buffer::Iterator::ReadLsbtohU64() [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   365
    cls.add_method('ReadLsbtohU64', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   366
                   'uint64_t', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   367
                   [])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   368
    ## buffer.h: uint16_t ns3::Buffer::Iterator::ReadNtohU16() [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   369
    cls.add_method('ReadNtohU16', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   370
                   'uint16_t', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   371
                   [])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   372
    ## buffer.h: uint32_t ns3::Buffer::Iterator::ReadNtohU32() [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   373
    cls.add_method('ReadNtohU32', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   374
                   'uint32_t', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   375
                   [])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   376
    ## buffer.h: uint64_t ns3::Buffer::Iterator::ReadNtohU64() [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   377
    cls.add_method('ReadNtohU64', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   378
                   'uint64_t', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   379
                   [])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   380
    ## buffer.h: uint16_t ns3::Buffer::Iterator::ReadU16() [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   381
    cls.add_method('ReadU16', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   382
                   'uint16_t', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   383
                   [])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   384
    ## buffer.h: uint32_t ns3::Buffer::Iterator::ReadU32() [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   385
    cls.add_method('ReadU32', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   386
                   'uint32_t', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   387
                   [])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   388
    ## buffer.h: uint64_t ns3::Buffer::Iterator::ReadU64() [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   389
    cls.add_method('ReadU64', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   390
                   'uint64_t', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   391
                   [])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   392
    ## buffer.h: uint8_t ns3::Buffer::Iterator::ReadU8() [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   393
    cls.add_method('ReadU8', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   394
                   'uint8_t', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   395
                   [])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   396
    ## buffer.h: void ns3::Buffer::Iterator::Write(uint8_t const * buffer, uint32_t size) [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   397
    cls.add_method('Write', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   398
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   399
                   [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   400
    ## buffer.h: void ns3::Buffer::Iterator::Write(ns3::Buffer::Iterator start, ns3::Buffer::Iterator end) [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   401
    cls.add_method('Write', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   402
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   403
                   [param('ns3::Buffer::Iterator', 'start'), param('ns3::Buffer::Iterator', 'end')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   404
    ## buffer.h: void ns3::Buffer::Iterator::WriteHtolsbU16(uint16_t data) [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   405
    cls.add_method('WriteHtolsbU16', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   406
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   407
                   [param('uint16_t', 'data')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   408
    ## buffer.h: void ns3::Buffer::Iterator::WriteHtolsbU32(uint32_t data) [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   409
    cls.add_method('WriteHtolsbU32', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   410
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   411
                   [param('uint32_t', 'data')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   412
    ## buffer.h: void ns3::Buffer::Iterator::WriteHtolsbU64(uint64_t data) [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   413
    cls.add_method('WriteHtolsbU64', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   414
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   415
                   [param('uint64_t', 'data')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   416
    ## buffer.h: void ns3::Buffer::Iterator::WriteHtonU16(uint16_t data) [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   417
    cls.add_method('WriteHtonU16', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   418
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   419
                   [param('uint16_t', 'data')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   420
    ## buffer.h: void ns3::Buffer::Iterator::WriteHtonU32(uint32_t data) [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   421
    cls.add_method('WriteHtonU32', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   422
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   423
                   [param('uint32_t', 'data')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   424
    ## buffer.h: void ns3::Buffer::Iterator::WriteHtonU64(uint64_t data) [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   425
    cls.add_method('WriteHtonU64', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   426
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   427
                   [param('uint64_t', 'data')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   428
    ## buffer.h: void ns3::Buffer::Iterator::WriteU16(uint16_t data) [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   429
    cls.add_method('WriteU16', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   430
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   431
                   [param('uint16_t', 'data')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   432
    ## buffer.h: void ns3::Buffer::Iterator::WriteU32(uint32_t data) [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   433
    cls.add_method('WriteU32', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   434
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   435
                   [param('uint32_t', 'data')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   436
    ## buffer.h: void ns3::Buffer::Iterator::WriteU64(uint64_t data) [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   437
    cls.add_method('WriteU64', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   438
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   439
                   [param('uint64_t', 'data')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   440
    ## buffer.h: void ns3::Buffer::Iterator::WriteU8(uint8_t data) [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   441
    cls.add_method('WriteU8', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   442
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   443
                   [param('uint8_t', 'data')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   444
    ## buffer.h: void ns3::Buffer::Iterator::WriteU8(uint8_t data, uint32_t len) [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   445
    cls.add_method('WriteU8', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   446
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   447
                   [param('uint8_t', 'data'), param('uint32_t', 'len')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   448
    return
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   449
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   450
def register_Ns3ByteTagIterator_methods(root_module, cls):
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   451
    ## packet.h: ns3::ByteTagIterator::ByteTagIterator(ns3::ByteTagIterator const & arg0) [copy constructor]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   452
    cls.add_constructor([param('ns3::ByteTagIterator const &', 'arg0')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   453
    ## packet.h: bool ns3::ByteTagIterator::HasNext() const [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   454
    cls.add_method('HasNext', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   455
                   'bool', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   456
                   [], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   457
                   is_const=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   458
    ## packet.h: ns3::ByteTagIterator::Item ns3::ByteTagIterator::Next() [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   459
    cls.add_method('Next', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   460
                   'ns3::ByteTagIterator::Item', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   461
                   [])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   462
    return
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   463
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   464
def register_Ns3ByteTagIteratorItem_methods(root_module, cls):
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   465
    ## packet.h: ns3::ByteTagIterator::Item::Item(ns3::ByteTagIterator::Item const & arg0) [copy constructor]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   466
    cls.add_constructor([param('ns3::ByteTagIterator::Item const &', 'arg0')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   467
    ## packet.h: uint32_t ns3::ByteTagIterator::Item::GetEnd() const [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   468
    cls.add_method('GetEnd', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   469
                   'uint32_t', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   470
                   [], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   471
                   is_const=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   472
    ## packet.h: uint32_t ns3::ByteTagIterator::Item::GetStart() const [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   473
    cls.add_method('GetStart', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   474
                   'uint32_t', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   475
                   [], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   476
                   is_const=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   477
    ## packet.h: void ns3::ByteTagIterator::Item::GetTag(ns3::Tag & tag) const [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   478
    cls.add_method('GetTag', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   479
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   480
                   [param('ns3::Tag &', 'tag')], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   481
                   is_const=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   482
    ## packet.h: ns3::TypeId ns3::ByteTagIterator::Item::GetTypeId() const [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   483
    cls.add_method('GetTypeId', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   484
                   'ns3::TypeId', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   485
                   [], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   486
                   is_const=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   487
    return
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   488
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   489
def register_Ns3ByteTagList_methods(root_module, cls):
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   490
    ## byte-tag-list.h: ns3::ByteTagList::ByteTagList() [constructor]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   491
    cls.add_constructor([])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   492
    ## byte-tag-list.h: ns3::ByteTagList::ByteTagList(ns3::ByteTagList const & o) [copy constructor]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   493
    cls.add_constructor([param('ns3::ByteTagList const &', 'o')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   494
    ## byte-tag-list.h: ns3::TagBuffer ns3::ByteTagList::Add(ns3::TypeId tid, uint32_t bufferSize, int32_t start, int32_t end) [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   495
    cls.add_method('Add', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   496
                   'ns3::TagBuffer', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   497
                   [param('ns3::TypeId', 'tid'), param('uint32_t', 'bufferSize'), param('int32_t', 'start'), param('int32_t', 'end')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   498
    ## byte-tag-list.h: void ns3::ByteTagList::Add(ns3::ByteTagList const & o) [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   499
    cls.add_method('Add', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   500
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   501
                   [param('ns3::ByteTagList const &', 'o')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   502
    ## byte-tag-list.h: void ns3::ByteTagList::AddAtEnd(int32_t adjustment, int32_t appendOffset) [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   503
    cls.add_method('AddAtEnd', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   504
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   505
                   [param('int32_t', 'adjustment'), param('int32_t', 'appendOffset')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   506
    ## byte-tag-list.h: void ns3::ByteTagList::AddAtStart(int32_t adjustment, int32_t prependOffset) [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   507
    cls.add_method('AddAtStart', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   508
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   509
                   [param('int32_t', 'adjustment'), param('int32_t', 'prependOffset')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   510
    ## byte-tag-list.h: ns3::ByteTagList::Iterator ns3::ByteTagList::Begin(int32_t offsetStart, int32_t offsetEnd) const [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   511
    cls.add_method('Begin', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   512
                   'ns3::ByteTagList::Iterator', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   513
                   [param('int32_t', 'offsetStart'), param('int32_t', 'offsetEnd')], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   514
                   is_const=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   515
    ## byte-tag-list.h: void ns3::ByteTagList::RemoveAll() [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   516
    cls.add_method('RemoveAll', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   517
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   518
                   [])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   519
    return
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   520
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   521
def register_Ns3ByteTagListIterator_methods(root_module, cls):
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   522
    ## byte-tag-list.h: ns3::ByteTagList::Iterator::Iterator(ns3::ByteTagList::Iterator const & arg0) [copy constructor]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   523
    cls.add_constructor([param('ns3::ByteTagList::Iterator const &', 'arg0')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   524
    ## byte-tag-list.h: uint32_t ns3::ByteTagList::Iterator::GetOffsetStart() const [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   525
    cls.add_method('GetOffsetStart', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   526
                   'uint32_t', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   527
                   [], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   528
                   is_const=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   529
    ## byte-tag-list.h: bool ns3::ByteTagList::Iterator::HasNext() const [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   530
    cls.add_method('HasNext', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   531
                   'bool', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   532
                   [], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   533
                   is_const=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   534
    ## byte-tag-list.h: ns3::ByteTagList::Iterator::Item ns3::ByteTagList::Iterator::Next() [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   535
    cls.add_method('Next', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   536
                   'ns3::ByteTagList::Iterator::Item', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   537
                   [])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   538
    return
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   539
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   540
def register_Ns3ByteTagListIteratorItem_methods(root_module, cls):
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   541
    ## byte-tag-list.h: ns3::ByteTagList::Iterator::Item::Item(ns3::ByteTagList::Iterator::Item const & arg0) [copy constructor]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   542
    cls.add_constructor([param('ns3::ByteTagList::Iterator::Item const &', 'arg0')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   543
    ## byte-tag-list.h: ns3::ByteTagList::Iterator::Item::Item(ns3::TagBuffer buf) [constructor]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   544
    cls.add_constructor([param('ns3::TagBuffer', 'buf')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   545
    ## byte-tag-list.h: ns3::ByteTagList::Iterator::Item::buf [variable]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   546
    cls.add_instance_attribute('buf', 'ns3::TagBuffer', is_const=False)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   547
    ## byte-tag-list.h: ns3::ByteTagList::Iterator::Item::end [variable]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   548
    cls.add_instance_attribute('end', 'int32_t', is_const=False)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   549
    ## byte-tag-list.h: ns3::ByteTagList::Iterator::Item::size [variable]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   550
    cls.add_instance_attribute('size', 'uint32_t', is_const=False)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   551
    ## byte-tag-list.h: ns3::ByteTagList::Iterator::Item::start [variable]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   552
    cls.add_instance_attribute('start', 'int32_t', is_const=False)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   553
    ## byte-tag-list.h: ns3::ByteTagList::Iterator::Item::tid [variable]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   554
    cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   555
    return
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   556
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   557
def register_Ns3DataRate_methods(root_module, cls):
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   558
    cls.add_output_stream_operator()
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   559
    cls.add_binary_comparison_operator('!=')
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   560
    cls.add_binary_comparison_operator('<')
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   561
    cls.add_binary_comparison_operator('<=')
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   562
    cls.add_binary_comparison_operator('==')
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   563
    cls.add_binary_comparison_operator('>')
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   564
    cls.add_binary_comparison_operator('>=')
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   565
    ## data-rate.h: ns3::DataRate::DataRate(ns3::DataRate const & arg0) [copy constructor]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   566
    cls.add_constructor([param('ns3::DataRate const &', 'arg0')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   567
    ## data-rate.h: ns3::DataRate::DataRate() [constructor]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   568
    cls.add_constructor([])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   569
    ## data-rate.h: ns3::DataRate::DataRate(uint64_t bps) [constructor]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   570
    cls.add_constructor([param('uint64_t', 'bps')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   571
    ## data-rate.h: ns3::DataRate::DataRate(std::string rate) [constructor]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   572
    cls.add_constructor([param('std::string', 'rate')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   573
    ## data-rate.h: double ns3::DataRate::CalculateTxTime(uint32_t bytes) const [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   574
    cls.add_method('CalculateTxTime', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   575
                   'double', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   576
                   [param('uint32_t', 'bytes')], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   577
                   is_const=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   578
    ## data-rate.h: uint64_t ns3::DataRate::GetBitRate() const [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   579
    cls.add_method('GetBitRate', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   580
                   'uint64_t', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   581
                   [], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   582
                   is_const=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   583
    return
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   584
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   585
def register_Ns3PacketMetadata_methods(root_module, cls):
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   586
    ## packet-metadata.h: ns3::PacketMetadata::PacketMetadata(uint32_t uid, uint32_t size) [constructor]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   587
    cls.add_constructor([param('uint32_t', 'uid'), param('uint32_t', 'size')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   588
    ## packet-metadata.h: ns3::PacketMetadata::PacketMetadata(ns3::PacketMetadata const & o) [copy constructor]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   589
    cls.add_constructor([param('ns3::PacketMetadata const &', 'o')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   590
    ## packet-metadata.h: void ns3::PacketMetadata::AddAtEnd(ns3::PacketMetadata const & o) [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   591
    cls.add_method('AddAtEnd', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   592
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   593
                   [param('ns3::PacketMetadata const &', 'o')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   594
    ## packet-metadata.h: void ns3::PacketMetadata::AddHeader(ns3::Header const & header, uint32_t size) [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   595
    cls.add_method('AddHeader', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   596
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   597
                   [param('ns3::Header const &', 'header'), param('uint32_t', 'size')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   598
    ## packet-metadata.h: void ns3::PacketMetadata::AddPaddingAtEnd(uint32_t end) [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   599
    cls.add_method('AddPaddingAtEnd', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   600
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   601
                   [param('uint32_t', 'end')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   602
    ## packet-metadata.h: void ns3::PacketMetadata::AddTrailer(ns3::Trailer const & trailer, uint32_t size) [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   603
    cls.add_method('AddTrailer', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   604
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   605
                   [param('ns3::Trailer const &', 'trailer'), param('uint32_t', 'size')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   606
    ## packet-metadata.h: ns3::PacketMetadata::ItemIterator ns3::PacketMetadata::BeginItem(ns3::Buffer buffer) const [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   607
    cls.add_method('BeginItem', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   608
                   'ns3::PacketMetadata::ItemIterator', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   609
                   [param('ns3::Buffer', 'buffer')], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   610
                   is_const=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   611
    ## packet-metadata.h: ns3::PacketMetadata ns3::PacketMetadata::CreateFragment(uint32_t start, uint32_t end) const [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   612
    cls.add_method('CreateFragment', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   613
                   'ns3::PacketMetadata', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   614
                   [param('uint32_t', 'start'), param('uint32_t', 'end')], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   615
                   is_const=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   616
    ## packet-metadata.h: uint32_t ns3::PacketMetadata::Deserialize(ns3::Buffer::Iterator i) [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   617
    cls.add_method('Deserialize', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   618
                   'uint32_t', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   619
                   [param('ns3::Buffer::Iterator', 'i')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   620
    ## packet-metadata.h: static void ns3::PacketMetadata::Enable() [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   621
    cls.add_method('Enable', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   622
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   623
                   [], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   624
                   is_static=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   625
    ## packet-metadata.h: static void ns3::PacketMetadata::EnableChecking() [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   626
    cls.add_method('EnableChecking', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   627
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   628
                   [], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   629
                   is_static=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   630
    ## packet-metadata.h: uint32_t ns3::PacketMetadata::GetSerializedSize() const [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   631
    cls.add_method('GetSerializedSize', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   632
                   'uint32_t', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   633
                   [], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   634
                   is_const=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   635
    ## packet-metadata.h: uint32_t ns3::PacketMetadata::GetUid() const [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   636
    cls.add_method('GetUid', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   637
                   'uint32_t', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   638
                   [], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   639
                   is_const=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   640
    ## packet-metadata.h: void ns3::PacketMetadata::RemoveAtEnd(uint32_t end) [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   641
    cls.add_method('RemoveAtEnd', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   642
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   643
                   [param('uint32_t', 'end')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   644
    ## packet-metadata.h: void ns3::PacketMetadata::RemoveAtStart(uint32_t start) [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   645
    cls.add_method('RemoveAtStart', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   646
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   647
                   [param('uint32_t', 'start')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   648
    ## packet-metadata.h: void ns3::PacketMetadata::RemoveHeader(ns3::Header const & header, uint32_t size) [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   649
    cls.add_method('RemoveHeader', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   650
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   651
                   [param('ns3::Header const &', 'header'), param('uint32_t', 'size')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   652
    ## packet-metadata.h: void ns3::PacketMetadata::RemoveTrailer(ns3::Trailer const & trailer, uint32_t size) [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   653
    cls.add_method('RemoveTrailer', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   654
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   655
                   [param('ns3::Trailer const &', 'trailer'), param('uint32_t', 'size')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   656
    ## packet-metadata.h: void ns3::PacketMetadata::Serialize(ns3::Buffer::Iterator i, uint32_t size) const [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   657
    cls.add_method('Serialize', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   658
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   659
                   [param('ns3::Buffer::Iterator', 'i'), param('uint32_t', 'size')], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   660
                   is_const=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   661
    return
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   662
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   663
def register_Ns3PacketMetadataItem_methods(root_module, cls):
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   664
    ## packet-metadata.h: ns3::PacketMetadata::Item::Item() [constructor]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   665
    cls.add_constructor([])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   666
    ## packet-metadata.h: ns3::PacketMetadata::Item::Item(ns3::PacketMetadata::Item const & arg0) [copy constructor]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   667
    cls.add_constructor([param('ns3::PacketMetadata::Item const &', 'arg0')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   668
    ## packet-metadata.h: ns3::PacketMetadata::Item::current [variable]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   669
    cls.add_instance_attribute('current', 'ns3::Buffer::Iterator', is_const=False)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   670
    ## packet-metadata.h: ns3::PacketMetadata::Item::currentSize [variable]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   671
    cls.add_instance_attribute('currentSize', 'uint32_t', is_const=False)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   672
    ## packet-metadata.h: ns3::PacketMetadata::Item::currentTrimedFromEnd [variable]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   673
    cls.add_instance_attribute('currentTrimedFromEnd', 'uint32_t', is_const=False)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   674
    ## packet-metadata.h: ns3::PacketMetadata::Item::currentTrimedFromStart [variable]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   675
    cls.add_instance_attribute('currentTrimedFromStart', 'uint32_t', is_const=False)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   676
    ## packet-metadata.h: ns3::PacketMetadata::Item::isFragment [variable]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   677
    cls.add_instance_attribute('isFragment', 'bool', is_const=False)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   678
    ## packet-metadata.h: ns3::PacketMetadata::Item::tid [variable]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   679
    cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   680
    return
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   681
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   682
def register_Ns3PacketMetadataItemIterator_methods(root_module, cls):
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   683
    ## packet-metadata.h: ns3::PacketMetadata::ItemIterator::ItemIterator(ns3::PacketMetadata::ItemIterator const & arg0) [copy constructor]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   684
    cls.add_constructor([param('ns3::PacketMetadata::ItemIterator const &', 'arg0')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   685
    ## packet-metadata.h: ns3::PacketMetadata::ItemIterator::ItemIterator(ns3::PacketMetadata const * metadata, ns3::Buffer buffer) [constructor]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   686
    cls.add_constructor([param('ns3::PacketMetadata const *', 'metadata'), param('ns3::Buffer', 'buffer')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   687
    ## packet-metadata.h: bool ns3::PacketMetadata::ItemIterator::HasNext() const [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   688
    cls.add_method('HasNext', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   689
                   'bool', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   690
                   [], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   691
                   is_const=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   692
    ## packet-metadata.h: ns3::PacketMetadata::Item ns3::PacketMetadata::ItemIterator::Next() [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   693
    cls.add_method('Next', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   694
                   'ns3::PacketMetadata::Item', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   695
                   [])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   696
    return
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   697
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   698
def register_Ns3PacketTagIterator_methods(root_module, cls):
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   699
    ## packet.h: ns3::PacketTagIterator::PacketTagIterator(ns3::PacketTagIterator const & arg0) [copy constructor]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   700
    cls.add_constructor([param('ns3::PacketTagIterator const &', 'arg0')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   701
    ## packet.h: bool ns3::PacketTagIterator::HasNext() const [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   702
    cls.add_method('HasNext', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   703
                   'bool', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   704
                   [], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   705
                   is_const=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   706
    ## packet.h: ns3::PacketTagIterator::Item ns3::PacketTagIterator::Next() [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   707
    cls.add_method('Next', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   708
                   'ns3::PacketTagIterator::Item', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   709
                   [])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   710
    return
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   711
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   712
def register_Ns3PacketTagIteratorItem_methods(root_module, cls):
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   713
    ## packet.h: ns3::PacketTagIterator::Item::Item(ns3::PacketTagIterator::Item const & arg0) [copy constructor]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   714
    cls.add_constructor([param('ns3::PacketTagIterator::Item const &', 'arg0')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   715
    ## packet.h: void ns3::PacketTagIterator::Item::GetTag(ns3::Tag & tag) const [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   716
    cls.add_method('GetTag', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   717
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   718
                   [param('ns3::Tag &', 'tag')], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   719
                   is_const=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   720
    ## packet.h: ns3::TypeId ns3::PacketTagIterator::Item::GetTypeId() const [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   721
    cls.add_method('GetTypeId', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   722
                   'ns3::TypeId', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   723
                   [], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   724
                   is_const=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   725
    return
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   726
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   727
def register_Ns3PacketTagList_methods(root_module, cls):
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   728
    ## packet-tag-list.h: ns3::PacketTagList::PacketTagList() [constructor]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   729
    cls.add_constructor([])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   730
    ## packet-tag-list.h: ns3::PacketTagList::PacketTagList(ns3::PacketTagList const & o) [copy constructor]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   731
    cls.add_constructor([param('ns3::PacketTagList const &', 'o')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   732
    ## packet-tag-list.h: void ns3::PacketTagList::Add(ns3::Tag const & tag) const [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   733
    cls.add_method('Add', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   734
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   735
                   [param('ns3::Tag const &', 'tag')], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   736
                   is_const=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   737
    ## packet-tag-list.h: ns3::PacketTagList::TagData const * ns3::PacketTagList::Head() const [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   738
    cls.add_method('Head', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   739
                   'ns3::PacketTagList::TagData const *', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   740
                   [], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   741
                   is_const=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   742
    ## packet-tag-list.h: bool ns3::PacketTagList::Peek(ns3::Tag & tag) const [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   743
    cls.add_method('Peek', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   744
                   'bool', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   745
                   [param('ns3::Tag &', 'tag')], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   746
                   is_const=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   747
    ## packet-tag-list.h: bool ns3::PacketTagList::Remove(ns3::Tag & tag) [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   748
    cls.add_method('Remove', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   749
                   'bool', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   750
                   [param('ns3::Tag &', 'tag')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   751
    ## packet-tag-list.h: void ns3::PacketTagList::RemoveAll() [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   752
    cls.add_method('RemoveAll', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   753
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   754
                   [])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   755
    return
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   756
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   757
def register_Ns3PacketTagListTagData_methods(root_module, cls):
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   758
    ## packet-tag-list.h: ns3::PacketTagList::TagData::TagData() [constructor]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   759
    cls.add_constructor([])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   760
    ## packet-tag-list.h: ns3::PacketTagList::TagData::TagData(ns3::PacketTagList::TagData const & arg0) [copy constructor]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   761
    cls.add_constructor([param('ns3::PacketTagList::TagData const &', 'arg0')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   762
    ## packet-tag-list.h: ns3::PacketTagList::TagData::count [variable]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   763
    cls.add_instance_attribute('count', 'uint32_t', is_const=False)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   764
    ## packet-tag-list.h: ns3::PacketTagList::TagData::data [variable]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   765
    cls.add_instance_attribute('data', 'uint8_t [ 20 ]', is_const=False)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   766
    ## packet-tag-list.h: ns3::PacketTagList::TagData::next [variable]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   767
    cls.add_instance_attribute('next', 'ns3::PacketTagList::TagData *', is_const=False)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   768
    ## packet-tag-list.h: ns3::PacketTagList::TagData::tid [variable]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   769
    cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   770
    return
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   771
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   772
def register_Ns3PcapFile_methods(root_module, cls):
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   773
    ## pcap-file.h: ns3::PcapFile::PcapFile(ns3::PcapFile const & arg0) [copy constructor]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   774
    cls.add_constructor([param('ns3::PcapFile const &', 'arg0')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   775
    ## pcap-file.h: ns3::PcapFile::PcapFile() [constructor]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   776
    cls.add_constructor([])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   777
    ## pcap-file.h: void ns3::PcapFile::Close() [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   778
    cls.add_method('Close', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   779
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   780
                   [])
5504
2cc780c07f5e Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents: 5348
diff changeset
   781
    ## 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: 5348
diff changeset
   782
    cls.add_method('Diff', 
2cc780c07f5e Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents: 5348
diff changeset
   783
                   'bool', 
2cc780c07f5e Rescan python bindings
Faker Moatamri <faker.moatamri@sophia.inria.fr>
parents: 5348
diff changeset
   784
                   [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: 5348
diff changeset
   785
                   is_static=True)
5348
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   786
    ## pcap-file.h: uint32_t ns3::PcapFile::GetDataLinkType() [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   787
    cls.add_method('GetDataLinkType', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   788
                   'uint32_t', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   789
                   [])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   790
    ## pcap-file.h: uint32_t ns3::PcapFile::GetMagic() [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   791
    cls.add_method('GetMagic', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   792
                   'uint32_t', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   793
                   [])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   794
    ## pcap-file.h: uint32_t ns3::PcapFile::GetSigFigs() [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   795
    cls.add_method('GetSigFigs', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   796
                   'uint32_t', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   797
                   [])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   798
    ## pcap-file.h: uint32_t ns3::PcapFile::GetSnapLen() [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   799
    cls.add_method('GetSnapLen', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   800
                   'uint32_t', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   801
                   [])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   802
    ## pcap-file.h: bool ns3::PcapFile::GetSwapMode() [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   803
    cls.add_method('GetSwapMode', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   804
                   'bool', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   805
                   [])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   806
    ## pcap-file.h: int32_t ns3::PcapFile::GetTimeZoneOffset() [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   807
    cls.add_method('GetTimeZoneOffset', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   808
                   'int32_t', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   809
                   [])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   810
    ## pcap-file.h: uint16_t ns3::PcapFile::GetVersionMajor() [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   811
    cls.add_method('GetVersionMajor', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   812
                   'uint16_t', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   813
                   [])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   814
    ## pcap-file.h: uint16_t ns3::PcapFile::GetVersionMinor() [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   815
    cls.add_method('GetVersionMinor', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   816
                   'uint16_t', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   817
                   [])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   818
    ## 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]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   819
    cls.add_method('Init', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   820
                   'bool', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   821
                   [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')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   822
    ## pcap-file.h: bool ns3::PcapFile::Open(std::string const & filename, std::string const & mode) [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   823
    cls.add_method('Open', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   824
                   'bool', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   825
                   [param('std::string const &', 'filename'), param('std::string const &', 'mode')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   826
    ## 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]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   827
    cls.add_method('Read', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   828
                   'bool', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   829
                   [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')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   830
    ## pcap-file.h: bool ns3::PcapFile::Write(uint32_t tsSec, uint32_t tsUsec, uint8_t const * const data, uint32_t totalLen) [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   831
    cls.add_method('Write', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   832
                   'bool', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   833
                   [param('uint32_t', 'tsSec'), param('uint32_t', 'tsUsec'), param('uint8_t const * const', 'data'), param('uint32_t', 'totalLen')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   834
    ## pcap-file.h: ns3::PcapFile::SNAPLEN_DEFAULT [variable]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   835
    cls.add_static_attribute('SNAPLEN_DEFAULT', 'uint32_t const', is_const=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   836
    ## pcap-file.h: ns3::PcapFile::ZONE_DEFAULT [variable]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   837
    cls.add_static_attribute('ZONE_DEFAULT', 'int32_t const', is_const=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   838
    return
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   839
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   840
def register_Ns3Tag_methods(root_module, cls):
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   841
    ## tag.h: ns3::Tag::Tag() [constructor]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   842
    cls.add_constructor([])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   843
    ## tag.h: ns3::Tag::Tag(ns3::Tag const & arg0) [copy constructor]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   844
    cls.add_constructor([param('ns3::Tag const &', 'arg0')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   845
    ## tag.h: void ns3::Tag::Deserialize(ns3::TagBuffer i) [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   846
    cls.add_method('Deserialize', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   847
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   848
                   [param('ns3::TagBuffer', 'i')], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   849
                   is_pure_virtual=True, is_virtual=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   850
    ## tag.h: uint32_t ns3::Tag::GetSerializedSize() const [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   851
    cls.add_method('GetSerializedSize', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   852
                   'uint32_t', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   853
                   [], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   854
                   is_pure_virtual=True, is_const=True, is_virtual=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   855
    ## tag.h: static ns3::TypeId ns3::Tag::GetTypeId() [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   856
    cls.add_method('GetTypeId', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   857
                   'ns3::TypeId', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   858
                   [], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   859
                   is_static=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   860
    ## tag.h: void ns3::Tag::Print(std::ostream & os) const [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   861
    cls.add_method('Print', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   862
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   863
                   [param('std::ostream &', 'os')], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   864
                   is_pure_virtual=True, is_const=True, is_virtual=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   865
    ## tag.h: void ns3::Tag::Serialize(ns3::TagBuffer i) const [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   866
    cls.add_method('Serialize', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   867
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   868
                   [param('ns3::TagBuffer', 'i')], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   869
                   is_pure_virtual=True, is_const=True, is_virtual=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   870
    return
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   871
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   872
def register_Ns3TagBuffer_methods(root_module, cls):
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   873
    ## tag-buffer.h: ns3::TagBuffer::TagBuffer(ns3::TagBuffer const & arg0) [copy constructor]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   874
    cls.add_constructor([param('ns3::TagBuffer const &', 'arg0')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   875
    ## tag-buffer.h: ns3::TagBuffer::TagBuffer(uint8_t * start, uint8_t * end) [constructor]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   876
    cls.add_constructor([param('uint8_t *', 'start'), param('uint8_t *', 'end')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   877
    ## tag-buffer.h: void ns3::TagBuffer::CopyFrom(ns3::TagBuffer o) [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   878
    cls.add_method('CopyFrom', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   879
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   880
                   [param('ns3::TagBuffer', 'o')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   881
    ## tag-buffer.h: void ns3::TagBuffer::Read(uint8_t * buffer, uint32_t size) [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   882
    cls.add_method('Read', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   883
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   884
                   [param('uint8_t *', 'buffer'), param('uint32_t', 'size')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   885
    ## tag-buffer.h: double ns3::TagBuffer::ReadDouble() [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   886
    cls.add_method('ReadDouble', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   887
                   'double', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   888
                   [])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   889
    ## tag-buffer.h: uint16_t ns3::TagBuffer::ReadU16() [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   890
    cls.add_method('ReadU16', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   891
                   'uint16_t', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   892
                   [])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   893
    ## tag-buffer.h: uint32_t ns3::TagBuffer::ReadU32() [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   894
    cls.add_method('ReadU32', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   895
                   'uint32_t', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   896
                   [])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   897
    ## tag-buffer.h: uint64_t ns3::TagBuffer::ReadU64() [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   898
    cls.add_method('ReadU64', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   899
                   'uint64_t', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   900
                   [])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   901
    ## tag-buffer.h: uint8_t ns3::TagBuffer::ReadU8() [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   902
    cls.add_method('ReadU8', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   903
                   'uint8_t', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   904
                   [])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   905
    ## tag-buffer.h: void ns3::TagBuffer::TrimAtEnd(uint32_t trim) [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   906
    cls.add_method('TrimAtEnd', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   907
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   908
                   [param('uint32_t', 'trim')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   909
    ## tag-buffer.h: void ns3::TagBuffer::Write(uint8_t const * buffer, uint32_t size) [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   910
    cls.add_method('Write', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   911
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   912
                   [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   913
    ## tag-buffer.h: void ns3::TagBuffer::WriteDouble(double v) [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   914
    cls.add_method('WriteDouble', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   915
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   916
                   [param('double', 'v')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   917
    ## tag-buffer.h: void ns3::TagBuffer::WriteU16(uint16_t data) [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   918
    cls.add_method('WriteU16', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   919
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   920
                   [param('uint16_t', 'data')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   921
    ## tag-buffer.h: void ns3::TagBuffer::WriteU32(uint32_t data) [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   922
    cls.add_method('WriteU32', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   923
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   924
                   [param('uint32_t', 'data')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   925
    ## tag-buffer.h: void ns3::TagBuffer::WriteU64(uint64_t v) [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   926
    cls.add_method('WriteU64', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   927
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   928
                   [param('uint64_t', 'v')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   929
    ## tag-buffer.h: void ns3::TagBuffer::WriteU8(uint8_t v) [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   930
    cls.add_method('WriteU8', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   931
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   932
                   [param('uint8_t', 'v')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   933
    return
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   934
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   935
def register_Ns3Chunk_methods(root_module, cls):
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   936
    ## chunk.h: ns3::Chunk::Chunk() [constructor]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   937
    cls.add_constructor([])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   938
    ## chunk.h: ns3::Chunk::Chunk(ns3::Chunk const & arg0) [copy constructor]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   939
    cls.add_constructor([param('ns3::Chunk const &', 'arg0')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   940
    ## chunk.h: uint32_t ns3::Chunk::Deserialize(ns3::Buffer::Iterator start) [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   941
    cls.add_method('Deserialize', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   942
                   'uint32_t', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   943
                   [param('ns3::Buffer::Iterator', 'start')], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   944
                   is_pure_virtual=True, is_virtual=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   945
    ## chunk.h: static ns3::TypeId ns3::Chunk::GetTypeId() [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   946
    cls.add_method('GetTypeId', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   947
                   'ns3::TypeId', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   948
                   [], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   949
                   is_static=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   950
    ## chunk.h: void ns3::Chunk::Print(std::ostream & os) const [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   951
    cls.add_method('Print', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   952
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   953
                   [param('std::ostream &', 'os')], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   954
                   is_pure_virtual=True, is_const=True, is_virtual=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   955
    return
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   956
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   957
def register_Ns3Header_methods(root_module, cls):
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   958
    cls.add_output_stream_operator()
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   959
    ## header.h: ns3::Header::Header() [constructor]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   960
    cls.add_constructor([])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   961
    ## header.h: ns3::Header::Header(ns3::Header const & arg0) [copy constructor]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   962
    cls.add_constructor([param('ns3::Header const &', 'arg0')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   963
    ## header.h: uint32_t ns3::Header::Deserialize(ns3::Buffer::Iterator start) [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   964
    cls.add_method('Deserialize', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   965
                   'uint32_t', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   966
                   [param('ns3::Buffer::Iterator', 'start')], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   967
                   is_pure_virtual=True, is_virtual=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   968
    ## header.h: uint32_t ns3::Header::GetSerializedSize() const [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   969
    cls.add_method('GetSerializedSize', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   970
                   'uint32_t', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   971
                   [], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   972
                   is_pure_virtual=True, is_const=True, is_virtual=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   973
    ## header.h: static ns3::TypeId ns3::Header::GetTypeId() [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   974
    cls.add_method('GetTypeId', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   975
                   'ns3::TypeId', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   976
                   [], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   977
                   is_static=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   978
    ## header.h: void ns3::Header::Print(std::ostream & os) const [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   979
    cls.add_method('Print', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   980
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   981
                   [param('std::ostream &', 'os')], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   982
                   is_pure_virtual=True, is_const=True, is_virtual=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   983
    ## header.h: void ns3::Header::Serialize(ns3::Buffer::Iterator start) const [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   984
    cls.add_method('Serialize', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   985
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   986
                   [param('ns3::Buffer::Iterator', 'start')], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   987
                   is_pure_virtual=True, is_const=True, is_virtual=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   988
    return
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
   989
6052
e146b9c9c7e7 PcapFileObject to PcapFileWrapper
Craig Dowell <craigdo@ee.washington.edu>
parents: 6050
diff changeset
   990
def register_Ns3PcapFileWrapper_methods(root_module, cls):
e146b9c9c7e7 PcapFileObject to PcapFileWrapper
Craig Dowell <craigdo@ee.washington.edu>
parents: 6050
diff changeset
   991
    ## pcap-file-wrapper.h: ns3::PcapFileWrapper::PcapFileWrapper(ns3::PcapFileWrapper const & arg0) [copy constructor]
e146b9c9c7e7 PcapFileObject to PcapFileWrapper
Craig Dowell <craigdo@ee.washington.edu>
parents: 6050
diff changeset
   992
    cls.add_constructor([param('ns3::PcapFileWrapper const &', 'arg0')])
e146b9c9c7e7 PcapFileObject to PcapFileWrapper
Craig Dowell <craigdo@ee.washington.edu>
parents: 6050
diff changeset
   993
    ## pcap-file-wrapper.h: ns3::PcapFileWrapper::PcapFileWrapper() [constructor]
6029
096af1414c37 tell pybindgen not to disable inheritance on classes that end with Helper, and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 6028
diff changeset
   994
    cls.add_constructor([])
6052
e146b9c9c7e7 PcapFileObject to PcapFileWrapper
Craig Dowell <craigdo@ee.washington.edu>
parents: 6050
diff changeset
   995
    ## pcap-file-wrapper.h: void ns3::PcapFileWrapper::Close() [member function]
6029
096af1414c37 tell pybindgen not to disable inheritance on classes that end with Helper, and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 6028
diff changeset
   996
    cls.add_method('Close', 
096af1414c37 tell pybindgen not to disable inheritance on classes that end with Helper, and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 6028
diff changeset
   997
                   'void', 
096af1414c37 tell pybindgen not to disable inheritance on classes that end with Helper, and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 6028
diff changeset
   998
                   [])
6052
e146b9c9c7e7 PcapFileObject to PcapFileWrapper
Craig Dowell <craigdo@ee.washington.edu>
parents: 6050
diff changeset
   999
    ## pcap-file-wrapper.h: uint32_t ns3::PcapFileWrapper::GetDataLinkType() [member function]
6029
096af1414c37 tell pybindgen not to disable inheritance on classes that end with Helper, and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 6028
diff changeset
  1000
    cls.add_method('GetDataLinkType', 
096af1414c37 tell pybindgen not to disable inheritance on classes that end with Helper, and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 6028
diff changeset
  1001
                   'uint32_t', 
096af1414c37 tell pybindgen not to disable inheritance on classes that end with Helper, and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 6028
diff changeset
  1002
                   [])
6052
e146b9c9c7e7 PcapFileObject to PcapFileWrapper
Craig Dowell <craigdo@ee.washington.edu>
parents: 6050
diff changeset
  1003
    ## pcap-file-wrapper.h: uint32_t ns3::PcapFileWrapper::GetMagic() [member function]
6029
096af1414c37 tell pybindgen not to disable inheritance on classes that end with Helper, and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 6028
diff changeset
  1004
    cls.add_method('GetMagic', 
096af1414c37 tell pybindgen not to disable inheritance on classes that end with Helper, and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 6028
diff changeset
  1005
                   'uint32_t', 
096af1414c37 tell pybindgen not to disable inheritance on classes that end with Helper, and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 6028
diff changeset
  1006
                   [])
6052
e146b9c9c7e7 PcapFileObject to PcapFileWrapper
Craig Dowell <craigdo@ee.washington.edu>
parents: 6050
diff changeset
  1007
    ## pcap-file-wrapper.h: uint32_t ns3::PcapFileWrapper::GetSigFigs() [member function]
6029
096af1414c37 tell pybindgen not to disable inheritance on classes that end with Helper, and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 6028
diff changeset
  1008
    cls.add_method('GetSigFigs', 
096af1414c37 tell pybindgen not to disable inheritance on classes that end with Helper, and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 6028
diff changeset
  1009
                   'uint32_t', 
096af1414c37 tell pybindgen not to disable inheritance on classes that end with Helper, and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 6028
diff changeset
  1010
                   [])
6052
e146b9c9c7e7 PcapFileObject to PcapFileWrapper
Craig Dowell <craigdo@ee.washington.edu>
parents: 6050
diff changeset
  1011
    ## pcap-file-wrapper.h: uint32_t ns3::PcapFileWrapper::GetSnapLen() [member function]
6029
096af1414c37 tell pybindgen not to disable inheritance on classes that end with Helper, and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 6028
diff changeset
  1012
    cls.add_method('GetSnapLen', 
096af1414c37 tell pybindgen not to disable inheritance on classes that end with Helper, and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 6028
diff changeset
  1013
                   'uint32_t', 
096af1414c37 tell pybindgen not to disable inheritance on classes that end with Helper, and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 6028
diff changeset
  1014
                   [])
6052
e146b9c9c7e7 PcapFileObject to PcapFileWrapper
Craig Dowell <craigdo@ee.washington.edu>
parents: 6050
diff changeset
  1015
    ## pcap-file-wrapper.h: int32_t ns3::PcapFileWrapper::GetTimeZoneOffset() [member function]
6029
096af1414c37 tell pybindgen not to disable inheritance on classes that end with Helper, and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 6028
diff changeset
  1016
    cls.add_method('GetTimeZoneOffset', 
096af1414c37 tell pybindgen not to disable inheritance on classes that end with Helper, and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 6028
diff changeset
  1017
                   'int32_t', 
096af1414c37 tell pybindgen not to disable inheritance on classes that end with Helper, and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 6028
diff changeset
  1018
                   [])
6052
e146b9c9c7e7 PcapFileObject to PcapFileWrapper
Craig Dowell <craigdo@ee.washington.edu>
parents: 6050
diff changeset
  1019
    ## pcap-file-wrapper.h: static ns3::TypeId ns3::PcapFileWrapper::GetTypeId() [member function]
6029
096af1414c37 tell pybindgen not to disable inheritance on classes that end with Helper, and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 6028
diff changeset
  1020
    cls.add_method('GetTypeId', 
096af1414c37 tell pybindgen not to disable inheritance on classes that end with Helper, and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 6028
diff changeset
  1021
                   'ns3::TypeId', 
096af1414c37 tell pybindgen not to disable inheritance on classes that end with Helper, and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 6028
diff changeset
  1022
                   [], 
096af1414c37 tell pybindgen not to disable inheritance on classes that end with Helper, and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 6028
diff changeset
  1023
                   is_static=True)
6052
e146b9c9c7e7 PcapFileObject to PcapFileWrapper
Craig Dowell <craigdo@ee.washington.edu>
parents: 6050
diff changeset
  1024
    ## pcap-file-wrapper.h: uint16_t ns3::PcapFileWrapper::GetVersionMajor() [member function]
6029
096af1414c37 tell pybindgen not to disable inheritance on classes that end with Helper, and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 6028
diff changeset
  1025
    cls.add_method('GetVersionMajor', 
096af1414c37 tell pybindgen not to disable inheritance on classes that end with Helper, and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 6028
diff changeset
  1026
                   'uint16_t', 
096af1414c37 tell pybindgen not to disable inheritance on classes that end with Helper, and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 6028
diff changeset
  1027
                   [])
6052
e146b9c9c7e7 PcapFileObject to PcapFileWrapper
Craig Dowell <craigdo@ee.washington.edu>
parents: 6050
diff changeset
  1028
    ## pcap-file-wrapper.h: uint16_t ns3::PcapFileWrapper::GetVersionMinor() [member function]
6029
096af1414c37 tell pybindgen not to disable inheritance on classes that end with Helper, and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 6028
diff changeset
  1029
    cls.add_method('GetVersionMinor', 
096af1414c37 tell pybindgen not to disable inheritance on classes that end with Helper, and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 6028
diff changeset
  1030
                   'uint16_t', 
096af1414c37 tell pybindgen not to disable inheritance on classes that end with Helper, and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 6028
diff changeset
  1031
                   [])
6052
e146b9c9c7e7 PcapFileObject to PcapFileWrapper
Craig Dowell <craigdo@ee.washington.edu>
parents: 6050
diff changeset
  1032
    ## pcap-file-wrapper.h: bool ns3::PcapFileWrapper::Init(uint32_t dataLinkType, uint32_t snapLen=std::numeric_limits<unsigned int>::max(), int32_t tzCorrection=ns3::PcapFile::ZONE_DEFAULT) [member function]
6029
096af1414c37 tell pybindgen not to disable inheritance on classes that end with Helper, and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 6028
diff changeset
  1033
    cls.add_method('Init', 
096af1414c37 tell pybindgen not to disable inheritance on classes that end with Helper, and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 6028
diff changeset
  1034
                   'bool', 
6050
704ff76c4aa3 python-scan
Craig Dowell <craigdo@ee.washington.edu>
parents: 6047
diff changeset
  1035
                   [param('uint32_t', 'dataLinkType'), param('uint32_t', 'snapLen', default_value='std::numeric_limits<unsigned int>::max()'), param('int32_t', 'tzCorrection', default_value='ns3::PcapFile::ZONE_DEFAULT')])
6052
e146b9c9c7e7 PcapFileObject to PcapFileWrapper
Craig Dowell <craigdo@ee.washington.edu>
parents: 6050
diff changeset
  1036
    ## pcap-file-wrapper.h: bool ns3::PcapFileWrapper::Open(std::string const & filename, std::string const & mode) [member function]
6029
096af1414c37 tell pybindgen not to disable inheritance on classes that end with Helper, and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 6028
diff changeset
  1037
    cls.add_method('Open', 
096af1414c37 tell pybindgen not to disable inheritance on classes that end with Helper, and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 6028
diff changeset
  1038
                   'bool', 
096af1414c37 tell pybindgen not to disable inheritance on classes that end with Helper, and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 6028
diff changeset
  1039
                   [param('std::string const &', 'filename'), param('std::string const &', 'mode')])
6052
e146b9c9c7e7 PcapFileObject to PcapFileWrapper
Craig Dowell <craigdo@ee.washington.edu>
parents: 6050
diff changeset
  1040
    ## pcap-file-wrapper.h: bool ns3::PcapFileWrapper::Write(ns3::Time t, ns3::Ptr<ns3::Packet const> p) [member function]
6029
096af1414c37 tell pybindgen not to disable inheritance on classes that end with Helper, and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 6028
diff changeset
  1041
    cls.add_method('Write', 
096af1414c37 tell pybindgen not to disable inheritance on classes that end with Helper, and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 6028
diff changeset
  1042
                   'bool', 
096af1414c37 tell pybindgen not to disable inheritance on classes that end with Helper, and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 6028
diff changeset
  1043
                   [param('ns3::Time', 't'), param('ns3::Ptr< ns3::Packet const >', 'p')])
6052
e146b9c9c7e7 PcapFileObject to PcapFileWrapper
Craig Dowell <craigdo@ee.washington.edu>
parents: 6050
diff changeset
  1044
    ## pcap-file-wrapper.h: bool ns3::PcapFileWrapper::Write(ns3::Time t, ns3::Header & header, ns3::Ptr<ns3::Packet const> p) [member function]
6050
704ff76c4aa3 python-scan
Craig Dowell <craigdo@ee.washington.edu>
parents: 6047
diff changeset
  1045
    cls.add_method('Write', 
704ff76c4aa3 python-scan
Craig Dowell <craigdo@ee.washington.edu>
parents: 6047
diff changeset
  1046
                   'bool', 
704ff76c4aa3 python-scan
Craig Dowell <craigdo@ee.washington.edu>
parents: 6047
diff changeset
  1047
                   [param('ns3::Time', 't'), param('ns3::Header &', 'header'), param('ns3::Ptr< ns3::Packet const >', 'p')])
6052
e146b9c9c7e7 PcapFileObject to PcapFileWrapper
Craig Dowell <craigdo@ee.washington.edu>
parents: 6050
diff changeset
  1048
    ## pcap-file-wrapper.h: bool ns3::PcapFileWrapper::Write(ns3::Time t, uint8_t const * buffer, uint32_t length) [member function]
6029
096af1414c37 tell pybindgen not to disable inheritance on classes that end with Helper, and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 6028
diff changeset
  1049
    cls.add_method('Write', 
096af1414c37 tell pybindgen not to disable inheritance on classes that end with Helper, and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 6028
diff changeset
  1050
                   'bool', 
096af1414c37 tell pybindgen not to disable inheritance on classes that end with Helper, and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 6028
diff changeset
  1051
                   [param('ns3::Time', 't'), param('uint8_t const *', 'buffer'), param('uint32_t', 'length')])
096af1414c37 tell pybindgen not to disable inheritance on classes that end with Helper, and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 6028
diff changeset
  1052
    return
096af1414c37 tell pybindgen not to disable inheritance on classes that end with Helper, and rescan
Craig Dowell <craigdo@ee.washington.edu>
parents: 6028
diff changeset
  1053
5982
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1054
def register_Ns3PropagationDelayModel_methods(root_module, cls):
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1055
    ## propagation-delay-model.h: ns3::PropagationDelayModel::PropagationDelayModel() [constructor]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1056
    cls.add_constructor([])
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1057
    ## propagation-delay-model.h: ns3::PropagationDelayModel::PropagationDelayModel(ns3::PropagationDelayModel const & arg0) [copy constructor]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1058
    cls.add_constructor([param('ns3::PropagationDelayModel const &', 'arg0')])
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1059
    ## propagation-delay-model.h: ns3::Time ns3::PropagationDelayModel::GetDelay(ns3::Ptr<ns3::MobilityModel> a, ns3::Ptr<ns3::MobilityModel> b) const [member function]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1060
    cls.add_method('GetDelay', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1061
                   'ns3::Time', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1062
                   [param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1063
                   is_pure_virtual=True, is_const=True, is_virtual=True)
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1064
    ## propagation-delay-model.h: static ns3::TypeId ns3::PropagationDelayModel::GetTypeId() [member function]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1065
    cls.add_method('GetTypeId', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1066
                   'ns3::TypeId', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1067
                   [], 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1068
                   is_static=True)
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1069
    return
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1070
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1071
def register_Ns3PropagationLossModel_methods(root_module, cls):
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1072
    ## propagation-loss-model.h: static ns3::TypeId ns3::PropagationLossModel::GetTypeId() [member function]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1073
    cls.add_method('GetTypeId', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1074
                   'ns3::TypeId', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1075
                   [], 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1076
                   is_static=True)
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1077
    ## propagation-loss-model.h: ns3::PropagationLossModel::PropagationLossModel() [constructor]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1078
    cls.add_constructor([])
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1079
    ## propagation-loss-model.h: void ns3::PropagationLossModel::SetNext(ns3::Ptr<ns3::PropagationLossModel> next) [member function]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1080
    cls.add_method('SetNext', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1081
                   'void', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1082
                   [param('ns3::Ptr< ns3::PropagationLossModel >', 'next')])
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1083
    ## propagation-loss-model.h: double ns3::PropagationLossModel::CalcRxPower(double txPowerDbm, ns3::Ptr<ns3::MobilityModel> a, ns3::Ptr<ns3::MobilityModel> b) const [member function]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1084
    cls.add_method('CalcRxPower', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1085
                   'double', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1086
                   [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1087
                   is_const=True)
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1088
    ## propagation-loss-model.h: double ns3::PropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr<ns3::MobilityModel> a, ns3::Ptr<ns3::MobilityModel> b) const [member function]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1089
    cls.add_method('DoCalcRxPower', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1090
                   'double', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1091
                   [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1092
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1093
    return
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1094
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1095
def register_Ns3RandomPropagationDelayModel_methods(root_module, cls):
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1096
    ## propagation-delay-model.h: ns3::RandomPropagationDelayModel::RandomPropagationDelayModel(ns3::RandomPropagationDelayModel const & arg0) [copy constructor]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1097
    cls.add_constructor([param('ns3::RandomPropagationDelayModel const &', 'arg0')])
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1098
    ## propagation-delay-model.h: ns3::RandomPropagationDelayModel::RandomPropagationDelayModel() [constructor]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1099
    cls.add_constructor([])
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1100
    ## propagation-delay-model.h: ns3::Time ns3::RandomPropagationDelayModel::GetDelay(ns3::Ptr<ns3::MobilityModel> a, ns3::Ptr<ns3::MobilityModel> b) const [member function]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1101
    cls.add_method('GetDelay', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1102
                   'ns3::Time', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1103
                   [param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1104
                   is_const=True, is_virtual=True)
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1105
    ## propagation-delay-model.h: static ns3::TypeId ns3::RandomPropagationDelayModel::GetTypeId() [member function]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1106
    cls.add_method('GetTypeId', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1107
                   'ns3::TypeId', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1108
                   [], 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1109
                   is_static=True)
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1110
    return
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1111
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1112
def register_Ns3RandomPropagationLossModel_methods(root_module, cls):
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1113
    ## propagation-loss-model.h: static ns3::TypeId ns3::RandomPropagationLossModel::GetTypeId() [member function]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1114
    cls.add_method('GetTypeId', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1115
                   'ns3::TypeId', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1116
                   [], 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1117
                   is_static=True)
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1118
    ## propagation-loss-model.h: ns3::RandomPropagationLossModel::RandomPropagationLossModel() [constructor]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1119
    cls.add_constructor([])
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1120
    ## propagation-loss-model.h: double ns3::RandomPropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr<ns3::MobilityModel> a, ns3::Ptr<ns3::MobilityModel> b) const [member function]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1121
    cls.add_method('DoCalcRxPower', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1122
                   'double', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1123
                   [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1124
                   is_const=True, visibility='private', is_virtual=True)
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1125
    return
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1126
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1127
def register_Ns3ThreeLogDistancePropagationLossModel_methods(root_module, cls):
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1128
    ## propagation-loss-model.h: static ns3::TypeId ns3::ThreeLogDistancePropagationLossModel::GetTypeId() [member function]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1129
    cls.add_method('GetTypeId', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1130
                   'ns3::TypeId', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1131
                   [], 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1132
                   is_static=True)
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1133
    ## propagation-loss-model.h: ns3::ThreeLogDistancePropagationLossModel::ThreeLogDistancePropagationLossModel() [constructor]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1134
    cls.add_constructor([])
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1135
    ## propagation-loss-model.h: double ns3::ThreeLogDistancePropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr<ns3::MobilityModel> a, ns3::Ptr<ns3::MobilityModel> b) const [member function]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1136
    cls.add_method('DoCalcRxPower', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1137
                   'double', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1138
                   [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1139
                   is_const=True, visibility='private', is_virtual=True)
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1140
    return
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1141
5348
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1142
def register_Ns3Trailer_methods(root_module, cls):
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1143
    cls.add_output_stream_operator()
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1144
    ## trailer.h: ns3::Trailer::Trailer() [constructor]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1145
    cls.add_constructor([])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1146
    ## trailer.h: ns3::Trailer::Trailer(ns3::Trailer const & arg0) [copy constructor]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1147
    cls.add_constructor([param('ns3::Trailer const &', 'arg0')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1148
    ## trailer.h: uint32_t ns3::Trailer::Deserialize(ns3::Buffer::Iterator end) [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1149
    cls.add_method('Deserialize', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1150
                   'uint32_t', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1151
                   [param('ns3::Buffer::Iterator', 'end')], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1152
                   is_pure_virtual=True, is_virtual=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1153
    ## trailer.h: uint32_t ns3::Trailer::GetSerializedSize() const [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1154
    cls.add_method('GetSerializedSize', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1155
                   'uint32_t', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1156
                   [], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1157
                   is_pure_virtual=True, is_const=True, is_virtual=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1158
    ## trailer.h: static ns3::TypeId ns3::Trailer::GetTypeId() [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1159
    cls.add_method('GetTypeId', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1160
                   'ns3::TypeId', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1161
                   [], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1162
                   is_static=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1163
    ## trailer.h: void ns3::Trailer::Print(std::ostream & os) const [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1164
    cls.add_method('Print', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1165
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1166
                   [param('std::ostream &', 'os')], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1167
                   is_pure_virtual=True, is_const=True, is_virtual=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1168
    ## trailer.h: void ns3::Trailer::Serialize(ns3::Buffer::Iterator start) const [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1169
    cls.add_method('Serialize', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1170
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1171
                   [param('ns3::Buffer::Iterator', 'start')], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1172
                   is_pure_virtual=True, is_const=True, is_virtual=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1173
    return
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1174
5982
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1175
def register_Ns3TwoRayGroundPropagationLossModel_methods(root_module, cls):
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1176
    ## propagation-loss-model.h: static ns3::TypeId ns3::TwoRayGroundPropagationLossModel::GetTypeId() [member function]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1177
    cls.add_method('GetTypeId', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1178
                   'ns3::TypeId', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1179
                   [], 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1180
                   is_static=True)
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1181
    ## propagation-loss-model.h: ns3::TwoRayGroundPropagationLossModel::TwoRayGroundPropagationLossModel() [constructor]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1182
    cls.add_constructor([])
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1183
    ## propagation-loss-model.h: void ns3::TwoRayGroundPropagationLossModel::SetLambda(double frequency, double speed) [member function]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1184
    cls.add_method('SetLambda', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1185
                   'void', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1186
                   [param('double', 'frequency'), param('double', 'speed')])
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1187
    ## propagation-loss-model.h: void ns3::TwoRayGroundPropagationLossModel::SetLambda(double lambda) [member function]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1188
    cls.add_method('SetLambda', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1189
                   'void', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1190
                   [param('double', 'lambda')])
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1191
    ## propagation-loss-model.h: void ns3::TwoRayGroundPropagationLossModel::SetSystemLoss(double systemLoss) [member function]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1192
    cls.add_method('SetSystemLoss', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1193
                   'void', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1194
                   [param('double', 'systemLoss')])
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1195
    ## propagation-loss-model.h: void ns3::TwoRayGroundPropagationLossModel::SetMinDistance(double minDistance) [member function]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1196
    cls.add_method('SetMinDistance', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1197
                   'void', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1198
                   [param('double', 'minDistance')])
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1199
    ## propagation-loss-model.h: double ns3::TwoRayGroundPropagationLossModel::GetMinDistance() const [member function]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1200
    cls.add_method('GetMinDistance', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1201
                   'double', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1202
                   [], 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1203
                   is_const=True)
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1204
    ## propagation-loss-model.h: double ns3::TwoRayGroundPropagationLossModel::GetLambda() const [member function]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1205
    cls.add_method('GetLambda', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1206
                   'double', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1207
                   [], 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1208
                   is_const=True)
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1209
    ## propagation-loss-model.h: double ns3::TwoRayGroundPropagationLossModel::GetSystemLoss() const [member function]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1210
    cls.add_method('GetSystemLoss', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1211
                   'double', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1212
                   [], 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1213
                   is_const=True)
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1214
    ## propagation-loss-model.h: void ns3::TwoRayGroundPropagationLossModel::SetHeightAboveZ(double heightAboveZ) [member function]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1215
    cls.add_method('SetHeightAboveZ', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1216
                   'void', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1217
                   [param('double', 'heightAboveZ')])
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1218
    ## propagation-loss-model.h: double ns3::TwoRayGroundPropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr<ns3::MobilityModel> a, ns3::Ptr<ns3::MobilityModel> b) const [member function]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1219
    cls.add_method('DoCalcRxPower', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1220
                   'double', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1221
                   [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1222
                   is_const=True, visibility='private', is_virtual=True)
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1223
    return
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1224
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1225
def register_Ns3ConstantSpeedPropagationDelayModel_methods(root_module, cls):
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1226
    ## propagation-delay-model.h: ns3::ConstantSpeedPropagationDelayModel::ConstantSpeedPropagationDelayModel(ns3::ConstantSpeedPropagationDelayModel const & arg0) [copy constructor]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1227
    cls.add_constructor([param('ns3::ConstantSpeedPropagationDelayModel const &', 'arg0')])
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1228
    ## propagation-delay-model.h: ns3::ConstantSpeedPropagationDelayModel::ConstantSpeedPropagationDelayModel() [constructor]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1229
    cls.add_constructor([])
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1230
    ## propagation-delay-model.h: ns3::Time ns3::ConstantSpeedPropagationDelayModel::GetDelay(ns3::Ptr<ns3::MobilityModel> a, ns3::Ptr<ns3::MobilityModel> b) const [member function]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1231
    cls.add_method('GetDelay', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1232
                   'ns3::Time', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1233
                   [param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1234
                   is_const=True, is_virtual=True)
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1235
    ## propagation-delay-model.h: double ns3::ConstantSpeedPropagationDelayModel::GetSpeed() const [member function]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1236
    cls.add_method('GetSpeed', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1237
                   'double', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1238
                   [], 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1239
                   is_const=True)
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1240
    ## propagation-delay-model.h: static ns3::TypeId ns3::ConstantSpeedPropagationDelayModel::GetTypeId() [member function]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1241
    cls.add_method('GetTypeId', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1242
                   'ns3::TypeId', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1243
                   [], 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1244
                   is_static=True)
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1245
    ## propagation-delay-model.h: void ns3::ConstantSpeedPropagationDelayModel::SetSpeed(double speed) [member function]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1246
    cls.add_method('SetSpeed', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1247
                   'void', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1248
                   [param('double', 'speed')])
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1249
    return
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1250
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
  1251
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
  1252
    ## 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
  1253
    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
  1254
    ## 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
  1255
    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
  1256
    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
  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
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
  1259
    ## 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
  1260
    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
  1261
    ## 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
  1262
    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
  1263
    ## 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
  1264
    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
  1265
    ## 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
  1266
    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
  1267
                   '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
  1268
                   [], 
8c105b521d1b Python: rescan; need new 'section 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
                   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
  1270
    ## 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
  1271
    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
  1272
                   '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
  1273
                   [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
  1274
                   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
  1275
    ## 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
  1276
    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
  1277
                   '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
  1278
                   [], 
8c105b521d1b Python: rescan; need new 'section 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
                   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
  1280
    ## 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
  1281
    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
  1282
                   '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
  1283
                   [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
  1284
                   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
  1285
    ## 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
  1286
    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
  1287
                   '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
  1288
                   [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
  1289
    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
  1290
5348
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1291
def register_Ns3ErrorModel_methods(root_module, cls):
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1292
    ## error-model.h: ns3::ErrorModel::ErrorModel(ns3::ErrorModel const & arg0) [copy constructor]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1293
    cls.add_constructor([param('ns3::ErrorModel const &', 'arg0')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1294
    ## error-model.h: ns3::ErrorModel::ErrorModel() [constructor]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1295
    cls.add_constructor([])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1296
    ## error-model.h: void ns3::ErrorModel::Disable() [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1297
    cls.add_method('Disable', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1298
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1299
                   [])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1300
    ## error-model.h: void ns3::ErrorModel::Enable() [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1301
    cls.add_method('Enable', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1302
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1303
                   [])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1304
    ## error-model.h: static ns3::TypeId ns3::ErrorModel::GetTypeId() [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1305
    cls.add_method('GetTypeId', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1306
                   'ns3::TypeId', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1307
                   [], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1308
                   is_static=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1309
    ## error-model.h: bool ns3::ErrorModel::IsCorrupt(ns3::Ptr<ns3::Packet> pkt) [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1310
    cls.add_method('IsCorrupt', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1311
                   'bool', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1312
                   [param('ns3::Ptr< ns3::Packet >', 'pkt')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1313
    ## error-model.h: bool ns3::ErrorModel::IsEnabled() const [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1314
    cls.add_method('IsEnabled', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1315
                   'bool', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1316
                   [], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1317
                   is_const=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1318
    ## error-model.h: void ns3::ErrorModel::Reset() [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1319
    cls.add_method('Reset', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1320
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1321
                   [])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1322
    ## error-model.h: bool ns3::ErrorModel::DoCorrupt(ns3::Ptr<ns3::Packet> arg0) [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1323
    cls.add_method('DoCorrupt', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1324
                   'bool', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1325
                   [param('ns3::Ptr< ns3::Packet >', 'arg0')], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1326
                   is_pure_virtual=True, visibility='private', is_virtual=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1327
    ## error-model.h: void ns3::ErrorModel::DoReset() [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1328
    cls.add_method('DoReset', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1329
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1330
                   [], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1331
                   is_pure_virtual=True, visibility='private', is_virtual=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1332
    return
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1333
5982
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1334
def register_Ns3FixedRssLossModel_methods(root_module, cls):
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1335
    ## propagation-loss-model.h: static ns3::TypeId ns3::FixedRssLossModel::GetTypeId() [member function]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1336
    cls.add_method('GetTypeId', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1337
                   'ns3::TypeId', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1338
                   [], 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1339
                   is_static=True)
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1340
    ## propagation-loss-model.h: ns3::FixedRssLossModel::FixedRssLossModel() [constructor]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1341
    cls.add_constructor([])
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1342
    ## propagation-loss-model.h: void ns3::FixedRssLossModel::SetRss(double rss) [member function]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1343
    cls.add_method('SetRss', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1344
                   'void', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1345
                   [param('double', 'rss')])
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1346
    ## propagation-loss-model.h: double ns3::FixedRssLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr<ns3::MobilityModel> a, ns3::Ptr<ns3::MobilityModel> b) const [member function]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1347
    cls.add_method('DoCalcRxPower', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1348
                   'double', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1349
                   [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1350
                   is_const=True, visibility='private', is_virtual=True)
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1351
    return
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1352
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1353
def register_Ns3FriisPropagationLossModel_methods(root_module, cls):
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1354
    ## propagation-loss-model.h: static ns3::TypeId ns3::FriisPropagationLossModel::GetTypeId() [member function]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1355
    cls.add_method('GetTypeId', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1356
                   'ns3::TypeId', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1357
                   [], 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1358
                   is_static=True)
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1359
    ## propagation-loss-model.h: ns3::FriisPropagationLossModel::FriisPropagationLossModel() [constructor]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1360
    cls.add_constructor([])
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1361
    ## propagation-loss-model.h: void ns3::FriisPropagationLossModel::SetLambda(double frequency, double speed) [member function]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1362
    cls.add_method('SetLambda', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1363
                   'void', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1364
                   [param('double', 'frequency'), param('double', 'speed')])
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1365
    ## propagation-loss-model.h: void ns3::FriisPropagationLossModel::SetLambda(double lambda) [member function]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1366
    cls.add_method('SetLambda', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1367
                   'void', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1368
                   [param('double', 'lambda')])
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1369
    ## propagation-loss-model.h: void ns3::FriisPropagationLossModel::SetSystemLoss(double systemLoss) [member function]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1370
    cls.add_method('SetSystemLoss', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1371
                   'void', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1372
                   [param('double', 'systemLoss')])
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1373
    ## propagation-loss-model.h: void ns3::FriisPropagationLossModel::SetMinDistance(double minDistance) [member function]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1374
    cls.add_method('SetMinDistance', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1375
                   'void', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1376
                   [param('double', 'minDistance')])
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1377
    ## propagation-loss-model.h: double ns3::FriisPropagationLossModel::GetMinDistance() const [member function]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1378
    cls.add_method('GetMinDistance', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1379
                   'double', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1380
                   [], 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1381
                   is_const=True)
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1382
    ## propagation-loss-model.h: double ns3::FriisPropagationLossModel::GetLambda() const [member function]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1383
    cls.add_method('GetLambda', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1384
                   'double', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1385
                   [], 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1386
                   is_const=True)
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1387
    ## propagation-loss-model.h: double ns3::FriisPropagationLossModel::GetSystemLoss() const [member function]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1388
    cls.add_method('GetSystemLoss', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1389
                   'double', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1390
                   [], 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1391
                   is_const=True)
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1392
    ## propagation-loss-model.h: double ns3::FriisPropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr<ns3::MobilityModel> a, ns3::Ptr<ns3::MobilityModel> b) const [member function]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1393
    cls.add_method('DoCalcRxPower', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1394
                   'double', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1395
                   [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1396
                   is_const=True, visibility='private', is_virtual=True)
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1397
    return
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1398
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1399
def register_Ns3JakesPropagationLossModel_methods(root_module, cls):
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1400
    ## jakes-propagation-loss-model.h: ns3::JakesPropagationLossModel::JakesPropagationLossModel() [constructor]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1401
    cls.add_constructor([])
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1402
    ## jakes-propagation-loss-model.h: uint8_t ns3::JakesPropagationLossModel::GetNOscillators() const [member function]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1403
    cls.add_method('GetNOscillators', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1404
                   'uint8_t', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1405
                   [], 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1406
                   is_const=True)
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1407
    ## jakes-propagation-loss-model.h: uint8_t ns3::JakesPropagationLossModel::GetNRays() const [member function]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1408
    cls.add_method('GetNRays', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1409
                   'uint8_t', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1410
                   [], 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1411
                   is_const=True)
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1412
    ## jakes-propagation-loss-model.h: static ns3::TypeId ns3::JakesPropagationLossModel::GetTypeId() [member function]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1413
    cls.add_method('GetTypeId', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1414
                   'ns3::TypeId', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1415
                   [], 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1416
                   is_static=True)
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1417
    ## jakes-propagation-loss-model.h: void ns3::JakesPropagationLossModel::SetNOscillators(uint8_t nOscillators) [member function]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1418
    cls.add_method('SetNOscillators', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1419
                   'void', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1420
                   [param('uint8_t', 'nOscillators')])
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1421
    ## jakes-propagation-loss-model.h: void ns3::JakesPropagationLossModel::SetNRays(uint8_t nRays) [member function]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1422
    cls.add_method('SetNRays', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1423
                   'void', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1424
                   [param('uint8_t', 'nRays')])
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1425
    ## jakes-propagation-loss-model.h: double ns3::JakesPropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr<ns3::MobilityModel> a, ns3::Ptr<ns3::MobilityModel> b) const [member function]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1426
    cls.add_method('DoCalcRxPower', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1427
                   'double', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1428
                   [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1429
                   is_const=True, visibility='private', is_virtual=True)
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1430
    return
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1431
5348
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1432
def register_Ns3ListErrorModel_methods(root_module, cls):
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1433
    ## error-model.h: ns3::ListErrorModel::ListErrorModel(ns3::ListErrorModel const & arg0) [copy constructor]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1434
    cls.add_constructor([param('ns3::ListErrorModel const &', 'arg0')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1435
    ## error-model.h: ns3::ListErrorModel::ListErrorModel() [constructor]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1436
    cls.add_constructor([])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1437
    ## error-model.h: std::list<unsigned int, std::allocator<unsigned int> > ns3::ListErrorModel::GetList() const [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1438
    cls.add_method('GetList', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1439
                   'std::list< unsigned int >', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1440
                   [], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1441
                   is_const=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1442
    ## error-model.h: static ns3::TypeId ns3::ListErrorModel::GetTypeId() [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1443
    cls.add_method('GetTypeId', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1444
                   'ns3::TypeId', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1445
                   [], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1446
                   is_static=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1447
    ## error-model.h: void ns3::ListErrorModel::SetList(std::list<unsigned int, std::allocator<unsigned int> > const & packetlist) [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1448
    cls.add_method('SetList', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1449
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1450
                   [param('std::list< unsigned int > const &', 'packetlist')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1451
    ## error-model.h: bool ns3::ListErrorModel::DoCorrupt(ns3::Ptr<ns3::Packet> p) [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1452
    cls.add_method('DoCorrupt', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1453
                   'bool', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1454
                   [param('ns3::Ptr< ns3::Packet >', 'p')], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1455
                   visibility='private', is_virtual=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1456
    ## error-model.h: void ns3::ListErrorModel::DoReset() [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1457
    cls.add_method('DoReset', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1458
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1459
                   [], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1460
                   visibility='private', is_virtual=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1461
    return
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1462
5982
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1463
def register_Ns3LogDistancePropagationLossModel_methods(root_module, cls):
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1464
    ## propagation-loss-model.h: static ns3::TypeId ns3::LogDistancePropagationLossModel::GetTypeId() [member function]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1465
    cls.add_method('GetTypeId', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1466
                   'ns3::TypeId', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1467
                   [], 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1468
                   is_static=True)
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1469
    ## propagation-loss-model.h: ns3::LogDistancePropagationLossModel::LogDistancePropagationLossModel() [constructor]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1470
    cls.add_constructor([])
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1471
    ## propagation-loss-model.h: void ns3::LogDistancePropagationLossModel::SetPathLossExponent(double n) [member function]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1472
    cls.add_method('SetPathLossExponent', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1473
                   'void', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1474
                   [param('double', 'n')])
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1475
    ## propagation-loss-model.h: double ns3::LogDistancePropagationLossModel::GetPathLossExponent() const [member function]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1476
    cls.add_method('GetPathLossExponent', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1477
                   'double', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1478
                   [], 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1479
                   is_const=True)
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1480
    ## propagation-loss-model.h: void ns3::LogDistancePropagationLossModel::SetReference(double referenceDistance, double referenceLoss) [member function]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1481
    cls.add_method('SetReference', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1482
                   'void', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1483
                   [param('double', 'referenceDistance'), param('double', 'referenceLoss')])
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1484
    ## propagation-loss-model.h: double ns3::LogDistancePropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr<ns3::MobilityModel> a, ns3::Ptr<ns3::MobilityModel> b) const [member function]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1485
    cls.add_method('DoCalcRxPower', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1486
                   'double', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1487
                   [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1488
                   is_const=True, visibility='private', is_virtual=True)
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1489
    return
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1490
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1491
def register_Ns3NakagamiPropagationLossModel_methods(root_module, cls):
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1492
    ## propagation-loss-model.h: static ns3::TypeId ns3::NakagamiPropagationLossModel::GetTypeId() [member function]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1493
    cls.add_method('GetTypeId', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1494
                   'ns3::TypeId', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1495
                   [], 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1496
                   is_static=True)
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1497
    ## propagation-loss-model.h: ns3::NakagamiPropagationLossModel::NakagamiPropagationLossModel() [constructor]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1498
    cls.add_constructor([])
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1499
    ## propagation-loss-model.h: double ns3::NakagamiPropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr<ns3::MobilityModel> a, ns3::Ptr<ns3::MobilityModel> b) const [member function]
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1500
    cls.add_method('DoCalcRxPower', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1501
                   'double', 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1502
                   [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], 
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1503
                   is_const=True, visibility='private', is_virtual=True)
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1504
    return
328c7437944d Python: rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5941
diff changeset
  1505
5348
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1506
def register_Ns3NixVector_methods(root_module, cls):
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1507
    cls.add_output_stream_operator()
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1508
    ## nix-vector.h: ns3::NixVector::NixVector() [constructor]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1509
    cls.add_constructor([])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1510
    ## nix-vector.h: ns3::NixVector::NixVector(ns3::NixVector const & o) [copy constructor]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1511
    cls.add_constructor([param('ns3::NixVector const &', 'o')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1512
    ## nix-vector.h: void ns3::NixVector::AddNeighborIndex(uint32_t newBits, uint32_t numberOfBits) [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1513
    cls.add_method('AddNeighborIndex', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1514
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1515
                   [param('uint32_t', 'newBits'), param('uint32_t', 'numberOfBits')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1516
    ## nix-vector.h: uint32_t ns3::NixVector::BitCount(uint32_t numberOfNeighbors) const [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1517
    cls.add_method('BitCount', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1518
                   'uint32_t', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1519
                   [param('uint32_t', 'numberOfNeighbors')], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1520
                   is_const=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1521
    ## nix-vector.h: ns3::Ptr<ns3::NixVector> ns3::NixVector::Copy() const [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1522
    cls.add_method('Copy', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1523
                   'ns3::Ptr< ns3::NixVector >', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1524
                   [], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1525
                   is_const=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1526
    ## nix-vector.h: uint32_t ns3::NixVector::Deserialize(ns3::Buffer::Iterator i) [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1527
    cls.add_method('Deserialize', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1528
                   'uint32_t', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1529
                   [param('ns3::Buffer::Iterator', 'i')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1530
    ## nix-vector.h: void ns3::NixVector::DumpNixVector(std::ostream & os) const [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1531
    cls.add_method('DumpNixVector', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1532
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1533
                   [param('std::ostream &', 'os')], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1534
                   is_const=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1535
    ## nix-vector.h: uint32_t ns3::NixVector::ExtractNeighborIndex(uint32_t numberOfBits) [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1536
    cls.add_method('ExtractNeighborIndex', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1537
                   'uint32_t', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1538
                   [param('uint32_t', 'numberOfBits')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1539
    ## nix-vector.h: uint32_t ns3::NixVector::GetRemainingBits() [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1540
    cls.add_method('GetRemainingBits', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1541
                   'uint32_t', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1542
                   [])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1543
    ## nix-vector.h: uint32_t ns3::NixVector::GetSerializedSize() const [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1544
    cls.add_method('GetSerializedSize', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1545
                   'uint32_t', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1546
                   [], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1547
                   is_const=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1548
    ## nix-vector.h: static ns3::TypeId ns3::NixVector::GetTypeId() [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1549
    cls.add_method('GetTypeId', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1550
                   'ns3::TypeId', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1551
                   [], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1552
                   is_static=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1553
    ## nix-vector.h: void ns3::NixVector::Serialize(ns3::Buffer::Iterator i, uint32_t size) const [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1554
    cls.add_method('Serialize', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1555
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1556
                   [param('ns3::Buffer::Iterator', 'i'), param('uint32_t', 'size')], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1557
                   is_const=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1558
    return
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1559
6053
b17ea72acee9 OutputStreamKeeper to OutputStreamWrapper
Craig Dowell <craigdo@ee.washington.edu>
parents: 6052
diff changeset
  1560
def register_Ns3OutputStreamWrapper_methods(root_module, cls):
b17ea72acee9 OutputStreamKeeper to OutputStreamWrapper
Craig Dowell <craigdo@ee.washington.edu>
parents: 6052
diff changeset
  1561
    ## output-stream-wrapper.h: ns3::OutputStreamWrapper::OutputStreamWrapper(ns3::OutputStreamWrapper const & arg0) [copy constructor]
b17ea72acee9 OutputStreamKeeper to OutputStreamWrapper
Craig Dowell <craigdo@ee.washington.edu>
parents: 6052
diff changeset
  1562
    cls.add_constructor([param('ns3::OutputStreamWrapper const &', 'arg0')])
b17ea72acee9 OutputStreamKeeper to OutputStreamWrapper
Craig Dowell <craigdo@ee.washington.edu>
parents: 6052
diff changeset
  1563
    ## output-stream-wrapper.h: ns3::OutputStreamWrapper::OutputStreamWrapper() [constructor]
6050
704ff76c4aa3 python-scan
Craig Dowell <craigdo@ee.washington.edu>
parents: 6047
diff changeset
  1564
    cls.add_constructor([])
6053
b17ea72acee9 OutputStreamKeeper to OutputStreamWrapper
Craig Dowell <craigdo@ee.washington.edu>
parents: 6052
diff changeset
  1565
    ## output-stream-wrapper.h: std::ostream * ns3::OutputStreamWrapper::GetStream() [member function]
6050
704ff76c4aa3 python-scan
Craig Dowell <craigdo@ee.washington.edu>
parents: 6047
diff changeset
  1566
    cls.add_method('GetStream', 
704ff76c4aa3 python-scan
Craig Dowell <craigdo@ee.washington.edu>
parents: 6047
diff changeset
  1567
                   'std::ostream *', 
704ff76c4aa3 python-scan
Craig Dowell <craigdo@ee.washington.edu>
parents: 6047
diff changeset
  1568
                   [])
6053
b17ea72acee9 OutputStreamKeeper to OutputStreamWrapper
Craig Dowell <craigdo@ee.washington.edu>
parents: 6052
diff changeset
  1569
    ## output-stream-wrapper.h: void ns3::OutputStreamWrapper::SetStream(std::ostream * ostream) [member function]
6050
704ff76c4aa3 python-scan
Craig Dowell <craigdo@ee.washington.edu>
parents: 6047
diff changeset
  1570
    cls.add_method('SetStream', 
704ff76c4aa3 python-scan
Craig Dowell <craigdo@ee.washington.edu>
parents: 6047
diff changeset
  1571
                   'void', 
704ff76c4aa3 python-scan
Craig Dowell <craigdo@ee.washington.edu>
parents: 6047
diff changeset
  1572
                   [param('std::ostream *', 'ostream')])
704ff76c4aa3 python-scan
Craig Dowell <craigdo@ee.washington.edu>
parents: 6047
diff changeset
  1573
    return
704ff76c4aa3 python-scan
Craig Dowell <craigdo@ee.washington.edu>
parents: 6047
diff changeset
  1574
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
  1575
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
  1576
    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
  1577
    ## 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
  1578
    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
  1579
    ## 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
  1580
    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
  1581
    ## 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
  1582
    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
  1583
    ## 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
  1584
    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
  1585
    ## 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
  1586
    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
  1587
                   '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
  1588
                   [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
  1589
    ## 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
  1590
    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
  1591
                   '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
  1592
                   [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
  1593
                   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
  1594
    ## 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
  1595
    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
  1596
                   '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
  1597
                   [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
  1598
    ## 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
  1599
    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
  1600
                   '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
  1601
                   [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
  1602
                   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
  1603
    ## 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
  1604
    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
  1605
                   '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
  1606
                   [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
  1607
    ## 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
  1608
    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
  1609
                   '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
  1610
                   [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
  1611
    ## 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
  1612
    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
  1613
                   '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
  1614
                   [], 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1615
                   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
  1616
    ## 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
  1617
    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
  1618
                   '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
  1619
                   [], 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1620
                   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
  1621
    ## 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
  1622
    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
  1623
                   '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
  1624
                   [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
  1625
                   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
  1626
    ## 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
  1627
    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
  1628
                   '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
  1629
                   [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
  1630
                   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
  1631
    ## 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
  1632
    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
  1633
                   '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
  1634
                   [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
  1635
                   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
  1636
    ## 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
  1637
    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
  1638
                   '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
  1639
                   [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
  1640
    ## 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
  1641
    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
  1642
                   '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
  1643
                   [], 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1644
                   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
  1645
    ## 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
  1646
    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
  1647
                   '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
  1648
                   [], 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1649
                   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
  1650
    ## 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
  1651
    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
  1652
                   '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
  1653
                   [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
  1654
                   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
  1655
    ## 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
  1656
    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
  1657
                   '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
  1658
                   [], 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1659
                   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
  1660
    ## 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
  1661
    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
  1662
                   '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
  1663
                   [], 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1664
                   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
  1665
    ## 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
  1666
    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
  1667
                   '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
  1668
                   [], 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1669
                   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
  1670
    ## 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
  1671
    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
  1672
                   '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
  1673
                   [], 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1674
                   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
  1675
    ## 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
  1676
    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
  1677
                   '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
  1678
                   [], 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1679
                   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
  1680
    ## 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
  1681
    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
  1682
                   '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
  1683
                   [], 
5754
7f0de9a416ea There was a race condition in last python apidefs rescan...
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5753
diff changeset
  1684
                   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
  1685
    ## 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
  1686
    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
  1687
                   '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
  1688
                   [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
  1689
                   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
  1690
    ## 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
  1691
    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
  1692
                   '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
  1693
                   [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
  1694
                   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
  1695
    ## 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
  1696
    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
  1697
                   '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
  1698
                   [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
  1699
    ## 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
  1700
    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
  1701
                   '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
  1702
                   [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
  1703
                   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
  1704
    ## 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
  1705
    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
  1706
                   '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
  1707
                   [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
  1708
                   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
  1709
    ## 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
  1710
    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
  1711
                   '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
  1712
                   [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
  1713
                   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
  1714
    ## 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
  1715
    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
  1716
                   '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
  1717
                   [])
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1718
    ## 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
  1719
    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
  1720
                   '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
  1721
                   [])
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1722
    ## 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
  1723
    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
  1724
                   '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
  1725
                   [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
  1726
    ## 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
  1727
    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
  1728
                   '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
  1729
                   [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
  1730
    ## 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
  1731
    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
  1732
                   '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
  1733
                   [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
  1734
    ## 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
  1735
    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
  1736
                   '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
  1737
                   [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
  1738
    ## 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
  1739
    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
  1740
                   '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
  1741
                   [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
  1742
    ## 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
  1743
    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
  1744
                   '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
  1745
                   [], 
8c105b521d1b Python: rescan; need new 'section precedence' API from PyBindGen; other PBG bug fixes pulled from new version.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5504
diff changeset
  1746
                   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
  1747
    ## 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
  1748
    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
  1749
                   '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
  1750
                   [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
  1751
    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
  1752
5348
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1753
def register_Ns3RateErrorModel_methods(root_module, cls):
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1754
    ## error-model.h: ns3::RateErrorModel::RateErrorModel(ns3::RateErrorModel const & arg0) [copy constructor]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1755
    cls.add_constructor([param('ns3::RateErrorModel const &', 'arg0')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1756
    ## error-model.h: ns3::RateErrorModel::RateErrorModel() [constructor]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1757
    cls.add_constructor([])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1758
    ## error-model.h: double ns3::RateErrorModel::GetRate() const [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1759
    cls.add_method('GetRate', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1760
                   'double', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1761
                   [], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1762
                   is_const=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1763
    ## error-model.h: static ns3::TypeId ns3::RateErrorModel::GetTypeId() [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1764
    cls.add_method('GetTypeId', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1765
                   'ns3::TypeId', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1766
                   [], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1767
                   is_static=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1768
    ## error-model.h: ns3::ErrorUnit ns3::RateErrorModel::GetUnit() const [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1769
    cls.add_method('GetUnit', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1770
                   'ns3::ErrorUnit', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1771
                   [], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1772
                   is_const=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1773
    ## error-model.h: void ns3::RateErrorModel::SetRandomVariable(ns3::RandomVariable const & ranvar) [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1774
    cls.add_method('SetRandomVariable', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1775
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1776
                   [param('ns3::RandomVariable const &', 'ranvar')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1777
    ## error-model.h: void ns3::RateErrorModel::SetRate(double rate) [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1778
    cls.add_method('SetRate', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1779
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1780
                   [param('double', 'rate')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1781
    ## error-model.h: void ns3::RateErrorModel::SetUnit(ns3::ErrorUnit error_unit) [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1782
    cls.add_method('SetUnit', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1783
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1784
                   [param('ns3::ErrorUnit', 'error_unit')])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1785
    ## error-model.h: bool ns3::RateErrorModel::DoCorrupt(ns3::Ptr<ns3::Packet> p) [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1786
    cls.add_method('DoCorrupt', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1787
                   'bool', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1788
                   [param('ns3::Ptr< ns3::Packet >', 'p')], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1789
                   visibility='private', is_virtual=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1790
    ## error-model.h: bool ns3::RateErrorModel::DoCorruptBit(ns3::Ptr<ns3::Packet> p) [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1791
    cls.add_method('DoCorruptBit', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1792
                   'bool', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1793
                   [param('ns3::Ptr< ns3::Packet >', 'p')], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1794
                   visibility='private', is_virtual=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1795
    ## error-model.h: bool ns3::RateErrorModel::DoCorruptByte(ns3::Ptr<ns3::Packet> p) [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1796
    cls.add_method('DoCorruptByte', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1797
                   'bool', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1798
                   [param('ns3::Ptr< ns3::Packet >', 'p')], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1799
                   visibility='private', is_virtual=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1800
    ## error-model.h: bool ns3::RateErrorModel::DoCorruptPkt(ns3::Ptr<ns3::Packet> p) [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1801
    cls.add_method('DoCorruptPkt', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1802
                   'bool', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1803
                   [param('ns3::Ptr< ns3::Packet >', 'p')], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1804
                   visibility='private', is_virtual=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1805
    ## error-model.h: void ns3::RateErrorModel::DoReset() [member function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1806
    cls.add_method('DoReset', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1807
                   'void', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1808
                   [], 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1809
                   visibility='private', is_virtual=True)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1810
    return
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1811
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1812
def register_functions(root_module):
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1813
    module = root_module
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1814
    ## data-rate.h: extern ns3::Ptr<ns3::AttributeChecker const> ns3::MakeDataRateChecker() [free function]
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1815
    module.add_function('MakeDataRateChecker', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1816
                        'ns3::Ptr< ns3::AttributeChecker const >', 
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1817
                        [])
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1818
    register_functions_ns3_Config(module.get_submodule('Config'), root_module)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1819
    register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1820
    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
  1821
    register_functions_ns3_aodv(module.get_submodule('aodv'), root_module)
5348
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1822
    register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1823
    register_functions_ns3_flame(module.get_submodule('flame'), root_module)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1824
    register_functions_ns3_internal(module.get_submodule('internal'), root_module)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1825
    register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1826
    return
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1827
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1828
def register_functions_ns3_Config(module, root_module):
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1829
    return
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1830
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1831
def register_functions_ns3_TimeStepPrecision(module, root_module):
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1832
    return
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1833
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1834
def register_functions_ns3_addressUtils(module, root_module):
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1835
    return
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1836
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
  1837
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
  1838
    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
  1839
5348
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1840
def register_functions_ns3_dot11s(module, root_module):
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1841
    return
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1842
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1843
def register_functions_ns3_flame(module, root_module):
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1844
    return
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1845
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1846
def register_functions_ns3_internal(module, root_module):
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1847
    return
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1848
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1849
def register_functions_ns3_olsr(module, root_module):
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1850
    return
0d11c82c3a45 python-scan
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 5324
diff changeset
  1851