src/csma-layout/bindings/modulegen__gcc_LP64.py
author Tom Henderson <tomh@tomh.org>
Mon, 15 Sep 2014 20:51:08 -0700
changeset 10956 fa4be182ef17
parent 10795 29506f2221e2
child 10990 414d94e669c5
permissions -rw-r--r--
rescan remaining bindings
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
     1
from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
     2
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
     3
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
     4
import pybindgen.settings
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
     5
import warnings
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
     6
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
     7
class ErrorHandler(pybindgen.settings.ErrorHandler):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
     8
    def handle_error(self, wrapper, exception, traceback_):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
     9
        warnings.warn("exception %r in wrapper %s" % (exception, wrapper))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    10
        return True
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    11
pybindgen.settings.error_handler = ErrorHandler()
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    12
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    13
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    14
import sys
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    15
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    16
def module_init():
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    17
    root_module = Module('ns.csma_layout', cpp_namespace='::ns3')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    18
    return root_module
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    19
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    20
def register_types(module):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    21
    root_module = module.get_root()
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    22
    
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    23
    ## csma-channel.h (module 'csma'): ns3::WireState [enumeration]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    24
    module.add_enum('WireState', ['IDLE', 'TRANSMITTING', 'PROPAGATING'], import_from_module='ns.csma')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    25
    ## address.h (module 'network'): ns3::Address [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    26
    module.add_class('Address', import_from_module='ns.network')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    27
    ## address.h (module 'network'): ns3::Address::MaxSize_e [enumeration]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    28
    module.add_enum('MaxSize_e', ['MAX_SIZE'], outer_class=root_module['ns3::Address'], import_from_module='ns.network')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    29
    ## trace-helper.h (module 'network'): ns3::AsciiTraceHelper [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    30
    module.add_class('AsciiTraceHelper', import_from_module='ns.network')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    31
    ## trace-helper.h (module 'network'): ns3::AsciiTraceHelperForDevice [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    32
    module.add_class('AsciiTraceHelperForDevice', allow_subclassing=True, import_from_module='ns.network')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    33
    ## internet-trace-helper.h (module 'internet'): ns3::AsciiTraceHelperForIpv4 [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    34
    module.add_class('AsciiTraceHelperForIpv4', allow_subclassing=True, import_from_module='ns.internet')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    35
    ## internet-trace-helper.h (module 'internet'): ns3::AsciiTraceHelperForIpv6 [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    36
    module.add_class('AsciiTraceHelperForIpv6', allow_subclassing=True, import_from_module='ns.internet')
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
    37
    ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
    38
    module.add_class('AttributeConstructionList', import_from_module='ns.core')
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
    39
    ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
    40
    module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList'])
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    41
    ## buffer.h (module 'network'): ns3::Buffer [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    42
    module.add_class('Buffer', import_from_module='ns.network')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    43
    ## buffer.h (module 'network'): ns3::Buffer::Iterator [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    44
    module.add_class('Iterator', import_from_module='ns.network', outer_class=root_module['ns3::Buffer'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    45
    ## packet.h (module 'network'): ns3::ByteTagIterator [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    46
    module.add_class('ByteTagIterator', import_from_module='ns.network')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    47
    ## packet.h (module 'network'): ns3::ByteTagIterator::Item [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    48
    module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::ByteTagIterator'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    49
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    50
    module.add_class('ByteTagList', import_from_module='ns.network')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    51
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    52
    module.add_class('Iterator', import_from_module='ns.network', outer_class=root_module['ns3::ByteTagList'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    53
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item [struct]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    54
    module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::ByteTagList::Iterator'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    55
    ## callback.h (module 'core'): ns3::CallbackBase [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    56
    module.add_class('CallbackBase', import_from_module='ns.core')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    57
    ## csma-channel.h (module 'csma'): ns3::CsmaDeviceRec [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    58
    module.add_class('CsmaDeviceRec', import_from_module='ns.csma')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    59
    ## csma-star-helper.h (module 'csma-layout'): ns3::CsmaStarHelper [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    60
    module.add_class('CsmaStarHelper')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    61
    ## data-rate.h (module 'network'): ns3::DataRate [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    62
    module.add_class('DataRate', import_from_module='ns.network')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    63
    ## event-id.h (module 'core'): ns3::EventId [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    64
    module.add_class('EventId', import_from_module='ns.core')
10183
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
    65
    ## hash.h (module 'core'): ns3::Hasher [class]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
    66
    module.add_class('Hasher', import_from_module='ns.core')
9190
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
    67
    ## inet6-socket-address.h (module 'network'): ns3::Inet6SocketAddress [class]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
    68
    module.add_class('Inet6SocketAddress', import_from_module='ns.network')
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
    69
    ## inet6-socket-address.h (module 'network'): ns3::Inet6SocketAddress [class]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
    70
    root_module['ns3::Inet6SocketAddress'].implicitly_converts_to(root_module['ns3::Address'])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
    71
    ## inet-socket-address.h (module 'network'): ns3::InetSocketAddress [class]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
    72
    module.add_class('InetSocketAddress', import_from_module='ns.network')
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
    73
    ## inet-socket-address.h (module 'network'): ns3::InetSocketAddress [class]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
    74
    root_module['ns3::InetSocketAddress'].implicitly_converts_to(root_module['ns3::Address'])
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    75
    ## ipv4-address.h (module 'network'): ns3::Ipv4Address [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    76
    module.add_class('Ipv4Address', import_from_module='ns.network')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    77
    ## ipv4-address.h (module 'network'): ns3::Ipv4Address [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    78
    root_module['ns3::Ipv4Address'].implicitly_converts_to(root_module['ns3::Address'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    79
    ## ipv4-address-helper.h (module 'internet'): ns3::Ipv4AddressHelper [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    80
    module.add_class('Ipv4AddressHelper', import_from_module='ns.internet')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    81
    ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4InterfaceAddress [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    82
    module.add_class('Ipv4InterfaceAddress', import_from_module='ns.internet')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    83
    ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e [enumeration]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    84
    module.add_enum('InterfaceAddressScope_e', ['HOST', 'LINK', 'GLOBAL'], outer_class=root_module['ns3::Ipv4InterfaceAddress'], import_from_module='ns.internet')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    85
    ## ipv4-interface-container.h (module 'internet'): ns3::Ipv4InterfaceContainer [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    86
    module.add_class('Ipv4InterfaceContainer', import_from_module='ns.internet')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    87
    ## ipv4-address.h (module 'network'): ns3::Ipv4Mask [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    88
    module.add_class('Ipv4Mask', import_from_module='ns.network')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    89
    ## ipv6-address.h (module 'network'): ns3::Ipv6Address [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    90
    module.add_class('Ipv6Address', import_from_module='ns.network')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    91
    ## ipv6-address.h (module 'network'): ns3::Ipv6Address [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    92
    root_module['ns3::Ipv6Address'].implicitly_converts_to(root_module['ns3::Address'])
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
    93
    ## ipv6-address-generator.h (module 'internet'): ns3::Ipv6AddressGenerator [class]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
    94
    module.add_class('Ipv6AddressGenerator', import_from_module='ns.internet')
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
    95
    ## ipv6-address-helper.h (module 'internet'): ns3::Ipv6AddressHelper [class]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
    96
    module.add_class('Ipv6AddressHelper', import_from_module='ns.internet')
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    97
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    98
    module.add_class('Ipv6InterfaceAddress', import_from_module='ns.internet')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
    99
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress::State_e [enumeration]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   100
    module.add_enum('State_e', ['TENTATIVE', 'DEPRECATED', 'PREFERRED', 'PERMANENT', 'HOMEADDRESS', 'TENTATIVE_OPTIMISTIC', 'INVALID'], outer_class=root_module['ns3::Ipv6InterfaceAddress'], import_from_module='ns.internet')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   101
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress::Scope_e [enumeration]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   102
    module.add_enum('Scope_e', ['HOST', 'LINKLOCAL', 'GLOBAL'], outer_class=root_module['ns3::Ipv6InterfaceAddress'], import_from_module='ns.internet')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   103
    ## ipv6-interface-container.h (module 'internet'): ns3::Ipv6InterfaceContainer [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   104
    module.add_class('Ipv6InterfaceContainer', import_from_module='ns.internet')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   105
    ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   106
    module.add_class('Ipv6Prefix', import_from_module='ns.network')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   107
    ## net-device-container.h (module 'network'): ns3::NetDeviceContainer [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   108
    module.add_class('NetDeviceContainer', import_from_module='ns.network')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   109
    ## node-container.h (module 'network'): ns3::NodeContainer [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   110
    module.add_class('NodeContainer', import_from_module='ns.network')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   111
    ## object-base.h (module 'core'): ns3::ObjectBase [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   112
    module.add_class('ObjectBase', allow_subclassing=True, import_from_module='ns.core')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   113
    ## object.h (module 'core'): ns3::ObjectDeleter [struct]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   114
    module.add_class('ObjectDeleter', import_from_module='ns.core')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   115
    ## object-factory.h (module 'core'): ns3::ObjectFactory [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   116
    module.add_class('ObjectFactory', import_from_module='ns.core')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   117
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   118
    module.add_class('PacketMetadata', import_from_module='ns.network')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   119
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item [struct]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   120
    module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::PacketMetadata'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   121
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item [enumeration]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   122
    module.add_enum('', ['PAYLOAD', 'HEADER', 'TRAILER'], outer_class=root_module['ns3::PacketMetadata::Item'], import_from_module='ns.network')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   123
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   124
    module.add_class('ItemIterator', import_from_module='ns.network', outer_class=root_module['ns3::PacketMetadata'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   125
    ## packet.h (module 'network'): ns3::PacketTagIterator [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   126
    module.add_class('PacketTagIterator', import_from_module='ns.network')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   127
    ## packet.h (module 'network'): ns3::PacketTagIterator::Item [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   128
    module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::PacketTagIterator'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   129
    ## packet-tag-list.h (module 'network'): ns3::PacketTagList [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   130
    module.add_class('PacketTagList', import_from_module='ns.network')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   131
    ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData [struct]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   132
    module.add_class('TagData', import_from_module='ns.network', outer_class=root_module['ns3::PacketTagList'])
9901
9a100979b2df Updatemany modules' Python bindings
Mitch Watrous
parents: 9708
diff changeset
   133
    ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::TagData_e [enumeration]
9a100979b2df Updatemany modules' Python bindings
Mitch Watrous
parents: 9708
diff changeset
   134
    module.add_enum('TagData_e', ['MAX_SIZE'], outer_class=root_module['ns3::PacketTagList::TagData'], import_from_module='ns.network')
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   135
    ## pcap-file.h (module 'network'): ns3::PcapFile [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   136
    module.add_class('PcapFile', import_from_module='ns.network')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   137
    ## trace-helper.h (module 'network'): ns3::PcapHelper [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   138
    module.add_class('PcapHelper', import_from_module='ns.network')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   139
    ## trace-helper.h (module 'network'): ns3::PcapHelper [enumeration]
10795
29506f2221e2 update bindings
Tom Henderson <tomh@tomh.org>
parents: 10631
diff changeset
   140
    module.add_enum('', ['DLT_NULL', 'DLT_EN10MB', 'DLT_PPP', 'DLT_RAW', 'DLT_IEEE802_11', 'DLT_PRISM_HEADER', 'DLT_IEEE802_11_RADIO', 'DLT_IEEE802_15_4'], outer_class=root_module['ns3::PcapHelper'], import_from_module='ns.network')
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   141
    ## trace-helper.h (module 'network'): ns3::PcapHelperForDevice [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   142
    module.add_class('PcapHelperForDevice', allow_subclassing=True, import_from_module='ns.network')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   143
    ## internet-trace-helper.h (module 'internet'): ns3::PcapHelperForIpv4 [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   144
    module.add_class('PcapHelperForIpv4', allow_subclassing=True, import_from_module='ns.internet')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   145
    ## internet-trace-helper.h (module 'internet'): ns3::PcapHelperForIpv6 [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   146
    module.add_class('PcapHelperForIpv6', allow_subclassing=True, import_from_module='ns.internet')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   147
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter> [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   148
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Object', 'ns3::ObjectBase', 'ns3::ObjectDeleter'], parent=root_module['ns3::ObjectBase'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   149
    ## simulator.h (module 'core'): ns3::Simulator [class]
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   150
    module.add_class('Simulator', destructor_visibility='private', import_from_module='ns.core')
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   151
    ## tag.h (module 'network'): ns3::Tag [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   152
    module.add_class('Tag', import_from_module='ns.network', parent=root_module['ns3::ObjectBase'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   153
    ## tag-buffer.h (module 'network'): ns3::TagBuffer [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   154
    module.add_class('TagBuffer', import_from_module='ns.network')
10795
29506f2221e2 update bindings
Tom Henderson <tomh@tomh.org>
parents: 10631
diff changeset
   155
    ## nstime.h (module 'core'): ns3::TimeWithUnit [class]
29506f2221e2 update bindings
Tom Henderson <tomh@tomh.org>
parents: 10631
diff changeset
   156
    module.add_class('TimeWithUnit', import_from_module='ns.core')
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   157
    ## type-id.h (module 'core'): ns3::TypeId [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   158
    module.add_class('TypeId', import_from_module='ns.core')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   159
    ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   160
    module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core')
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   161
    ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   162
    module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId'])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   163
    ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   164
    module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId'])
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   165
    ## empty.h (module 'core'): ns3::empty [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   166
    module.add_class('empty', import_from_module='ns.core')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   167
    ## int64x64-double.h (module 'core'): ns3::int64x64_t [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   168
    module.add_class('int64x64_t', import_from_module='ns.core')
10628
8e7d67510b46 [Python Bindings] rescan bindings
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 10567
diff changeset
   169
    ## int64x64-double.h (module 'core'): ns3::int64x64_t::impl_type [enumeration]
8e7d67510b46 [Python Bindings] rescan bindings
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 10567
diff changeset
   170
    module.add_enum('impl_type', ['int128_impl', 'cairo_impl', 'ld_impl'], outer_class=root_module['ns3::int64x64_t'], import_from_module='ns.core')
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   171
    ## chunk.h (module 'network'): ns3::Chunk [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   172
    module.add_class('Chunk', import_from_module='ns.network', parent=root_module['ns3::ObjectBase'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   173
    ## csma-helper.h (module 'csma'): ns3::CsmaHelper [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   174
    module.add_class('CsmaHelper', import_from_module='ns.csma', parent=[root_module['ns3::PcapHelperForDevice'], root_module['ns3::AsciiTraceHelperForDevice']])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   175
    ## header.h (module 'network'): ns3::Header [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   176
    module.add_class('Header', import_from_module='ns.network', parent=root_module['ns3::Chunk'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   177
    ## internet-stack-helper.h (module 'internet'): ns3::InternetStackHelper [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   178
    module.add_class('InternetStackHelper', import_from_module='ns.internet', parent=[root_module['ns3::PcapHelperForIpv4'], root_module['ns3::PcapHelperForIpv6'], root_module['ns3::AsciiTraceHelperForIpv4'], root_module['ns3::AsciiTraceHelperForIpv6']])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   179
    ## ipv4-header.h (module 'internet'): ns3::Ipv4Header [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   180
    module.add_class('Ipv4Header', import_from_module='ns.internet', parent=root_module['ns3::Header'])
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   181
    ## ipv4-header.h (module 'internet'): ns3::Ipv4Header::DscpType [enumeration]
10183
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
   182
    module.add_enum('DscpType', ['DscpDefault', 'DSCP_CS1', 'DSCP_AF11', 'DSCP_AF12', 'DSCP_AF13', 'DSCP_CS2', 'DSCP_AF21', 'DSCP_AF22', 'DSCP_AF23', 'DSCP_CS3', 'DSCP_AF31', 'DSCP_AF32', 'DSCP_AF33', 'DSCP_CS4', 'DSCP_AF41', 'DSCP_AF42', 'DSCP_AF43', 'DSCP_CS5', 'DSCP_EF', 'DSCP_CS6', 'DSCP_CS7'], outer_class=root_module['ns3::Ipv4Header'], import_from_module='ns.internet')
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   183
    ## ipv4-header.h (module 'internet'): ns3::Ipv4Header::EcnType [enumeration]
10183
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
   184
    module.add_enum('EcnType', ['ECN_NotECT', 'ECN_ECT1', 'ECN_ECT0', 'ECN_CE'], outer_class=root_module['ns3::Ipv4Header'], import_from_module='ns.internet')
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   185
    ## ipv6-header.h (module 'internet'): ns3::Ipv6Header [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   186
    module.add_class('Ipv6Header', import_from_module='ns.internet', parent=root_module['ns3::Header'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   187
    ## ipv6-header.h (module 'internet'): ns3::Ipv6Header::NextHeader_e [enumeration]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   188
    module.add_enum('NextHeader_e', ['IPV6_EXT_HOP_BY_HOP', 'IPV6_IPV4', 'IPV6_TCP', 'IPV6_UDP', 'IPV6_IPV6', 'IPV6_EXT_ROUTING', 'IPV6_EXT_FRAGMENTATION', 'IPV6_EXT_CONFIDENTIALITY', 'IPV6_EXT_AUTHENTIFICATION', 'IPV6_ICMPV6', 'IPV6_EXT_END', 'IPV6_EXT_DESTINATION', 'IPV6_SCTP', 'IPV6_EXT_MOBILITY', 'IPV6_UDP_LITE'], outer_class=root_module['ns3::Ipv6Header'], import_from_module='ns.internet')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   189
    ## object.h (module 'core'): ns3::Object [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   190
    module.add_class('Object', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   191
    ## object.h (module 'core'): ns3::Object::AggregateIterator [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   192
    module.add_class('AggregateIterator', import_from_module='ns.core', outer_class=root_module['ns3::Object'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   193
    ## pcap-file-wrapper.h (module 'network'): ns3::PcapFileWrapper [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   194
    module.add_class('PcapFileWrapper', import_from_module='ns.network', parent=root_module['ns3::Object'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   195
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> > [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   196
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::AttributeAccessor', 'ns3::empty', 'ns3::DefaultDeleter<ns3::AttributeAccessor>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   197
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> > [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   198
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::AttributeChecker', 'ns3::empty', 'ns3::DefaultDeleter<ns3::AttributeChecker>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   199
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> > [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   200
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::AttributeValue', 'ns3::empty', 'ns3::DefaultDeleter<ns3::AttributeValue>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   201
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> > [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   202
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::CallbackImplBase', 'ns3::empty', 'ns3::DefaultDeleter<ns3::CallbackImplBase>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   203
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> > [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   204
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::EventImpl', 'ns3::empty', 'ns3::DefaultDeleter<ns3::EventImpl>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
10183
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
   205
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Hash::Implementation, ns3::empty, ns3::DefaultDeleter<ns3::Hash::Implementation> > [class]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
   206
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Hash::Implementation', 'ns3::empty', 'ns3::DefaultDeleter<ns3::Hash::Implementation>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   207
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4MulticastRoute> > [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   208
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Ipv4MulticastRoute', 'ns3::empty', 'ns3::DefaultDeleter<ns3::Ipv4MulticastRoute>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   209
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4Route> > [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   210
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Ipv4Route', 'ns3::empty', 'ns3::DefaultDeleter<ns3::Ipv4Route>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   211
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> > [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   212
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::NixVector', 'ns3::empty', 'ns3::DefaultDeleter<ns3::NixVector>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   213
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter<ns3::OutputStreamWrapper> > [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   214
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', 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'))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   215
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> > [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   216
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', 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'))
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   217
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> > [class]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   218
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::TraceSourceAccessor', 'ns3::empty', 'ns3::DefaultDeleter<ns3::TraceSourceAccessor>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   219
    ## socket.h (module 'network'): ns3::Socket [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   220
    module.add_class('Socket', import_from_module='ns.network', parent=root_module['ns3::Object'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   221
    ## socket.h (module 'network'): ns3::Socket::SocketErrno [enumeration]
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   222
    module.add_enum('SocketErrno', ['ERROR_NOTERROR', 'ERROR_ISCONN', 'ERROR_NOTCONN', 'ERROR_MSGSIZE', 'ERROR_AGAIN', 'ERROR_SHUTDOWN', 'ERROR_OPNOTSUPP', 'ERROR_AFNOSUPPORT', 'ERROR_INVAL', 'ERROR_BADF', 'ERROR_NOROUTETOHOST', 'ERROR_NODEV', 'ERROR_ADDRNOTAVAIL', 'ERROR_ADDRINUSE', 'SOCKET_ERRNO_LAST'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   223
    ## socket.h (module 'network'): ns3::Socket::SocketType [enumeration]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   224
    module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   225
    ## socket.h (module 'network'): ns3::SocketAddressTag [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   226
    module.add_class('SocketAddressTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
9190
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
   227
    ## socket.h (module 'network'): ns3::SocketIpTosTag [class]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
   228
    module.add_class('SocketIpTosTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   229
    ## socket.h (module 'network'): ns3::SocketIpTtlTag [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   230
    module.add_class('SocketIpTtlTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
9190
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
   231
    ## socket.h (module 'network'): ns3::SocketIpv6HopLimitTag [class]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
   232
    module.add_class('SocketIpv6HopLimitTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
   233
    ## socket.h (module 'network'): ns3::SocketIpv6TclassTag [class]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
   234
    module.add_class('SocketIpv6TclassTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   235
    ## socket.h (module 'network'): ns3::SocketSetDontFragmentTag [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   236
    module.add_class('SocketSetDontFragmentTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   237
    ## nstime.h (module 'core'): ns3::Time [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   238
    module.add_class('Time', import_from_module='ns.core')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   239
    ## nstime.h (module 'core'): ns3::Time::Unit [enumeration]
10534
2f6018cfe926 rescan all bindings
Tom Henderson <tomh@tomh.org>
parents: 10183
diff changeset
   240
    module.add_enum('Unit', ['Y', 'D', 'H', 'MIN', 'S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core')
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   241
    ## nstime.h (module 'core'): ns3::Time [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   242
    root_module['ns3::Time'].implicitly_converts_to(root_module['ns3::int64x64_t'])
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   243
    ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor [class]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   244
    module.add_class('TraceSourceAccessor', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   245
    ## trailer.h (module 'network'): ns3::Trailer [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   246
    module.add_class('Trailer', import_from_module='ns.network', parent=root_module['ns3::Chunk'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   247
    ## attribute.h (module 'core'): ns3::AttributeAccessor [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   248
    module.add_class('AttributeAccessor', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   249
    ## attribute.h (module 'core'): ns3::AttributeChecker [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   250
    module.add_class('AttributeChecker', allow_subclassing=False, automatic_type_narrowing=True, import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   251
    ## attribute.h (module 'core'): ns3::AttributeValue [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   252
    module.add_class('AttributeValue', allow_subclassing=False, automatic_type_narrowing=True, import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   253
    ## callback.h (module 'core'): ns3::CallbackChecker [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   254
    module.add_class('CallbackChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   255
    ## callback.h (module 'core'): ns3::CallbackImplBase [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   256
    module.add_class('CallbackImplBase', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   257
    ## callback.h (module 'core'): ns3::CallbackValue [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   258
    module.add_class('CallbackValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   259
    ## channel.h (module 'network'): ns3::Channel [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   260
    module.add_class('Channel', import_from_module='ns.network', parent=root_module['ns3::Object'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   261
    ## csma-channel.h (module 'csma'): ns3::CsmaChannel [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   262
    module.add_class('CsmaChannel', import_from_module='ns.csma', parent=root_module['ns3::Channel'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   263
    ## data-rate.h (module 'network'): ns3::DataRateChecker [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   264
    module.add_class('DataRateChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   265
    ## data-rate.h (module 'network'): ns3::DataRateValue [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   266
    module.add_class('DataRateValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   267
    ## attribute.h (module 'core'): ns3::EmptyAttributeValue [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   268
    module.add_class('EmptyAttributeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   269
    ## event-impl.h (module 'core'): ns3::EventImpl [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   270
    module.add_class('EventImpl', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   271
    ## ipv4.h (module 'internet'): ns3::Ipv4 [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   272
    module.add_class('Ipv4', import_from_module='ns.internet', parent=root_module['ns3::Object'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   273
    ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   274
    module.add_class('Ipv4AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   275
    ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   276
    module.add_class('Ipv4AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   277
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   278
    module.add_class('Ipv4L3Protocol', import_from_module='ns.internet', parent=root_module['ns3::Ipv4'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   279
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::DropReason [enumeration]
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   280
    module.add_enum('DropReason', ['DROP_TTL_EXPIRED', 'DROP_NO_ROUTE', 'DROP_BAD_CHECKSUM', 'DROP_INTERFACE_DOWN', 'DROP_ROUTE_ERROR', 'DROP_FRAGMENT_TIMEOUT'], outer_class=root_module['ns3::Ipv4L3Protocol'], import_from_module='ns.internet')
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   281
    ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   282
    module.add_class('Ipv4MaskChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   283
    ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   284
    module.add_class('Ipv4MaskValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   285
    ## ipv4-route.h (module 'internet'): ns3::Ipv4MulticastRoute [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   286
    module.add_class('Ipv4MulticastRoute', import_from_module='ns.internet', parent=root_module['ns3::SimpleRefCount< ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4MulticastRoute> >'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   287
    ## ipv4-route.h (module 'internet'): ns3::Ipv4Route [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   288
    module.add_class('Ipv4Route', import_from_module='ns.internet', parent=root_module['ns3::SimpleRefCount< ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4Route> >'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   289
    ## ipv4-routing-protocol.h (module 'internet'): ns3::Ipv4RoutingProtocol [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   290
    module.add_class('Ipv4RoutingProtocol', import_from_module='ns.internet', parent=root_module['ns3::Object'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   291
    ## ipv6.h (module 'internet'): ns3::Ipv6 [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   292
    module.add_class('Ipv6', import_from_module='ns.internet', parent=root_module['ns3::Object'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   293
    ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   294
    module.add_class('Ipv6AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   295
    ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   296
    module.add_class('Ipv6AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   297
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ipv6L3Protocol [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   298
    module.add_class('Ipv6L3Protocol', import_from_module='ns.internet', parent=root_module['ns3::Ipv6'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   299
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ipv6L3Protocol::DropReason [enumeration]
10795
29506f2221e2 update bindings
Tom Henderson <tomh@tomh.org>
parents: 10631
diff changeset
   300
    module.add_enum('DropReason', ['DROP_TTL_EXPIRED', 'DROP_NO_ROUTE', 'DROP_INTERFACE_DOWN', 'DROP_ROUTE_ERROR', 'DROP_UNKNOWN_PROTOCOL', 'DROP_UNKNOWN_OPTION', 'DROP_MALFORMED_HEADER', 'DROP_FRAGMENT_TIMEOUT'], outer_class=root_module['ns3::Ipv6L3Protocol'], import_from_module='ns.internet')
10183
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
   301
    ## ipv6-pmtu-cache.h (module 'internet'): ns3::Ipv6PmtuCache [class]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
   302
    module.add_class('Ipv6PmtuCache', import_from_module='ns.internet', parent=root_module['ns3::Object'])
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   303
    ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   304
    module.add_class('Ipv6PrefixChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   305
    ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   306
    module.add_class('Ipv6PrefixValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   307
    ## net-device.h (module 'network'): ns3::NetDevice [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   308
    module.add_class('NetDevice', import_from_module='ns.network', parent=root_module['ns3::Object'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   309
    ## net-device.h (module 'network'): ns3::NetDevice::PacketType [enumeration]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   310
    module.add_enum('PacketType', ['PACKET_HOST', 'NS3_PACKET_HOST', 'PACKET_BROADCAST', 'NS3_PACKET_BROADCAST', 'PACKET_MULTICAST', 'NS3_PACKET_MULTICAST', 'PACKET_OTHERHOST', 'NS3_PACKET_OTHERHOST'], outer_class=root_module['ns3::NetDevice'], import_from_module='ns.network')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   311
    ## nix-vector.h (module 'network'): ns3::NixVector [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   312
    module.add_class('NixVector', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   313
    ## node.h (module 'network'): ns3::Node [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   314
    module.add_class('Node', import_from_module='ns.network', parent=root_module['ns3::Object'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   315
    ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   316
    module.add_class('ObjectFactoryChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   317
    ## object-factory.h (module 'core'): ns3::ObjectFactoryValue [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   318
    module.add_class('ObjectFactoryValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   319
    ## output-stream-wrapper.h (module 'network'): ns3::OutputStreamWrapper [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   320
    module.add_class('OutputStreamWrapper', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter<ns3::OutputStreamWrapper> >'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   321
    ## packet.h (module 'network'): ns3::Packet [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   322
    module.add_class('Packet', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   323
    ## nstime.h (module 'core'): ns3::TimeValue [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   324
    module.add_class('TimeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   325
    ## type-id.h (module 'core'): ns3::TypeIdChecker [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   326
    module.add_class('TypeIdChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   327
    ## type-id.h (module 'core'): ns3::TypeIdValue [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   328
    module.add_class('TypeIdValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   329
    ## address.h (module 'network'): ns3::AddressChecker [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   330
    module.add_class('AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   331
    ## address.h (module 'network'): ns3::AddressValue [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   332
    module.add_class('AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
10631
a258a16d4793 bindings rescan (another try)
Tom Henderson <tomh@tomh.org>
parents: 10628
diff changeset
   333
    module.add_container('std::vector< bool >', 'bool', container_type=u'vector')
a258a16d4793 bindings rescan (another try)
Tom Henderson <tomh@tomh.org>
parents: 10628
diff changeset
   334
    module.add_container('std::map< unsigned int, unsigned int >', ('unsigned int', 'unsigned int'), container_type=u'map')
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   335
    
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   336
    ## Register a nested module for the namespace FatalImpl
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   337
    
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   338
    nested_module = module.add_cpp_namespace('FatalImpl')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   339
    register_types_ns3_FatalImpl(nested_module)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   340
    
10183
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
   341
    
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
   342
    ## Register a nested module for the namespace Hash
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
   343
    
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
   344
    nested_module = module.add_cpp_namespace('Hash')
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
   345
    register_types_ns3_Hash(nested_module)
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
   346
    
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   347
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   348
def register_types_ns3_FatalImpl(module):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   349
    root_module = module.get_root()
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   350
    
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   351
10183
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
   352
def register_types_ns3_Hash(module):
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
   353
    root_module = module.get_root()
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
   354
    
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
   355
    ## hash-function.h (module 'core'): ns3::Hash::Implementation [class]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
   356
    module.add_class('Implementation', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::Hash::Implementation, ns3::empty, ns3::DefaultDeleter<ns3::Hash::Implementation> >'])
10631
a258a16d4793 bindings rescan (another try)
Tom Henderson <tomh@tomh.org>
parents: 10628
diff changeset
   357
    typehandlers.add_type_alias(u'uint32_t ( * ) ( char const *, size_t ) *', u'ns3::Hash::Hash32Function_ptr')
a258a16d4793 bindings rescan (another try)
Tom Henderson <tomh@tomh.org>
parents: 10628
diff changeset
   358
    typehandlers.add_type_alias(u'uint32_t ( * ) ( char const *, size_t ) **', u'ns3::Hash::Hash32Function_ptr*')
a258a16d4793 bindings rescan (another try)
Tom Henderson <tomh@tomh.org>
parents: 10628
diff changeset
   359
    typehandlers.add_type_alias(u'uint32_t ( * ) ( char const *, size_t ) *&', u'ns3::Hash::Hash32Function_ptr&')
a258a16d4793 bindings rescan (another try)
Tom Henderson <tomh@tomh.org>
parents: 10628
diff changeset
   360
    typehandlers.add_type_alias(u'uint64_t ( * ) ( char const *, size_t ) *', u'ns3::Hash::Hash64Function_ptr')
a258a16d4793 bindings rescan (another try)
Tom Henderson <tomh@tomh.org>
parents: 10628
diff changeset
   361
    typehandlers.add_type_alias(u'uint64_t ( * ) ( char const *, size_t ) **', u'ns3::Hash::Hash64Function_ptr*')
a258a16d4793 bindings rescan (another try)
Tom Henderson <tomh@tomh.org>
parents: 10628
diff changeset
   362
    typehandlers.add_type_alias(u'uint64_t ( * ) ( char const *, size_t ) *&', u'ns3::Hash::Hash64Function_ptr&')
10183
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
   363
    
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
   364
    ## Register a nested module for the namespace Function
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
   365
    
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
   366
    nested_module = module.add_cpp_namespace('Function')
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
   367
    register_types_ns3_Hash_Function(nested_module)
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
   368
    
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
   369
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
   370
def register_types_ns3_Hash_Function(module):
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
   371
    root_module = module.get_root()
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
   372
    
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
   373
    ## hash-fnv.h (module 'core'): ns3::Hash::Function::Fnv1a [class]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
   374
    module.add_class('Fnv1a', import_from_module='ns.core', parent=root_module['ns3::Hash::Implementation'])
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
   375
    ## hash-function.h (module 'core'): ns3::Hash::Function::Hash32 [class]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
   376
    module.add_class('Hash32', import_from_module='ns.core', parent=root_module['ns3::Hash::Implementation'])
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
   377
    ## hash-function.h (module 'core'): ns3::Hash::Function::Hash64 [class]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
   378
    module.add_class('Hash64', import_from_module='ns.core', parent=root_module['ns3::Hash::Implementation'])
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
   379
    ## hash-murmur3.h (module 'core'): ns3::Hash::Function::Murmur3 [class]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
   380
    module.add_class('Murmur3', import_from_module='ns.core', parent=root_module['ns3::Hash::Implementation'])
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
   381
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   382
def register_methods(root_module):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   383
    register_Ns3Address_methods(root_module, root_module['ns3::Address'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   384
    register_Ns3AsciiTraceHelper_methods(root_module, root_module['ns3::AsciiTraceHelper'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   385
    register_Ns3AsciiTraceHelperForDevice_methods(root_module, root_module['ns3::AsciiTraceHelperForDevice'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   386
    register_Ns3AsciiTraceHelperForIpv4_methods(root_module, root_module['ns3::AsciiTraceHelperForIpv4'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   387
    register_Ns3AsciiTraceHelperForIpv6_methods(root_module, root_module['ns3::AsciiTraceHelperForIpv6'])
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   388
    register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList'])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   389
    register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item'])
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   390
    register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   391
    register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   392
    register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   393
    register_Ns3ByteTagIteratorItem_methods(root_module, root_module['ns3::ByteTagIterator::Item'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   394
    register_Ns3ByteTagList_methods(root_module, root_module['ns3::ByteTagList'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   395
    register_Ns3ByteTagListIterator_methods(root_module, root_module['ns3::ByteTagList::Iterator'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   396
    register_Ns3ByteTagListIteratorItem_methods(root_module, root_module['ns3::ByteTagList::Iterator::Item'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   397
    register_Ns3CallbackBase_methods(root_module, root_module['ns3::CallbackBase'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   398
    register_Ns3CsmaDeviceRec_methods(root_module, root_module['ns3::CsmaDeviceRec'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   399
    register_Ns3CsmaStarHelper_methods(root_module, root_module['ns3::CsmaStarHelper'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   400
    register_Ns3DataRate_methods(root_module, root_module['ns3::DataRate'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   401
    register_Ns3EventId_methods(root_module, root_module['ns3::EventId'])
10183
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
   402
    register_Ns3Hasher_methods(root_module, root_module['ns3::Hasher'])
9190
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
   403
    register_Ns3Inet6SocketAddress_methods(root_module, root_module['ns3::Inet6SocketAddress'])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
   404
    register_Ns3InetSocketAddress_methods(root_module, root_module['ns3::InetSocketAddress'])
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   405
    register_Ns3Ipv4Address_methods(root_module, root_module['ns3::Ipv4Address'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   406
    register_Ns3Ipv4AddressHelper_methods(root_module, root_module['ns3::Ipv4AddressHelper'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   407
    register_Ns3Ipv4InterfaceAddress_methods(root_module, root_module['ns3::Ipv4InterfaceAddress'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   408
    register_Ns3Ipv4InterfaceContainer_methods(root_module, root_module['ns3::Ipv4InterfaceContainer'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   409
    register_Ns3Ipv4Mask_methods(root_module, root_module['ns3::Ipv4Mask'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   410
    register_Ns3Ipv6Address_methods(root_module, root_module['ns3::Ipv6Address'])
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   411
    register_Ns3Ipv6AddressGenerator_methods(root_module, root_module['ns3::Ipv6AddressGenerator'])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   412
    register_Ns3Ipv6AddressHelper_methods(root_module, root_module['ns3::Ipv6AddressHelper'])
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   413
    register_Ns3Ipv6InterfaceAddress_methods(root_module, root_module['ns3::Ipv6InterfaceAddress'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   414
    register_Ns3Ipv6InterfaceContainer_methods(root_module, root_module['ns3::Ipv6InterfaceContainer'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   415
    register_Ns3Ipv6Prefix_methods(root_module, root_module['ns3::Ipv6Prefix'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   416
    register_Ns3NetDeviceContainer_methods(root_module, root_module['ns3::NetDeviceContainer'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   417
    register_Ns3NodeContainer_methods(root_module, root_module['ns3::NodeContainer'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   418
    register_Ns3ObjectBase_methods(root_module, root_module['ns3::ObjectBase'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   419
    register_Ns3ObjectDeleter_methods(root_module, root_module['ns3::ObjectDeleter'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   420
    register_Ns3ObjectFactory_methods(root_module, root_module['ns3::ObjectFactory'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   421
    register_Ns3PacketMetadata_methods(root_module, root_module['ns3::PacketMetadata'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   422
    register_Ns3PacketMetadataItem_methods(root_module, root_module['ns3::PacketMetadata::Item'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   423
    register_Ns3PacketMetadataItemIterator_methods(root_module, root_module['ns3::PacketMetadata::ItemIterator'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   424
    register_Ns3PacketTagIterator_methods(root_module, root_module['ns3::PacketTagIterator'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   425
    register_Ns3PacketTagIteratorItem_methods(root_module, root_module['ns3::PacketTagIterator::Item'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   426
    register_Ns3PacketTagList_methods(root_module, root_module['ns3::PacketTagList'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   427
    register_Ns3PacketTagListTagData_methods(root_module, root_module['ns3::PacketTagList::TagData'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   428
    register_Ns3PcapFile_methods(root_module, root_module['ns3::PcapFile'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   429
    register_Ns3PcapHelper_methods(root_module, root_module['ns3::PcapHelper'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   430
    register_Ns3PcapHelperForDevice_methods(root_module, root_module['ns3::PcapHelperForDevice'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   431
    register_Ns3PcapHelperForIpv4_methods(root_module, root_module['ns3::PcapHelperForIpv4'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   432
    register_Ns3PcapHelperForIpv6_methods(root_module, root_module['ns3::PcapHelperForIpv6'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   433
    register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   434
    register_Ns3Simulator_methods(root_module, root_module['ns3::Simulator'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   435
    register_Ns3Tag_methods(root_module, root_module['ns3::Tag'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   436
    register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer'])
10795
29506f2221e2 update bindings
Tom Henderson <tomh@tomh.org>
parents: 10631
diff changeset
   437
    register_Ns3TimeWithUnit_methods(root_module, root_module['ns3::TimeWithUnit'])
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   438
    register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId'])
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   439
    register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation'])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   440
    register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation'])
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   441
    register_Ns3Empty_methods(root_module, root_module['ns3::empty'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   442
    register_Ns3Int64x64_t_methods(root_module, root_module['ns3::int64x64_t'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   443
    register_Ns3Chunk_methods(root_module, root_module['ns3::Chunk'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   444
    register_Ns3CsmaHelper_methods(root_module, root_module['ns3::CsmaHelper'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   445
    register_Ns3Header_methods(root_module, root_module['ns3::Header'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   446
    register_Ns3InternetStackHelper_methods(root_module, root_module['ns3::InternetStackHelper'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   447
    register_Ns3Ipv4Header_methods(root_module, root_module['ns3::Ipv4Header'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   448
    register_Ns3Ipv6Header_methods(root_module, root_module['ns3::Ipv6Header'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   449
    register_Ns3Object_methods(root_module, root_module['ns3::Object'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   450
    register_Ns3ObjectAggregateIterator_methods(root_module, root_module['ns3::Object::AggregateIterator'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   451
    register_Ns3PcapFileWrapper_methods(root_module, root_module['ns3::PcapFileWrapper'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   452
    register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   453
    register_Ns3SimpleRefCount__Ns3AttributeChecker_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeChecker__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   454
    register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeValue__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   455
    register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__lt__ns3CallbackImplBase__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   456
    register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >'])
10183
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
   457
    register_Ns3SimpleRefCount__Ns3HashImplementation_Ns3Empty_Ns3DefaultDeleter__lt__ns3HashImplementation__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Hash::Implementation, ns3::empty, ns3::DefaultDeleter<ns3::Hash::Implementation> >'])
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   458
    register_Ns3SimpleRefCount__Ns3Ipv4MulticastRoute_Ns3Empty_Ns3DefaultDeleter__lt__ns3Ipv4MulticastRoute__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4MulticastRoute> >'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   459
    register_Ns3SimpleRefCount__Ns3Ipv4Route_Ns3Empty_Ns3DefaultDeleter__lt__ns3Ipv4Route__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4Route> >'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   460
    register_Ns3SimpleRefCount__Ns3NixVector_Ns3Empty_Ns3DefaultDeleter__lt__ns3NixVector__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   461
    register_Ns3SimpleRefCount__Ns3OutputStreamWrapper_Ns3Empty_Ns3DefaultDeleter__lt__ns3OutputStreamWrapper__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter<ns3::OutputStreamWrapper> >'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   462
    register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >'])
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   463
    register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   464
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   465
    register_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag'])
9190
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
   466
    register_Ns3SocketIpTosTag_methods(root_module, root_module['ns3::SocketIpTosTag'])
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   467
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
9190
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
   468
    register_Ns3SocketIpv6HopLimitTag_methods(root_module, root_module['ns3::SocketIpv6HopLimitTag'])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
   469
    register_Ns3SocketIpv6TclassTag_methods(root_module, root_module['ns3::SocketIpv6TclassTag'])
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   470
    register_Ns3SocketSetDontFragmentTag_methods(root_module, root_module['ns3::SocketSetDontFragmentTag'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   471
    register_Ns3Time_methods(root_module, root_module['ns3::Time'])
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   472
    register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor'])
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   473
    register_Ns3Trailer_methods(root_module, root_module['ns3::Trailer'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   474
    register_Ns3AttributeAccessor_methods(root_module, root_module['ns3::AttributeAccessor'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   475
    register_Ns3AttributeChecker_methods(root_module, root_module['ns3::AttributeChecker'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   476
    register_Ns3AttributeValue_methods(root_module, root_module['ns3::AttributeValue'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   477
    register_Ns3CallbackChecker_methods(root_module, root_module['ns3::CallbackChecker'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   478
    register_Ns3CallbackImplBase_methods(root_module, root_module['ns3::CallbackImplBase'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   479
    register_Ns3CallbackValue_methods(root_module, root_module['ns3::CallbackValue'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   480
    register_Ns3Channel_methods(root_module, root_module['ns3::Channel'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   481
    register_Ns3CsmaChannel_methods(root_module, root_module['ns3::CsmaChannel'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   482
    register_Ns3DataRateChecker_methods(root_module, root_module['ns3::DataRateChecker'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   483
    register_Ns3DataRateValue_methods(root_module, root_module['ns3::DataRateValue'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   484
    register_Ns3EmptyAttributeValue_methods(root_module, root_module['ns3::EmptyAttributeValue'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   485
    register_Ns3EventImpl_methods(root_module, root_module['ns3::EventImpl'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   486
    register_Ns3Ipv4_methods(root_module, root_module['ns3::Ipv4'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   487
    register_Ns3Ipv4AddressChecker_methods(root_module, root_module['ns3::Ipv4AddressChecker'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   488
    register_Ns3Ipv4AddressValue_methods(root_module, root_module['ns3::Ipv4AddressValue'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   489
    register_Ns3Ipv4L3Protocol_methods(root_module, root_module['ns3::Ipv4L3Protocol'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   490
    register_Ns3Ipv4MaskChecker_methods(root_module, root_module['ns3::Ipv4MaskChecker'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   491
    register_Ns3Ipv4MaskValue_methods(root_module, root_module['ns3::Ipv4MaskValue'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   492
    register_Ns3Ipv4MulticastRoute_methods(root_module, root_module['ns3::Ipv4MulticastRoute'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   493
    register_Ns3Ipv4Route_methods(root_module, root_module['ns3::Ipv4Route'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   494
    register_Ns3Ipv4RoutingProtocol_methods(root_module, root_module['ns3::Ipv4RoutingProtocol'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   495
    register_Ns3Ipv6_methods(root_module, root_module['ns3::Ipv6'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   496
    register_Ns3Ipv6AddressChecker_methods(root_module, root_module['ns3::Ipv6AddressChecker'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   497
    register_Ns3Ipv6AddressValue_methods(root_module, root_module['ns3::Ipv6AddressValue'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   498
    register_Ns3Ipv6L3Protocol_methods(root_module, root_module['ns3::Ipv6L3Protocol'])
10183
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
   499
    register_Ns3Ipv6PmtuCache_methods(root_module, root_module['ns3::Ipv6PmtuCache'])
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   500
    register_Ns3Ipv6PrefixChecker_methods(root_module, root_module['ns3::Ipv6PrefixChecker'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   501
    register_Ns3Ipv6PrefixValue_methods(root_module, root_module['ns3::Ipv6PrefixValue'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   502
    register_Ns3NetDevice_methods(root_module, root_module['ns3::NetDevice'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   503
    register_Ns3NixVector_methods(root_module, root_module['ns3::NixVector'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   504
    register_Ns3Node_methods(root_module, root_module['ns3::Node'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   505
    register_Ns3ObjectFactoryChecker_methods(root_module, root_module['ns3::ObjectFactoryChecker'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   506
    register_Ns3ObjectFactoryValue_methods(root_module, root_module['ns3::ObjectFactoryValue'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   507
    register_Ns3OutputStreamWrapper_methods(root_module, root_module['ns3::OutputStreamWrapper'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   508
    register_Ns3Packet_methods(root_module, root_module['ns3::Packet'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   509
    register_Ns3TimeValue_methods(root_module, root_module['ns3::TimeValue'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   510
    register_Ns3TypeIdChecker_methods(root_module, root_module['ns3::TypeIdChecker'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   511
    register_Ns3TypeIdValue_methods(root_module, root_module['ns3::TypeIdValue'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   512
    register_Ns3AddressChecker_methods(root_module, root_module['ns3::AddressChecker'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   513
    register_Ns3AddressValue_methods(root_module, root_module['ns3::AddressValue'])
10183
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
   514
    register_Ns3HashImplementation_methods(root_module, root_module['ns3::Hash::Implementation'])
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
   515
    register_Ns3HashFunctionFnv1a_methods(root_module, root_module['ns3::Hash::Function::Fnv1a'])
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
   516
    register_Ns3HashFunctionHash32_methods(root_module, root_module['ns3::Hash::Function::Hash32'])
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
   517
    register_Ns3HashFunctionHash64_methods(root_module, root_module['ns3::Hash::Function::Hash64'])
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
   518
    register_Ns3HashFunctionMurmur3_methods(root_module, root_module['ns3::Hash::Function::Murmur3'])
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   519
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   520
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   521
def register_Ns3Address_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   522
    cls.add_binary_comparison_operator('<')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   523
    cls.add_binary_comparison_operator('!=')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   524
    cls.add_output_stream_operator()
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   525
    cls.add_binary_comparison_operator('==')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   526
    ## address.h (module 'network'): ns3::Address::Address() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   527
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   528
    ## address.h (module 'network'): ns3::Address::Address(uint8_t type, uint8_t const * buffer, uint8_t len) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   529
    cls.add_constructor([param('uint8_t', 'type'), param('uint8_t const *', 'buffer'), param('uint8_t', 'len')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   530
    ## address.h (module 'network'): ns3::Address::Address(ns3::Address const & address) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   531
    cls.add_constructor([param('ns3::Address const &', 'address')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   532
    ## address.h (module 'network'): bool ns3::Address::CheckCompatible(uint8_t type, uint8_t len) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   533
    cls.add_method('CheckCompatible', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   534
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   535
                   [param('uint8_t', 'type'), param('uint8_t', 'len')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   536
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   537
    ## address.h (module 'network'): uint32_t ns3::Address::CopyAllFrom(uint8_t const * buffer, uint8_t len) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   538
    cls.add_method('CopyAllFrom', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   539
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   540
                   [param('uint8_t const *', 'buffer'), param('uint8_t', 'len')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   541
    ## address.h (module 'network'): uint32_t ns3::Address::CopyAllTo(uint8_t * buffer, uint8_t len) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   542
    cls.add_method('CopyAllTo', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   543
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   544
                   [param('uint8_t *', 'buffer'), param('uint8_t', 'len')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   545
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   546
    ## address.h (module 'network'): uint32_t ns3::Address::CopyFrom(uint8_t const * buffer, uint8_t len) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   547
    cls.add_method('CopyFrom', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   548
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   549
                   [param('uint8_t const *', 'buffer'), param('uint8_t', 'len')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   550
    ## address.h (module 'network'): uint32_t ns3::Address::CopyTo(uint8_t * buffer) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   551
    cls.add_method('CopyTo', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   552
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   553
                   [param('uint8_t *', 'buffer')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   554
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   555
    ## address.h (module 'network'): void ns3::Address::Deserialize(ns3::TagBuffer buffer) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   556
    cls.add_method('Deserialize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   557
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   558
                   [param('ns3::TagBuffer', 'buffer')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   559
    ## address.h (module 'network'): uint8_t ns3::Address::GetLength() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   560
    cls.add_method('GetLength', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   561
                   'uint8_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   562
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   563
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   564
    ## address.h (module 'network'): uint32_t ns3::Address::GetSerializedSize() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   565
    cls.add_method('GetSerializedSize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   566
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   567
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   568
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   569
    ## address.h (module 'network'): bool ns3::Address::IsInvalid() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   570
    cls.add_method('IsInvalid', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   571
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   572
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   573
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   574
    ## address.h (module 'network'): bool ns3::Address::IsMatchingType(uint8_t type) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   575
    cls.add_method('IsMatchingType', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   576
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   577
                   [param('uint8_t', 'type')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   578
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   579
    ## address.h (module 'network'): static uint8_t ns3::Address::Register() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   580
    cls.add_method('Register', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   581
                   'uint8_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   582
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   583
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   584
    ## address.h (module 'network'): void ns3::Address::Serialize(ns3::TagBuffer buffer) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   585
    cls.add_method('Serialize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   586
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   587
                   [param('ns3::TagBuffer', 'buffer')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   588
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   589
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   590
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   591
def register_Ns3AsciiTraceHelper_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   592
    ## trace-helper.h (module 'network'): ns3::AsciiTraceHelper::AsciiTraceHelper(ns3::AsciiTraceHelper const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   593
    cls.add_constructor([param('ns3::AsciiTraceHelper const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   594
    ## trace-helper.h (module 'network'): ns3::AsciiTraceHelper::AsciiTraceHelper() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   595
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   596
    ## trace-helper.h (module 'network'): ns3::Ptr<ns3::OutputStreamWrapper> ns3::AsciiTraceHelper::CreateFileStream(std::string filename, std::_Ios_Openmode filemode=std::ios_base::out) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   597
    cls.add_method('CreateFileStream', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   598
                   'ns3::Ptr< ns3::OutputStreamWrapper >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   599
                   [param('std::string', 'filename'), param('std::_Ios_Openmode', 'filemode', default_value='std::ios_base::out')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   600
    ## trace-helper.h (module 'network'): static void ns3::AsciiTraceHelper::DefaultDequeueSinkWithContext(ns3::Ptr<ns3::OutputStreamWrapper> file, std::string context, ns3::Ptr<const ns3::Packet> p) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   601
    cls.add_method('DefaultDequeueSinkWithContext', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   602
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   603
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   604
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   605
    ## trace-helper.h (module 'network'): static void ns3::AsciiTraceHelper::DefaultDequeueSinkWithoutContext(ns3::Ptr<ns3::OutputStreamWrapper> file, ns3::Ptr<const ns3::Packet> p) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   606
    cls.add_method('DefaultDequeueSinkWithoutContext', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   607
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   608
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('ns3::Ptr< ns3::Packet const >', 'p')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   609
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   610
    ## trace-helper.h (module 'network'): static void ns3::AsciiTraceHelper::DefaultDropSinkWithContext(ns3::Ptr<ns3::OutputStreamWrapper> file, std::string context, ns3::Ptr<const ns3::Packet> p) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   611
    cls.add_method('DefaultDropSinkWithContext', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   612
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   613
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   614
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   615
    ## trace-helper.h (module 'network'): static void ns3::AsciiTraceHelper::DefaultDropSinkWithoutContext(ns3::Ptr<ns3::OutputStreamWrapper> file, ns3::Ptr<const ns3::Packet> p) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   616
    cls.add_method('DefaultDropSinkWithoutContext', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   617
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   618
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('ns3::Ptr< ns3::Packet const >', 'p')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   619
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   620
    ## trace-helper.h (module 'network'): static void ns3::AsciiTraceHelper::DefaultEnqueueSinkWithContext(ns3::Ptr<ns3::OutputStreamWrapper> file, std::string context, ns3::Ptr<const ns3::Packet> p) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   621
    cls.add_method('DefaultEnqueueSinkWithContext', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   622
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   623
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   624
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   625
    ## trace-helper.h (module 'network'): static void ns3::AsciiTraceHelper::DefaultEnqueueSinkWithoutContext(ns3::Ptr<ns3::OutputStreamWrapper> file, ns3::Ptr<const ns3::Packet> p) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   626
    cls.add_method('DefaultEnqueueSinkWithoutContext', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   627
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   628
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('ns3::Ptr< ns3::Packet const >', 'p')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   629
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   630
    ## trace-helper.h (module 'network'): static void ns3::AsciiTraceHelper::DefaultReceiveSinkWithContext(ns3::Ptr<ns3::OutputStreamWrapper> file, std::string context, ns3::Ptr<const ns3::Packet> p) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   631
    cls.add_method('DefaultReceiveSinkWithContext', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   632
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   633
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   634
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   635
    ## trace-helper.h (module 'network'): static void ns3::AsciiTraceHelper::DefaultReceiveSinkWithoutContext(ns3::Ptr<ns3::OutputStreamWrapper> file, ns3::Ptr<const ns3::Packet> p) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   636
    cls.add_method('DefaultReceiveSinkWithoutContext', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   637
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   638
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('ns3::Ptr< ns3::Packet const >', 'p')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   639
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   640
    ## trace-helper.h (module 'network'): std::string ns3::AsciiTraceHelper::GetFilenameFromDevice(std::string prefix, ns3::Ptr<ns3::NetDevice> device, bool useObjectNames=true) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   641
    cls.add_method('GetFilenameFromDevice', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   642
                   'std::string', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   643
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'device'), param('bool', 'useObjectNames', default_value='true')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   644
    ## trace-helper.h (module 'network'): std::string ns3::AsciiTraceHelper::GetFilenameFromInterfacePair(std::string prefix, ns3::Ptr<ns3::Object> object, uint32_t interface, bool useObjectNames=true) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   645
    cls.add_method('GetFilenameFromInterfacePair', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   646
                   'std::string', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   647
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Object >', 'object'), param('uint32_t', 'interface'), param('bool', 'useObjectNames', default_value='true')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   648
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   649
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   650
def register_Ns3AsciiTraceHelperForDevice_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   651
    ## trace-helper.h (module 'network'): ns3::AsciiTraceHelperForDevice::AsciiTraceHelperForDevice(ns3::AsciiTraceHelperForDevice const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   652
    cls.add_constructor([param('ns3::AsciiTraceHelperForDevice const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   653
    ## trace-helper.h (module 'network'): ns3::AsciiTraceHelperForDevice::AsciiTraceHelperForDevice() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   654
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   655
    ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, ns3::Ptr<ns3::NetDevice> nd, bool explicitFilename=false) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   656
    cls.add_method('EnableAscii', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   657
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   658
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'explicitFilename', default_value='false')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   659
    ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr<ns3::OutputStreamWrapper> stream, ns3::Ptr<ns3::NetDevice> nd) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   660
    cls.add_method('EnableAscii', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   661
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   662
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::Ptr< ns3::NetDevice >', 'nd')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   663
    ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, std::string ndName, bool explicitFilename=false) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   664
    cls.add_method('EnableAscii', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   665
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   666
                   [param('std::string', 'prefix'), param('std::string', 'ndName'), param('bool', 'explicitFilename', default_value='false')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   667
    ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr<ns3::OutputStreamWrapper> stream, std::string ndName) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   668
    cls.add_method('EnableAscii', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   669
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   670
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'ndName')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   671
    ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, ns3::NetDeviceContainer d) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   672
    cls.add_method('EnableAscii', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   673
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   674
                   [param('std::string', 'prefix'), param('ns3::NetDeviceContainer', 'd')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   675
    ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr<ns3::OutputStreamWrapper> stream, ns3::NetDeviceContainer d) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   676
    cls.add_method('EnableAscii', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   677
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   678
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::NetDeviceContainer', 'd')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   679
    ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, ns3::NodeContainer n) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   680
    cls.add_method('EnableAscii', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   681
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   682
                   [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   683
    ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr<ns3::OutputStreamWrapper> stream, ns3::NodeContainer n) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   684
    cls.add_method('EnableAscii', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   685
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   686
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::NodeContainer', 'n')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   687
    ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, uint32_t nodeid, uint32_t deviceid, bool explicitFilename) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   688
    cls.add_method('EnableAscii', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   689
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   690
                   [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid'), param('bool', 'explicitFilename')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   691
    ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr<ns3::OutputStreamWrapper> stream, uint32_t nodeid, uint32_t deviceid) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   692
    cls.add_method('EnableAscii', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   693
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   694
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   695
    ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAsciiAll(std::string prefix) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   696
    cls.add_method('EnableAsciiAll', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   697
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   698
                   [param('std::string', 'prefix')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   699
    ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAsciiAll(ns3::Ptr<ns3::OutputStreamWrapper> stream) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   700
    cls.add_method('EnableAsciiAll', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   701
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   702
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   703
    ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAsciiInternal(ns3::Ptr<ns3::OutputStreamWrapper> stream, std::string prefix, ns3::Ptr<ns3::NetDevice> nd, bool explicitFilename) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   704
    cls.add_method('EnableAsciiInternal', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   705
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   706
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'explicitFilename')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   707
                   is_pure_virtual=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   708
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   709
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   710
def register_Ns3AsciiTraceHelperForIpv4_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   711
    ## internet-trace-helper.h (module 'internet'): ns3::AsciiTraceHelperForIpv4::AsciiTraceHelperForIpv4(ns3::AsciiTraceHelperForIpv4 const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   712
    cls.add_constructor([param('ns3::AsciiTraceHelperForIpv4 const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   713
    ## internet-trace-helper.h (module 'internet'): ns3::AsciiTraceHelperForIpv4::AsciiTraceHelperForIpv4() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   714
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   715
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, ns3::Ptr<ns3::Ipv4> ipv4, uint32_t interface, bool explicitFilename=false) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   716
    cls.add_method('EnableAsciiIpv4', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   717
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   718
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   719
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr<ns3::OutputStreamWrapper> stream, ns3::Ptr<ns3::Ipv4> ipv4, uint32_t interface) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   720
    cls.add_method('EnableAsciiIpv4', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   721
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   722
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   723
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, std::string ipv4Name, uint32_t interface, bool explicitFilename=false) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   724
    cls.add_method('EnableAsciiIpv4', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   725
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   726
                   [param('std::string', 'prefix'), param('std::string', 'ipv4Name'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   727
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr<ns3::OutputStreamWrapper> stream, std::string ipv4Name, uint32_t interface) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   728
    cls.add_method('EnableAsciiIpv4', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   729
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   730
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'ipv4Name'), param('uint32_t', 'interface')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   731
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, ns3::Ipv4InterfaceContainer c) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   732
    cls.add_method('EnableAsciiIpv4', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   733
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   734
                   [param('std::string', 'prefix'), param('ns3::Ipv4InterfaceContainer', 'c')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   735
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr<ns3::OutputStreamWrapper> stream, ns3::Ipv4InterfaceContainer c) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   736
    cls.add_method('EnableAsciiIpv4', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   737
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   738
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::Ipv4InterfaceContainer', 'c')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   739
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, ns3::NodeContainer n) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   740
    cls.add_method('EnableAsciiIpv4', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   741
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   742
                   [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   743
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr<ns3::OutputStreamWrapper> stream, ns3::NodeContainer n) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   744
    cls.add_method('EnableAsciiIpv4', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   745
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   746
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::NodeContainer', 'n')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   747
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, uint32_t nodeid, uint32_t deviceid, bool explicitFilename) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   748
    cls.add_method('EnableAsciiIpv4', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   749
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   750
                   [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid'), param('bool', 'explicitFilename')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   751
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr<ns3::OutputStreamWrapper> stream, uint32_t nodeid, uint32_t interface, bool explicitFilename) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   752
    cls.add_method('EnableAsciiIpv4', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   753
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   754
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   755
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4All(std::string prefix) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   756
    cls.add_method('EnableAsciiIpv4All', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   757
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   758
                   [param('std::string', 'prefix')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   759
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4All(ns3::Ptr<ns3::OutputStreamWrapper> stream) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   760
    cls.add_method('EnableAsciiIpv4All', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   761
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   762
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   763
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4Internal(ns3::Ptr<ns3::OutputStreamWrapper> stream, std::string prefix, ns3::Ptr<ns3::Ipv4> ipv4, uint32_t interface, bool explicitFilename) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   764
    cls.add_method('EnableAsciiIpv4Internal', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   765
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   766
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   767
                   is_pure_virtual=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   768
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   769
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   770
def register_Ns3AsciiTraceHelperForIpv6_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   771
    ## internet-trace-helper.h (module 'internet'): ns3::AsciiTraceHelperForIpv6::AsciiTraceHelperForIpv6(ns3::AsciiTraceHelperForIpv6 const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   772
    cls.add_constructor([param('ns3::AsciiTraceHelperForIpv6 const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   773
    ## internet-trace-helper.h (module 'internet'): ns3::AsciiTraceHelperForIpv6::AsciiTraceHelperForIpv6() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   774
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   775
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, ns3::Ptr<ns3::Ipv6> ipv6, uint32_t interface, bool explicitFilename=false) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   776
    cls.add_method('EnableAsciiIpv6', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   777
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   778
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   779
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr<ns3::OutputStreamWrapper> stream, ns3::Ptr<ns3::Ipv6> ipv6, uint32_t interface) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   780
    cls.add_method('EnableAsciiIpv6', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   781
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   782
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   783
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, std::string ipv6Name, uint32_t interface, bool explicitFilename=false) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   784
    cls.add_method('EnableAsciiIpv6', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   785
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   786
                   [param('std::string', 'prefix'), param('std::string', 'ipv6Name'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   787
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr<ns3::OutputStreamWrapper> stream, std::string ipv6Name, uint32_t interface) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   788
    cls.add_method('EnableAsciiIpv6', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   789
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   790
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'ipv6Name'), param('uint32_t', 'interface')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   791
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, ns3::Ipv6InterfaceContainer c) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   792
    cls.add_method('EnableAsciiIpv6', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   793
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   794
                   [param('std::string', 'prefix'), param('ns3::Ipv6InterfaceContainer', 'c')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   795
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr<ns3::OutputStreamWrapper> stream, ns3::Ipv6InterfaceContainer c) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   796
    cls.add_method('EnableAsciiIpv6', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   797
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   798
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::Ipv6InterfaceContainer', 'c')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   799
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, ns3::NodeContainer n) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   800
    cls.add_method('EnableAsciiIpv6', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   801
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   802
                   [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   803
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr<ns3::OutputStreamWrapper> stream, ns3::NodeContainer n) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   804
    cls.add_method('EnableAsciiIpv6', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   805
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   806
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::NodeContainer', 'n')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   807
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, uint32_t nodeid, uint32_t interface, bool explicitFilename) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   808
    cls.add_method('EnableAsciiIpv6', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   809
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   810
                   [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   811
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr<ns3::OutputStreamWrapper> stream, uint32_t nodeid, uint32_t interface) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   812
    cls.add_method('EnableAsciiIpv6', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   813
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   814
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   815
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6All(std::string prefix) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   816
    cls.add_method('EnableAsciiIpv6All', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   817
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   818
                   [param('std::string', 'prefix')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   819
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6All(ns3::Ptr<ns3::OutputStreamWrapper> stream) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   820
    cls.add_method('EnableAsciiIpv6All', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   821
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   822
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   823
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6Internal(ns3::Ptr<ns3::OutputStreamWrapper> stream, std::string prefix, ns3::Ptr<ns3::Ipv6> ipv6, uint32_t interface, bool explicitFilename) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   824
    cls.add_method('EnableAsciiIpv6Internal', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   825
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   826
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   827
                   is_pure_virtual=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   828
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   829
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   830
def register_Ns3AttributeConstructionList_methods(root_module, cls):
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   831
    ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   832
    cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   833
    ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor]
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   834
    cls.add_constructor([])
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   835
    ## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr<ns3::AttributeChecker const> checker, ns3::Ptr<ns3::AttributeValue> value) [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   836
    cls.add_method('Add', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   837
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   838
                   [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   839
    ## attribute-construction-list.h (module 'core'): std::_List_const_iterator<ns3::AttributeConstructionList::Item> ns3::AttributeConstructionList::Begin() const [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   840
    cls.add_method('Begin', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   841
                   'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   842
                   [], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   843
                   is_const=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   844
    ## attribute-construction-list.h (module 'core'): std::_List_const_iterator<ns3::AttributeConstructionList::Item> ns3::AttributeConstructionList::End() const [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   845
    cls.add_method('End', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   846
                   'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   847
                   [], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   848
                   is_const=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   849
    ## attribute-construction-list.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeConstructionList::Find(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   850
    cls.add_method('Find', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   851
                   'ns3::Ptr< ns3::AttributeValue >', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   852
                   [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   853
                   is_const=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   854
    return
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   855
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   856
def register_Ns3AttributeConstructionListItem_methods(root_module, cls):
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   857
    ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   858
    cls.add_constructor([])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   859
    ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   860
    cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   861
    ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   862
    cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   863
    ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   864
    cls.add_instance_attribute('name', 'std::string', is_const=False)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   865
    ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   866
    cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   867
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   868
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   869
def register_Ns3Buffer_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   870
    ## buffer.h (module 'network'): ns3::Buffer::Buffer() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   871
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   872
    ## buffer.h (module 'network'): ns3::Buffer::Buffer(uint32_t dataSize) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   873
    cls.add_constructor([param('uint32_t', 'dataSize')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   874
    ## buffer.h (module 'network'): ns3::Buffer::Buffer(uint32_t dataSize, bool initialize) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   875
    cls.add_constructor([param('uint32_t', 'dataSize'), param('bool', 'initialize')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   876
    ## buffer.h (module 'network'): ns3::Buffer::Buffer(ns3::Buffer const & o) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   877
    cls.add_constructor([param('ns3::Buffer const &', 'o')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   878
    ## buffer.h (module 'network'): bool ns3::Buffer::AddAtEnd(uint32_t end) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   879
    cls.add_method('AddAtEnd', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   880
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   881
                   [param('uint32_t', 'end')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   882
    ## buffer.h (module 'network'): void ns3::Buffer::AddAtEnd(ns3::Buffer const & o) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   883
    cls.add_method('AddAtEnd', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   884
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   885
                   [param('ns3::Buffer const &', 'o')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   886
    ## buffer.h (module 'network'): bool ns3::Buffer::AddAtStart(uint32_t start) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   887
    cls.add_method('AddAtStart', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   888
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   889
                   [param('uint32_t', 'start')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   890
    ## buffer.h (module 'network'): ns3::Buffer::Iterator ns3::Buffer::Begin() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   891
    cls.add_method('Begin', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   892
                   'ns3::Buffer::Iterator', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   893
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   894
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   895
    ## buffer.h (module 'network'): void ns3::Buffer::CopyData(std::ostream * os, uint32_t size) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   896
    cls.add_method('CopyData', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   897
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   898
                   [param('std::ostream *', 'os'), param('uint32_t', 'size')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   899
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   900
    ## buffer.h (module 'network'): uint32_t ns3::Buffer::CopyData(uint8_t * buffer, uint32_t size) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   901
    cls.add_method('CopyData', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   902
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   903
                   [param('uint8_t *', 'buffer'), param('uint32_t', 'size')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   904
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   905
    ## buffer.h (module 'network'): ns3::Buffer ns3::Buffer::CreateFragment(uint32_t start, uint32_t length) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   906
    cls.add_method('CreateFragment', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   907
                   'ns3::Buffer', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   908
                   [param('uint32_t', 'start'), param('uint32_t', 'length')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   909
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   910
    ## buffer.h (module 'network'): ns3::Buffer ns3::Buffer::CreateFullCopy() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   911
    cls.add_method('CreateFullCopy', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   912
                   'ns3::Buffer', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   913
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   914
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   915
    ## buffer.h (module 'network'): uint32_t ns3::Buffer::Deserialize(uint8_t const * buffer, uint32_t size) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   916
    cls.add_method('Deserialize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   917
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   918
                   [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   919
    ## buffer.h (module 'network'): ns3::Buffer::Iterator ns3::Buffer::End() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   920
    cls.add_method('End', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   921
                   'ns3::Buffer::Iterator', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   922
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   923
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   924
    ## buffer.h (module 'network'): int32_t ns3::Buffer::GetCurrentEndOffset() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   925
    cls.add_method('GetCurrentEndOffset', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   926
                   'int32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   927
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   928
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   929
    ## buffer.h (module 'network'): int32_t ns3::Buffer::GetCurrentStartOffset() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   930
    cls.add_method('GetCurrentStartOffset', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   931
                   'int32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   932
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   933
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   934
    ## buffer.h (module 'network'): uint32_t ns3::Buffer::GetSerializedSize() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   935
    cls.add_method('GetSerializedSize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   936
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   937
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   938
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   939
    ## buffer.h (module 'network'): uint32_t ns3::Buffer::GetSize() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   940
    cls.add_method('GetSize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   941
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   942
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   943
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   944
    ## buffer.h (module 'network'): uint8_t const * ns3::Buffer::PeekData() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   945
    cls.add_method('PeekData', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   946
                   'uint8_t const *', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   947
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   948
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   949
    ## buffer.h (module 'network'): void ns3::Buffer::RemoveAtEnd(uint32_t end) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   950
    cls.add_method('RemoveAtEnd', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   951
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   952
                   [param('uint32_t', 'end')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   953
    ## buffer.h (module 'network'): void ns3::Buffer::RemoveAtStart(uint32_t start) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   954
    cls.add_method('RemoveAtStart', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   955
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   956
                   [param('uint32_t', 'start')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   957
    ## buffer.h (module 'network'): uint32_t ns3::Buffer::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   958
    cls.add_method('Serialize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   959
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   960
                   [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   961
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   962
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   963
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   964
def register_Ns3BufferIterator_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   965
    ## buffer.h (module 'network'): ns3::Buffer::Iterator::Iterator(ns3::Buffer::Iterator const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   966
    cls.add_constructor([param('ns3::Buffer::Iterator const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   967
    ## buffer.h (module 'network'): ns3::Buffer::Iterator::Iterator() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   968
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   969
    ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::CalculateIpChecksum(uint16_t size) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   970
    cls.add_method('CalculateIpChecksum', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   971
                   'uint16_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   972
                   [param('uint16_t', 'size')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   973
    ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::CalculateIpChecksum(uint16_t size, uint32_t initialChecksum) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   974
    cls.add_method('CalculateIpChecksum', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   975
                   'uint16_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   976
                   [param('uint16_t', 'size'), param('uint32_t', 'initialChecksum')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   977
    ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::GetDistanceFrom(ns3::Buffer::Iterator const & o) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   978
    cls.add_method('GetDistanceFrom', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   979
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   980
                   [param('ns3::Buffer::Iterator const &', 'o')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   981
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   982
    ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::GetSize() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   983
    cls.add_method('GetSize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   984
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   985
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   986
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   987
    ## buffer.h (module 'network'): bool ns3::Buffer::Iterator::IsEnd() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   988
    cls.add_method('IsEnd', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   989
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   990
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   991
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   992
    ## buffer.h (module 'network'): bool ns3::Buffer::Iterator::IsStart() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   993
    cls.add_method('IsStart', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   994
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   995
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   996
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   997
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Next() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   998
    cls.add_method('Next', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   999
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1000
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1001
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Next(uint32_t delta) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1002
    cls.add_method('Next', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1003
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1004
                   [param('uint32_t', 'delta')])
10628
8e7d67510b46 [Python Bindings] rescan bindings
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 10567
diff changeset
  1005
    ## buffer.h (module 'network'): uint8_t ns3::Buffer::Iterator::PeekU8() [member function]
8e7d67510b46 [Python Bindings] rescan bindings
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 10567
diff changeset
  1006
    cls.add_method('PeekU8', 
8e7d67510b46 [Python Bindings] rescan bindings
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 10567
diff changeset
  1007
                   'uint8_t', 
8e7d67510b46 [Python Bindings] rescan bindings
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 10567
diff changeset
  1008
                   [])
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1009
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Prev() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1010
    cls.add_method('Prev', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1011
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1012
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1013
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Prev(uint32_t delta) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1014
    cls.add_method('Prev', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1015
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1016
                   [param('uint32_t', 'delta')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1017
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Read(uint8_t * buffer, uint32_t size) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1018
    cls.add_method('Read', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1019
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1020
                   [param('uint8_t *', 'buffer'), param('uint32_t', 'size')])
10628
8e7d67510b46 [Python Bindings] rescan bindings
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 10567
diff changeset
  1021
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Read(ns3::Buffer::Iterator start, uint32_t size) [member function]
8e7d67510b46 [Python Bindings] rescan bindings
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 10567
diff changeset
  1022
    cls.add_method('Read', 
8e7d67510b46 [Python Bindings] rescan bindings
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 10567
diff changeset
  1023
                   'void', 
8e7d67510b46 [Python Bindings] rescan bindings
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 10567
diff changeset
  1024
                   [param('ns3::Buffer::Iterator', 'start'), param('uint32_t', 'size')])
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1025
    ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadLsbtohU16() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1026
    cls.add_method('ReadLsbtohU16', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1027
                   'uint16_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1028
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1029
    ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadLsbtohU32() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1030
    cls.add_method('ReadLsbtohU32', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1031
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1032
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1033
    ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadLsbtohU64() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1034
    cls.add_method('ReadLsbtohU64', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1035
                   'uint64_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1036
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1037
    ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadNtohU16() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1038
    cls.add_method('ReadNtohU16', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1039
                   'uint16_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1040
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1041
    ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadNtohU32() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1042
    cls.add_method('ReadNtohU32', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1043
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1044
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1045
    ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadNtohU64() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1046
    cls.add_method('ReadNtohU64', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1047
                   'uint64_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1048
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1049
    ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadU16() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1050
    cls.add_method('ReadU16', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1051
                   'uint16_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1052
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1053
    ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadU32() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1054
    cls.add_method('ReadU32', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1055
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1056
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1057
    ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadU64() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1058
    cls.add_method('ReadU64', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1059
                   'uint64_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1060
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1061
    ## buffer.h (module 'network'): uint8_t ns3::Buffer::Iterator::ReadU8() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1062
    cls.add_method('ReadU8', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1063
                   'uint8_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1064
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1065
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Write(uint8_t const * buffer, uint32_t size) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1066
    cls.add_method('Write', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1067
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1068
                   [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1069
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Write(ns3::Buffer::Iterator start, ns3::Buffer::Iterator end) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1070
    cls.add_method('Write', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1071
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1072
                   [param('ns3::Buffer::Iterator', 'start'), param('ns3::Buffer::Iterator', 'end')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1073
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU16(uint16_t data) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1074
    cls.add_method('WriteHtolsbU16', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1075
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1076
                   [param('uint16_t', 'data')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1077
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU32(uint32_t data) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1078
    cls.add_method('WriteHtolsbU32', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1079
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1080
                   [param('uint32_t', 'data')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1081
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU64(uint64_t data) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1082
    cls.add_method('WriteHtolsbU64', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1083
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1084
                   [param('uint64_t', 'data')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1085
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU16(uint16_t data) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1086
    cls.add_method('WriteHtonU16', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1087
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1088
                   [param('uint16_t', 'data')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1089
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU32(uint32_t data) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1090
    cls.add_method('WriteHtonU32', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1091
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1092
                   [param('uint32_t', 'data')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1093
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU64(uint64_t data) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1094
    cls.add_method('WriteHtonU64', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1095
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1096
                   [param('uint64_t', 'data')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1097
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU16(uint16_t data) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1098
    cls.add_method('WriteU16', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1099
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1100
                   [param('uint16_t', 'data')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1101
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU32(uint32_t data) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1102
    cls.add_method('WriteU32', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1103
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1104
                   [param('uint32_t', 'data')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1105
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU64(uint64_t data) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1106
    cls.add_method('WriteU64', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1107
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1108
                   [param('uint64_t', 'data')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1109
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU8(uint8_t data) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1110
    cls.add_method('WriteU8', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1111
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1112
                   [param('uint8_t', 'data')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1113
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU8(uint8_t data, uint32_t len) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1114
    cls.add_method('WriteU8', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1115
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1116
                   [param('uint8_t', 'data'), param('uint32_t', 'len')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1117
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1118
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1119
def register_Ns3ByteTagIterator_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1120
    ## packet.h (module 'network'): ns3::ByteTagIterator::ByteTagIterator(ns3::ByteTagIterator const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1121
    cls.add_constructor([param('ns3::ByteTagIterator const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1122
    ## packet.h (module 'network'): bool ns3::ByteTagIterator::HasNext() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1123
    cls.add_method('HasNext', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1124
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1125
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1126
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1127
    ## packet.h (module 'network'): ns3::ByteTagIterator::Item ns3::ByteTagIterator::Next() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1128
    cls.add_method('Next', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1129
                   'ns3::ByteTagIterator::Item', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1130
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1131
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1132
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1133
def register_Ns3ByteTagIteratorItem_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1134
    ## packet.h (module 'network'): ns3::ByteTagIterator::Item::Item(ns3::ByteTagIterator::Item const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1135
    cls.add_constructor([param('ns3::ByteTagIterator::Item const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1136
    ## packet.h (module 'network'): uint32_t ns3::ByteTagIterator::Item::GetEnd() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1137
    cls.add_method('GetEnd', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1138
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1139
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1140
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1141
    ## packet.h (module 'network'): uint32_t ns3::ByteTagIterator::Item::GetStart() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1142
    cls.add_method('GetStart', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1143
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1144
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1145
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1146
    ## packet.h (module 'network'): void ns3::ByteTagIterator::Item::GetTag(ns3::Tag & tag) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1147
    cls.add_method('GetTag', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1148
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1149
                   [param('ns3::Tag &', 'tag')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1150
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1151
    ## packet.h (module 'network'): ns3::TypeId ns3::ByteTagIterator::Item::GetTypeId() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1152
    cls.add_method('GetTypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1153
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1154
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1155
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1156
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1157
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1158
def register_Ns3ByteTagList_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1159
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::ByteTagList() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1160
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1161
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::ByteTagList(ns3::ByteTagList const & o) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1162
    cls.add_constructor([param('ns3::ByteTagList const &', 'o')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1163
    ## byte-tag-list.h (module 'network'): ns3::TagBuffer ns3::ByteTagList::Add(ns3::TypeId tid, uint32_t bufferSize, int32_t start, int32_t end) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1164
    cls.add_method('Add', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1165
                   'ns3::TagBuffer', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1166
                   [param('ns3::TypeId', 'tid'), param('uint32_t', 'bufferSize'), param('int32_t', 'start'), param('int32_t', 'end')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1167
    ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::Add(ns3::ByteTagList const & o) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1168
    cls.add_method('Add', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1169
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1170
                   [param('ns3::ByteTagList const &', 'o')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1171
    ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::AddAtEnd(int32_t adjustment, int32_t appendOffset) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1172
    cls.add_method('AddAtEnd', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1173
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1174
                   [param('int32_t', 'adjustment'), param('int32_t', 'appendOffset')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1175
    ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::AddAtStart(int32_t adjustment, int32_t prependOffset) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1176
    cls.add_method('AddAtStart', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1177
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1178
                   [param('int32_t', 'adjustment'), param('int32_t', 'prependOffset')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1179
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator ns3::ByteTagList::Begin(int32_t offsetStart, int32_t offsetEnd) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1180
    cls.add_method('Begin', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1181
                   'ns3::ByteTagList::Iterator', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1182
                   [param('int32_t', 'offsetStart'), param('int32_t', 'offsetEnd')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1183
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1184
    ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::RemoveAll() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1185
    cls.add_method('RemoveAll', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1186
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1187
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1188
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1189
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1190
def register_Ns3ByteTagListIterator_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1191
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Iterator(ns3::ByteTagList::Iterator const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1192
    cls.add_constructor([param('ns3::ByteTagList::Iterator const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1193
    ## byte-tag-list.h (module 'network'): uint32_t ns3::ByteTagList::Iterator::GetOffsetStart() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1194
    cls.add_method('GetOffsetStart', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1195
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1196
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1197
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1198
    ## byte-tag-list.h (module 'network'): bool ns3::ByteTagList::Iterator::HasNext() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1199
    cls.add_method('HasNext', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1200
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1201
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1202
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1203
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item ns3::ByteTagList::Iterator::Next() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1204
    cls.add_method('Next', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1205
                   'ns3::ByteTagList::Iterator::Item', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1206
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1207
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1208
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1209
def register_Ns3ByteTagListIteratorItem_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1210
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::Item(ns3::ByteTagList::Iterator::Item const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1211
    cls.add_constructor([param('ns3::ByteTagList::Iterator::Item const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1212
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::Item(ns3::TagBuffer buf) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1213
    cls.add_constructor([param('ns3::TagBuffer', 'buf')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1214
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::buf [variable]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1215
    cls.add_instance_attribute('buf', 'ns3::TagBuffer', is_const=False)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1216
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::end [variable]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1217
    cls.add_instance_attribute('end', 'int32_t', is_const=False)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1218
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::size [variable]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1219
    cls.add_instance_attribute('size', 'uint32_t', is_const=False)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1220
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::start [variable]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1221
    cls.add_instance_attribute('start', 'int32_t', is_const=False)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1222
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::tid [variable]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1223
    cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1224
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1225
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1226
def register_Ns3CallbackBase_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1227
    ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase(ns3::CallbackBase const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1228
    cls.add_constructor([param('ns3::CallbackBase const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1229
    ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1230
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1231
    ## callback.h (module 'core'): ns3::Ptr<ns3::CallbackImplBase> ns3::CallbackBase::GetImpl() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1232
    cls.add_method('GetImpl', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1233
                   'ns3::Ptr< ns3::CallbackImplBase >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1234
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1235
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1236
    ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase(ns3::Ptr<ns3::CallbackImplBase> impl) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1237
    cls.add_constructor([param('ns3::Ptr< ns3::CallbackImplBase >', 'impl')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1238
                        visibility='protected')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1239
    ## callback.h (module 'core'): static std::string ns3::CallbackBase::Demangle(std::string const & mangled) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1240
    cls.add_method('Demangle', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1241
                   'std::string', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1242
                   [param('std::string const &', 'mangled')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1243
                   is_static=True, visibility='protected')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1244
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1245
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1246
def register_Ns3CsmaDeviceRec_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1247
    ## csma-channel.h (module 'csma'): ns3::CsmaDeviceRec::CsmaDeviceRec() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1248
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1249
    ## csma-channel.h (module 'csma'): ns3::CsmaDeviceRec::CsmaDeviceRec(ns3::Ptr<ns3::CsmaNetDevice> device) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1250
    cls.add_constructor([param('ns3::Ptr< ns3::CsmaNetDevice >', 'device')])
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1251
    ## csma-channel.h (module 'csma'): ns3::CsmaDeviceRec::CsmaDeviceRec(ns3::CsmaDeviceRec const & arg0) [copy constructor]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1252
    cls.add_constructor([param('ns3::CsmaDeviceRec const &', 'arg0')])
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1253
    ## csma-channel.h (module 'csma'): bool ns3::CsmaDeviceRec::IsActive() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1254
    cls.add_method('IsActive', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1255
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1256
                   [])
7874
3eda7174ac52 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7873
diff changeset
  1257
    ## csma-channel.h (module 'csma'): ns3::CsmaDeviceRec::active [variable]
3eda7174ac52 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7873
diff changeset
  1258
    cls.add_instance_attribute('active', 'bool', is_const=False)
3eda7174ac52 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7873
diff changeset
  1259
    ## csma-channel.h (module 'csma'): ns3::CsmaDeviceRec::devicePtr [variable]
3eda7174ac52 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7873
diff changeset
  1260
    cls.add_instance_attribute('devicePtr', 'ns3::Ptr< ns3::CsmaNetDevice >', is_const=False)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1261
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1262
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1263
def register_Ns3CsmaStarHelper_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1264
    ## csma-star-helper.h (module 'csma-layout'): ns3::CsmaStarHelper::CsmaStarHelper(ns3::CsmaStarHelper const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1265
    cls.add_constructor([param('ns3::CsmaStarHelper const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1266
    ## csma-star-helper.h (module 'csma-layout'): ns3::CsmaStarHelper::CsmaStarHelper(uint32_t numSpokes, ns3::CsmaHelper csmaHelper) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1267
    cls.add_constructor([param('uint32_t', 'numSpokes'), param('ns3::CsmaHelper', 'csmaHelper')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1268
    ## csma-star-helper.h (module 'csma-layout'): void ns3::CsmaStarHelper::AssignIpv4Addresses(ns3::Ipv4AddressHelper address) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1269
    cls.add_method('AssignIpv4Addresses', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1270
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1271
                   [param('ns3::Ipv4AddressHelper', 'address')])
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1272
    ## csma-star-helper.h (module 'csma-layout'): void ns3::CsmaStarHelper::AssignIpv6Addresses(ns3::Ipv6Address network, ns3::Ipv6Prefix prefix) [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1273
    cls.add_method('AssignIpv6Addresses', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1274
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1275
                   [param('ns3::Ipv6Address', 'network'), param('ns3::Ipv6Prefix', 'prefix')])
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1276
    ## csma-star-helper.h (module 'csma-layout'): ns3::Ptr<ns3::Node> ns3::CsmaStarHelper::GetHub() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1277
    cls.add_method('GetHub', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1278
                   'ns3::Ptr< ns3::Node >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1279
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1280
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1281
    ## csma-star-helper.h (module 'csma-layout'): ns3::NetDeviceContainer ns3::CsmaStarHelper::GetHubDevices() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1282
    cls.add_method('GetHubDevices', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1283
                   'ns3::NetDeviceContainer', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1284
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1285
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1286
    ## csma-star-helper.h (module 'csma-layout'): ns3::Ipv4Address ns3::CsmaStarHelper::GetHubIpv4Address(uint32_t i) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1287
    cls.add_method('GetHubIpv4Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1288
                   'ns3::Ipv4Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1289
                   [param('uint32_t', 'i')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1290
                   is_const=True)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1291
    ## csma-star-helper.h (module 'csma-layout'): ns3::Ipv6Address ns3::CsmaStarHelper::GetHubIpv6Address(uint32_t i) const [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1292
    cls.add_method('GetHubIpv6Address', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1293
                   'ns3::Ipv6Address', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1294
                   [param('uint32_t', 'i')], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1295
                   is_const=True)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1296
    ## csma-star-helper.h (module 'csma-layout'): ns3::NetDeviceContainer ns3::CsmaStarHelper::GetSpokeDevices() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1297
    cls.add_method('GetSpokeDevices', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1298
                   'ns3::NetDeviceContainer', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1299
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1300
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1301
    ## csma-star-helper.h (module 'csma-layout'): ns3::Ipv4Address ns3::CsmaStarHelper::GetSpokeIpv4Address(uint32_t i) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1302
    cls.add_method('GetSpokeIpv4Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1303
                   'ns3::Ipv4Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1304
                   [param('uint32_t', 'i')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1305
                   is_const=True)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1306
    ## csma-star-helper.h (module 'csma-layout'): ns3::Ipv6Address ns3::CsmaStarHelper::GetSpokeIpv6Address(uint32_t i) const [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1307
    cls.add_method('GetSpokeIpv6Address', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1308
                   'ns3::Ipv6Address', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1309
                   [param('uint32_t', 'i')], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1310
                   is_const=True)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1311
    ## csma-star-helper.h (module 'csma-layout'): ns3::Ptr<ns3::Node> ns3::CsmaStarHelper::GetSpokeNode(uint32_t i) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1312
    cls.add_method('GetSpokeNode', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1313
                   'ns3::Ptr< ns3::Node >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1314
                   [param('uint32_t', 'i')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1315
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1316
    ## csma-star-helper.h (module 'csma-layout'): void ns3::CsmaStarHelper::InstallStack(ns3::InternetStackHelper stack) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1317
    cls.add_method('InstallStack', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1318
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1319
                   [param('ns3::InternetStackHelper', 'stack')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1320
    ## csma-star-helper.h (module 'csma-layout'): uint32_t ns3::CsmaStarHelper::SpokeCount() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1321
    cls.add_method('SpokeCount', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1322
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1323
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1324
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1325
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1326
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1327
def register_Ns3DataRate_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1328
    cls.add_output_stream_operator()
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1329
    cls.add_binary_comparison_operator('!=')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1330
    cls.add_binary_comparison_operator('<')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1331
    cls.add_binary_comparison_operator('<=')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1332
    cls.add_binary_comparison_operator('==')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1333
    cls.add_binary_comparison_operator('>')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1334
    cls.add_binary_comparison_operator('>=')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1335
    ## data-rate.h (module 'network'): ns3::DataRate::DataRate(ns3::DataRate const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1336
    cls.add_constructor([param('ns3::DataRate const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1337
    ## data-rate.h (module 'network'): ns3::DataRate::DataRate() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1338
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1339
    ## data-rate.h (module 'network'): ns3::DataRate::DataRate(uint64_t bps) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1340
    cls.add_constructor([param('uint64_t', 'bps')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1341
    ## data-rate.h (module 'network'): ns3::DataRate::DataRate(std::string rate) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1342
    cls.add_constructor([param('std::string', 'rate')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1343
    ## data-rate.h (module 'network'): double ns3::DataRate::CalculateTxTime(uint32_t bytes) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1344
    cls.add_method('CalculateTxTime', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1345
                   'double', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1346
                   [param('uint32_t', 'bytes')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1347
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1348
    ## data-rate.h (module 'network'): uint64_t ns3::DataRate::GetBitRate() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1349
    cls.add_method('GetBitRate', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1350
                   'uint64_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1351
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1352
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1353
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1354
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1355
def register_Ns3EventId_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1356
    cls.add_binary_comparison_operator('!=')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1357
    cls.add_binary_comparison_operator('==')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1358
    ## event-id.h (module 'core'): ns3::EventId::EventId(ns3::EventId const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1359
    cls.add_constructor([param('ns3::EventId const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1360
    ## event-id.h (module 'core'): ns3::EventId::EventId() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1361
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1362
    ## event-id.h (module 'core'): ns3::EventId::EventId(ns3::Ptr<ns3::EventImpl> const & impl, uint64_t ts, uint32_t context, uint32_t uid) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1363
    cls.add_constructor([param('ns3::Ptr< ns3::EventImpl > const &', 'impl'), param('uint64_t', 'ts'), param('uint32_t', 'context'), param('uint32_t', 'uid')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1364
    ## event-id.h (module 'core'): void ns3::EventId::Cancel() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1365
    cls.add_method('Cancel', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1366
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1367
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1368
    ## event-id.h (module 'core'): uint32_t ns3::EventId::GetContext() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1369
    cls.add_method('GetContext', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1370
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1371
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1372
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1373
    ## event-id.h (module 'core'): uint64_t ns3::EventId::GetTs() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1374
    cls.add_method('GetTs', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1375
                   'uint64_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1376
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1377
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1378
    ## event-id.h (module 'core'): uint32_t ns3::EventId::GetUid() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1379
    cls.add_method('GetUid', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1380
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1381
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1382
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1383
    ## event-id.h (module 'core'): bool ns3::EventId::IsExpired() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1384
    cls.add_method('IsExpired', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1385
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1386
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1387
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1388
    ## event-id.h (module 'core'): bool ns3::EventId::IsRunning() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1389
    cls.add_method('IsRunning', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1390
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1391
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1392
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1393
    ## event-id.h (module 'core'): ns3::EventImpl * ns3::EventId::PeekEventImpl() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1394
    cls.add_method('PeekEventImpl', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1395
                   'ns3::EventImpl *', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1396
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1397
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1398
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1399
10183
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  1400
def register_Ns3Hasher_methods(root_module, cls):
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  1401
    ## hash.h (module 'core'): ns3::Hasher::Hasher(ns3::Hasher const & arg0) [copy constructor]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  1402
    cls.add_constructor([param('ns3::Hasher const &', 'arg0')])
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  1403
    ## hash.h (module 'core'): ns3::Hasher::Hasher() [constructor]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  1404
    cls.add_constructor([])
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  1405
    ## hash.h (module 'core'): ns3::Hasher::Hasher(ns3::Ptr<ns3::Hash::Implementation> hp) [constructor]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  1406
    cls.add_constructor([param('ns3::Ptr< ns3::Hash::Implementation >', 'hp')])
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  1407
    ## hash.h (module 'core'): uint32_t ns3::Hasher::GetHash32(char const * buffer, size_t const size) [member function]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  1408
    cls.add_method('GetHash32', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  1409
                   'uint32_t', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  1410
                   [param('char const *', 'buffer'), param('size_t const', 'size')])
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  1411
    ## hash.h (module 'core'): uint32_t ns3::Hasher::GetHash32(std::string const s) [member function]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  1412
    cls.add_method('GetHash32', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  1413
                   'uint32_t', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  1414
                   [param('std::string const', 's')])
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  1415
    ## hash.h (module 'core'): uint64_t ns3::Hasher::GetHash64(char const * buffer, size_t const size) [member function]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  1416
    cls.add_method('GetHash64', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  1417
                   'uint64_t', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  1418
                   [param('char const *', 'buffer'), param('size_t const', 'size')])
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  1419
    ## hash.h (module 'core'): uint64_t ns3::Hasher::GetHash64(std::string const s) [member function]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  1420
    cls.add_method('GetHash64', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  1421
                   'uint64_t', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  1422
                   [param('std::string const', 's')])
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  1423
    ## hash.h (module 'core'): ns3::Hasher & ns3::Hasher::clear() [member function]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  1424
    cls.add_method('clear', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  1425
                   'ns3::Hasher &', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  1426
                   [])
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  1427
    return
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  1428
9190
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1429
def register_Ns3Inet6SocketAddress_methods(root_module, cls):
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1430
    ## inet6-socket-address.h (module 'network'): ns3::Inet6SocketAddress::Inet6SocketAddress(ns3::Inet6SocketAddress const & arg0) [copy constructor]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1431
    cls.add_constructor([param('ns3::Inet6SocketAddress const &', 'arg0')])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1432
    ## inet6-socket-address.h (module 'network'): ns3::Inet6SocketAddress::Inet6SocketAddress(ns3::Ipv6Address ipv6, uint16_t port) [constructor]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1433
    cls.add_constructor([param('ns3::Ipv6Address', 'ipv6'), param('uint16_t', 'port')])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1434
    ## inet6-socket-address.h (module 'network'): ns3::Inet6SocketAddress::Inet6SocketAddress(ns3::Ipv6Address ipv6) [constructor]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1435
    cls.add_constructor([param('ns3::Ipv6Address', 'ipv6')])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1436
    ## inet6-socket-address.h (module 'network'): ns3::Inet6SocketAddress::Inet6SocketAddress(uint16_t port) [constructor]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1437
    cls.add_constructor([param('uint16_t', 'port')])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1438
    ## inet6-socket-address.h (module 'network'): ns3::Inet6SocketAddress::Inet6SocketAddress(char const * ipv6, uint16_t port) [constructor]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1439
    cls.add_constructor([param('char const *', 'ipv6'), param('uint16_t', 'port')])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1440
    ## inet6-socket-address.h (module 'network'): ns3::Inet6SocketAddress::Inet6SocketAddress(char const * ipv6) [constructor]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1441
    cls.add_constructor([param('char const *', 'ipv6')])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1442
    ## inet6-socket-address.h (module 'network'): static ns3::Inet6SocketAddress ns3::Inet6SocketAddress::ConvertFrom(ns3::Address const & addr) [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1443
    cls.add_method('ConvertFrom', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1444
                   'ns3::Inet6SocketAddress', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1445
                   [param('ns3::Address const &', 'addr')], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1446
                   is_static=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1447
    ## inet6-socket-address.h (module 'network'): ns3::Ipv6Address ns3::Inet6SocketAddress::GetIpv6() const [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1448
    cls.add_method('GetIpv6', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1449
                   'ns3::Ipv6Address', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1450
                   [], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1451
                   is_const=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1452
    ## inet6-socket-address.h (module 'network'): uint16_t ns3::Inet6SocketAddress::GetPort() const [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1453
    cls.add_method('GetPort', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1454
                   'uint16_t', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1455
                   [], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1456
                   is_const=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1457
    ## inet6-socket-address.h (module 'network'): static bool ns3::Inet6SocketAddress::IsMatchingType(ns3::Address const & addr) [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1458
    cls.add_method('IsMatchingType', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1459
                   'bool', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1460
                   [param('ns3::Address const &', 'addr')], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1461
                   is_static=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1462
    ## inet6-socket-address.h (module 'network'): void ns3::Inet6SocketAddress::SetIpv6(ns3::Ipv6Address ipv6) [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1463
    cls.add_method('SetIpv6', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1464
                   'void', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1465
                   [param('ns3::Ipv6Address', 'ipv6')])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1466
    ## inet6-socket-address.h (module 'network'): void ns3::Inet6SocketAddress::SetPort(uint16_t port) [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1467
    cls.add_method('SetPort', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1468
                   'void', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1469
                   [param('uint16_t', 'port')])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1470
    return
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1471
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1472
def register_Ns3InetSocketAddress_methods(root_module, cls):
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1473
    ## inet-socket-address.h (module 'network'): ns3::InetSocketAddress::InetSocketAddress(ns3::InetSocketAddress const & arg0) [copy constructor]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1474
    cls.add_constructor([param('ns3::InetSocketAddress const &', 'arg0')])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1475
    ## inet-socket-address.h (module 'network'): ns3::InetSocketAddress::InetSocketAddress(ns3::Ipv4Address ipv4, uint16_t port) [constructor]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1476
    cls.add_constructor([param('ns3::Ipv4Address', 'ipv4'), param('uint16_t', 'port')])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1477
    ## inet-socket-address.h (module 'network'): ns3::InetSocketAddress::InetSocketAddress(ns3::Ipv4Address ipv4) [constructor]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1478
    cls.add_constructor([param('ns3::Ipv4Address', 'ipv4')])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1479
    ## inet-socket-address.h (module 'network'): ns3::InetSocketAddress::InetSocketAddress(uint16_t port) [constructor]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1480
    cls.add_constructor([param('uint16_t', 'port')])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1481
    ## inet-socket-address.h (module 'network'): ns3::InetSocketAddress::InetSocketAddress(char const * ipv4, uint16_t port) [constructor]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1482
    cls.add_constructor([param('char const *', 'ipv4'), param('uint16_t', 'port')])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1483
    ## inet-socket-address.h (module 'network'): ns3::InetSocketAddress::InetSocketAddress(char const * ipv4) [constructor]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1484
    cls.add_constructor([param('char const *', 'ipv4')])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1485
    ## inet-socket-address.h (module 'network'): static ns3::InetSocketAddress ns3::InetSocketAddress::ConvertFrom(ns3::Address const & address) [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1486
    cls.add_method('ConvertFrom', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1487
                   'ns3::InetSocketAddress', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1488
                   [param('ns3::Address const &', 'address')], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1489
                   is_static=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1490
    ## inet-socket-address.h (module 'network'): ns3::Ipv4Address ns3::InetSocketAddress::GetIpv4() const [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1491
    cls.add_method('GetIpv4', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1492
                   'ns3::Ipv4Address', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1493
                   [], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1494
                   is_const=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1495
    ## inet-socket-address.h (module 'network'): uint16_t ns3::InetSocketAddress::GetPort() const [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1496
    cls.add_method('GetPort', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1497
                   'uint16_t', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1498
                   [], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1499
                   is_const=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1500
    ## inet-socket-address.h (module 'network'): static bool ns3::InetSocketAddress::IsMatchingType(ns3::Address const & address) [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1501
    cls.add_method('IsMatchingType', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1502
                   'bool', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1503
                   [param('ns3::Address const &', 'address')], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1504
                   is_static=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1505
    ## inet-socket-address.h (module 'network'): void ns3::InetSocketAddress::SetIpv4(ns3::Ipv4Address address) [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1506
    cls.add_method('SetIpv4', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1507
                   'void', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1508
                   [param('ns3::Ipv4Address', 'address')])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1509
    ## inet-socket-address.h (module 'network'): void ns3::InetSocketAddress::SetPort(uint16_t port) [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1510
    cls.add_method('SetPort', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1511
                   'void', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1512
                   [param('uint16_t', 'port')])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1513
    return
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1514
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1515
def register_Ns3Ipv4Address_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1516
    cls.add_binary_comparison_operator('<')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1517
    cls.add_binary_comparison_operator('!=')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1518
    cls.add_output_stream_operator()
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1519
    cls.add_binary_comparison_operator('==')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1520
    ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address(ns3::Ipv4Address const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1521
    cls.add_constructor([param('ns3::Ipv4Address const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1522
    ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1523
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1524
    ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address(uint32_t address) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1525
    cls.add_constructor([param('uint32_t', 'address')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1526
    ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address(char const * address) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1527
    cls.add_constructor([param('char const *', 'address')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1528
    ## ipv4-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv4Address::CombineMask(ns3::Ipv4Mask const & mask) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1529
    cls.add_method('CombineMask', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1530
                   'ns3::Ipv4Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1531
                   [param('ns3::Ipv4Mask const &', 'mask')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1532
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1533
    ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::ConvertFrom(ns3::Address const & address) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1534
    cls.add_method('ConvertFrom', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1535
                   'ns3::Ipv4Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1536
                   [param('ns3::Address const &', 'address')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1537
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1538
    ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::Deserialize(uint8_t const * buf) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1539
    cls.add_method('Deserialize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1540
                   'ns3::Ipv4Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1541
                   [param('uint8_t const *', 'buf')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1542
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1543
    ## ipv4-address.h (module 'network'): uint32_t ns3::Ipv4Address::Get() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1544
    cls.add_method('Get', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1545
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1546
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1547
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1548
    ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetAny() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1549
    cls.add_method('GetAny', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1550
                   'ns3::Ipv4Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1551
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1552
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1553
    ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetBroadcast() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1554
    cls.add_method('GetBroadcast', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1555
                   'ns3::Ipv4Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1556
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1557
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1558
    ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetLoopback() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1559
    cls.add_method('GetLoopback', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1560
                   'ns3::Ipv4Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1561
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1562
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1563
    ## ipv4-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv4Address::GetSubnetDirectedBroadcast(ns3::Ipv4Mask const & mask) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1564
    cls.add_method('GetSubnetDirectedBroadcast', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1565
                   'ns3::Ipv4Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1566
                   [param('ns3::Ipv4Mask const &', 'mask')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1567
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1568
    ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetZero() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1569
    cls.add_method('GetZero', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1570
                   'ns3::Ipv4Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1571
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1572
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1573
    ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsBroadcast() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1574
    cls.add_method('IsBroadcast', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1575
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1576
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1577
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1578
    ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsEqual(ns3::Ipv4Address const & other) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1579
    cls.add_method('IsEqual', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1580
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1581
                   [param('ns3::Ipv4Address const &', 'other')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1582
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1583
    ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsLocalMulticast() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1584
    cls.add_method('IsLocalMulticast', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1585
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1586
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1587
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1588
    ## ipv4-address.h (module 'network'): static bool ns3::Ipv4Address::IsMatchingType(ns3::Address const & address) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1589
    cls.add_method('IsMatchingType', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1590
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1591
                   [param('ns3::Address const &', 'address')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1592
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1593
    ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsMulticast() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1594
    cls.add_method('IsMulticast', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1595
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1596
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1597
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1598
    ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsSubnetDirectedBroadcast(ns3::Ipv4Mask const & mask) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1599
    cls.add_method('IsSubnetDirectedBroadcast', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1600
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1601
                   [param('ns3::Ipv4Mask const &', 'mask')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1602
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1603
    ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Print(std::ostream & os) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1604
    cls.add_method('Print', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1605
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1606
                   [param('std::ostream &', 'os')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1607
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1608
    ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Serialize(uint8_t * buf) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1609
    cls.add_method('Serialize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1610
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1611
                   [param('uint8_t *', 'buf')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1612
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1613
    ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Set(uint32_t address) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1614
    cls.add_method('Set', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1615
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1616
                   [param('uint32_t', 'address')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1617
    ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Set(char const * address) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1618
    cls.add_method('Set', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1619
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1620
                   [param('char const *', 'address')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1621
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1622
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1623
def register_Ns3Ipv4AddressHelper_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1624
    ## ipv4-address-helper.h (module 'internet'): ns3::Ipv4AddressHelper::Ipv4AddressHelper(ns3::Ipv4AddressHelper const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1625
    cls.add_constructor([param('ns3::Ipv4AddressHelper const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1626
    ## ipv4-address-helper.h (module 'internet'): ns3::Ipv4AddressHelper::Ipv4AddressHelper() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1627
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1628
    ## ipv4-address-helper.h (module 'internet'): ns3::Ipv4AddressHelper::Ipv4AddressHelper(ns3::Ipv4Address network, ns3::Ipv4Mask mask, ns3::Ipv4Address base="0.0.0.1") [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1629
    cls.add_constructor([param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'mask'), param('ns3::Ipv4Address', 'base', default_value='"0.0.0.1"')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1630
    ## ipv4-address-helper.h (module 'internet'): ns3::Ipv4InterfaceContainer ns3::Ipv4AddressHelper::Assign(ns3::NetDeviceContainer const & c) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1631
    cls.add_method('Assign', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1632
                   'ns3::Ipv4InterfaceContainer', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1633
                   [param('ns3::NetDeviceContainer const &', 'c')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1634
    ## ipv4-address-helper.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4AddressHelper::NewAddress() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1635
    cls.add_method('NewAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1636
                   'ns3::Ipv4Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1637
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1638
    ## ipv4-address-helper.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4AddressHelper::NewNetwork() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1639
    cls.add_method('NewNetwork', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1640
                   'ns3::Ipv4Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1641
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1642
    ## ipv4-address-helper.h (module 'internet'): void ns3::Ipv4AddressHelper::SetBase(ns3::Ipv4Address network, ns3::Ipv4Mask mask, ns3::Ipv4Address base="0.0.0.1") [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1643
    cls.add_method('SetBase', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1644
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1645
                   [param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'mask'), param('ns3::Ipv4Address', 'base', default_value='"0.0.0.1"')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1646
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1647
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1648
def register_Ns3Ipv4InterfaceAddress_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1649
    cls.add_binary_comparison_operator('!=')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1650
    cls.add_output_stream_operator()
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1651
    cls.add_binary_comparison_operator('==')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1652
    ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4InterfaceAddress::Ipv4InterfaceAddress() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1653
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1654
    ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4InterfaceAddress::Ipv4InterfaceAddress(ns3::Ipv4Address local, ns3::Ipv4Mask mask) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1655
    cls.add_constructor([param('ns3::Ipv4Address', 'local'), param('ns3::Ipv4Mask', 'mask')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1656
    ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4InterfaceAddress::Ipv4InterfaceAddress(ns3::Ipv4InterfaceAddress const & o) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1657
    cls.add_constructor([param('ns3::Ipv4InterfaceAddress const &', 'o')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1658
    ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4InterfaceAddress::GetBroadcast() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1659
    cls.add_method('GetBroadcast', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1660
                   'ns3::Ipv4Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1661
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1662
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1663
    ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4InterfaceAddress::GetLocal() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1664
    cls.add_method('GetLocal', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1665
                   'ns3::Ipv4Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1666
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1667
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1668
    ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4Mask ns3::Ipv4InterfaceAddress::GetMask() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1669
    cls.add_method('GetMask', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1670
                   'ns3::Ipv4Mask', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1671
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1672
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1673
    ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e ns3::Ipv4InterfaceAddress::GetScope() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1674
    cls.add_method('GetScope', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1675
                   'ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1676
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1677
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1678
    ## ipv4-interface-address.h (module 'internet'): bool ns3::Ipv4InterfaceAddress::IsSecondary() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1679
    cls.add_method('IsSecondary', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1680
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1681
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1682
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1683
    ## ipv4-interface-address.h (module 'internet'): void ns3::Ipv4InterfaceAddress::SetBroadcast(ns3::Ipv4Address broadcast) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1684
    cls.add_method('SetBroadcast', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1685
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1686
                   [param('ns3::Ipv4Address', 'broadcast')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1687
    ## ipv4-interface-address.h (module 'internet'): void ns3::Ipv4InterfaceAddress::SetLocal(ns3::Ipv4Address local) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1688
    cls.add_method('SetLocal', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1689
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1690
                   [param('ns3::Ipv4Address', 'local')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1691
    ## ipv4-interface-address.h (module 'internet'): void ns3::Ipv4InterfaceAddress::SetMask(ns3::Ipv4Mask mask) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1692
    cls.add_method('SetMask', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1693
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1694
                   [param('ns3::Ipv4Mask', 'mask')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1695
    ## ipv4-interface-address.h (module 'internet'): void ns3::Ipv4InterfaceAddress::SetPrimary() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1696
    cls.add_method('SetPrimary', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1697
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1698
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1699
    ## ipv4-interface-address.h (module 'internet'): void ns3::Ipv4InterfaceAddress::SetScope(ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e scope) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1700
    cls.add_method('SetScope', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1701
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1702
                   [param('ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', 'scope')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1703
    ## ipv4-interface-address.h (module 'internet'): void ns3::Ipv4InterfaceAddress::SetSecondary() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1704
    cls.add_method('SetSecondary', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1705
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1706
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1707
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1708
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1709
def register_Ns3Ipv4InterfaceContainer_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1710
    ## ipv4-interface-container.h (module 'internet'): ns3::Ipv4InterfaceContainer::Ipv4InterfaceContainer(ns3::Ipv4InterfaceContainer const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1711
    cls.add_constructor([param('ns3::Ipv4InterfaceContainer const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1712
    ## ipv4-interface-container.h (module 'internet'): ns3::Ipv4InterfaceContainer::Ipv4InterfaceContainer() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1713
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1714
    ## ipv4-interface-container.h (module 'internet'): void ns3::Ipv4InterfaceContainer::Add(ns3::Ipv4InterfaceContainer other) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1715
    cls.add_method('Add', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1716
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1717
                   [param('ns3::Ipv4InterfaceContainer', 'other')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1718
    ## ipv4-interface-container.h (module 'internet'): void ns3::Ipv4InterfaceContainer::Add(ns3::Ptr<ns3::Ipv4> ipv4, uint32_t interface) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1719
    cls.add_method('Add', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1720
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1721
                   [param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1722
    ## ipv4-interface-container.h (module 'internet'): void ns3::Ipv4InterfaceContainer::Add(std::pair<ns3::Ptr<ns3::Ipv4>,unsigned int> ipInterfacePair) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1723
    cls.add_method('Add', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1724
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1725
                   [param('std::pair< ns3::Ptr< ns3::Ipv4 >, unsigned int >', 'ipInterfacePair')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1726
    ## ipv4-interface-container.h (module 'internet'): void ns3::Ipv4InterfaceContainer::Add(std::string ipv4Name, uint32_t interface) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1727
    cls.add_method('Add', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1728
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1729
                   [param('std::string', 'ipv4Name'), param('uint32_t', 'interface')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1730
    ## ipv4-interface-container.h (module 'internet'): __gnu_cxx::__normal_iterator<const std::pair<ns3::Ptr<ns3::Ipv4>, unsigned int>*,std::vector<std::pair<ns3::Ptr<ns3::Ipv4>, unsigned int>, std::allocator<std::pair<ns3::Ptr<ns3::Ipv4>, unsigned int> > > > ns3::Ipv4InterfaceContainer::Begin() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1731
    cls.add_method('Begin', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1732
                   '__gnu_cxx::__normal_iterator< std::pair< ns3::Ptr< ns3::Ipv4 >, unsigned int > const, std::vector< std::pair< ns3::Ptr< ns3::Ipv4 >, unsigned int > > >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1733
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1734
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1735
    ## ipv4-interface-container.h (module 'internet'): __gnu_cxx::__normal_iterator<const std::pair<ns3::Ptr<ns3::Ipv4>, unsigned int>*,std::vector<std::pair<ns3::Ptr<ns3::Ipv4>, unsigned int>, std::allocator<std::pair<ns3::Ptr<ns3::Ipv4>, unsigned int> > > > ns3::Ipv4InterfaceContainer::End() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1736
    cls.add_method('End', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1737
                   '__gnu_cxx::__normal_iterator< std::pair< ns3::Ptr< ns3::Ipv4 >, unsigned int > const, std::vector< std::pair< ns3::Ptr< ns3::Ipv4 >, unsigned int > > >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1738
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1739
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1740
    ## ipv4-interface-container.h (module 'internet'): std::pair<ns3::Ptr<ns3::Ipv4>,unsigned int> ns3::Ipv4InterfaceContainer::Get(uint32_t i) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1741
    cls.add_method('Get', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1742
                   'std::pair< ns3::Ptr< ns3::Ipv4 >, unsigned int >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1743
                   [param('uint32_t', 'i')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1744
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1745
    ## ipv4-interface-container.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4InterfaceContainer::GetAddress(uint32_t i, uint32_t j=0) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1746
    cls.add_method('GetAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1747
                   'ns3::Ipv4Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1748
                   [param('uint32_t', 'i'), param('uint32_t', 'j', default_value='0')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1749
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1750
    ## ipv4-interface-container.h (module 'internet'): uint32_t ns3::Ipv4InterfaceContainer::GetN() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1751
    cls.add_method('GetN', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1752
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1753
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1754
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1755
    ## ipv4-interface-container.h (module 'internet'): void ns3::Ipv4InterfaceContainer::SetMetric(uint32_t i, uint16_t metric) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1756
    cls.add_method('SetMetric', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1757
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1758
                   [param('uint32_t', 'i'), param('uint16_t', 'metric')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1759
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1760
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1761
def register_Ns3Ipv4Mask_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1762
    cls.add_binary_comparison_operator('!=')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1763
    cls.add_output_stream_operator()
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1764
    cls.add_binary_comparison_operator('==')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1765
    ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask(ns3::Ipv4Mask const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1766
    cls.add_constructor([param('ns3::Ipv4Mask const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1767
    ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1768
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1769
    ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask(uint32_t mask) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1770
    cls.add_constructor([param('uint32_t', 'mask')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1771
    ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask(char const * mask) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1772
    cls.add_constructor([param('char const *', 'mask')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1773
    ## ipv4-address.h (module 'network'): uint32_t ns3::Ipv4Mask::Get() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1774
    cls.add_method('Get', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1775
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1776
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1777
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1778
    ## ipv4-address.h (module 'network'): uint32_t ns3::Ipv4Mask::GetInverse() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1779
    cls.add_method('GetInverse', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1780
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1781
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1782
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1783
    ## ipv4-address.h (module 'network'): static ns3::Ipv4Mask ns3::Ipv4Mask::GetLoopback() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1784
    cls.add_method('GetLoopback', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1785
                   'ns3::Ipv4Mask', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1786
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1787
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1788
    ## ipv4-address.h (module 'network'): static ns3::Ipv4Mask ns3::Ipv4Mask::GetOnes() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1789
    cls.add_method('GetOnes', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1790
                   'ns3::Ipv4Mask', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1791
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1792
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1793
    ## ipv4-address.h (module 'network'): uint16_t ns3::Ipv4Mask::GetPrefixLength() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1794
    cls.add_method('GetPrefixLength', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1795
                   'uint16_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1796
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1797
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1798
    ## ipv4-address.h (module 'network'): static ns3::Ipv4Mask ns3::Ipv4Mask::GetZero() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1799
    cls.add_method('GetZero', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1800
                   'ns3::Ipv4Mask', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1801
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1802
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1803
    ## ipv4-address.h (module 'network'): bool ns3::Ipv4Mask::IsEqual(ns3::Ipv4Mask other) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1804
    cls.add_method('IsEqual', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1805
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1806
                   [param('ns3::Ipv4Mask', 'other')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1807
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1808
    ## ipv4-address.h (module 'network'): bool ns3::Ipv4Mask::IsMatch(ns3::Ipv4Address a, ns3::Ipv4Address b) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1809
    cls.add_method('IsMatch', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1810
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1811
                   [param('ns3::Ipv4Address', 'a'), param('ns3::Ipv4Address', 'b')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1812
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1813
    ## ipv4-address.h (module 'network'): void ns3::Ipv4Mask::Print(std::ostream & os) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1814
    cls.add_method('Print', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1815
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1816
                   [param('std::ostream &', 'os')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1817
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1818
    ## ipv4-address.h (module 'network'): void ns3::Ipv4Mask::Set(uint32_t mask) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1819
    cls.add_method('Set', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1820
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1821
                   [param('uint32_t', 'mask')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1822
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1823
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1824
def register_Ns3Ipv6Address_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1825
    cls.add_binary_comparison_operator('<')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1826
    cls.add_binary_comparison_operator('!=')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1827
    cls.add_output_stream_operator()
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1828
    cls.add_binary_comparison_operator('==')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1829
    ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1830
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1831
    ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(char const * address) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1832
    cls.add_constructor([param('char const *', 'address')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1833
    ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(uint8_t * address) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1834
    cls.add_constructor([param('uint8_t *', 'address')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1835
    ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(ns3::Ipv6Address const & addr) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1836
    cls.add_constructor([param('ns3::Ipv6Address const &', 'addr')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1837
    ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(ns3::Ipv6Address const * addr) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1838
    cls.add_constructor([param('ns3::Ipv6Address const *', 'addr')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1839
    ## ipv6-address.h (module 'network'): ns3::Ipv6Address ns3::Ipv6Address::CombinePrefix(ns3::Ipv6Prefix const & prefix) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1840
    cls.add_method('CombinePrefix', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1841
                   'ns3::Ipv6Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1842
                   [param('ns3::Ipv6Prefix const &', 'prefix')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1843
    ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::ConvertFrom(ns3::Address const & address) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1844
    cls.add_method('ConvertFrom', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1845
                   'ns3::Ipv6Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1846
                   [param('ns3::Address const &', 'address')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1847
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1848
    ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::Deserialize(uint8_t const * buf) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1849
    cls.add_method('Deserialize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1850
                   'ns3::Ipv6Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1851
                   [param('uint8_t const *', 'buf')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1852
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1853
    ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAllHostsMulticast() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1854
    cls.add_method('GetAllHostsMulticast', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1855
                   'ns3::Ipv6Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1856
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1857
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1858
    ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAllNodesMulticast() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1859
    cls.add_method('GetAllNodesMulticast', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1860
                   'ns3::Ipv6Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1861
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1862
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1863
    ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAllRoutersMulticast() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1864
    cls.add_method('GetAllRoutersMulticast', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1865
                   'ns3::Ipv6Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1866
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1867
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1868
    ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAny() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1869
    cls.add_method('GetAny', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1870
                   'ns3::Ipv6Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1871
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1872
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1873
    ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::GetBytes(uint8_t * buf) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1874
    cls.add_method('GetBytes', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1875
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1876
                   [param('uint8_t *', 'buf')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1877
                   is_const=True)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1878
    ## ipv6-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv6Address::GetIpv4MappedAddress() const [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1879
    cls.add_method('GetIpv4MappedAddress', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1880
                   'ns3::Ipv4Address', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1881
                   [], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1882
                   is_const=True)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1883
    ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetLoopback() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1884
    cls.add_method('GetLoopback', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1885
                   'ns3::Ipv6Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1886
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1887
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1888
    ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetOnes() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1889
    cls.add_method('GetOnes', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1890
                   'ns3::Ipv6Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1891
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1892
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1893
    ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetZero() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1894
    cls.add_method('GetZero', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1895
                   'ns3::Ipv6Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1896
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1897
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1898
    ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAllHostsMulticast() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1899
    cls.add_method('IsAllHostsMulticast', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1900
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1901
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1902
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1903
    ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAllNodesMulticast() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1904
    cls.add_method('IsAllNodesMulticast', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1905
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1906
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1907
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1908
    ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAllRoutersMulticast() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1909
    cls.add_method('IsAllRoutersMulticast', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1910
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1911
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1912
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1913
    ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAny() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1914
    cls.add_method('IsAny', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1915
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1916
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1917
                   is_const=True)
10183
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  1918
    ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsDocumentation() const [member function]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  1919
    cls.add_method('IsDocumentation', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  1920
                   'bool', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  1921
                   [], 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  1922
                   is_const=True)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1923
    ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsEqual(ns3::Ipv6Address const & other) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1924
    cls.add_method('IsEqual', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1925
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1926
                   [param('ns3::Ipv6Address const &', 'other')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1927
                   is_const=True)
10534
2f6018cfe926 rescan all bindings
Tom Henderson <tomh@tomh.org>
parents: 10183
diff changeset
  1928
    ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsIpv4MappedAddress() const [member function]
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1929
    cls.add_method('IsIpv4MappedAddress', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1930
                   'bool', 
10534
2f6018cfe926 rescan all bindings
Tom Henderson <tomh@tomh.org>
parents: 10183
diff changeset
  1931
                   [], 
2f6018cfe926 rescan all bindings
Tom Henderson <tomh@tomh.org>
parents: 10183
diff changeset
  1932
                   is_const=True)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1933
    ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsLinkLocal() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1934
    cls.add_method('IsLinkLocal', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1935
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1936
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1937
                   is_const=True)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1938
    ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsLinkLocalMulticast() const [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1939
    cls.add_method('IsLinkLocalMulticast', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1940
                   'bool', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1941
                   [], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1942
                   is_const=True)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1943
    ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsLocalhost() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1944
    cls.add_method('IsLocalhost', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1945
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1946
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1947
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1948
    ## ipv6-address.h (module 'network'): static bool ns3::Ipv6Address::IsMatchingType(ns3::Address const & address) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1949
    cls.add_method('IsMatchingType', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1950
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1951
                   [param('ns3::Address const &', 'address')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1952
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1953
    ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsMulticast() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1954
    cls.add_method('IsMulticast', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1955
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1956
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1957
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1958
    ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsSolicitedMulticast() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1959
    cls.add_method('IsSolicitedMulticast', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1960
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1961
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1962
                   is_const=True)
10183
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  1963
    ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeAutoconfiguredAddress(ns3::Mac16Address addr, ns3::Ipv6Address prefix) [member function]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  1964
    cls.add_method('MakeAutoconfiguredAddress', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  1965
                   'ns3::Ipv6Address', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  1966
                   [param('ns3::Mac16Address', 'addr'), param('ns3::Ipv6Address', 'prefix')], 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  1967
                   is_static=True)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1968
    ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeAutoconfiguredAddress(ns3::Mac48Address addr, ns3::Ipv6Address prefix) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1969
    cls.add_method('MakeAutoconfiguredAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1970
                   'ns3::Ipv6Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1971
                   [param('ns3::Mac48Address', 'addr'), param('ns3::Ipv6Address', 'prefix')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1972
                   is_static=True)
10183
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  1973
    ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeAutoconfiguredAddress(ns3::Mac64Address addr, ns3::Ipv6Address prefix) [member function]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  1974
    cls.add_method('MakeAutoconfiguredAddress', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  1975
                   'ns3::Ipv6Address', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  1976
                   [param('ns3::Mac64Address', 'addr'), param('ns3::Ipv6Address', 'prefix')], 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  1977
                   is_static=True)
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  1978
    ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeAutoconfiguredLinkLocalAddress(ns3::Mac16Address mac) [member function]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  1979
    cls.add_method('MakeAutoconfiguredLinkLocalAddress', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  1980
                   'ns3::Ipv6Address', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  1981
                   [param('ns3::Mac16Address', 'mac')], 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  1982
                   is_static=True)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1983
    ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeAutoconfiguredLinkLocalAddress(ns3::Mac48Address mac) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1984
    cls.add_method('MakeAutoconfiguredLinkLocalAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1985
                   'ns3::Ipv6Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1986
                   [param('ns3::Mac48Address', 'mac')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1987
                   is_static=True)
10183
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  1988
    ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeAutoconfiguredLinkLocalAddress(ns3::Mac64Address mac) [member function]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  1989
    cls.add_method('MakeAutoconfiguredLinkLocalAddress', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  1990
                   'ns3::Ipv6Address', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  1991
                   [param('ns3::Mac64Address', 'mac')], 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  1992
                   is_static=True)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1993
    ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeIpv4MappedAddress(ns3::Ipv4Address addr) [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1994
    cls.add_method('MakeIpv4MappedAddress', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1995
                   'ns3::Ipv6Address', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1996
                   [param('ns3::Ipv4Address', 'addr')], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1997
                   is_static=True)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1998
    ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeSolicitedAddress(ns3::Ipv6Address addr) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1999
    cls.add_method('MakeSolicitedAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2000
                   'ns3::Ipv6Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2001
                   [param('ns3::Ipv6Address', 'addr')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2002
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2003
    ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Print(std::ostream & os) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2004
    cls.add_method('Print', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2005
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2006
                   [param('std::ostream &', 'os')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2007
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2008
    ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Serialize(uint8_t * buf) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2009
    cls.add_method('Serialize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2010
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2011
                   [param('uint8_t *', 'buf')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2012
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2013
    ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Set(char const * address) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2014
    cls.add_method('Set', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2015
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2016
                   [param('char const *', 'address')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2017
    ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Set(uint8_t * address) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2018
    cls.add_method('Set', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2019
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2020
                   [param('uint8_t *', 'address')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2021
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2022
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2023
def register_Ns3Ipv6AddressGenerator_methods(root_module, cls):
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2024
    ## ipv6-address-generator.h (module 'internet'): ns3::Ipv6AddressGenerator::Ipv6AddressGenerator() [constructor]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2025
    cls.add_constructor([])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2026
    ## ipv6-address-generator.h (module 'internet'): ns3::Ipv6AddressGenerator::Ipv6AddressGenerator(ns3::Ipv6AddressGenerator const & arg0) [copy constructor]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2027
    cls.add_constructor([param('ns3::Ipv6AddressGenerator const &', 'arg0')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2028
    ## ipv6-address-generator.h (module 'internet'): static bool ns3::Ipv6AddressGenerator::AddAllocated(ns3::Ipv6Address const addr) [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2029
    cls.add_method('AddAllocated', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2030
                   'bool', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2031
                   [param('ns3::Ipv6Address const', 'addr')], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2032
                   is_static=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2033
    ## ipv6-address-generator.h (module 'internet'): static ns3::Ipv6Address ns3::Ipv6AddressGenerator::GetAddress(ns3::Ipv6Prefix const prefix) [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2034
    cls.add_method('GetAddress', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2035
                   'ns3::Ipv6Address', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2036
                   [param('ns3::Ipv6Prefix const', 'prefix')], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2037
                   is_static=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2038
    ## ipv6-address-generator.h (module 'internet'): static ns3::Ipv6Address ns3::Ipv6AddressGenerator::GetNetwork(ns3::Ipv6Prefix const prefix) [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2039
    cls.add_method('GetNetwork', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2040
                   'ns3::Ipv6Address', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2041
                   [param('ns3::Ipv6Prefix const', 'prefix')], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2042
                   is_static=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2043
    ## ipv6-address-generator.h (module 'internet'): static void ns3::Ipv6AddressGenerator::Init(ns3::Ipv6Address const net, ns3::Ipv6Prefix const prefix, ns3::Ipv6Address const interfaceId="::1") [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2044
    cls.add_method('Init', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2045
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2046
                   [param('ns3::Ipv6Address const', 'net'), param('ns3::Ipv6Prefix const', 'prefix'), param('ns3::Ipv6Address const', 'interfaceId', default_value='"::1"')], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2047
                   is_static=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2048
    ## ipv6-address-generator.h (module 'internet'): static void ns3::Ipv6AddressGenerator::InitAddress(ns3::Ipv6Address const interfaceId, ns3::Ipv6Prefix const prefix) [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2049
    cls.add_method('InitAddress', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2050
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2051
                   [param('ns3::Ipv6Address const', 'interfaceId'), param('ns3::Ipv6Prefix const', 'prefix')], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2052
                   is_static=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2053
    ## ipv6-address-generator.h (module 'internet'): static ns3::Ipv6Address ns3::Ipv6AddressGenerator::NextAddress(ns3::Ipv6Prefix const prefix) [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2054
    cls.add_method('NextAddress', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2055
                   'ns3::Ipv6Address', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2056
                   [param('ns3::Ipv6Prefix const', 'prefix')], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2057
                   is_static=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2058
    ## ipv6-address-generator.h (module 'internet'): static ns3::Ipv6Address ns3::Ipv6AddressGenerator::NextNetwork(ns3::Ipv6Prefix const prefix) [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2059
    cls.add_method('NextNetwork', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2060
                   'ns3::Ipv6Address', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2061
                   [param('ns3::Ipv6Prefix const', 'prefix')], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2062
                   is_static=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2063
    ## ipv6-address-generator.h (module 'internet'): static void ns3::Ipv6AddressGenerator::Reset() [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2064
    cls.add_method('Reset', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2065
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2066
                   [], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2067
                   is_static=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2068
    ## ipv6-address-generator.h (module 'internet'): static void ns3::Ipv6AddressGenerator::TestMode() [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2069
    cls.add_method('TestMode', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2070
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2071
                   [], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2072
                   is_static=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2073
    return
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2074
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2075
def register_Ns3Ipv6AddressHelper_methods(root_module, cls):
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2076
    ## ipv6-address-helper.h (module 'internet'): ns3::Ipv6AddressHelper::Ipv6AddressHelper(ns3::Ipv6AddressHelper const & arg0) [copy constructor]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2077
    cls.add_constructor([param('ns3::Ipv6AddressHelper const &', 'arg0')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2078
    ## ipv6-address-helper.h (module 'internet'): ns3::Ipv6AddressHelper::Ipv6AddressHelper() [constructor]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2079
    cls.add_constructor([])
8893
a11fdda061ae rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7874
diff changeset
  2080
    ## ipv6-address-helper.h (module 'internet'): ns3::Ipv6AddressHelper::Ipv6AddressHelper(ns3::Ipv6Address network, ns3::Ipv6Prefix prefix, ns3::Ipv6Address base=ns3::Ipv6Address(((const char*)"::1"))) [constructor]
a11fdda061ae rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7874
diff changeset
  2081
    cls.add_constructor([param('ns3::Ipv6Address', 'network'), param('ns3::Ipv6Prefix', 'prefix'), param('ns3::Ipv6Address', 'base', default_value='ns3::Ipv6Address(((const char*)"::1"))')])
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2082
    ## ipv6-address-helper.h (module 'internet'): ns3::Ipv6InterfaceContainer ns3::Ipv6AddressHelper::Assign(ns3::NetDeviceContainer const & c) [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2083
    cls.add_method('Assign', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2084
                   'ns3::Ipv6InterfaceContainer', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2085
                   [param('ns3::NetDeviceContainer const &', 'c')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2086
    ## ipv6-address-helper.h (module 'internet'): ns3::Ipv6InterfaceContainer ns3::Ipv6AddressHelper::Assign(ns3::NetDeviceContainer const & c, std::vector<bool,std::allocator<bool> > withConfiguration) [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2087
    cls.add_method('Assign', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2088
                   'ns3::Ipv6InterfaceContainer', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2089
                   [param('ns3::NetDeviceContainer const &', 'c'), param('std::vector< bool >', 'withConfiguration')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2090
    ## ipv6-address-helper.h (module 'internet'): ns3::Ipv6InterfaceContainer ns3::Ipv6AddressHelper::AssignWithoutAddress(ns3::NetDeviceContainer const & c) [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2091
    cls.add_method('AssignWithoutAddress', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2092
                   'ns3::Ipv6InterfaceContainer', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2093
                   [param('ns3::NetDeviceContainer const &', 'c')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2094
    ## ipv6-address-helper.h (module 'internet'): ns3::Ipv6Address ns3::Ipv6AddressHelper::NewAddress(ns3::Address addr) [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2095
    cls.add_method('NewAddress', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2096
                   'ns3::Ipv6Address', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2097
                   [param('ns3::Address', 'addr')])
8893
a11fdda061ae rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7874
diff changeset
  2098
    ## ipv6-address-helper.h (module 'internet'): ns3::Ipv6Address ns3::Ipv6AddressHelper::NewAddress() [member function]
a11fdda061ae rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7874
diff changeset
  2099
    cls.add_method('NewAddress', 
a11fdda061ae rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7874
diff changeset
  2100
                   'ns3::Ipv6Address', 
a11fdda061ae rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7874
diff changeset
  2101
                   [])
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2102
    ## ipv6-address-helper.h (module 'internet'): void ns3::Ipv6AddressHelper::NewNetwork(ns3::Ipv6Address network, ns3::Ipv6Prefix prefix) [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2103
    cls.add_method('NewNetwork', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2104
                   'void', 
8893
a11fdda061ae rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7874
diff changeset
  2105
                   [param('ns3::Ipv6Address', 'network'), param('ns3::Ipv6Prefix', 'prefix')], 
a11fdda061ae rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7874
diff changeset
  2106
                   deprecated=True)
a11fdda061ae rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7874
diff changeset
  2107
    ## ipv6-address-helper.h (module 'internet'): void ns3::Ipv6AddressHelper::NewNetwork() [member function]
a11fdda061ae rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7874
diff changeset
  2108
    cls.add_method('NewNetwork', 
a11fdda061ae rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7874
diff changeset
  2109
                   'void', 
a11fdda061ae rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7874
diff changeset
  2110
                   [])
a11fdda061ae rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7874
diff changeset
  2111
    ## ipv6-address-helper.h (module 'internet'): void ns3::Ipv6AddressHelper::SetBase(ns3::Ipv6Address network, ns3::Ipv6Prefix prefix, ns3::Ipv6Address base=ns3::Ipv6Address(((const char*)"::1"))) [member function]
a11fdda061ae rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7874
diff changeset
  2112
    cls.add_method('SetBase', 
a11fdda061ae rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7874
diff changeset
  2113
                   'void', 
a11fdda061ae rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7874
diff changeset
  2114
                   [param('ns3::Ipv6Address', 'network'), param('ns3::Ipv6Prefix', 'prefix'), param('ns3::Ipv6Address', 'base', default_value='ns3::Ipv6Address(((const char*)"::1"))')])
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2115
    return
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2116
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2117
def register_Ns3Ipv6InterfaceAddress_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2118
    cls.add_binary_comparison_operator('!=')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2119
    cls.add_output_stream_operator()
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2120
    cls.add_binary_comparison_operator('==')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2121
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress::Ipv6InterfaceAddress() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2122
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2123
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress::Ipv6InterfaceAddress(ns3::Ipv6Address address) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2124
    cls.add_constructor([param('ns3::Ipv6Address', 'address')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2125
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress::Ipv6InterfaceAddress(ns3::Ipv6Address address, ns3::Ipv6Prefix prefix) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2126
    cls.add_constructor([param('ns3::Ipv6Address', 'address'), param('ns3::Ipv6Prefix', 'prefix')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2127
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress::Ipv6InterfaceAddress(ns3::Ipv6InterfaceAddress const & o) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2128
    cls.add_constructor([param('ns3::Ipv6InterfaceAddress const &', 'o')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2129
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6Address ns3::Ipv6InterfaceAddress::GetAddress() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2130
    cls.add_method('GetAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2131
                   'ns3::Ipv6Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2132
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2133
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2134
    ## ipv6-interface-address.h (module 'internet'): uint32_t ns3::Ipv6InterfaceAddress::GetNsDadUid() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2135
    cls.add_method('GetNsDadUid', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2136
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2137
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2138
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2139
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6Prefix ns3::Ipv6InterfaceAddress::GetPrefix() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2140
    cls.add_method('GetPrefix', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2141
                   'ns3::Ipv6Prefix', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2142
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2143
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2144
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress::Scope_e ns3::Ipv6InterfaceAddress::GetScope() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2145
    cls.add_method('GetScope', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2146
                   'ns3::Ipv6InterfaceAddress::Scope_e', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2147
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2148
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2149
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress::State_e ns3::Ipv6InterfaceAddress::GetState() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2150
    cls.add_method('GetState', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2151
                   'ns3::Ipv6InterfaceAddress::State_e', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2152
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2153
                   is_const=True)
10795
29506f2221e2 update bindings
Tom Henderson <tomh@tomh.org>
parents: 10631
diff changeset
  2154
    ## ipv6-interface-address.h (module 'internet'): bool ns3::Ipv6InterfaceAddress::IsInSameSubnet(ns3::Ipv6Address b) const [member function]
29506f2221e2 update bindings
Tom Henderson <tomh@tomh.org>
parents: 10631
diff changeset
  2155
    cls.add_method('IsInSameSubnet', 
29506f2221e2 update bindings
Tom Henderson <tomh@tomh.org>
parents: 10631
diff changeset
  2156
                   'bool', 
29506f2221e2 update bindings
Tom Henderson <tomh@tomh.org>
parents: 10631
diff changeset
  2157
                   [param('ns3::Ipv6Address', 'b')], 
29506f2221e2 update bindings
Tom Henderson <tomh@tomh.org>
parents: 10631
diff changeset
  2158
                   is_const=True)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2159
    ## ipv6-interface-address.h (module 'internet'): void ns3::Ipv6InterfaceAddress::SetAddress(ns3::Ipv6Address address) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2160
    cls.add_method('SetAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2161
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2162
                   [param('ns3::Ipv6Address', 'address')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2163
    ## ipv6-interface-address.h (module 'internet'): void ns3::Ipv6InterfaceAddress::SetNsDadUid(uint32_t uid) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2164
    cls.add_method('SetNsDadUid', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2165
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2166
                   [param('uint32_t', 'uid')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2167
    ## ipv6-interface-address.h (module 'internet'): void ns3::Ipv6InterfaceAddress::SetScope(ns3::Ipv6InterfaceAddress::Scope_e scope) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2168
    cls.add_method('SetScope', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2169
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2170
                   [param('ns3::Ipv6InterfaceAddress::Scope_e', 'scope')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2171
    ## ipv6-interface-address.h (module 'internet'): void ns3::Ipv6InterfaceAddress::SetState(ns3::Ipv6InterfaceAddress::State_e state) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2172
    cls.add_method('SetState', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2173
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2174
                   [param('ns3::Ipv6InterfaceAddress::State_e', 'state')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2175
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2176
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2177
def register_Ns3Ipv6InterfaceContainer_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2178
    ## ipv6-interface-container.h (module 'internet'): ns3::Ipv6InterfaceContainer::Ipv6InterfaceContainer(ns3::Ipv6InterfaceContainer const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2179
    cls.add_constructor([param('ns3::Ipv6InterfaceContainer const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2180
    ## ipv6-interface-container.h (module 'internet'): ns3::Ipv6InterfaceContainer::Ipv6InterfaceContainer() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2181
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2182
    ## ipv6-interface-container.h (module 'internet'): void ns3::Ipv6InterfaceContainer::Add(ns3::Ptr<ns3::Ipv6> ipv6, uint32_t interface) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2183
    cls.add_method('Add', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2184
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2185
                   [param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2186
    ## ipv6-interface-container.h (module 'internet'): void ns3::Ipv6InterfaceContainer::Add(ns3::Ipv6InterfaceContainer & c) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2187
    cls.add_method('Add', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2188
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2189
                   [param('ns3::Ipv6InterfaceContainer &', 'c')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2190
    ## ipv6-interface-container.h (module 'internet'): void ns3::Ipv6InterfaceContainer::Add(std::string ipv6Name, uint32_t interface) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2191
    cls.add_method('Add', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2192
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2193
                   [param('std::string', 'ipv6Name'), param('uint32_t', 'interface')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2194
    ## ipv6-interface-container.h (module 'internet'): __gnu_cxx::__normal_iterator<const std::pair<ns3::Ptr<ns3::Ipv6>, unsigned int>*,std::vector<std::pair<ns3::Ptr<ns3::Ipv6>, unsigned int>, std::allocator<std::pair<ns3::Ptr<ns3::Ipv6>, unsigned int> > > > ns3::Ipv6InterfaceContainer::Begin() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2195
    cls.add_method('Begin', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2196
                   '__gnu_cxx::__normal_iterator< std::pair< ns3::Ptr< ns3::Ipv6 >, unsigned int > const, std::vector< std::pair< ns3::Ptr< ns3::Ipv6 >, unsigned int > > >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2197
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2198
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2199
    ## ipv6-interface-container.h (module 'internet'): __gnu_cxx::__normal_iterator<const std::pair<ns3::Ptr<ns3::Ipv6>, unsigned int>*,std::vector<std::pair<ns3::Ptr<ns3::Ipv6>, unsigned int>, std::allocator<std::pair<ns3::Ptr<ns3::Ipv6>, unsigned int> > > > ns3::Ipv6InterfaceContainer::End() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2200
    cls.add_method('End', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2201
                   '__gnu_cxx::__normal_iterator< std::pair< ns3::Ptr< ns3::Ipv6 >, unsigned int > const, std::vector< std::pair< ns3::Ptr< ns3::Ipv6 >, unsigned int > > >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2202
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2203
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2204
    ## ipv6-interface-container.h (module 'internet'): ns3::Ipv6Address ns3::Ipv6InterfaceContainer::GetAddress(uint32_t i, uint32_t j) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2205
    cls.add_method('GetAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2206
                   'ns3::Ipv6Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2207
                   [param('uint32_t', 'i'), param('uint32_t', 'j')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2208
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2209
    ## ipv6-interface-container.h (module 'internet'): uint32_t ns3::Ipv6InterfaceContainer::GetInterfaceIndex(uint32_t i) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2210
    cls.add_method('GetInterfaceIndex', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2211
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2212
                   [param('uint32_t', 'i')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2213
                   is_const=True)
10183
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  2214
    ## ipv6-interface-container.h (module 'internet'): ns3::Ipv6Address ns3::Ipv6InterfaceContainer::GetLinkLocalAddress(uint32_t i) [member function]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  2215
    cls.add_method('GetLinkLocalAddress', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  2216
                   'ns3::Ipv6Address', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  2217
                   [param('uint32_t', 'i')])
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  2218
    ## ipv6-interface-container.h (module 'internet'): ns3::Ipv6Address ns3::Ipv6InterfaceContainer::GetLinkLocalAddress(ns3::Ipv6Address address) [member function]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  2219
    cls.add_method('GetLinkLocalAddress', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  2220
                   'ns3::Ipv6Address', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  2221
                   [param('ns3::Ipv6Address', 'address')])
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2222
    ## ipv6-interface-container.h (module 'internet'): uint32_t ns3::Ipv6InterfaceContainer::GetN() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2223
    cls.add_method('GetN', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2224
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2225
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2226
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2227
    ## ipv6-interface-container.h (module 'internet'): void ns3::Ipv6InterfaceContainer::SetDefaultRoute(uint32_t i, uint32_t router) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2228
    cls.add_method('SetDefaultRoute', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2229
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2230
                   [param('uint32_t', 'i'), param('uint32_t', 'router')])
10183
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  2231
    ## ipv6-interface-container.h (module 'internet'): void ns3::Ipv6InterfaceContainer::SetDefaultRoute(uint32_t i, ns3::Ipv6Address routerAddr) [member function]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  2232
    cls.add_method('SetDefaultRoute', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  2233
                   'void', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  2234
                   [param('uint32_t', 'i'), param('ns3::Ipv6Address', 'routerAddr')])
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  2235
    ## ipv6-interface-container.h (module 'internet'): void ns3::Ipv6InterfaceContainer::SetDefaultRouteInAllNodes(uint32_t router) [member function]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  2236
    cls.add_method('SetDefaultRouteInAllNodes', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  2237
                   'void', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  2238
                   [param('uint32_t', 'router')])
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  2239
    ## ipv6-interface-container.h (module 'internet'): void ns3::Ipv6InterfaceContainer::SetDefaultRouteInAllNodes(ns3::Ipv6Address routerAddr) [member function]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  2240
    cls.add_method('SetDefaultRouteInAllNodes', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  2241
                   'void', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  2242
                   [param('ns3::Ipv6Address', 'routerAddr')])
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  2243
    ## ipv6-interface-container.h (module 'internet'): void ns3::Ipv6InterfaceContainer::SetForwarding(uint32_t i, bool state) [member function]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  2244
    cls.add_method('SetForwarding', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  2245
                   'void', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  2246
                   [param('uint32_t', 'i'), param('bool', 'state')])
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2247
    ## ipv6-interface-container.h (module 'internet'): void ns3::Ipv6InterfaceContainer::SetRouter(uint32_t i, bool router) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2248
    cls.add_method('SetRouter', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2249
                   'void', 
10183
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  2250
                   [param('uint32_t', 'i'), param('bool', 'router')], 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  2251
                   deprecated=True)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2252
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2253
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2254
def register_Ns3Ipv6Prefix_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2255
    cls.add_binary_comparison_operator('!=')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2256
    cls.add_output_stream_operator()
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2257
    cls.add_binary_comparison_operator('==')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2258
    ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2259
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2260
    ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(uint8_t * prefix) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2261
    cls.add_constructor([param('uint8_t *', 'prefix')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2262
    ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(char const * prefix) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2263
    cls.add_constructor([param('char const *', 'prefix')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2264
    ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(uint8_t prefix) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2265
    cls.add_constructor([param('uint8_t', 'prefix')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2266
    ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(ns3::Ipv6Prefix const & prefix) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2267
    cls.add_constructor([param('ns3::Ipv6Prefix const &', 'prefix')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2268
    ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(ns3::Ipv6Prefix const * prefix) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2269
    cls.add_constructor([param('ns3::Ipv6Prefix const *', 'prefix')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2270
    ## ipv6-address.h (module 'network'): void ns3::Ipv6Prefix::GetBytes(uint8_t * buf) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2271
    cls.add_method('GetBytes', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2272
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2273
                   [param('uint8_t *', 'buf')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2274
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2275
    ## ipv6-address.h (module 'network'): static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetLoopback() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2276
    cls.add_method('GetLoopback', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2277
                   'ns3::Ipv6Prefix', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2278
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2279
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2280
    ## ipv6-address.h (module 'network'): static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetOnes() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2281
    cls.add_method('GetOnes', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2282
                   'ns3::Ipv6Prefix', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2283
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2284
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2285
    ## ipv6-address.h (module 'network'): uint8_t ns3::Ipv6Prefix::GetPrefixLength() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2286
    cls.add_method('GetPrefixLength', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2287
                   'uint8_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2288
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2289
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2290
    ## ipv6-address.h (module 'network'): static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetZero() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2291
    cls.add_method('GetZero', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2292
                   'ns3::Ipv6Prefix', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2293
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2294
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2295
    ## ipv6-address.h (module 'network'): bool ns3::Ipv6Prefix::IsEqual(ns3::Ipv6Prefix const & other) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2296
    cls.add_method('IsEqual', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2297
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2298
                   [param('ns3::Ipv6Prefix const &', 'other')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2299
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2300
    ## ipv6-address.h (module 'network'): bool ns3::Ipv6Prefix::IsMatch(ns3::Ipv6Address a, ns3::Ipv6Address b) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2301
    cls.add_method('IsMatch', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2302
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2303
                   [param('ns3::Ipv6Address', 'a'), param('ns3::Ipv6Address', 'b')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2304
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2305
    ## ipv6-address.h (module 'network'): void ns3::Ipv6Prefix::Print(std::ostream & os) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2306
    cls.add_method('Print', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2307
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2308
                   [param('std::ostream &', 'os')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2309
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2310
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2311
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2312
def register_Ns3NetDeviceContainer_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2313
    ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(ns3::NetDeviceContainer const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2314
    cls.add_constructor([param('ns3::NetDeviceContainer const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2315
    ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2316
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2317
    ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(ns3::Ptr<ns3::NetDevice> dev) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2318
    cls.add_constructor([param('ns3::Ptr< ns3::NetDevice >', 'dev')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2319
    ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(std::string devName) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2320
    cls.add_constructor([param('std::string', 'devName')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2321
    ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(ns3::NetDeviceContainer const & a, ns3::NetDeviceContainer const & b) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2322
    cls.add_constructor([param('ns3::NetDeviceContainer const &', 'a'), param('ns3::NetDeviceContainer const &', 'b')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2323
    ## net-device-container.h (module 'network'): void ns3::NetDeviceContainer::Add(ns3::NetDeviceContainer other) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2324
    cls.add_method('Add', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2325
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2326
                   [param('ns3::NetDeviceContainer', 'other')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2327
    ## net-device-container.h (module 'network'): void ns3::NetDeviceContainer::Add(ns3::Ptr<ns3::NetDevice> device) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2328
    cls.add_method('Add', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2329
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2330
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2331
    ## net-device-container.h (module 'network'): void ns3::NetDeviceContainer::Add(std::string deviceName) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2332
    cls.add_method('Add', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2333
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2334
                   [param('std::string', 'deviceName')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2335
    ## net-device-container.h (module 'network'): __gnu_cxx::__normal_iterator<const ns3::Ptr<ns3::NetDevice>*,std::vector<ns3::Ptr<ns3::NetDevice>, std::allocator<ns3::Ptr<ns3::NetDevice> > > > ns3::NetDeviceContainer::Begin() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2336
    cls.add_method('Begin', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2337
                   '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::NetDevice > const, std::vector< ns3::Ptr< ns3::NetDevice > > >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2338
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2339
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2340
    ## net-device-container.h (module 'network'): __gnu_cxx::__normal_iterator<const ns3::Ptr<ns3::NetDevice>*,std::vector<ns3::Ptr<ns3::NetDevice>, std::allocator<ns3::Ptr<ns3::NetDevice> > > > ns3::NetDeviceContainer::End() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2341
    cls.add_method('End', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2342
                   '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::NetDevice > const, std::vector< ns3::Ptr< ns3::NetDevice > > >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2343
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2344
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2345
    ## net-device-container.h (module 'network'): ns3::Ptr<ns3::NetDevice> ns3::NetDeviceContainer::Get(uint32_t i) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2346
    cls.add_method('Get', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2347
                   'ns3::Ptr< ns3::NetDevice >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2348
                   [param('uint32_t', 'i')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2349
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2350
    ## net-device-container.h (module 'network'): uint32_t ns3::NetDeviceContainer::GetN() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2351
    cls.add_method('GetN', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2352
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2353
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2354
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2355
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2356
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2357
def register_Ns3NodeContainer_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2358
    ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2359
    cls.add_constructor([param('ns3::NodeContainer const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2360
    ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2361
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2362
    ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::Ptr<ns3::Node> node) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2363
    cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2364
    ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(std::string nodeName) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2365
    cls.add_constructor([param('std::string', 'nodeName')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2366
    ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2367
    cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2368
    ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b, ns3::NodeContainer const & c) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2369
    cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b'), param('ns3::NodeContainer const &', 'c')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2370
    ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b, ns3::NodeContainer const & c, ns3::NodeContainer const & d) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2371
    cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b'), param('ns3::NodeContainer const &', 'c'), param('ns3::NodeContainer const &', 'd')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2372
    ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b, ns3::NodeContainer const & c, ns3::NodeContainer const & d, ns3::NodeContainer const & e) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2373
    cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b'), param('ns3::NodeContainer const &', 'c'), param('ns3::NodeContainer const &', 'd'), param('ns3::NodeContainer const &', 'e')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2374
    ## node-container.h (module 'network'): void ns3::NodeContainer::Add(ns3::NodeContainer other) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2375
    cls.add_method('Add', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2376
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2377
                   [param('ns3::NodeContainer', 'other')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2378
    ## node-container.h (module 'network'): void ns3::NodeContainer::Add(ns3::Ptr<ns3::Node> node) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2379
    cls.add_method('Add', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2380
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2381
                   [param('ns3::Ptr< ns3::Node >', 'node')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2382
    ## node-container.h (module 'network'): void ns3::NodeContainer::Add(std::string nodeName) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2383
    cls.add_method('Add', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2384
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2385
                   [param('std::string', 'nodeName')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2386
    ## node-container.h (module 'network'): __gnu_cxx::__normal_iterator<const ns3::Ptr<ns3::Node>*,std::vector<ns3::Ptr<ns3::Node>, std::allocator<ns3::Ptr<ns3::Node> > > > ns3::NodeContainer::Begin() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2387
    cls.add_method('Begin', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2388
                   '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2389
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2390
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2391
    ## node-container.h (module 'network'): void ns3::NodeContainer::Create(uint32_t n) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2392
    cls.add_method('Create', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2393
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2394
                   [param('uint32_t', 'n')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2395
    ## node-container.h (module 'network'): void ns3::NodeContainer::Create(uint32_t n, uint32_t systemId) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2396
    cls.add_method('Create', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2397
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2398
                   [param('uint32_t', 'n'), param('uint32_t', 'systemId')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2399
    ## node-container.h (module 'network'): __gnu_cxx::__normal_iterator<const ns3::Ptr<ns3::Node>*,std::vector<ns3::Ptr<ns3::Node>, std::allocator<ns3::Ptr<ns3::Node> > > > ns3::NodeContainer::End() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2400
    cls.add_method('End', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2401
                   '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2402
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2403
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2404
    ## node-container.h (module 'network'): ns3::Ptr<ns3::Node> ns3::NodeContainer::Get(uint32_t i) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2405
    cls.add_method('Get', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2406
                   'ns3::Ptr< ns3::Node >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2407
                   [param('uint32_t', 'i')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2408
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2409
    ## node-container.h (module 'network'): static ns3::NodeContainer ns3::NodeContainer::GetGlobal() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2410
    cls.add_method('GetGlobal', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2411
                   'ns3::NodeContainer', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2412
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2413
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2414
    ## node-container.h (module 'network'): uint32_t ns3::NodeContainer::GetN() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2415
    cls.add_method('GetN', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2416
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2417
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2418
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2419
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2420
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2421
def register_Ns3ObjectBase_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2422
    ## object-base.h (module 'core'): ns3::ObjectBase::ObjectBase() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2423
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2424
    ## object-base.h (module 'core'): ns3::ObjectBase::ObjectBase(ns3::ObjectBase const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2425
    cls.add_constructor([param('ns3::ObjectBase const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2426
    ## object-base.h (module 'core'): void ns3::ObjectBase::GetAttribute(std::string name, ns3::AttributeValue & value) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2427
    cls.add_method('GetAttribute', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2428
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2429
                   [param('std::string', 'name'), param('ns3::AttributeValue &', 'value')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2430
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2431
    ## object-base.h (module 'core'): bool ns3::ObjectBase::GetAttributeFailSafe(std::string name, ns3::AttributeValue & attribute) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2432
    cls.add_method('GetAttributeFailSafe', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2433
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2434
                   [param('std::string', 'name'), param('ns3::AttributeValue &', 'attribute')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2435
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2436
    ## object-base.h (module 'core'): ns3::TypeId ns3::ObjectBase::GetInstanceTypeId() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2437
    cls.add_method('GetInstanceTypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2438
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2439
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2440
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2441
    ## object-base.h (module 'core'): static ns3::TypeId ns3::ObjectBase::GetTypeId() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2442
    cls.add_method('GetTypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2443
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2444
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2445
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2446
    ## object-base.h (module 'core'): void ns3::ObjectBase::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2447
    cls.add_method('SetAttribute', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2448
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2449
                   [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2450
    ## object-base.h (module 'core'): bool ns3::ObjectBase::SetAttributeFailSafe(std::string name, ns3::AttributeValue const & value) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2451
    cls.add_method('SetAttributeFailSafe', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2452
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2453
                   [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2454
    ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceConnect(std::string name, std::string context, ns3::CallbackBase const & cb) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2455
    cls.add_method('TraceConnect', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2456
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2457
                   [param('std::string', 'name'), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2458
    ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceConnectWithoutContext(std::string name, ns3::CallbackBase const & cb) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2459
    cls.add_method('TraceConnectWithoutContext', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2460
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2461
                   [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2462
    ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceDisconnect(std::string name, std::string context, ns3::CallbackBase const & cb) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2463
    cls.add_method('TraceDisconnect', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2464
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2465
                   [param('std::string', 'name'), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2466
    ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceDisconnectWithoutContext(std::string name, ns3::CallbackBase const & cb) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2467
    cls.add_method('TraceDisconnectWithoutContext', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2468
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2469
                   [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')])
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2470
    ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function]
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2471
    cls.add_method('ConstructSelf', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2472
                   'void', 
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2473
                   [param('ns3::AttributeConstructionList const &', 'attributes')], 
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2474
                   visibility='protected')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2475
    ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2476
    cls.add_method('NotifyConstructionCompleted', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2477
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2478
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2479
                   visibility='protected', is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2480
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2481
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2482
def register_Ns3ObjectDeleter_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2483
    ## object.h (module 'core'): ns3::ObjectDeleter::ObjectDeleter() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2484
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2485
    ## object.h (module 'core'): ns3::ObjectDeleter::ObjectDeleter(ns3::ObjectDeleter const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2486
    cls.add_constructor([param('ns3::ObjectDeleter const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2487
    ## object.h (module 'core'): static void ns3::ObjectDeleter::Delete(ns3::Object * object) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2488
    cls.add_method('Delete', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2489
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2490
                   [param('ns3::Object *', 'object')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2491
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2492
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2493
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2494
def register_Ns3ObjectFactory_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2495
    cls.add_output_stream_operator()
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2496
    ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(ns3::ObjectFactory const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2497
    cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2498
    ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2499
    cls.add_constructor([])
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2500
    ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2501
    cls.add_constructor([param('std::string', 'typeId')])
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2502
    ## object-factory.h (module 'core'): ns3::Ptr<ns3::Object> ns3::ObjectFactory::Create() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2503
    cls.add_method('Create', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2504
                   'ns3::Ptr< ns3::Object >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2505
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2506
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2507
    ## object-factory.h (module 'core'): ns3::TypeId ns3::ObjectFactory::GetTypeId() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2508
    cls.add_method('GetTypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2509
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2510
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2511
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2512
    ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(std::string name, ns3::AttributeValue const & value) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2513
    cls.add_method('Set', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2514
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2515
                   [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2516
    ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2517
    cls.add_method('SetTypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2518
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2519
                   [param('ns3::TypeId', 'tid')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2520
    ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(char const * tid) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2521
    cls.add_method('SetTypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2522
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2523
                   [param('char const *', 'tid')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2524
    ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(std::string tid) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2525
    cls.add_method('SetTypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2526
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2527
                   [param('std::string', 'tid')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2528
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2529
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2530
def register_Ns3PacketMetadata_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2531
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::PacketMetadata(uint64_t uid, uint32_t size) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2532
    cls.add_constructor([param('uint64_t', 'uid'), param('uint32_t', 'size')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2533
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::PacketMetadata(ns3::PacketMetadata const & o) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2534
    cls.add_constructor([param('ns3::PacketMetadata const &', 'o')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2535
    ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddAtEnd(ns3::PacketMetadata const & o) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2536
    cls.add_method('AddAtEnd', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2537
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2538
                   [param('ns3::PacketMetadata const &', 'o')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2539
    ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddHeader(ns3::Header const & header, uint32_t size) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2540
    cls.add_method('AddHeader', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2541
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2542
                   [param('ns3::Header const &', 'header'), param('uint32_t', 'size')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2543
    ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddPaddingAtEnd(uint32_t end) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2544
    cls.add_method('AddPaddingAtEnd', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2545
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2546
                   [param('uint32_t', 'end')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2547
    ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddTrailer(ns3::Trailer const & trailer, uint32_t size) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2548
    cls.add_method('AddTrailer', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2549
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2550
                   [param('ns3::Trailer const &', 'trailer'), param('uint32_t', 'size')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2551
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator ns3::PacketMetadata::BeginItem(ns3::Buffer buffer) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2552
    cls.add_method('BeginItem', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2553
                   'ns3::PacketMetadata::ItemIterator', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2554
                   [param('ns3::Buffer', 'buffer')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2555
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2556
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata ns3::PacketMetadata::CreateFragment(uint32_t start, uint32_t end) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2557
    cls.add_method('CreateFragment', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2558
                   'ns3::PacketMetadata', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2559
                   [param('uint32_t', 'start'), param('uint32_t', 'end')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2560
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2561
    ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::Deserialize(uint8_t const * buffer, uint32_t size) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2562
    cls.add_method('Deserialize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2563
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2564
                   [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2565
    ## packet-metadata.h (module 'network'): static void ns3::PacketMetadata::Enable() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2566
    cls.add_method('Enable', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2567
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2568
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2569
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2570
    ## packet-metadata.h (module 'network'): static void ns3::PacketMetadata::EnableChecking() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2571
    cls.add_method('EnableChecking', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2572
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2573
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2574
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2575
    ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::GetSerializedSize() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2576
    cls.add_method('GetSerializedSize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2577
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2578
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2579
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2580
    ## packet-metadata.h (module 'network'): uint64_t ns3::PacketMetadata::GetUid() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2581
    cls.add_method('GetUid', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2582
                   'uint64_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2583
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2584
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2585
    ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveAtEnd(uint32_t end) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2586
    cls.add_method('RemoveAtEnd', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2587
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2588
                   [param('uint32_t', 'end')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2589
    ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveAtStart(uint32_t start) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2590
    cls.add_method('RemoveAtStart', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2591
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2592
                   [param('uint32_t', 'start')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2593
    ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveHeader(ns3::Header const & header, uint32_t size) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2594
    cls.add_method('RemoveHeader', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2595
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2596
                   [param('ns3::Header const &', 'header'), param('uint32_t', 'size')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2597
    ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveTrailer(ns3::Trailer const & trailer, uint32_t size) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2598
    cls.add_method('RemoveTrailer', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2599
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2600
                   [param('ns3::Trailer const &', 'trailer'), param('uint32_t', 'size')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2601
    ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2602
    cls.add_method('Serialize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2603
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2604
                   [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2605
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2606
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2607
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2608
def register_Ns3PacketMetadataItem_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2609
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::Item() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2610
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2611
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::Item(ns3::PacketMetadata::Item const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2612
    cls.add_constructor([param('ns3::PacketMetadata::Item const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2613
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::current [variable]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2614
    cls.add_instance_attribute('current', 'ns3::Buffer::Iterator', is_const=False)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2615
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentSize [variable]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2616
    cls.add_instance_attribute('currentSize', 'uint32_t', is_const=False)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2617
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentTrimedFromEnd [variable]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2618
    cls.add_instance_attribute('currentTrimedFromEnd', 'uint32_t', is_const=False)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2619
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentTrimedFromStart [variable]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2620
    cls.add_instance_attribute('currentTrimedFromStart', 'uint32_t', is_const=False)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2621
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::isFragment [variable]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2622
    cls.add_instance_attribute('isFragment', 'bool', is_const=False)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2623
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::tid [variable]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2624
    cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2625
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2626
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2627
def register_Ns3PacketMetadataItemIterator_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2628
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator::ItemIterator(ns3::PacketMetadata::ItemIterator const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2629
    cls.add_constructor([param('ns3::PacketMetadata::ItemIterator const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2630
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator::ItemIterator(ns3::PacketMetadata const * metadata, ns3::Buffer buffer) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2631
    cls.add_constructor([param('ns3::PacketMetadata const *', 'metadata'), param('ns3::Buffer', 'buffer')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2632
    ## packet-metadata.h (module 'network'): bool ns3::PacketMetadata::ItemIterator::HasNext() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2633
    cls.add_method('HasNext', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2634
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2635
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2636
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2637
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item ns3::PacketMetadata::ItemIterator::Next() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2638
    cls.add_method('Next', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2639
                   'ns3::PacketMetadata::Item', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2640
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2641
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2642
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2643
def register_Ns3PacketTagIterator_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2644
    ## packet.h (module 'network'): ns3::PacketTagIterator::PacketTagIterator(ns3::PacketTagIterator const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2645
    cls.add_constructor([param('ns3::PacketTagIterator const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2646
    ## packet.h (module 'network'): bool ns3::PacketTagIterator::HasNext() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2647
    cls.add_method('HasNext', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2648
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2649
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2650
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2651
    ## packet.h (module 'network'): ns3::PacketTagIterator::Item ns3::PacketTagIterator::Next() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2652
    cls.add_method('Next', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2653
                   'ns3::PacketTagIterator::Item', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2654
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2655
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2656
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2657
def register_Ns3PacketTagIteratorItem_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2658
    ## packet.h (module 'network'): ns3::PacketTagIterator::Item::Item(ns3::PacketTagIterator::Item const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2659
    cls.add_constructor([param('ns3::PacketTagIterator::Item const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2660
    ## packet.h (module 'network'): void ns3::PacketTagIterator::Item::GetTag(ns3::Tag & tag) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2661
    cls.add_method('GetTag', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2662
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2663
                   [param('ns3::Tag &', 'tag')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2664
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2665
    ## packet.h (module 'network'): ns3::TypeId ns3::PacketTagIterator::Item::GetTypeId() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2666
    cls.add_method('GetTypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2667
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2668
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2669
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2670
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2671
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2672
def register_Ns3PacketTagList_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2673
    ## packet-tag-list.h (module 'network'): ns3::PacketTagList::PacketTagList() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2674
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2675
    ## packet-tag-list.h (module 'network'): ns3::PacketTagList::PacketTagList(ns3::PacketTagList const & o) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2676
    cls.add_constructor([param('ns3::PacketTagList const &', 'o')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2677
    ## packet-tag-list.h (module 'network'): void ns3::PacketTagList::Add(ns3::Tag const & tag) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2678
    cls.add_method('Add', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2679
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2680
                   [param('ns3::Tag const &', 'tag')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2681
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2682
    ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData const * ns3::PacketTagList::Head() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2683
    cls.add_method('Head', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2684
                   'ns3::PacketTagList::TagData const *', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2685
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2686
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2687
    ## packet-tag-list.h (module 'network'): bool ns3::PacketTagList::Peek(ns3::Tag & tag) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2688
    cls.add_method('Peek', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2689
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2690
                   [param('ns3::Tag &', 'tag')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2691
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2692
    ## packet-tag-list.h (module 'network'): bool ns3::PacketTagList::Remove(ns3::Tag & tag) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2693
    cls.add_method('Remove', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2694
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2695
                   [param('ns3::Tag &', 'tag')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2696
    ## packet-tag-list.h (module 'network'): void ns3::PacketTagList::RemoveAll() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2697
    cls.add_method('RemoveAll', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2698
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2699
                   [])
9901
9a100979b2df Updatemany modules' Python bindings
Mitch Watrous
parents: 9708
diff changeset
  2700
    ## packet-tag-list.h (module 'network'): bool ns3::PacketTagList::Replace(ns3::Tag & tag) [member function]
9a100979b2df Updatemany modules' Python bindings
Mitch Watrous
parents: 9708
diff changeset
  2701
    cls.add_method('Replace', 
9a100979b2df Updatemany modules' Python bindings
Mitch Watrous
parents: 9708
diff changeset
  2702
                   'bool', 
9a100979b2df Updatemany modules' Python bindings
Mitch Watrous
parents: 9708
diff changeset
  2703
                   [param('ns3::Tag &', 'tag')])
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2704
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2705
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2706
def register_Ns3PacketTagListTagData_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2707
    ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::TagData() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2708
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2709
    ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::TagData(ns3::PacketTagList::TagData const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2710
    cls.add_constructor([param('ns3::PacketTagList::TagData const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2711
    ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::count [variable]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2712
    cls.add_instance_attribute('count', 'uint32_t', is_const=False)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2713
    ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::data [variable]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2714
    cls.add_instance_attribute('data', 'uint8_t [ 20 ]', is_const=False)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2715
    ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::next [variable]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2716
    cls.add_instance_attribute('next', 'ns3::PacketTagList::TagData *', is_const=False)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2717
    ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::tid [variable]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2718
    cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2719
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2720
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2721
def register_Ns3PcapFile_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2722
    ## pcap-file.h (module 'network'): ns3::PcapFile::PcapFile() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2723
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2724
    ## pcap-file.h (module 'network'): void ns3::PcapFile::Clear() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2725
    cls.add_method('Clear', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2726
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2727
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2728
    ## pcap-file.h (module 'network'): void ns3::PcapFile::Close() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2729
    cls.add_method('Close', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2730
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2731
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2732
    ## pcap-file.h (module 'network'): 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]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2733
    cls.add_method('Diff', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2734
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2735
                   [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')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2736
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2737
    ## pcap-file.h (module 'network'): bool ns3::PcapFile::Eof() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2738
    cls.add_method('Eof', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2739
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2740
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2741
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2742
    ## pcap-file.h (module 'network'): bool ns3::PcapFile::Fail() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2743
    cls.add_method('Fail', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2744
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2745
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2746
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2747
    ## pcap-file.h (module 'network'): uint32_t ns3::PcapFile::GetDataLinkType() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2748
    cls.add_method('GetDataLinkType', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2749
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2750
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2751
    ## pcap-file.h (module 'network'): uint32_t ns3::PcapFile::GetMagic() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2752
    cls.add_method('GetMagic', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2753
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2754
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2755
    ## pcap-file.h (module 'network'): uint32_t ns3::PcapFile::GetSigFigs() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2756
    cls.add_method('GetSigFigs', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2757
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2758
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2759
    ## pcap-file.h (module 'network'): uint32_t ns3::PcapFile::GetSnapLen() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2760
    cls.add_method('GetSnapLen', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2761
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2762
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2763
    ## pcap-file.h (module 'network'): bool ns3::PcapFile::GetSwapMode() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2764
    cls.add_method('GetSwapMode', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2765
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2766
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2767
    ## pcap-file.h (module 'network'): int32_t ns3::PcapFile::GetTimeZoneOffset() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2768
    cls.add_method('GetTimeZoneOffset', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2769
                   'int32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2770
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2771
    ## pcap-file.h (module 'network'): uint16_t ns3::PcapFile::GetVersionMajor() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2772
    cls.add_method('GetVersionMajor', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2773
                   'uint16_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2774
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2775
    ## pcap-file.h (module 'network'): uint16_t ns3::PcapFile::GetVersionMinor() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2776
    cls.add_method('GetVersionMinor', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2777
                   'uint16_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2778
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2779
    ## pcap-file.h (module 'network'): void 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]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2780
    cls.add_method('Init', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2781
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2782
                   [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')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2783
    ## pcap-file.h (module 'network'): void ns3::PcapFile::Open(std::string const & filename, std::_Ios_Openmode mode) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2784
    cls.add_method('Open', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2785
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2786
                   [param('std::string const &', 'filename'), param('std::_Ios_Openmode', 'mode')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2787
    ## pcap-file.h (module 'network'): void 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]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2788
    cls.add_method('Read', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2789
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2790
                   [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')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2791
    ## pcap-file.h (module 'network'): void ns3::PcapFile::Write(uint32_t tsSec, uint32_t tsUsec, uint8_t const * const data, uint32_t totalLen) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2792
    cls.add_method('Write', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2793
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2794
                   [param('uint32_t', 'tsSec'), param('uint32_t', 'tsUsec'), param('uint8_t const * const', 'data'), param('uint32_t', 'totalLen')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2795
    ## pcap-file.h (module 'network'): void ns3::PcapFile::Write(uint32_t tsSec, uint32_t tsUsec, ns3::Ptr<const ns3::Packet> p) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2796
    cls.add_method('Write', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2797
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2798
                   [param('uint32_t', 'tsSec'), param('uint32_t', 'tsUsec'), param('ns3::Ptr< ns3::Packet const >', 'p')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2799
    ## pcap-file.h (module 'network'): void ns3::PcapFile::Write(uint32_t tsSec, uint32_t tsUsec, ns3::Header & header, ns3::Ptr<const ns3::Packet> p) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2800
    cls.add_method('Write', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2801
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2802
                   [param('uint32_t', 'tsSec'), param('uint32_t', 'tsUsec'), param('ns3::Header &', 'header'), param('ns3::Ptr< ns3::Packet const >', 'p')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2803
    ## pcap-file.h (module 'network'): ns3::PcapFile::SNAPLEN_DEFAULT [variable]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2804
    cls.add_static_attribute('SNAPLEN_DEFAULT', 'uint32_t const', is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2805
    ## pcap-file.h (module 'network'): ns3::PcapFile::ZONE_DEFAULT [variable]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2806
    cls.add_static_attribute('ZONE_DEFAULT', 'int32_t const', is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2807
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2808
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2809
def register_Ns3PcapHelper_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2810
    ## trace-helper.h (module 'network'): ns3::PcapHelper::PcapHelper(ns3::PcapHelper const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2811
    cls.add_constructor([param('ns3::PcapHelper const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2812
    ## trace-helper.h (module 'network'): ns3::PcapHelper::PcapHelper() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2813
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2814
    ## trace-helper.h (module 'network'): ns3::Ptr<ns3::PcapFileWrapper> ns3::PcapHelper::CreateFile(std::string filename, std::_Ios_Openmode filemode, uint32_t dataLinkType, uint32_t snapLen=65535, int32_t tzCorrection=0) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2815
    cls.add_method('CreateFile', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2816
                   'ns3::Ptr< ns3::PcapFileWrapper >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2817
                   [param('std::string', 'filename'), param('std::_Ios_Openmode', 'filemode'), param('uint32_t', 'dataLinkType'), param('uint32_t', 'snapLen', default_value='65535'), param('int32_t', 'tzCorrection', default_value='0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2818
    ## trace-helper.h (module 'network'): std::string ns3::PcapHelper::GetFilenameFromDevice(std::string prefix, ns3::Ptr<ns3::NetDevice> device, bool useObjectNames=true) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2819
    cls.add_method('GetFilenameFromDevice', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2820
                   'std::string', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2821
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'device'), param('bool', 'useObjectNames', default_value='true')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2822
    ## trace-helper.h (module 'network'): std::string ns3::PcapHelper::GetFilenameFromInterfacePair(std::string prefix, ns3::Ptr<ns3::Object> object, uint32_t interface, bool useObjectNames=true) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2823
    cls.add_method('GetFilenameFromInterfacePair', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2824
                   'std::string', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2825
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Object >', 'object'), param('uint32_t', 'interface'), param('bool', 'useObjectNames', default_value='true')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2826
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2827
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2828
def register_Ns3PcapHelperForDevice_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2829
    ## trace-helper.h (module 'network'): ns3::PcapHelperForDevice::PcapHelperForDevice(ns3::PcapHelperForDevice const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2830
    cls.add_constructor([param('ns3::PcapHelperForDevice const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2831
    ## trace-helper.h (module 'network'): ns3::PcapHelperForDevice::PcapHelperForDevice() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2832
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2833
    ## trace-helper.h (module 'network'): void ns3::PcapHelperForDevice::EnablePcap(std::string prefix, ns3::Ptr<ns3::NetDevice> nd, bool promiscuous=false, bool explicitFilename=false) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2834
    cls.add_method('EnablePcap', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2835
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2836
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'promiscuous', default_value='false'), param('bool', 'explicitFilename', default_value='false')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2837
    ## trace-helper.h (module 'network'): void ns3::PcapHelperForDevice::EnablePcap(std::string prefix, std::string ndName, bool promiscuous=false, bool explicitFilename=false) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2838
    cls.add_method('EnablePcap', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2839
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2840
                   [param('std::string', 'prefix'), param('std::string', 'ndName'), param('bool', 'promiscuous', default_value='false'), param('bool', 'explicitFilename', default_value='false')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2841
    ## trace-helper.h (module 'network'): void ns3::PcapHelperForDevice::EnablePcap(std::string prefix, ns3::NetDeviceContainer d, bool promiscuous=false) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2842
    cls.add_method('EnablePcap', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2843
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2844
                   [param('std::string', 'prefix'), param('ns3::NetDeviceContainer', 'd'), param('bool', 'promiscuous', default_value='false')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2845
    ## trace-helper.h (module 'network'): void ns3::PcapHelperForDevice::EnablePcap(std::string prefix, ns3::NodeContainer n, bool promiscuous=false) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2846
    cls.add_method('EnablePcap', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2847
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2848
                   [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n'), param('bool', 'promiscuous', default_value='false')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2849
    ## trace-helper.h (module 'network'): void ns3::PcapHelperForDevice::EnablePcap(std::string prefix, uint32_t nodeid, uint32_t deviceid, bool promiscuous=false) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2850
    cls.add_method('EnablePcap', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2851
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2852
                   [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid'), param('bool', 'promiscuous', default_value='false')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2853
    ## trace-helper.h (module 'network'): void ns3::PcapHelperForDevice::EnablePcapAll(std::string prefix, bool promiscuous=false) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2854
    cls.add_method('EnablePcapAll', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2855
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2856
                   [param('std::string', 'prefix'), param('bool', 'promiscuous', default_value='false')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2857
    ## trace-helper.h (module 'network'): void ns3::PcapHelperForDevice::EnablePcapInternal(std::string prefix, ns3::Ptr<ns3::NetDevice> nd, bool promiscuous, bool explicitFilename) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2858
    cls.add_method('EnablePcapInternal', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2859
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2860
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'promiscuous'), param('bool', 'explicitFilename')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2861
                   is_pure_virtual=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2862
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2863
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2864
def register_Ns3PcapHelperForIpv4_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2865
    ## internet-trace-helper.h (module 'internet'): ns3::PcapHelperForIpv4::PcapHelperForIpv4(ns3::PcapHelperForIpv4 const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2866
    cls.add_constructor([param('ns3::PcapHelperForIpv4 const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2867
    ## internet-trace-helper.h (module 'internet'): ns3::PcapHelperForIpv4::PcapHelperForIpv4() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2868
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2869
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv4::EnablePcapIpv4(std::string prefix, ns3::Ptr<ns3::Ipv4> ipv4, uint32_t interface, bool explicitFilename=false) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2870
    cls.add_method('EnablePcapIpv4', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2871
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2872
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2873
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv4::EnablePcapIpv4(std::string prefix, std::string ipv4Name, uint32_t interface, bool explicitFilename=false) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2874
    cls.add_method('EnablePcapIpv4', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2875
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2876
                   [param('std::string', 'prefix'), param('std::string', 'ipv4Name'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2877
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv4::EnablePcapIpv4(std::string prefix, ns3::Ipv4InterfaceContainer c) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2878
    cls.add_method('EnablePcapIpv4', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2879
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2880
                   [param('std::string', 'prefix'), param('ns3::Ipv4InterfaceContainer', 'c')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2881
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv4::EnablePcapIpv4(std::string prefix, ns3::NodeContainer n) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2882
    cls.add_method('EnablePcapIpv4', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2883
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2884
                   [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2885
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv4::EnablePcapIpv4(std::string prefix, uint32_t nodeid, uint32_t interface, bool explicitFilename) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2886
    cls.add_method('EnablePcapIpv4', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2887
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2888
                   [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2889
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv4::EnablePcapIpv4All(std::string prefix) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2890
    cls.add_method('EnablePcapIpv4All', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2891
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2892
                   [param('std::string', 'prefix')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2893
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv4::EnablePcapIpv4Internal(std::string prefix, ns3::Ptr<ns3::Ipv4> ipv4, uint32_t interface, bool explicitFilename) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2894
    cls.add_method('EnablePcapIpv4Internal', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2895
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2896
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2897
                   is_pure_virtual=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2898
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2899
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2900
def register_Ns3PcapHelperForIpv6_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2901
    ## internet-trace-helper.h (module 'internet'): ns3::PcapHelperForIpv6::PcapHelperForIpv6(ns3::PcapHelperForIpv6 const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2902
    cls.add_constructor([param('ns3::PcapHelperForIpv6 const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2903
    ## internet-trace-helper.h (module 'internet'): ns3::PcapHelperForIpv6::PcapHelperForIpv6() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2904
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2905
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, ns3::Ptr<ns3::Ipv6> ipv6, uint32_t interface, bool explicitFilename=false) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2906
    cls.add_method('EnablePcapIpv6', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2907
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2908
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2909
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, std::string ipv6Name, uint32_t interface, bool explicitFilename=false) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2910
    cls.add_method('EnablePcapIpv6', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2911
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2912
                   [param('std::string', 'prefix'), param('std::string', 'ipv6Name'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2913
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, ns3::Ipv6InterfaceContainer c) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2914
    cls.add_method('EnablePcapIpv6', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2915
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2916
                   [param('std::string', 'prefix'), param('ns3::Ipv6InterfaceContainer', 'c')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2917
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, ns3::NodeContainer n) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2918
    cls.add_method('EnablePcapIpv6', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2919
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2920
                   [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2921
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, uint32_t nodeid, uint32_t interface, bool explicitFilename) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2922
    cls.add_method('EnablePcapIpv6', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2923
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2924
                   [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2925
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv6::EnablePcapIpv6All(std::string prefix) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2926
    cls.add_method('EnablePcapIpv6All', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2927
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2928
                   [param('std::string', 'prefix')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2929
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv6::EnablePcapIpv6Internal(std::string prefix, ns3::Ptr<ns3::Ipv6> ipv6, uint32_t interface, bool explicitFilename) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2930
    cls.add_method('EnablePcapIpv6Internal', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2931
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2932
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2933
                   is_pure_virtual=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2934
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2935
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2936
def register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2937
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter>::SimpleRefCount() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2938
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2939
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter>::SimpleRefCount(ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter> const & o) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2940
    cls.add_constructor([param('ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter > const &', 'o')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2941
    ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter>::Cleanup() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2942
    cls.add_method('Cleanup', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2943
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2944
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2945
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2946
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2947
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2948
def register_Ns3Simulator_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2949
    ## simulator.h (module 'core'): ns3::Simulator::Simulator(ns3::Simulator const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2950
    cls.add_constructor([param('ns3::Simulator const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2951
    ## simulator.h (module 'core'): static void ns3::Simulator::Cancel(ns3::EventId const & id) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2952
    cls.add_method('Cancel', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2953
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2954
                   [param('ns3::EventId const &', 'id')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2955
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2956
    ## simulator.h (module 'core'): static void ns3::Simulator::Destroy() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2957
    cls.add_method('Destroy', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2958
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2959
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2960
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2961
    ## simulator.h (module 'core'): static uint32_t ns3::Simulator::GetContext() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2962
    cls.add_method('GetContext', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2963
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2964
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2965
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2966
    ## simulator.h (module 'core'): static ns3::Time ns3::Simulator::GetDelayLeft(ns3::EventId const & id) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2967
    cls.add_method('GetDelayLeft', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2968
                   'ns3::Time', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2969
                   [param('ns3::EventId const &', 'id')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2970
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2971
    ## simulator.h (module 'core'): static ns3::Ptr<ns3::SimulatorImpl> ns3::Simulator::GetImplementation() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2972
    cls.add_method('GetImplementation', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2973
                   'ns3::Ptr< ns3::SimulatorImpl >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2974
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2975
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2976
    ## simulator.h (module 'core'): static ns3::Time ns3::Simulator::GetMaximumSimulationTime() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2977
    cls.add_method('GetMaximumSimulationTime', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2978
                   'ns3::Time', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2979
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2980
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2981
    ## simulator.h (module 'core'): static uint32_t ns3::Simulator::GetSystemId() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2982
    cls.add_method('GetSystemId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2983
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2984
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2985
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2986
    ## simulator.h (module 'core'): static bool ns3::Simulator::IsExpired(ns3::EventId const & id) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2987
    cls.add_method('IsExpired', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2988
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2989
                   [param('ns3::EventId const &', 'id')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2990
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2991
    ## simulator.h (module 'core'): static bool ns3::Simulator::IsFinished() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2992
    cls.add_method('IsFinished', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2993
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2994
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2995
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2996
    ## simulator.h (module 'core'): static ns3::Time ns3::Simulator::Now() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2997
    cls.add_method('Now', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2998
                   'ns3::Time', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2999
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3000
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3001
    ## simulator.h (module 'core'): static void ns3::Simulator::Remove(ns3::EventId const & id) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3002
    cls.add_method('Remove', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3003
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3004
                   [param('ns3::EventId const &', 'id')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3005
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3006
    ## simulator.h (module 'core'): static void ns3::Simulator::SetImplementation(ns3::Ptr<ns3::SimulatorImpl> impl) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3007
    cls.add_method('SetImplementation', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3008
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3009
                   [param('ns3::Ptr< ns3::SimulatorImpl >', 'impl')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3010
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3011
    ## simulator.h (module 'core'): static void ns3::Simulator::SetScheduler(ns3::ObjectFactory schedulerFactory) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3012
    cls.add_method('SetScheduler', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3013
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3014
                   [param('ns3::ObjectFactory', 'schedulerFactory')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3015
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3016
    ## simulator.h (module 'core'): static void ns3::Simulator::Stop() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3017
    cls.add_method('Stop', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3018
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3019
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3020
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3021
    ## simulator.h (module 'core'): static void ns3::Simulator::Stop(ns3::Time const & time) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3022
    cls.add_method('Stop', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3023
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3024
                   [param('ns3::Time const &', 'time')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3025
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3026
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3027
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3028
def register_Ns3Tag_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3029
    ## tag.h (module 'network'): ns3::Tag::Tag() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3030
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3031
    ## tag.h (module 'network'): ns3::Tag::Tag(ns3::Tag const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3032
    cls.add_constructor([param('ns3::Tag const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3033
    ## tag.h (module 'network'): void ns3::Tag::Deserialize(ns3::TagBuffer i) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3034
    cls.add_method('Deserialize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3035
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3036
                   [param('ns3::TagBuffer', 'i')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3037
                   is_pure_virtual=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3038
    ## tag.h (module 'network'): uint32_t ns3::Tag::GetSerializedSize() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3039
    cls.add_method('GetSerializedSize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3040
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3041
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3042
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3043
    ## tag.h (module 'network'): static ns3::TypeId ns3::Tag::GetTypeId() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3044
    cls.add_method('GetTypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3045
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3046
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3047
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3048
    ## tag.h (module 'network'): void ns3::Tag::Print(std::ostream & os) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3049
    cls.add_method('Print', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3050
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3051
                   [param('std::ostream &', 'os')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3052
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3053
    ## tag.h (module 'network'): void ns3::Tag::Serialize(ns3::TagBuffer i) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3054
    cls.add_method('Serialize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3055
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3056
                   [param('ns3::TagBuffer', 'i')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3057
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3058
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3059
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3060
def register_Ns3TagBuffer_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3061
    ## tag-buffer.h (module 'network'): ns3::TagBuffer::TagBuffer(ns3::TagBuffer const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3062
    cls.add_constructor([param('ns3::TagBuffer const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3063
    ## tag-buffer.h (module 'network'): ns3::TagBuffer::TagBuffer(uint8_t * start, uint8_t * end) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3064
    cls.add_constructor([param('uint8_t *', 'start'), param('uint8_t *', 'end')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3065
    ## tag-buffer.h (module 'network'): void ns3::TagBuffer::CopyFrom(ns3::TagBuffer o) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3066
    cls.add_method('CopyFrom', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3067
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3068
                   [param('ns3::TagBuffer', 'o')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3069
    ## tag-buffer.h (module 'network'): void ns3::TagBuffer::Read(uint8_t * buffer, uint32_t size) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3070
    cls.add_method('Read', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3071
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3072
                   [param('uint8_t *', 'buffer'), param('uint32_t', 'size')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3073
    ## tag-buffer.h (module 'network'): double ns3::TagBuffer::ReadDouble() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3074
    cls.add_method('ReadDouble', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3075
                   'double', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3076
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3077
    ## tag-buffer.h (module 'network'): uint16_t ns3::TagBuffer::ReadU16() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3078
    cls.add_method('ReadU16', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3079
                   'uint16_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3080
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3081
    ## tag-buffer.h (module 'network'): uint32_t ns3::TagBuffer::ReadU32() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3082
    cls.add_method('ReadU32', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3083
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3084
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3085
    ## tag-buffer.h (module 'network'): uint64_t ns3::TagBuffer::ReadU64() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3086
    cls.add_method('ReadU64', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3087
                   'uint64_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3088
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3089
    ## tag-buffer.h (module 'network'): uint8_t ns3::TagBuffer::ReadU8() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3090
    cls.add_method('ReadU8', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3091
                   'uint8_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3092
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3093
    ## tag-buffer.h (module 'network'): void ns3::TagBuffer::TrimAtEnd(uint32_t trim) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3094
    cls.add_method('TrimAtEnd', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3095
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3096
                   [param('uint32_t', 'trim')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3097
    ## tag-buffer.h (module 'network'): void ns3::TagBuffer::Write(uint8_t const * buffer, uint32_t size) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3098
    cls.add_method('Write', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3099
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3100
                   [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3101
    ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteDouble(double v) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3102
    cls.add_method('WriteDouble', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3103
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3104
                   [param('double', 'v')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3105
    ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU16(uint16_t data) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3106
    cls.add_method('WriteU16', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3107
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3108
                   [param('uint16_t', 'data')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3109
    ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU32(uint32_t data) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3110
    cls.add_method('WriteU32', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3111
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3112
                   [param('uint32_t', 'data')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3113
    ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU64(uint64_t v) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3114
    cls.add_method('WriteU64', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3115
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3116
                   [param('uint64_t', 'v')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3117
    ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU8(uint8_t v) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3118
    cls.add_method('WriteU8', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3119
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3120
                   [param('uint8_t', 'v')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3121
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3122
10795
29506f2221e2 update bindings
Tom Henderson <tomh@tomh.org>
parents: 10631
diff changeset
  3123
def register_Ns3TimeWithUnit_methods(root_module, cls):
29506f2221e2 update bindings
Tom Henderson <tomh@tomh.org>
parents: 10631
diff changeset
  3124
    cls.add_output_stream_operator()
29506f2221e2 update bindings
Tom Henderson <tomh@tomh.org>
parents: 10631
diff changeset
  3125
    ## nstime.h (module 'core'): ns3::TimeWithUnit::TimeWithUnit(ns3::TimeWithUnit const & arg0) [copy constructor]
29506f2221e2 update bindings
Tom Henderson <tomh@tomh.org>
parents: 10631
diff changeset
  3126
    cls.add_constructor([param('ns3::TimeWithUnit const &', 'arg0')])
29506f2221e2 update bindings
Tom Henderson <tomh@tomh.org>
parents: 10631
diff changeset
  3127
    ## nstime.h (module 'core'): ns3::TimeWithUnit::TimeWithUnit(ns3::Time const time, ns3::Time::Unit const unit) [constructor]
29506f2221e2 update bindings
Tom Henderson <tomh@tomh.org>
parents: 10631
diff changeset
  3128
    cls.add_constructor([param('ns3::Time const', 'time'), param('ns3::Time::Unit const', 'unit')])
29506f2221e2 update bindings
Tom Henderson <tomh@tomh.org>
parents: 10631
diff changeset
  3129
    return
29506f2221e2 update bindings
Tom Henderson <tomh@tomh.org>
parents: 10631
diff changeset
  3130
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3131
def register_Ns3TypeId_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3132
    cls.add_binary_comparison_operator('<')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3133
    cls.add_binary_comparison_operator('!=')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3134
    cls.add_output_stream_operator()
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3135
    cls.add_binary_comparison_operator('==')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3136
    ## type-id.h (module 'core'): ns3::TypeId::TypeId(char const * name) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3137
    cls.add_constructor([param('char const *', 'name')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3138
    ## type-id.h (module 'core'): ns3::TypeId::TypeId() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3139
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3140
    ## type-id.h (module 'core'): ns3::TypeId::TypeId(ns3::TypeId const & o) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3141
    cls.add_constructor([param('ns3::TypeId const &', 'o')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3142
    ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddAttribute(std::string name, std::string help, ns3::AttributeValue const & initialValue, ns3::Ptr<ns3::AttributeAccessor const> accessor, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3143
    cls.add_method('AddAttribute', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3144
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3145
                   [param('std::string', 'name'), param('std::string', 'help'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3146
    ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddAttribute(std::string name, std::string help, uint32_t flags, ns3::AttributeValue const & initialValue, ns3::Ptr<ns3::AttributeAccessor const> accessor, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3147
    cls.add_method('AddAttribute', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3148
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3149
                   [param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')])
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3150
    ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr<ns3::TraceSourceAccessor const> accessor) [member function]
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3151
    cls.add_method('AddTraceSource', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3152
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3153
                   [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')])
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3154
    ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3155
    cls.add_method('GetAttribute', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3156
                   'ns3::TypeId::AttributeInformation', 
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3157
                   [param('uint32_t', 'i')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3158
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3159
    ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3160
    cls.add_method('GetAttributeFullName', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3161
                   'std::string', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3162
                   [param('uint32_t', 'i')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3163
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3164
    ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3165
    cls.add_method('GetAttributeN', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3166
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3167
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3168
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3169
    ## type-id.h (module 'core'): ns3::Callback<ns3::ObjectBase*,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ns3::TypeId::GetConstructor() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3170
    cls.add_method('GetConstructor', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3171
                   'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3172
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3173
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3174
    ## type-id.h (module 'core'): std::string ns3::TypeId::GetGroupName() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3175
    cls.add_method('GetGroupName', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3176
                   'std::string', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3177
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3178
                   is_const=True)
10183
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  3179
    ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetHash() const [member function]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  3180
    cls.add_method('GetHash', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  3181
                   'uint32_t', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  3182
                   [], 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  3183
                   is_const=True)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3184
    ## type-id.h (module 'core'): std::string ns3::TypeId::GetName() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3185
    cls.add_method('GetName', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3186
                   'std::string', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3187
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3188
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3189
    ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::GetParent() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3190
    cls.add_method('GetParent', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3191
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3192
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3193
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3194
    ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::GetRegistered(uint32_t i) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3195
    cls.add_method('GetRegistered', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3196
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3197
                   [param('uint32_t', 'i')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3198
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3199
    ## type-id.h (module 'core'): static uint32_t ns3::TypeId::GetRegisteredN() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3200
    cls.add_method('GetRegisteredN', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3201
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3202
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3203
                   is_static=True)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3204
    ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3205
    cls.add_method('GetTraceSource', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3206
                   'ns3::TypeId::TraceSourceInformation', 
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3207
                   [param('uint32_t', 'i')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3208
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3209
    ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3210
    cls.add_method('GetTraceSourceN', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3211
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3212
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3213
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3214
    ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3215
    cls.add_method('GetUid', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3216
                   'uint16_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3217
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3218
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3219
    ## type-id.h (module 'core'): bool ns3::TypeId::HasConstructor() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3220
    cls.add_method('HasConstructor', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3221
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3222
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3223
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3224
    ## type-id.h (module 'core'): bool ns3::TypeId::HasParent() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3225
    cls.add_method('HasParent', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3226
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3227
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3228
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3229
    ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::HideFromDocumentation() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3230
    cls.add_method('HideFromDocumentation', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3231
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3232
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3233
    ## type-id.h (module 'core'): bool ns3::TypeId::IsChildOf(ns3::TypeId other) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3234
    cls.add_method('IsChildOf', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3235
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3236
                   [param('ns3::TypeId', 'other')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3237
                   is_const=True)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3238
    ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function]
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3239
    cls.add_method('LookupAttributeByName', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3240
                   'bool', 
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3241
                   [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info', transfer_ownership=False)], 
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3242
                   is_const=True)
10183
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  3243
    ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByHash(uint32_t hash) [member function]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  3244
    cls.add_method('LookupByHash', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  3245
                   'ns3::TypeId', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  3246
                   [param('uint32_t', 'hash')], 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  3247
                   is_static=True)
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  3248
    ## type-id.h (module 'core'): static bool ns3::TypeId::LookupByHashFailSafe(uint32_t hash, ns3::TypeId * tid) [member function]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  3249
    cls.add_method('LookupByHashFailSafe', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  3250
                   'bool', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  3251
                   [param('uint32_t', 'hash'), param('ns3::TypeId *', 'tid')], 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  3252
                   is_static=True)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3253
    ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3254
    cls.add_method('LookupByName', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3255
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3256
                   [param('std::string', 'name')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3257
                   is_static=True)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3258
    ## type-id.h (module 'core'): ns3::Ptr<ns3::TraceSourceAccessor const> ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function]
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3259
    cls.add_method('LookupTraceSourceByName', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3260
                   'ns3::Ptr< ns3::TraceSourceAccessor const >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3261
                   [param('std::string', 'name')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3262
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3263
    ## type-id.h (module 'core'): bool ns3::TypeId::MustHideFromDocumentation() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3264
    cls.add_method('MustHideFromDocumentation', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3265
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3266
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3267
                   is_const=True)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3268
    ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr<ns3::AttributeValue const> initialValue) [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3269
    cls.add_method('SetAttributeInitialValue', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3270
                   'bool', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3271
                   [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')])
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3272
    ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3273
    cls.add_method('SetGroupName', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3274
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3275
                   [param('std::string', 'groupName')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3276
    ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetParent(ns3::TypeId tid) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3277
    cls.add_method('SetParent', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3278
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3279
                   [param('ns3::TypeId', 'tid')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3280
    ## type-id.h (module 'core'): void ns3::TypeId::SetUid(uint16_t tid) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3281
    cls.add_method('SetUid', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3282
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3283
                   [param('uint16_t', 'tid')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3284
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3285
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3286
def register_Ns3TypeIdAttributeInformation_methods(root_module, cls):
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3287
    ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor]
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3288
    cls.add_constructor([])
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3289
    ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3290
    cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3291
    ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable]
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3292
    cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3293
    ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable]
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3294
    cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3295
    ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable]
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3296
    cls.add_instance_attribute('flags', 'uint32_t', is_const=False)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3297
    ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3298
    cls.add_instance_attribute('help', 'std::string', is_const=False)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3299
    ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable]
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3300
    cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3301
    ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3302
    cls.add_instance_attribute('name', 'std::string', is_const=False)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3303
    ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3304
    cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3305
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3306
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3307
def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls):
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3308
    ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor]
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3309
    cls.add_constructor([])
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3310
    ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3311
    cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3312
    ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3313
    cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3314
    ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3315
    cls.add_instance_attribute('help', 'std::string', is_const=False)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3316
    ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3317
    cls.add_instance_attribute('name', 'std::string', is_const=False)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3318
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3319
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3320
def register_Ns3Empty_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3321
    ## empty.h (module 'core'): ns3::empty::empty() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3322
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3323
    ## empty.h (module 'core'): ns3::empty::empty(ns3::empty const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3324
    cls.add_constructor([param('ns3::empty const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3325
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3326
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3327
def register_Ns3Int64x64_t_methods(root_module, cls):
10631
a258a16d4793 bindings rescan (another try)
Tom Henderson <tomh@tomh.org>
parents: 10628
diff changeset
  3328
    cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', u'right'))
a258a16d4793 bindings rescan (another try)
Tom Henderson <tomh@tomh.org>
parents: 10628
diff changeset
  3329
    cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', u'right'))
a258a16d4793 bindings rescan (another try)
Tom Henderson <tomh@tomh.org>
parents: 10628
diff changeset
  3330
    cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', u'right'))
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3331
    cls.add_unary_numeric_operator('-')
10631
a258a16d4793 bindings rescan (another try)
Tom Henderson <tomh@tomh.org>
parents: 10628
diff changeset
  3332
    cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', u'right'))
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3333
    cls.add_binary_comparison_operator('<')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3334
    cls.add_binary_comparison_operator('>')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3335
    cls.add_binary_comparison_operator('!=')
10631
a258a16d4793 bindings rescan (another try)
Tom Henderson <tomh@tomh.org>
parents: 10628
diff changeset
  3336
    cls.add_inplace_numeric_operator('*=', param('ns3::int64x64_t const &', u'right'))
a258a16d4793 bindings rescan (another try)
Tom Henderson <tomh@tomh.org>
parents: 10628
diff changeset
  3337
    cls.add_inplace_numeric_operator('+=', param('ns3::int64x64_t const &', u'right'))
a258a16d4793 bindings rescan (another try)
Tom Henderson <tomh@tomh.org>
parents: 10628
diff changeset
  3338
    cls.add_inplace_numeric_operator('-=', param('ns3::int64x64_t const &', u'right'))
a258a16d4793 bindings rescan (another try)
Tom Henderson <tomh@tomh.org>
parents: 10628
diff changeset
  3339
    cls.add_inplace_numeric_operator('/=', param('ns3::int64x64_t const &', u'right'))
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3340
    cls.add_output_stream_operator()
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3341
    cls.add_binary_comparison_operator('<=')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3342
    cls.add_binary_comparison_operator('==')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3343
    cls.add_binary_comparison_operator('>=')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3344
    ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3345
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3346
    ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(double v) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3347
    cls.add_constructor([param('double', 'v')])
10628
8e7d67510b46 [Python Bindings] rescan bindings
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 10567
diff changeset
  3348
    ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long double v) [constructor]
8e7d67510b46 [Python Bindings] rescan bindings
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 10567
diff changeset
  3349
    cls.add_constructor([param('long double', 'v')])
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3350
    ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(int v) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3351
    cls.add_constructor([param('int', 'v')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3352
    ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long int v) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3353
    cls.add_constructor([param('long int', 'v')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3354
    ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long long int v) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3355
    cls.add_constructor([param('long long int', 'v')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3356
    ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(unsigned int v) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3357
    cls.add_constructor([param('unsigned int', 'v')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3358
    ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long unsigned int v) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3359
    cls.add_constructor([param('long unsigned int', 'v')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3360
    ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long long unsigned int v) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3361
    cls.add_constructor([param('long long unsigned int', 'v')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3362
    ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(int64_t hi, uint64_t lo) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3363
    cls.add_constructor([param('int64_t', 'hi'), param('uint64_t', 'lo')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3364
    ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(ns3::int64x64_t const & o) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3365
    cls.add_constructor([param('ns3::int64x64_t const &', 'o')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3366
    ## int64x64-double.h (module 'core'): double ns3::int64x64_t::GetDouble() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3367
    cls.add_method('GetDouble', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3368
                   'double', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3369
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3370
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3371
    ## int64x64-double.h (module 'core'): int64_t ns3::int64x64_t::GetHigh() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3372
    cls.add_method('GetHigh', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3373
                   'int64_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3374
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3375
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3376
    ## int64x64-double.h (module 'core'): uint64_t ns3::int64x64_t::GetLow() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3377
    cls.add_method('GetLow', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3378
                   'uint64_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3379
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3380
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3381
    ## int64x64-double.h (module 'core'): static ns3::int64x64_t ns3::int64x64_t::Invert(uint64_t v) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3382
    cls.add_method('Invert', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3383
                   'ns3::int64x64_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3384
                   [param('uint64_t', 'v')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3385
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3386
    ## int64x64-double.h (module 'core'): void ns3::int64x64_t::MulByInvert(ns3::int64x64_t const & o) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3387
    cls.add_method('MulByInvert', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3388
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3389
                   [param('ns3::int64x64_t const &', 'o')])
10628
8e7d67510b46 [Python Bindings] rescan bindings
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 10567
diff changeset
  3390
    ## int64x64-double.h (module 'core'): ns3::int64x64_t::implementation [variable]
8e7d67510b46 [Python Bindings] rescan bindings
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 10567
diff changeset
  3391
    cls.add_static_attribute('implementation', 'ns3::int64x64_t::impl_type const', is_const=True)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3392
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3393
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3394
def register_Ns3Chunk_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3395
    ## chunk.h (module 'network'): ns3::Chunk::Chunk() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3396
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3397
    ## chunk.h (module 'network'): ns3::Chunk::Chunk(ns3::Chunk const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3398
    cls.add_constructor([param('ns3::Chunk const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3399
    ## chunk.h (module 'network'): uint32_t ns3::Chunk::Deserialize(ns3::Buffer::Iterator start) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3400
    cls.add_method('Deserialize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3401
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3402
                   [param('ns3::Buffer::Iterator', 'start')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3403
                   is_pure_virtual=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3404
    ## chunk.h (module 'network'): static ns3::TypeId ns3::Chunk::GetTypeId() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3405
    cls.add_method('GetTypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3406
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3407
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3408
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3409
    ## chunk.h (module 'network'): void ns3::Chunk::Print(std::ostream & os) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3410
    cls.add_method('Print', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3411
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3412
                   [param('std::ostream &', 'os')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3413
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3414
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3415
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3416
def register_Ns3CsmaHelper_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3417
    ## csma-helper.h (module 'csma'): ns3::CsmaHelper::CsmaHelper(ns3::CsmaHelper const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3418
    cls.add_constructor([param('ns3::CsmaHelper const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3419
    ## csma-helper.h (module 'csma'): ns3::CsmaHelper::CsmaHelper() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3420
    cls.add_constructor([])
9114
41bfd88f8055 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 8966
diff changeset
  3421
    ## csma-helper.h (module 'csma'): int64_t ns3::CsmaHelper::AssignStreams(ns3::NetDeviceContainer c, int64_t stream) [member function]
41bfd88f8055 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 8966
diff changeset
  3422
    cls.add_method('AssignStreams', 
41bfd88f8055 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 8966
diff changeset
  3423
                   'int64_t', 
41bfd88f8055 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 8966
diff changeset
  3424
                   [param('ns3::NetDeviceContainer', 'c'), param('int64_t', 'stream')])
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3425
    ## csma-helper.h (module 'csma'): ns3::NetDeviceContainer ns3::CsmaHelper::Install(ns3::Ptr<ns3::Node> node) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3426
    cls.add_method('Install', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3427
                   'ns3::NetDeviceContainer', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3428
                   [param('ns3::Ptr< ns3::Node >', 'node')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3429
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3430
    ## csma-helper.h (module 'csma'): ns3::NetDeviceContainer ns3::CsmaHelper::Install(std::string name) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3431
    cls.add_method('Install', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3432
                   'ns3::NetDeviceContainer', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3433
                   [param('std::string', 'name')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3434
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3435
    ## csma-helper.h (module 'csma'): ns3::NetDeviceContainer ns3::CsmaHelper::Install(ns3::Ptr<ns3::Node> node, ns3::Ptr<ns3::CsmaChannel> channel) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3436
    cls.add_method('Install', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3437
                   'ns3::NetDeviceContainer', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3438
                   [param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::Ptr< ns3::CsmaChannel >', 'channel')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3439
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3440
    ## csma-helper.h (module 'csma'): ns3::NetDeviceContainer ns3::CsmaHelper::Install(ns3::Ptr<ns3::Node> node, std::string channelName) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3441
    cls.add_method('Install', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3442
                   'ns3::NetDeviceContainer', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3443
                   [param('ns3::Ptr< ns3::Node >', 'node'), param('std::string', 'channelName')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3444
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3445
    ## csma-helper.h (module 'csma'): ns3::NetDeviceContainer ns3::CsmaHelper::Install(std::string nodeName, ns3::Ptr<ns3::CsmaChannel> channel) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3446
    cls.add_method('Install', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3447
                   'ns3::NetDeviceContainer', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3448
                   [param('std::string', 'nodeName'), param('ns3::Ptr< ns3::CsmaChannel >', 'channel')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3449
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3450
    ## csma-helper.h (module 'csma'): ns3::NetDeviceContainer ns3::CsmaHelper::Install(std::string nodeName, std::string channelName) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3451
    cls.add_method('Install', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3452
                   'ns3::NetDeviceContainer', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3453
                   [param('std::string', 'nodeName'), param('std::string', 'channelName')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3454
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3455
    ## csma-helper.h (module 'csma'): ns3::NetDeviceContainer ns3::CsmaHelper::Install(ns3::NodeContainer const & c) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3456
    cls.add_method('Install', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3457
                   'ns3::NetDeviceContainer', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3458
                   [param('ns3::NodeContainer const &', 'c')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3459
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3460
    ## csma-helper.h (module 'csma'): ns3::NetDeviceContainer ns3::CsmaHelper::Install(ns3::NodeContainer const & c, ns3::Ptr<ns3::CsmaChannel> channel) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3461
    cls.add_method('Install', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3462
                   'ns3::NetDeviceContainer', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3463
                   [param('ns3::NodeContainer const &', 'c'), param('ns3::Ptr< ns3::CsmaChannel >', 'channel')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3464
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3465
    ## csma-helper.h (module 'csma'): ns3::NetDeviceContainer ns3::CsmaHelper::Install(ns3::NodeContainer const & c, std::string channelName) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3466
    cls.add_method('Install', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3467
                   'ns3::NetDeviceContainer', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3468
                   [param('ns3::NodeContainer const &', 'c'), param('std::string', 'channelName')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3469
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3470
    ## csma-helper.h (module 'csma'): void ns3::CsmaHelper::SetChannelAttribute(std::string n1, ns3::AttributeValue const & v1) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3471
    cls.add_method('SetChannelAttribute', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3472
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3473
                   [param('std::string', 'n1'), param('ns3::AttributeValue const &', 'v1')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3474
    ## csma-helper.h (module 'csma'): void ns3::CsmaHelper::SetDeviceAttribute(std::string n1, ns3::AttributeValue const & v1) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3475
    cls.add_method('SetDeviceAttribute', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3476
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3477
                   [param('std::string', 'n1'), param('ns3::AttributeValue const &', 'v1')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3478
    ## csma-helper.h (module 'csma'): void ns3::CsmaHelper::SetQueue(std::string type, std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue()) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3479
    cls.add_method('SetQueue', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3480
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3481
                   [param('std::string', 'type'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3482
    ## csma-helper.h (module 'csma'): void ns3::CsmaHelper::EnableAsciiInternal(ns3::Ptr<ns3::OutputStreamWrapper> stream, std::string prefix, ns3::Ptr<ns3::NetDevice> nd, bool explicitFilename) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3483
    cls.add_method('EnableAsciiInternal', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3484
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3485
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'explicitFilename')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3486
                   visibility='private', is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3487
    ## csma-helper.h (module 'csma'): void ns3::CsmaHelper::EnablePcapInternal(std::string prefix, ns3::Ptr<ns3::NetDevice> nd, bool promiscuous, bool explicitFilename) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3488
    cls.add_method('EnablePcapInternal', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3489
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3490
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'promiscuous'), param('bool', 'explicitFilename')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3491
                   visibility='private', is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3492
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3493
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3494
def register_Ns3Header_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3495
    cls.add_output_stream_operator()
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3496
    ## header.h (module 'network'): ns3::Header::Header() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3497
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3498
    ## header.h (module 'network'): ns3::Header::Header(ns3::Header const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3499
    cls.add_constructor([param('ns3::Header const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3500
    ## header.h (module 'network'): uint32_t ns3::Header::Deserialize(ns3::Buffer::Iterator start) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3501
    cls.add_method('Deserialize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3502
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3503
                   [param('ns3::Buffer::Iterator', 'start')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3504
                   is_pure_virtual=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3505
    ## header.h (module 'network'): uint32_t ns3::Header::GetSerializedSize() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3506
    cls.add_method('GetSerializedSize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3507
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3508
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3509
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3510
    ## header.h (module 'network'): static ns3::TypeId ns3::Header::GetTypeId() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3511
    cls.add_method('GetTypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3512
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3513
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3514
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3515
    ## header.h (module 'network'): void ns3::Header::Print(std::ostream & os) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3516
    cls.add_method('Print', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3517
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3518
                   [param('std::ostream &', 'os')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3519
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3520
    ## header.h (module 'network'): void ns3::Header::Serialize(ns3::Buffer::Iterator start) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3521
    cls.add_method('Serialize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3522
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3523
                   [param('ns3::Buffer::Iterator', 'start')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3524
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3525
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3526
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3527
def register_Ns3InternetStackHelper_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3528
    ## internet-stack-helper.h (module 'internet'): ns3::InternetStackHelper::InternetStackHelper() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3529
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3530
    ## internet-stack-helper.h (module 'internet'): ns3::InternetStackHelper::InternetStackHelper(ns3::InternetStackHelper const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3531
    cls.add_constructor([param('ns3::InternetStackHelper const &', 'arg0')])
9114
41bfd88f8055 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 8966
diff changeset
  3532
    ## internet-stack-helper.h (module 'internet'): int64_t ns3::InternetStackHelper::AssignStreams(ns3::NodeContainer c, int64_t stream) [member function]
41bfd88f8055 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 8966
diff changeset
  3533
    cls.add_method('AssignStreams', 
41bfd88f8055 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 8966
diff changeset
  3534
                   'int64_t', 
41bfd88f8055 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 8966
diff changeset
  3535
                   [param('ns3::NodeContainer', 'c'), param('int64_t', 'stream')])
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3536
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::Install(std::string nodeName) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3537
    cls.add_method('Install', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3538
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3539
                   [param('std::string', 'nodeName')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3540
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3541
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::Install(ns3::Ptr<ns3::Node> node) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3542
    cls.add_method('Install', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3543
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3544
                   [param('ns3::Ptr< ns3::Node >', 'node')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3545
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3546
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::Install(ns3::NodeContainer c) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3547
    cls.add_method('Install', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3548
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3549
                   [param('ns3::NodeContainer', 'c')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3550
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3551
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::InstallAll() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3552
    cls.add_method('InstallAll', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3553
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3554
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3555
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3556
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::Reset() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3557
    cls.add_method('Reset', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3558
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3559
                   [])
10183
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  3560
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::SetIpv4ArpJitter(bool enable) [member function]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  3561
    cls.add_method('SetIpv4ArpJitter', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  3562
                   'void', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  3563
                   [param('bool', 'enable')])
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3564
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::SetIpv4StackInstall(bool enable) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3565
    cls.add_method('SetIpv4StackInstall', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3566
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3567
                   [param('bool', 'enable')])
10183
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  3568
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::SetIpv6NsRsJitter(bool enable) [member function]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  3569
    cls.add_method('SetIpv6NsRsJitter', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  3570
                   'void', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  3571
                   [param('bool', 'enable')])
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3572
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::SetIpv6StackInstall(bool enable) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3573
    cls.add_method('SetIpv6StackInstall', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3574
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3575
                   [param('bool', 'enable')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3576
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::SetRoutingHelper(ns3::Ipv4RoutingHelper const & routing) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3577
    cls.add_method('SetRoutingHelper', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3578
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3579
                   [param('ns3::Ipv4RoutingHelper const &', 'routing')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3580
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::SetRoutingHelper(ns3::Ipv6RoutingHelper const & routing) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3581
    cls.add_method('SetRoutingHelper', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3582
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3583
                   [param('ns3::Ipv6RoutingHelper const &', 'routing')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3584
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::SetTcp(std::string tid) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3585
    cls.add_method('SetTcp', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3586
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3587
                   [param('std::string', 'tid')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3588
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::SetTcp(std::string tid, std::string attr, ns3::AttributeValue const & val) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3589
    cls.add_method('SetTcp', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3590
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3591
                   [param('std::string', 'tid'), param('std::string', 'attr'), param('ns3::AttributeValue const &', 'val')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3592
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::EnableAsciiIpv4Internal(ns3::Ptr<ns3::OutputStreamWrapper> stream, std::string prefix, ns3::Ptr<ns3::Ipv4> ipv4, uint32_t interface, bool explicitFilename) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3593
    cls.add_method('EnableAsciiIpv4Internal', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3594
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3595
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3596
                   visibility='private', is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3597
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::EnableAsciiIpv6Internal(ns3::Ptr<ns3::OutputStreamWrapper> stream, std::string prefix, ns3::Ptr<ns3::Ipv6> ipv6, uint32_t interface, bool explicitFilename) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3598
    cls.add_method('EnableAsciiIpv6Internal', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3599
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3600
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3601
                   visibility='private', is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3602
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::EnablePcapIpv4Internal(std::string prefix, ns3::Ptr<ns3::Ipv4> ipv4, uint32_t interface, bool explicitFilename) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3603
    cls.add_method('EnablePcapIpv4Internal', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3604
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3605
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3606
                   visibility='private', is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3607
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::EnablePcapIpv6Internal(std::string prefix, ns3::Ptr<ns3::Ipv6> ipv6, uint32_t interface, bool explicitFilename) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3608
    cls.add_method('EnablePcapIpv6Internal', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3609
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3610
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3611
                   visibility='private', is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3612
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3613
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3614
def register_Ns3Ipv4Header_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3615
    ## ipv4-header.h (module 'internet'): ns3::Ipv4Header::Ipv4Header(ns3::Ipv4Header const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3616
    cls.add_constructor([param('ns3::Ipv4Header const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3617
    ## ipv4-header.h (module 'internet'): ns3::Ipv4Header::Ipv4Header() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3618
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3619
    ## ipv4-header.h (module 'internet'): uint32_t ns3::Ipv4Header::Deserialize(ns3::Buffer::Iterator start) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3620
    cls.add_method('Deserialize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3621
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3622
                   [param('ns3::Buffer::Iterator', 'start')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3623
                   is_virtual=True)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3624
    ## ipv4-header.h (module 'internet'): std::string ns3::Ipv4Header::DscpTypeToString(ns3::Ipv4Header::DscpType dscp) const [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3625
    cls.add_method('DscpTypeToString', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3626
                   'std::string', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3627
                   [param('ns3::Ipv4Header::DscpType', 'dscp')], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3628
                   is_const=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3629
    ## ipv4-header.h (module 'internet'): std::string ns3::Ipv4Header::EcnTypeToString(ns3::Ipv4Header::EcnType ecn) const [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3630
    cls.add_method('EcnTypeToString', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3631
                   'std::string', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3632
                   [param('ns3::Ipv4Header::EcnType', 'ecn')], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3633
                   is_const=True)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3634
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::EnableChecksum() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3635
    cls.add_method('EnableChecksum', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3636
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3637
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3638
    ## ipv4-header.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4Header::GetDestination() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3639
    cls.add_method('GetDestination', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3640
                   'ns3::Ipv4Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3641
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3642
                   is_const=True)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3643
    ## ipv4-header.h (module 'internet'): ns3::Ipv4Header::DscpType ns3::Ipv4Header::GetDscp() const [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3644
    cls.add_method('GetDscp', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3645
                   'ns3::Ipv4Header::DscpType', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3646
                   [], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3647
                   is_const=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3648
    ## ipv4-header.h (module 'internet'): ns3::Ipv4Header::EcnType ns3::Ipv4Header::GetEcn() const [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3649
    cls.add_method('GetEcn', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3650
                   'ns3::Ipv4Header::EcnType', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3651
                   [], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3652
                   is_const=True)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3653
    ## ipv4-header.h (module 'internet'): uint16_t ns3::Ipv4Header::GetFragmentOffset() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3654
    cls.add_method('GetFragmentOffset', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3655
                   'uint16_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3656
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3657
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3658
    ## ipv4-header.h (module 'internet'): uint16_t ns3::Ipv4Header::GetIdentification() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3659
    cls.add_method('GetIdentification', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3660
                   'uint16_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3661
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3662
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3663
    ## ipv4-header.h (module 'internet'): ns3::TypeId ns3::Ipv4Header::GetInstanceTypeId() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3664
    cls.add_method('GetInstanceTypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3665
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3666
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3667
                   is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3668
    ## ipv4-header.h (module 'internet'): uint16_t ns3::Ipv4Header::GetPayloadSize() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3669
    cls.add_method('GetPayloadSize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3670
                   'uint16_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3671
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3672
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3673
    ## ipv4-header.h (module 'internet'): uint8_t ns3::Ipv4Header::GetProtocol() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3674
    cls.add_method('GetProtocol', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3675
                   'uint8_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3676
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3677
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3678
    ## ipv4-header.h (module 'internet'): uint32_t ns3::Ipv4Header::GetSerializedSize() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3679
    cls.add_method('GetSerializedSize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3680
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3681
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3682
                   is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3683
    ## ipv4-header.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4Header::GetSource() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3684
    cls.add_method('GetSource', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3685
                   'ns3::Ipv4Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3686
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3687
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3688
    ## ipv4-header.h (module 'internet'): uint8_t ns3::Ipv4Header::GetTos() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3689
    cls.add_method('GetTos', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3690
                   'uint8_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3691
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3692
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3693
    ## ipv4-header.h (module 'internet'): uint8_t ns3::Ipv4Header::GetTtl() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3694
    cls.add_method('GetTtl', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3695
                   'uint8_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3696
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3697
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3698
    ## ipv4-header.h (module 'internet'): static ns3::TypeId ns3::Ipv4Header::GetTypeId() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3699
    cls.add_method('GetTypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3700
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3701
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3702
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3703
    ## ipv4-header.h (module 'internet'): bool ns3::Ipv4Header::IsChecksumOk() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3704
    cls.add_method('IsChecksumOk', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3705
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3706
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3707
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3708
    ## ipv4-header.h (module 'internet'): bool ns3::Ipv4Header::IsDontFragment() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3709
    cls.add_method('IsDontFragment', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3710
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3711
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3712
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3713
    ## ipv4-header.h (module 'internet'): bool ns3::Ipv4Header::IsLastFragment() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3714
    cls.add_method('IsLastFragment', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3715
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3716
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3717
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3718
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::Print(std::ostream & os) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3719
    cls.add_method('Print', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3720
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3721
                   [param('std::ostream &', 'os')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3722
                   is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3723
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::Serialize(ns3::Buffer::Iterator start) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3724
    cls.add_method('Serialize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3725
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3726
                   [param('ns3::Buffer::Iterator', 'start')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3727
                   is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3728
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetDestination(ns3::Ipv4Address destination) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3729
    cls.add_method('SetDestination', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3730
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3731
                   [param('ns3::Ipv4Address', 'destination')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3732
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetDontFragment() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3733
    cls.add_method('SetDontFragment', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3734
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3735
                   [])
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3736
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetDscp(ns3::Ipv4Header::DscpType dscp) [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3737
    cls.add_method('SetDscp', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3738
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3739
                   [param('ns3::Ipv4Header::DscpType', 'dscp')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3740
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetEcn(ns3::Ipv4Header::EcnType ecn) [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3741
    cls.add_method('SetEcn', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3742
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3743
                   [param('ns3::Ipv4Header::EcnType', 'ecn')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3744
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetFragmentOffset(uint16_t offsetBytes) [member function]
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3745
    cls.add_method('SetFragmentOffset', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3746
                   'void', 
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3747
                   [param('uint16_t', 'offsetBytes')])
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3748
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetIdentification(uint16_t identification) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3749
    cls.add_method('SetIdentification', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3750
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3751
                   [param('uint16_t', 'identification')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3752
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetLastFragment() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3753
    cls.add_method('SetLastFragment', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3754
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3755
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3756
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetMayFragment() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3757
    cls.add_method('SetMayFragment', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3758
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3759
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3760
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetMoreFragments() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3761
    cls.add_method('SetMoreFragments', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3762
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3763
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3764
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetPayloadSize(uint16_t size) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3765
    cls.add_method('SetPayloadSize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3766
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3767
                   [param('uint16_t', 'size')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3768
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetProtocol(uint8_t num) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3769
    cls.add_method('SetProtocol', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3770
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3771
                   [param('uint8_t', 'num')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3772
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetSource(ns3::Ipv4Address source) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3773
    cls.add_method('SetSource', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3774
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3775
                   [param('ns3::Ipv4Address', 'source')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3776
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetTos(uint8_t tos) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3777
    cls.add_method('SetTos', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3778
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3779
                   [param('uint8_t', 'tos')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3780
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetTtl(uint8_t ttl) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3781
    cls.add_method('SetTtl', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3782
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3783
                   [param('uint8_t', 'ttl')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3784
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3785
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3786
def register_Ns3Ipv6Header_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3787
    ## ipv6-header.h (module 'internet'): ns3::Ipv6Header::Ipv6Header(ns3::Ipv6Header const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3788
    cls.add_constructor([param('ns3::Ipv6Header const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3789
    ## ipv6-header.h (module 'internet'): ns3::Ipv6Header::Ipv6Header() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3790
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3791
    ## ipv6-header.h (module 'internet'): uint32_t ns3::Ipv6Header::Deserialize(ns3::Buffer::Iterator start) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3792
    cls.add_method('Deserialize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3793
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3794
                   [param('ns3::Buffer::Iterator', 'start')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3795
                   is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3796
    ## ipv6-header.h (module 'internet'): ns3::Ipv6Address ns3::Ipv6Header::GetDestinationAddress() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3797
    cls.add_method('GetDestinationAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3798
                   'ns3::Ipv6Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3799
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3800
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3801
    ## ipv6-header.h (module 'internet'): uint32_t ns3::Ipv6Header::GetFlowLabel() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3802
    cls.add_method('GetFlowLabel', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3803
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3804
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3805
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3806
    ## ipv6-header.h (module 'internet'): uint8_t ns3::Ipv6Header::GetHopLimit() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3807
    cls.add_method('GetHopLimit', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3808
                   'uint8_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3809
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3810
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3811
    ## ipv6-header.h (module 'internet'): ns3::TypeId ns3::Ipv6Header::GetInstanceTypeId() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3812
    cls.add_method('GetInstanceTypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3813
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3814
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3815
                   is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3816
    ## ipv6-header.h (module 'internet'): uint8_t ns3::Ipv6Header::GetNextHeader() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3817
    cls.add_method('GetNextHeader', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3818
                   'uint8_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3819
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3820
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3821
    ## ipv6-header.h (module 'internet'): uint16_t ns3::Ipv6Header::GetPayloadLength() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3822
    cls.add_method('GetPayloadLength', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3823
                   'uint16_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3824
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3825
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3826
    ## ipv6-header.h (module 'internet'): uint32_t ns3::Ipv6Header::GetSerializedSize() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3827
    cls.add_method('GetSerializedSize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3828
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3829
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3830
                   is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3831
    ## ipv6-header.h (module 'internet'): ns3::Ipv6Address ns3::Ipv6Header::GetSourceAddress() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3832
    cls.add_method('GetSourceAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3833
                   'ns3::Ipv6Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3834
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3835
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3836
    ## ipv6-header.h (module 'internet'): uint8_t ns3::Ipv6Header::GetTrafficClass() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3837
    cls.add_method('GetTrafficClass', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3838
                   'uint8_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3839
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3840
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3841
    ## ipv6-header.h (module 'internet'): static ns3::TypeId ns3::Ipv6Header::GetTypeId() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3842
    cls.add_method('GetTypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3843
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3844
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3845
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3846
    ## ipv6-header.h (module 'internet'): void ns3::Ipv6Header::Print(std::ostream & os) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3847
    cls.add_method('Print', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3848
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3849
                   [param('std::ostream &', 'os')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3850
                   is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3851
    ## ipv6-header.h (module 'internet'): void ns3::Ipv6Header::Serialize(ns3::Buffer::Iterator start) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3852
    cls.add_method('Serialize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3853
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3854
                   [param('ns3::Buffer::Iterator', 'start')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3855
                   is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3856
    ## ipv6-header.h (module 'internet'): void ns3::Ipv6Header::SetDestinationAddress(ns3::Ipv6Address dst) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3857
    cls.add_method('SetDestinationAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3858
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3859
                   [param('ns3::Ipv6Address', 'dst')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3860
    ## ipv6-header.h (module 'internet'): void ns3::Ipv6Header::SetFlowLabel(uint32_t flow) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3861
    cls.add_method('SetFlowLabel', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3862
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3863
                   [param('uint32_t', 'flow')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3864
    ## ipv6-header.h (module 'internet'): void ns3::Ipv6Header::SetHopLimit(uint8_t limit) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3865
    cls.add_method('SetHopLimit', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3866
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3867
                   [param('uint8_t', 'limit')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3868
    ## ipv6-header.h (module 'internet'): void ns3::Ipv6Header::SetNextHeader(uint8_t next) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3869
    cls.add_method('SetNextHeader', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3870
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3871
                   [param('uint8_t', 'next')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3872
    ## ipv6-header.h (module 'internet'): void ns3::Ipv6Header::SetPayloadLength(uint16_t len) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3873
    cls.add_method('SetPayloadLength', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3874
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3875
                   [param('uint16_t', 'len')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3876
    ## ipv6-header.h (module 'internet'): void ns3::Ipv6Header::SetSourceAddress(ns3::Ipv6Address src) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3877
    cls.add_method('SetSourceAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3878
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3879
                   [param('ns3::Ipv6Address', 'src')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3880
    ## ipv6-header.h (module 'internet'): void ns3::Ipv6Header::SetTrafficClass(uint8_t traffic) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3881
    cls.add_method('SetTrafficClass', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3882
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3883
                   [param('uint8_t', 'traffic')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3884
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3885
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3886
def register_Ns3Object_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3887
    ## object.h (module 'core'): ns3::Object::Object() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3888
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3889
    ## object.h (module 'core'): void ns3::Object::AggregateObject(ns3::Ptr<ns3::Object> other) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3890
    cls.add_method('AggregateObject', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3891
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3892
                   [param('ns3::Ptr< ns3::Object >', 'other')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3893
    ## object.h (module 'core'): void ns3::Object::Dispose() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3894
    cls.add_method('Dispose', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3895
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3896
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3897
    ## object.h (module 'core'): ns3::Object::AggregateIterator ns3::Object::GetAggregateIterator() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3898
    cls.add_method('GetAggregateIterator', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3899
                   'ns3::Object::AggregateIterator', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3900
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3901
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3902
    ## object.h (module 'core'): ns3::TypeId ns3::Object::GetInstanceTypeId() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3903
    cls.add_method('GetInstanceTypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3904
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3905
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3906
                   is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3907
    ## object.h (module 'core'): static ns3::TypeId ns3::Object::GetTypeId() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3908
    cls.add_method('GetTypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3909
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3910
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3911
                   is_static=True)
9708
443bde2aa701 Update Python bindings
Mitch Watrous
parents: 9294
diff changeset
  3912
    ## object.h (module 'core'): void ns3::Object::Initialize() [member function]
443bde2aa701 Update Python bindings
Mitch Watrous
parents: 9294
diff changeset
  3913
    cls.add_method('Initialize', 
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3914
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3915
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3916
    ## object.h (module 'core'): ns3::Object::Object(ns3::Object const & o) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3917
    cls.add_constructor([param('ns3::Object const &', 'o')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3918
                        visibility='protected')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3919
    ## object.h (module 'core'): void ns3::Object::DoDispose() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3920
    cls.add_method('DoDispose', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3921
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3922
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3923
                   visibility='protected', is_virtual=True)
9708
443bde2aa701 Update Python bindings
Mitch Watrous
parents: 9294
diff changeset
  3924
    ## object.h (module 'core'): void ns3::Object::DoInitialize() [member function]
443bde2aa701 Update Python bindings
Mitch Watrous
parents: 9294
diff changeset
  3925
    cls.add_method('DoInitialize', 
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3926
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3927
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3928
                   visibility='protected', is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3929
    ## object.h (module 'core'): void ns3::Object::NotifyNewAggregate() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3930
    cls.add_method('NotifyNewAggregate', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3931
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3932
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3933
                   visibility='protected', is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3934
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3935
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3936
def register_Ns3ObjectAggregateIterator_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3937
    ## object.h (module 'core'): ns3::Object::AggregateIterator::AggregateIterator(ns3::Object::AggregateIterator const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3938
    cls.add_constructor([param('ns3::Object::AggregateIterator const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3939
    ## object.h (module 'core'): ns3::Object::AggregateIterator::AggregateIterator() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3940
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3941
    ## object.h (module 'core'): bool ns3::Object::AggregateIterator::HasNext() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3942
    cls.add_method('HasNext', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3943
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3944
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3945
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3946
    ## object.h (module 'core'): ns3::Ptr<ns3::Object const> ns3::Object::AggregateIterator::Next() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3947
    cls.add_method('Next', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3948
                   'ns3::Ptr< ns3::Object const >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3949
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3950
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3951
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3952
def register_Ns3PcapFileWrapper_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3953
    ## pcap-file-wrapper.h (module 'network'): static ns3::TypeId ns3::PcapFileWrapper::GetTypeId() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3954
    cls.add_method('GetTypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3955
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3956
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3957
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3958
    ## pcap-file-wrapper.h (module 'network'): ns3::PcapFileWrapper::PcapFileWrapper() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3959
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3960
    ## pcap-file-wrapper.h (module 'network'): bool ns3::PcapFileWrapper::Fail() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3961
    cls.add_method('Fail', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3962
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3963
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3964
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3965
    ## pcap-file-wrapper.h (module 'network'): bool ns3::PcapFileWrapper::Eof() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3966
    cls.add_method('Eof', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3967
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3968
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3969
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3970
    ## pcap-file-wrapper.h (module 'network'): void ns3::PcapFileWrapper::Clear() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3971
    cls.add_method('Clear', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3972
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3973
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3974
    ## pcap-file-wrapper.h (module 'network'): void ns3::PcapFileWrapper::Open(std::string const & filename, std::_Ios_Openmode mode) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3975
    cls.add_method('Open', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3976
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3977
                   [param('std::string const &', 'filename'), param('std::_Ios_Openmode', 'mode')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3978
    ## pcap-file-wrapper.h (module 'network'): void ns3::PcapFileWrapper::Close() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3979
    cls.add_method('Close', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3980
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3981
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3982
    ## pcap-file-wrapper.h (module 'network'): void ns3::PcapFileWrapper::Init(uint32_t dataLinkType, uint32_t snapLen=std::numeric_limits<unsigned int>::max(), int32_t tzCorrection=ns3::PcapFile::ZONE_DEFAULT) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3983
    cls.add_method('Init', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3984
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3985
                   [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')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3986
    ## pcap-file-wrapper.h (module 'network'): void ns3::PcapFileWrapper::Write(ns3::Time t, ns3::Ptr<const ns3::Packet> p) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3987
    cls.add_method('Write', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3988
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3989
                   [param('ns3::Time', 't'), param('ns3::Ptr< ns3::Packet const >', 'p')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3990
    ## pcap-file-wrapper.h (module 'network'): void ns3::PcapFileWrapper::Write(ns3::Time t, ns3::Header & header, ns3::Ptr<const ns3::Packet> p) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3991
    cls.add_method('Write', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3992
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3993
                   [param('ns3::Time', 't'), param('ns3::Header &', 'header'), param('ns3::Ptr< ns3::Packet const >', 'p')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3994
    ## pcap-file-wrapper.h (module 'network'): void ns3::PcapFileWrapper::Write(ns3::Time t, uint8_t const * buffer, uint32_t length) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3995
    cls.add_method('Write', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3996
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3997
                   [param('ns3::Time', 't'), param('uint8_t const *', 'buffer'), param('uint32_t', 'length')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3998
    ## pcap-file-wrapper.h (module 'network'): uint32_t ns3::PcapFileWrapper::GetMagic() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3999
    cls.add_method('GetMagic', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4000
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4001
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4002
    ## pcap-file-wrapper.h (module 'network'): uint16_t ns3::PcapFileWrapper::GetVersionMajor() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4003
    cls.add_method('GetVersionMajor', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4004
                   'uint16_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4005
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4006
    ## pcap-file-wrapper.h (module 'network'): uint16_t ns3::PcapFileWrapper::GetVersionMinor() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4007
    cls.add_method('GetVersionMinor', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4008
                   'uint16_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4009
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4010
    ## pcap-file-wrapper.h (module 'network'): int32_t ns3::PcapFileWrapper::GetTimeZoneOffset() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4011
    cls.add_method('GetTimeZoneOffset', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4012
                   'int32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4013
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4014
    ## pcap-file-wrapper.h (module 'network'): uint32_t ns3::PcapFileWrapper::GetSigFigs() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4015
    cls.add_method('GetSigFigs', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4016
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4017
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4018
    ## pcap-file-wrapper.h (module 'network'): uint32_t ns3::PcapFileWrapper::GetSnapLen() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4019
    cls.add_method('GetSnapLen', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4020
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4021
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4022
    ## pcap-file-wrapper.h (module 'network'): uint32_t ns3::PcapFileWrapper::GetDataLinkType() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4023
    cls.add_method('GetDataLinkType', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4024
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4025
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4026
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4027
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4028
def register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4029
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >::SimpleRefCount() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4030
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4031
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >::SimpleRefCount(ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> > const & o) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4032
    cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter< ns3::AttributeAccessor > > const &', 'o')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4033
    ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >::Cleanup() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4034
    cls.add_method('Cleanup', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4035
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4036
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4037
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4038
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4039
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4040
def register_Ns3SimpleRefCount__Ns3AttributeChecker_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeChecker__gt___methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4041
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >::SimpleRefCount() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4042
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4043
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >::SimpleRefCount(ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> > const & o) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4044
    cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter< ns3::AttributeChecker > > const &', 'o')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4045
    ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >::Cleanup() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4046
    cls.add_method('Cleanup', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4047
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4048
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4049
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4050
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4051
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4052
def register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeValue__gt___methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4053
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >::SimpleRefCount() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4054
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4055
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >::SimpleRefCount(ns3::SimpleRefCount<ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> > const & o) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4056
    cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter< ns3::AttributeValue > > const &', 'o')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4057
    ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >::Cleanup() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4058
    cls.add_method('Cleanup', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4059
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4060
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4061
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4062
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4063
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4064
def register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__lt__ns3CallbackImplBase__gt___methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4065
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >::SimpleRefCount() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4066
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4067
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >::SimpleRefCount(ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> > const & o) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4068
    cls.add_constructor([param('ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter< ns3::CallbackImplBase > > const &', 'o')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4069
    ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >::Cleanup() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4070
    cls.add_method('Cleanup', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4071
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4072
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4073
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4074
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4075
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4076
def register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4077
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >::SimpleRefCount() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4078
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4079
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >::SimpleRefCount(ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> > const & o) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4080
    cls.add_constructor([param('ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter< ns3::EventImpl > > const &', 'o')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4081
    ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >::Cleanup() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4082
    cls.add_method('Cleanup', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4083
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4084
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4085
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4086
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4087
10183
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  4088
def register_Ns3SimpleRefCount__Ns3HashImplementation_Ns3Empty_Ns3DefaultDeleter__lt__ns3HashImplementation__gt___methods(root_module, cls):
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  4089
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Hash::Implementation, ns3::empty, ns3::DefaultDeleter<ns3::Hash::Implementation> >::SimpleRefCount() [constructor]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  4090
    cls.add_constructor([])
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  4091
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Hash::Implementation, ns3::empty, ns3::DefaultDeleter<ns3::Hash::Implementation> >::SimpleRefCount(ns3::SimpleRefCount<ns3::Hash::Implementation, ns3::empty, ns3::DefaultDeleter<ns3::Hash::Implementation> > const & o) [copy constructor]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  4092
    cls.add_constructor([param('ns3::SimpleRefCount< ns3::Hash::Implementation, ns3::empty, ns3::DefaultDeleter< ns3::Hash::Implementation > > const &', 'o')])
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  4093
    ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::Hash::Implementation, ns3::empty, ns3::DefaultDeleter<ns3::Hash::Implementation> >::Cleanup() [member function]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  4094
    cls.add_method('Cleanup', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  4095
                   'void', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  4096
                   [], 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  4097
                   is_static=True)
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  4098
    return
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  4099
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4100
def register_Ns3SimpleRefCount__Ns3Ipv4MulticastRoute_Ns3Empty_Ns3DefaultDeleter__lt__ns3Ipv4MulticastRoute__gt___methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4101
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4MulticastRoute> >::SimpleRefCount() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4102
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4103
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4MulticastRoute> >::SimpleRefCount(ns3::SimpleRefCount<ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4MulticastRoute> > const & o) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4104
    cls.add_constructor([param('ns3::SimpleRefCount< ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter< ns3::Ipv4MulticastRoute > > const &', 'o')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4105
    ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4MulticastRoute> >::Cleanup() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4106
    cls.add_method('Cleanup', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4107
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4108
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4109
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4110
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4111
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4112
def register_Ns3SimpleRefCount__Ns3Ipv4Route_Ns3Empty_Ns3DefaultDeleter__lt__ns3Ipv4Route__gt___methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4113
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4Route> >::SimpleRefCount() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4114
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4115
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4Route> >::SimpleRefCount(ns3::SimpleRefCount<ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4Route> > const & o) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4116
    cls.add_constructor([param('ns3::SimpleRefCount< ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter< ns3::Ipv4Route > > const &', 'o')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4117
    ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4Route> >::Cleanup() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4118
    cls.add_method('Cleanup', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4119
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4120
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4121
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4122
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4123
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4124
def register_Ns3SimpleRefCount__Ns3NixVector_Ns3Empty_Ns3DefaultDeleter__lt__ns3NixVector__gt___methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4125
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >::SimpleRefCount() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4126
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4127
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >::SimpleRefCount(ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> > const & o) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4128
    cls.add_constructor([param('ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter< ns3::NixVector > > const &', 'o')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4129
    ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >::Cleanup() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4130
    cls.add_method('Cleanup', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4131
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4132
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4133
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4134
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4135
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4136
def register_Ns3SimpleRefCount__Ns3OutputStreamWrapper_Ns3Empty_Ns3DefaultDeleter__lt__ns3OutputStreamWrapper__gt___methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4137
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter<ns3::OutputStreamWrapper> >::SimpleRefCount() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4138
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4139
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter<ns3::OutputStreamWrapper> >::SimpleRefCount(ns3::SimpleRefCount<ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter<ns3::OutputStreamWrapper> > const & o) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4140
    cls.add_constructor([param('ns3::SimpleRefCount< ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter< ns3::OutputStreamWrapper > > const &', 'o')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4141
    ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter<ns3::OutputStreamWrapper> >::Cleanup() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4142
    cls.add_method('Cleanup', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4143
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4144
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4145
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4146
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4147
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4148
def register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4149
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >::SimpleRefCount() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4150
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4151
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >::SimpleRefCount(ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> > const & o) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4152
    cls.add_constructor([param('ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter< ns3::Packet > > const &', 'o')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4153
    ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >::Cleanup() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4154
    cls.add_method('Cleanup', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4155
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4156
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4157
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4158
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4159
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4160
def register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, cls):
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4161
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >::SimpleRefCount() [constructor]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4162
    cls.add_constructor([])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4163
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >::SimpleRefCount(ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> > const & o) [copy constructor]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4164
    cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > const &', 'o')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4165
    ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >::Cleanup() [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4166
    cls.add_method('Cleanup', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4167
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4168
                   [], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4169
                   is_static=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4170
    return
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4171
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4172
def register_Ns3Socket_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4173
    ## socket.h (module 'network'): ns3::Socket::Socket(ns3::Socket const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4174
    cls.add_constructor([param('ns3::Socket const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4175
    ## socket.h (module 'network'): ns3::Socket::Socket() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4176
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4177
    ## socket.h (module 'network'): int ns3::Socket::Bind(ns3::Address const & address) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4178
    cls.add_method('Bind', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4179
                   'int', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4180
                   [param('ns3::Address const &', 'address')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4181
                   is_pure_virtual=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4182
    ## socket.h (module 'network'): int ns3::Socket::Bind() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4183
    cls.add_method('Bind', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4184
                   'int', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4185
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4186
                   is_pure_virtual=True, is_virtual=True)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4187
    ## socket.h (module 'network'): int ns3::Socket::Bind6() [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4188
    cls.add_method('Bind6', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4189
                   'int', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4190
                   [], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4191
                   is_pure_virtual=True, is_virtual=True)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4192
    ## socket.h (module 'network'): void ns3::Socket::BindToNetDevice(ns3::Ptr<ns3::NetDevice> netdevice) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4193
    cls.add_method('BindToNetDevice', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4194
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4195
                   [param('ns3::Ptr< ns3::NetDevice >', 'netdevice')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4196
                   is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4197
    ## socket.h (module 'network'): int ns3::Socket::Close() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4198
    cls.add_method('Close', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4199
                   'int', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4200
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4201
                   is_pure_virtual=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4202
    ## socket.h (module 'network'): int ns3::Socket::Connect(ns3::Address const & address) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4203
    cls.add_method('Connect', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4204
                   'int', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4205
                   [param('ns3::Address const &', 'address')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4206
                   is_pure_virtual=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4207
    ## socket.h (module 'network'): static ns3::Ptr<ns3::Socket> ns3::Socket::CreateSocket(ns3::Ptr<ns3::Node> node, ns3::TypeId tid) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4208
    cls.add_method('CreateSocket', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4209
                   'ns3::Ptr< ns3::Socket >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4210
                   [param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::TypeId', 'tid')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4211
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4212
    ## socket.h (module 'network'): bool ns3::Socket::GetAllowBroadcast() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4213
    cls.add_method('GetAllowBroadcast', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4214
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4215
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4216
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4217
    ## socket.h (module 'network'): ns3::Ptr<ns3::NetDevice> ns3::Socket::GetBoundNetDevice() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4218
    cls.add_method('GetBoundNetDevice', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4219
                   'ns3::Ptr< ns3::NetDevice >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4220
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4221
    ## socket.h (module 'network'): ns3::Socket::SocketErrno ns3::Socket::GetErrno() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4222
    cls.add_method('GetErrno', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4223
                   'ns3::Socket::SocketErrno', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4224
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4225
                   is_pure_virtual=True, is_const=True, is_virtual=True)
9190
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4226
    ## socket.h (module 'network'): uint8_t ns3::Socket::GetIpTos() const [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4227
    cls.add_method('GetIpTos', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4228
                   'uint8_t', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4229
                   [], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4230
                   is_const=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4231
    ## socket.h (module 'network'): uint8_t ns3::Socket::GetIpTtl() const [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4232
    cls.add_method('GetIpTtl', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4233
                   'uint8_t', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4234
                   [], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4235
                   is_const=True, is_virtual=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4236
    ## socket.h (module 'network'): uint8_t ns3::Socket::GetIpv6HopLimit() const [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4237
    cls.add_method('GetIpv6HopLimit', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4238
                   'uint8_t', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4239
                   [], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4240
                   is_const=True, is_virtual=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4241
    ## socket.h (module 'network'): uint8_t ns3::Socket::GetIpv6Tclass() const [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4242
    cls.add_method('GetIpv6Tclass', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4243
                   'uint8_t', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4244
                   [], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4245
                   is_const=True)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4246
    ## socket.h (module 'network'): ns3::Ptr<ns3::Node> ns3::Socket::GetNode() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4247
    cls.add_method('GetNode', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4248
                   'ns3::Ptr< ns3::Node >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4249
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4250
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4251
    ## socket.h (module 'network'): uint32_t ns3::Socket::GetRxAvailable() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4252
    cls.add_method('GetRxAvailable', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4253
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4254
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4255
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4256
    ## socket.h (module 'network'): int ns3::Socket::GetSockName(ns3::Address & address) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4257
    cls.add_method('GetSockName', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4258
                   'int', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4259
                   [param('ns3::Address &', 'address')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4260
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4261
    ## socket.h (module 'network'): ns3::Socket::SocketType ns3::Socket::GetSocketType() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4262
    cls.add_method('GetSocketType', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4263
                   'ns3::Socket::SocketType', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4264
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4265
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4266
    ## socket.h (module 'network'): uint32_t ns3::Socket::GetTxAvailable() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4267
    cls.add_method('GetTxAvailable', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4268
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4269
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4270
                   is_pure_virtual=True, is_const=True, is_virtual=True)
7874
3eda7174ac52 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7873
diff changeset
  4271
    ## socket.h (module 'network'): static ns3::TypeId ns3::Socket::GetTypeId() [member function]
3eda7174ac52 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7873
diff changeset
  4272
    cls.add_method('GetTypeId', 
3eda7174ac52 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7873
diff changeset
  4273
                   'ns3::TypeId', 
3eda7174ac52 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7873
diff changeset
  4274
                   [], 
3eda7174ac52 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7873
diff changeset
  4275
                   is_static=True)
9190
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4276
    ## socket.h (module 'network'): bool ns3::Socket::IsIpRecvTos() const [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4277
    cls.add_method('IsIpRecvTos', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4278
                   'bool', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4279
                   [], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4280
                   is_const=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4281
    ## socket.h (module 'network'): bool ns3::Socket::IsIpRecvTtl() const [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4282
    cls.add_method('IsIpRecvTtl', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4283
                   'bool', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4284
                   [], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4285
                   is_const=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4286
    ## socket.h (module 'network'): bool ns3::Socket::IsIpv6RecvHopLimit() const [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4287
    cls.add_method('IsIpv6RecvHopLimit', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4288
                   'bool', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4289
                   [], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4290
                   is_const=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4291
    ## socket.h (module 'network'): bool ns3::Socket::IsIpv6RecvTclass() const [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4292
    cls.add_method('IsIpv6RecvTclass', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4293
                   'bool', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4294
                   [], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4295
                   is_const=True)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4296
    ## socket.h (module 'network'): bool ns3::Socket::IsRecvPktInfo() const [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4297
    cls.add_method('IsRecvPktInfo', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4298
                   'bool', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4299
                   [], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4300
                   is_const=True)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4301
    ## socket.h (module 'network'): int ns3::Socket::Listen() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4302
    cls.add_method('Listen', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4303
                   'int', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4304
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4305
                   is_pure_virtual=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4306
    ## socket.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Socket::Recv(uint32_t maxSize, uint32_t flags) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4307
    cls.add_method('Recv', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4308
                   'ns3::Ptr< ns3::Packet >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4309
                   [param('uint32_t', 'maxSize'), param('uint32_t', 'flags')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4310
                   is_pure_virtual=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4311
    ## socket.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Socket::Recv() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4312
    cls.add_method('Recv', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4313
                   'ns3::Ptr< ns3::Packet >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4314
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4315
    ## socket.h (module 'network'): int ns3::Socket::Recv(uint8_t * buf, uint32_t size, uint32_t flags) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4316
    cls.add_method('Recv', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4317
                   'int', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4318
                   [param('uint8_t *', 'buf'), param('uint32_t', 'size'), param('uint32_t', 'flags')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4319
    ## socket.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Socket::RecvFrom(uint32_t maxSize, uint32_t flags, ns3::Address & fromAddress) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4320
    cls.add_method('RecvFrom', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4321
                   'ns3::Ptr< ns3::Packet >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4322
                   [param('uint32_t', 'maxSize'), param('uint32_t', 'flags'), param('ns3::Address &', 'fromAddress')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4323
                   is_pure_virtual=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4324
    ## socket.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Socket::RecvFrom(ns3::Address & fromAddress) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4325
    cls.add_method('RecvFrom', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4326
                   'ns3::Ptr< ns3::Packet >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4327
                   [param('ns3::Address &', 'fromAddress')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4328
    ## socket.h (module 'network'): int ns3::Socket::RecvFrom(uint8_t * buf, uint32_t size, uint32_t flags, ns3::Address & fromAddress) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4329
    cls.add_method('RecvFrom', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4330
                   'int', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4331
                   [param('uint8_t *', 'buf'), param('uint32_t', 'size'), param('uint32_t', 'flags'), param('ns3::Address &', 'fromAddress')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4332
    ## socket.h (module 'network'): int ns3::Socket::Send(ns3::Ptr<ns3::Packet> p, uint32_t flags) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4333
    cls.add_method('Send', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4334
                   'int', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4335
                   [param('ns3::Ptr< ns3::Packet >', 'p'), param('uint32_t', 'flags')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4336
                   is_pure_virtual=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4337
    ## socket.h (module 'network'): int ns3::Socket::Send(ns3::Ptr<ns3::Packet> p) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4338
    cls.add_method('Send', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4339
                   'int', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4340
                   [param('ns3::Ptr< ns3::Packet >', 'p')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4341
    ## socket.h (module 'network'): int ns3::Socket::Send(uint8_t const * buf, uint32_t size, uint32_t flags) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4342
    cls.add_method('Send', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4343
                   'int', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4344
                   [param('uint8_t const *', 'buf'), param('uint32_t', 'size'), param('uint32_t', 'flags')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4345
    ## socket.h (module 'network'): int ns3::Socket::SendTo(ns3::Ptr<ns3::Packet> p, uint32_t flags, ns3::Address const & toAddress) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4346
    cls.add_method('SendTo', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4347
                   'int', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4348
                   [param('ns3::Ptr< ns3::Packet >', 'p'), param('uint32_t', 'flags'), param('ns3::Address const &', 'toAddress')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4349
                   is_pure_virtual=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4350
    ## socket.h (module 'network'): int ns3::Socket::SendTo(uint8_t const * buf, uint32_t size, uint32_t flags, ns3::Address const & address) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4351
    cls.add_method('SendTo', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4352
                   'int', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4353
                   [param('uint8_t const *', 'buf'), param('uint32_t', 'size'), param('uint32_t', 'flags'), param('ns3::Address const &', 'address')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4354
    ## socket.h (module 'network'): void ns3::Socket::SetAcceptCallback(ns3::Callback<bool, ns3::Ptr<ns3::Socket>, ns3::Address const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> connectionRequest, ns3::Callback<void, ns3::Ptr<ns3::Socket>, ns3::Address const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> newConnectionCreated) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4355
    cls.add_method('SetAcceptCallback', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4356
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4357
                   [param('ns3::Callback< bool, ns3::Ptr< ns3::Socket >, ns3::Address const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'connectionRequest'), param('ns3::Callback< void, ns3::Ptr< ns3::Socket >, ns3::Address const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'newConnectionCreated')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4358
    ## socket.h (module 'network'): bool ns3::Socket::SetAllowBroadcast(bool allowBroadcast) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4359
    cls.add_method('SetAllowBroadcast', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4360
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4361
                   [param('bool', 'allowBroadcast')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4362
                   is_pure_virtual=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4363
    ## socket.h (module 'network'): void ns3::Socket::SetCloseCallbacks(ns3::Callback<void, ns3::Ptr<ns3::Socket>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> normalClose, ns3::Callback<void, ns3::Ptr<ns3::Socket>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> errorClose) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4364
    cls.add_method('SetCloseCallbacks', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4365
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4366
                   [param('ns3::Callback< void, ns3::Ptr< ns3::Socket >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'normalClose'), param('ns3::Callback< void, ns3::Ptr< ns3::Socket >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'errorClose')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4367
    ## socket.h (module 'network'): void ns3::Socket::SetConnectCallback(ns3::Callback<void, ns3::Ptr<ns3::Socket>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> connectionSucceeded, ns3::Callback<void, ns3::Ptr<ns3::Socket>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> connectionFailed) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4368
    cls.add_method('SetConnectCallback', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4369
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4370
                   [param('ns3::Callback< void, ns3::Ptr< ns3::Socket >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'connectionSucceeded'), param('ns3::Callback< void, ns3::Ptr< ns3::Socket >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'connectionFailed')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4371
    ## socket.h (module 'network'): void ns3::Socket::SetDataSentCallback(ns3::Callback<void, ns3::Ptr<ns3::Socket>, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> dataSent) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4372
    cls.add_method('SetDataSentCallback', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4373
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4374
                   [param('ns3::Callback< void, ns3::Ptr< ns3::Socket >, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'dataSent')])
9190
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4375
    ## socket.h (module 'network'): void ns3::Socket::SetIpRecvTos(bool ipv4RecvTos) [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4376
    cls.add_method('SetIpRecvTos', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4377
                   'void', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4378
                   [param('bool', 'ipv4RecvTos')])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4379
    ## socket.h (module 'network'): void ns3::Socket::SetIpRecvTtl(bool ipv4RecvTtl) [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4380
    cls.add_method('SetIpRecvTtl', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4381
                   'void', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4382
                   [param('bool', 'ipv4RecvTtl')])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4383
    ## socket.h (module 'network'): void ns3::Socket::SetIpTos(uint8_t ipTos) [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4384
    cls.add_method('SetIpTos', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4385
                   'void', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4386
                   [param('uint8_t', 'ipTos')])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4387
    ## socket.h (module 'network'): void ns3::Socket::SetIpTtl(uint8_t ipTtl) [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4388
    cls.add_method('SetIpTtl', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4389
                   'void', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4390
                   [param('uint8_t', 'ipTtl')], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4391
                   is_virtual=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4392
    ## socket.h (module 'network'): void ns3::Socket::SetIpv6HopLimit(uint8_t ipHopLimit) [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4393
    cls.add_method('SetIpv6HopLimit', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4394
                   'void', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4395
                   [param('uint8_t', 'ipHopLimit')], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4396
                   is_virtual=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4397
    ## socket.h (module 'network'): void ns3::Socket::SetIpv6RecvHopLimit(bool ipv6RecvHopLimit) [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4398
    cls.add_method('SetIpv6RecvHopLimit', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4399
                   'void', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4400
                   [param('bool', 'ipv6RecvHopLimit')])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4401
    ## socket.h (module 'network'): void ns3::Socket::SetIpv6RecvTclass(bool ipv6RecvTclass) [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4402
    cls.add_method('SetIpv6RecvTclass', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4403
                   'void', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4404
                   [param('bool', 'ipv6RecvTclass')])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4405
    ## socket.h (module 'network'): void ns3::Socket::SetIpv6Tclass(int ipTclass) [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4406
    cls.add_method('SetIpv6Tclass', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4407
                   'void', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4408
                   [param('int', 'ipTclass')])
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4409
    ## socket.h (module 'network'): void ns3::Socket::SetRecvCallback(ns3::Callback<void, ns3::Ptr<ns3::Socket>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> arg0) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4410
    cls.add_method('SetRecvCallback', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4411
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4412
                   [param('ns3::Callback< void, ns3::Ptr< ns3::Socket >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4413
    ## socket.h (module 'network'): void ns3::Socket::SetRecvPktInfo(bool flag) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4414
    cls.add_method('SetRecvPktInfo', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4415
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4416
                   [param('bool', 'flag')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4417
    ## socket.h (module 'network'): void ns3::Socket::SetSendCallback(ns3::Callback<void, ns3::Ptr<ns3::Socket>, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> sendCb) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4418
    cls.add_method('SetSendCallback', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4419
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4420
                   [param('ns3::Callback< void, ns3::Ptr< ns3::Socket >, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'sendCb')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4421
    ## socket.h (module 'network'): int ns3::Socket::ShutdownRecv() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4422
    cls.add_method('ShutdownRecv', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4423
                   'int', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4424
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4425
                   is_pure_virtual=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4426
    ## socket.h (module 'network'): int ns3::Socket::ShutdownSend() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4427
    cls.add_method('ShutdownSend', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4428
                   'int', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4429
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4430
                   is_pure_virtual=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4431
    ## socket.h (module 'network'): void ns3::Socket::DoDispose() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4432
    cls.add_method('DoDispose', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4433
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4434
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4435
                   visibility='protected', is_virtual=True)
9190
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4436
    ## socket.h (module 'network'): bool ns3::Socket::IsManualIpTos() const [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4437
    cls.add_method('IsManualIpTos', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4438
                   'bool', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4439
                   [], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4440
                   is_const=True, visibility='protected')
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4441
    ## socket.h (module 'network'): bool ns3::Socket::IsManualIpTtl() const [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4442
    cls.add_method('IsManualIpTtl', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4443
                   'bool', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4444
                   [], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4445
                   is_const=True, visibility='protected')
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4446
    ## socket.h (module 'network'): bool ns3::Socket::IsManualIpv6HopLimit() const [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4447
    cls.add_method('IsManualIpv6HopLimit', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4448
                   'bool', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4449
                   [], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4450
                   is_const=True, visibility='protected')
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4451
    ## socket.h (module 'network'): bool ns3::Socket::IsManualIpv6Tclass() const [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4452
    cls.add_method('IsManualIpv6Tclass', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4453
                   'bool', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4454
                   [], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4455
                   is_const=True, visibility='protected')
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4456
    ## socket.h (module 'network'): void ns3::Socket::NotifyConnectionFailed() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4457
    cls.add_method('NotifyConnectionFailed', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4458
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4459
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4460
                   visibility='protected')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4461
    ## socket.h (module 'network'): bool ns3::Socket::NotifyConnectionRequest(ns3::Address const & from) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4462
    cls.add_method('NotifyConnectionRequest', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4463
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4464
                   [param('ns3::Address const &', 'from')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4465
                   visibility='protected')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4466
    ## socket.h (module 'network'): void ns3::Socket::NotifyConnectionSucceeded() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4467
    cls.add_method('NotifyConnectionSucceeded', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4468
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4469
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4470
                   visibility='protected')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4471
    ## socket.h (module 'network'): void ns3::Socket::NotifyDataRecv() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4472
    cls.add_method('NotifyDataRecv', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4473
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4474
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4475
                   visibility='protected')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4476
    ## socket.h (module 'network'): void ns3::Socket::NotifyDataSent(uint32_t size) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4477
    cls.add_method('NotifyDataSent', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4478
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4479
                   [param('uint32_t', 'size')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4480
                   visibility='protected')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4481
    ## socket.h (module 'network'): void ns3::Socket::NotifyErrorClose() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4482
    cls.add_method('NotifyErrorClose', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4483
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4484
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4485
                   visibility='protected')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4486
    ## socket.h (module 'network'): void ns3::Socket::NotifyNewConnectionCreated(ns3::Ptr<ns3::Socket> socket, ns3::Address const & from) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4487
    cls.add_method('NotifyNewConnectionCreated', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4488
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4489
                   [param('ns3::Ptr< ns3::Socket >', 'socket'), param('ns3::Address const &', 'from')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4490
                   visibility='protected')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4491
    ## socket.h (module 'network'): void ns3::Socket::NotifyNormalClose() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4492
    cls.add_method('NotifyNormalClose', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4493
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4494
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4495
                   visibility='protected')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4496
    ## socket.h (module 'network'): void ns3::Socket::NotifySend(uint32_t spaceAvailable) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4497
    cls.add_method('NotifySend', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4498
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4499
                   [param('uint32_t', 'spaceAvailable')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4500
                   visibility='protected')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4501
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4502
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4503
def register_Ns3SocketAddressTag_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4504
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag(ns3::SocketAddressTag const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4505
    cls.add_constructor([param('ns3::SocketAddressTag const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4506
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4507
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4508
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Deserialize(ns3::TagBuffer i) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4509
    cls.add_method('Deserialize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4510
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4511
                   [param('ns3::TagBuffer', 'i')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4512
                   is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4513
    ## socket.h (module 'network'): ns3::Address ns3::SocketAddressTag::GetAddress() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4514
    cls.add_method('GetAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4515
                   'ns3::Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4516
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4517
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4518
    ## socket.h (module 'network'): ns3::TypeId ns3::SocketAddressTag::GetInstanceTypeId() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4519
    cls.add_method('GetInstanceTypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4520
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4521
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4522
                   is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4523
    ## socket.h (module 'network'): uint32_t ns3::SocketAddressTag::GetSerializedSize() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4524
    cls.add_method('GetSerializedSize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4525
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4526
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4527
                   is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4528
    ## socket.h (module 'network'): static ns3::TypeId ns3::SocketAddressTag::GetTypeId() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4529
    cls.add_method('GetTypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4530
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4531
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4532
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4533
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Print(std::ostream & os) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4534
    cls.add_method('Print', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4535
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4536
                   [param('std::ostream &', 'os')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4537
                   is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4538
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Serialize(ns3::TagBuffer i) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4539
    cls.add_method('Serialize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4540
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4541
                   [param('ns3::TagBuffer', 'i')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4542
                   is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4543
    ## socket.h (module 'network'): void ns3::SocketAddressTag::SetAddress(ns3::Address addr) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4544
    cls.add_method('SetAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4545
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4546
                   [param('ns3::Address', 'addr')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4547
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4548
9190
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4549
def register_Ns3SocketIpTosTag_methods(root_module, cls):
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4550
    ## socket.h (module 'network'): ns3::SocketIpTosTag::SocketIpTosTag(ns3::SocketIpTosTag const & arg0) [copy constructor]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4551
    cls.add_constructor([param('ns3::SocketIpTosTag const &', 'arg0')])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4552
    ## socket.h (module 'network'): ns3::SocketIpTosTag::SocketIpTosTag() [constructor]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4553
    cls.add_constructor([])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4554
    ## socket.h (module 'network'): void ns3::SocketIpTosTag::Deserialize(ns3::TagBuffer i) [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4555
    cls.add_method('Deserialize', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4556
                   'void', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4557
                   [param('ns3::TagBuffer', 'i')], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4558
                   is_virtual=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4559
    ## socket.h (module 'network'): ns3::TypeId ns3::SocketIpTosTag::GetInstanceTypeId() const [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4560
    cls.add_method('GetInstanceTypeId', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4561
                   'ns3::TypeId', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4562
                   [], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4563
                   is_const=True, is_virtual=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4564
    ## socket.h (module 'network'): uint32_t ns3::SocketIpTosTag::GetSerializedSize() const [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4565
    cls.add_method('GetSerializedSize', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4566
                   'uint32_t', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4567
                   [], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4568
                   is_const=True, is_virtual=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4569
    ## socket.h (module 'network'): uint8_t ns3::SocketIpTosTag::GetTos() const [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4570
    cls.add_method('GetTos', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4571
                   'uint8_t', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4572
                   [], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4573
                   is_const=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4574
    ## socket.h (module 'network'): static ns3::TypeId ns3::SocketIpTosTag::GetTypeId() [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4575
    cls.add_method('GetTypeId', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4576
                   'ns3::TypeId', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4577
                   [], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4578
                   is_static=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4579
    ## socket.h (module 'network'): void ns3::SocketIpTosTag::Print(std::ostream & os) const [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4580
    cls.add_method('Print', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4581
                   'void', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4582
                   [param('std::ostream &', 'os')], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4583
                   is_const=True, is_virtual=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4584
    ## socket.h (module 'network'): void ns3::SocketIpTosTag::Serialize(ns3::TagBuffer i) const [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4585
    cls.add_method('Serialize', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4586
                   'void', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4587
                   [param('ns3::TagBuffer', 'i')], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4588
                   is_const=True, is_virtual=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4589
    ## socket.h (module 'network'): void ns3::SocketIpTosTag::SetTos(uint8_t tos) [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4590
    cls.add_method('SetTos', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4591
                   'void', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4592
                   [param('uint8_t', 'tos')])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4593
    return
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4594
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4595
def register_Ns3SocketIpTtlTag_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4596
    ## socket.h (module 'network'): ns3::SocketIpTtlTag::SocketIpTtlTag(ns3::SocketIpTtlTag const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4597
    cls.add_constructor([param('ns3::SocketIpTtlTag const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4598
    ## socket.h (module 'network'): ns3::SocketIpTtlTag::SocketIpTtlTag() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4599
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4600
    ## socket.h (module 'network'): void ns3::SocketIpTtlTag::Deserialize(ns3::TagBuffer i) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4601
    cls.add_method('Deserialize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4602
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4603
                   [param('ns3::TagBuffer', 'i')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4604
                   is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4605
    ## socket.h (module 'network'): ns3::TypeId ns3::SocketIpTtlTag::GetInstanceTypeId() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4606
    cls.add_method('GetInstanceTypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4607
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4608
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4609
                   is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4610
    ## socket.h (module 'network'): uint32_t ns3::SocketIpTtlTag::GetSerializedSize() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4611
    cls.add_method('GetSerializedSize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4612
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4613
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4614
                   is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4615
    ## socket.h (module 'network'): uint8_t ns3::SocketIpTtlTag::GetTtl() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4616
    cls.add_method('GetTtl', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4617
                   'uint8_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4618
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4619
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4620
    ## socket.h (module 'network'): static ns3::TypeId ns3::SocketIpTtlTag::GetTypeId() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4621
    cls.add_method('GetTypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4622
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4623
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4624
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4625
    ## socket.h (module 'network'): void ns3::SocketIpTtlTag::Print(std::ostream & os) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4626
    cls.add_method('Print', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4627
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4628
                   [param('std::ostream &', 'os')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4629
                   is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4630
    ## socket.h (module 'network'): void ns3::SocketIpTtlTag::Serialize(ns3::TagBuffer i) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4631
    cls.add_method('Serialize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4632
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4633
                   [param('ns3::TagBuffer', 'i')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4634
                   is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4635
    ## socket.h (module 'network'): void ns3::SocketIpTtlTag::SetTtl(uint8_t ttl) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4636
    cls.add_method('SetTtl', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4637
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4638
                   [param('uint8_t', 'ttl')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4639
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4640
9190
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4641
def register_Ns3SocketIpv6HopLimitTag_methods(root_module, cls):
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4642
    ## socket.h (module 'network'): ns3::SocketIpv6HopLimitTag::SocketIpv6HopLimitTag(ns3::SocketIpv6HopLimitTag const & arg0) [copy constructor]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4643
    cls.add_constructor([param('ns3::SocketIpv6HopLimitTag const &', 'arg0')])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4644
    ## socket.h (module 'network'): ns3::SocketIpv6HopLimitTag::SocketIpv6HopLimitTag() [constructor]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4645
    cls.add_constructor([])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4646
    ## socket.h (module 'network'): void ns3::SocketIpv6HopLimitTag::Deserialize(ns3::TagBuffer i) [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4647
    cls.add_method('Deserialize', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4648
                   'void', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4649
                   [param('ns3::TagBuffer', 'i')], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4650
                   is_virtual=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4651
    ## socket.h (module 'network'): uint8_t ns3::SocketIpv6HopLimitTag::GetHopLimit() const [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4652
    cls.add_method('GetHopLimit', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4653
                   'uint8_t', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4654
                   [], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4655
                   is_const=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4656
    ## socket.h (module 'network'): ns3::TypeId ns3::SocketIpv6HopLimitTag::GetInstanceTypeId() const [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4657
    cls.add_method('GetInstanceTypeId', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4658
                   'ns3::TypeId', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4659
                   [], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4660
                   is_const=True, is_virtual=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4661
    ## socket.h (module 'network'): uint32_t ns3::SocketIpv6HopLimitTag::GetSerializedSize() const [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4662
    cls.add_method('GetSerializedSize', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4663
                   'uint32_t', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4664
                   [], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4665
                   is_const=True, is_virtual=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4666
    ## socket.h (module 'network'): static ns3::TypeId ns3::SocketIpv6HopLimitTag::GetTypeId() [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4667
    cls.add_method('GetTypeId', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4668
                   'ns3::TypeId', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4669
                   [], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4670
                   is_static=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4671
    ## socket.h (module 'network'): void ns3::SocketIpv6HopLimitTag::Print(std::ostream & os) const [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4672
    cls.add_method('Print', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4673
                   'void', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4674
                   [param('std::ostream &', 'os')], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4675
                   is_const=True, is_virtual=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4676
    ## socket.h (module 'network'): void ns3::SocketIpv6HopLimitTag::Serialize(ns3::TagBuffer i) const [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4677
    cls.add_method('Serialize', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4678
                   'void', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4679
                   [param('ns3::TagBuffer', 'i')], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4680
                   is_const=True, is_virtual=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4681
    ## socket.h (module 'network'): void ns3::SocketIpv6HopLimitTag::SetHopLimit(uint8_t hopLimit) [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4682
    cls.add_method('SetHopLimit', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4683
                   'void', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4684
                   [param('uint8_t', 'hopLimit')])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4685
    return
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4686
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4687
def register_Ns3SocketIpv6TclassTag_methods(root_module, cls):
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4688
    ## socket.h (module 'network'): ns3::SocketIpv6TclassTag::SocketIpv6TclassTag(ns3::SocketIpv6TclassTag const & arg0) [copy constructor]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4689
    cls.add_constructor([param('ns3::SocketIpv6TclassTag const &', 'arg0')])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4690
    ## socket.h (module 'network'): ns3::SocketIpv6TclassTag::SocketIpv6TclassTag() [constructor]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4691
    cls.add_constructor([])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4692
    ## socket.h (module 'network'): void ns3::SocketIpv6TclassTag::Deserialize(ns3::TagBuffer i) [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4693
    cls.add_method('Deserialize', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4694
                   'void', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4695
                   [param('ns3::TagBuffer', 'i')], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4696
                   is_virtual=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4697
    ## socket.h (module 'network'): ns3::TypeId ns3::SocketIpv6TclassTag::GetInstanceTypeId() const [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4698
    cls.add_method('GetInstanceTypeId', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4699
                   'ns3::TypeId', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4700
                   [], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4701
                   is_const=True, is_virtual=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4702
    ## socket.h (module 'network'): uint32_t ns3::SocketIpv6TclassTag::GetSerializedSize() const [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4703
    cls.add_method('GetSerializedSize', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4704
                   'uint32_t', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4705
                   [], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4706
                   is_const=True, is_virtual=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4707
    ## socket.h (module 'network'): uint8_t ns3::SocketIpv6TclassTag::GetTclass() const [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4708
    cls.add_method('GetTclass', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4709
                   'uint8_t', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4710
                   [], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4711
                   is_const=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4712
    ## socket.h (module 'network'): static ns3::TypeId ns3::SocketIpv6TclassTag::GetTypeId() [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4713
    cls.add_method('GetTypeId', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4714
                   'ns3::TypeId', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4715
                   [], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4716
                   is_static=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4717
    ## socket.h (module 'network'): void ns3::SocketIpv6TclassTag::Print(std::ostream & os) const [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4718
    cls.add_method('Print', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4719
                   'void', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4720
                   [param('std::ostream &', 'os')], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4721
                   is_const=True, is_virtual=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4722
    ## socket.h (module 'network'): void ns3::SocketIpv6TclassTag::Serialize(ns3::TagBuffer i) const [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4723
    cls.add_method('Serialize', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4724
                   'void', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4725
                   [param('ns3::TagBuffer', 'i')], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4726
                   is_const=True, is_virtual=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4727
    ## socket.h (module 'network'): void ns3::SocketIpv6TclassTag::SetTclass(uint8_t tclass) [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4728
    cls.add_method('SetTclass', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4729
                   'void', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4730
                   [param('uint8_t', 'tclass')])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4731
    return
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4732
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4733
def register_Ns3SocketSetDontFragmentTag_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4734
    ## socket.h (module 'network'): ns3::SocketSetDontFragmentTag::SocketSetDontFragmentTag(ns3::SocketSetDontFragmentTag const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4735
    cls.add_constructor([param('ns3::SocketSetDontFragmentTag const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4736
    ## socket.h (module 'network'): ns3::SocketSetDontFragmentTag::SocketSetDontFragmentTag() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4737
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4738
    ## socket.h (module 'network'): void ns3::SocketSetDontFragmentTag::Deserialize(ns3::TagBuffer i) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4739
    cls.add_method('Deserialize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4740
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4741
                   [param('ns3::TagBuffer', 'i')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4742
                   is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4743
    ## socket.h (module 'network'): void ns3::SocketSetDontFragmentTag::Disable() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4744
    cls.add_method('Disable', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4745
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4746
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4747
    ## socket.h (module 'network'): void ns3::SocketSetDontFragmentTag::Enable() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4748
    cls.add_method('Enable', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4749
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4750
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4751
    ## socket.h (module 'network'): ns3::TypeId ns3::SocketSetDontFragmentTag::GetInstanceTypeId() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4752
    cls.add_method('GetInstanceTypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4753
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4754
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4755
                   is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4756
    ## socket.h (module 'network'): uint32_t ns3::SocketSetDontFragmentTag::GetSerializedSize() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4757
    cls.add_method('GetSerializedSize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4758
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4759
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4760
                   is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4761
    ## socket.h (module 'network'): static ns3::TypeId ns3::SocketSetDontFragmentTag::GetTypeId() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4762
    cls.add_method('GetTypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4763
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4764
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4765
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4766
    ## socket.h (module 'network'): bool ns3::SocketSetDontFragmentTag::IsEnabled() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4767
    cls.add_method('IsEnabled', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4768
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4769
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4770
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4771
    ## socket.h (module 'network'): void ns3::SocketSetDontFragmentTag::Print(std::ostream & os) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4772
    cls.add_method('Print', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4773
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4774
                   [param('std::ostream &', 'os')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4775
                   is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4776
    ## socket.h (module 'network'): void ns3::SocketSetDontFragmentTag::Serialize(ns3::TagBuffer i) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4777
    cls.add_method('Serialize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4778
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4779
                   [param('ns3::TagBuffer', 'i')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4780
                   is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4781
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4782
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4783
def register_Ns3Time_methods(root_module, cls):
10631
a258a16d4793 bindings rescan (another try)
Tom Henderson <tomh@tomh.org>
parents: 10628
diff changeset
  4784
    cls.add_binary_numeric_operator('*', root_module['ns3::Time'], root_module['ns3::Time'], param('int64_t const &', u'right'))
a258a16d4793 bindings rescan (another try)
Tom Henderson <tomh@tomh.org>
parents: 10628
diff changeset
  4785
    cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', u'right'))
a258a16d4793 bindings rescan (another try)
Tom Henderson <tomh@tomh.org>
parents: 10628
diff changeset
  4786
    cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', u'right'))
a258a16d4793 bindings rescan (another try)
Tom Henderson <tomh@tomh.org>
parents: 10628
diff changeset
  4787
    cls.add_binary_numeric_operator('/', root_module['ns3::Time'], root_module['ns3::Time'], param('int64_t const &', u'right'))
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4788
    cls.add_binary_comparison_operator('<')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4789
    cls.add_binary_comparison_operator('>')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4790
    cls.add_binary_comparison_operator('!=')
10631
a258a16d4793 bindings rescan (another try)
Tom Henderson <tomh@tomh.org>
parents: 10628
diff changeset
  4791
    cls.add_inplace_numeric_operator('+=', param('ns3::Time const &', u'right'))
a258a16d4793 bindings rescan (another try)
Tom Henderson <tomh@tomh.org>
parents: 10628
diff changeset
  4792
    cls.add_inplace_numeric_operator('-=', param('ns3::Time const &', u'right'))
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4793
    cls.add_output_stream_operator()
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4794
    cls.add_binary_comparison_operator('<=')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4795
    cls.add_binary_comparison_operator('==')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4796
    cls.add_binary_comparison_operator('>=')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4797
    ## nstime.h (module 'core'): ns3::Time::Time() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4798
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4799
    ## nstime.h (module 'core'): ns3::Time::Time(ns3::Time const & o) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4800
    cls.add_constructor([param('ns3::Time const &', 'o')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4801
    ## nstime.h (module 'core'): ns3::Time::Time(double v) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4802
    cls.add_constructor([param('double', 'v')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4803
    ## nstime.h (module 'core'): ns3::Time::Time(int v) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4804
    cls.add_constructor([param('int', 'v')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4805
    ## nstime.h (module 'core'): ns3::Time::Time(long int v) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4806
    cls.add_constructor([param('long int', 'v')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4807
    ## nstime.h (module 'core'): ns3::Time::Time(long long int v) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4808
    cls.add_constructor([param('long long int', 'v')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4809
    ## nstime.h (module 'core'): ns3::Time::Time(unsigned int v) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4810
    cls.add_constructor([param('unsigned int', 'v')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4811
    ## nstime.h (module 'core'): ns3::Time::Time(long unsigned int v) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4812
    cls.add_constructor([param('long unsigned int', 'v')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4813
    ## nstime.h (module 'core'): ns3::Time::Time(long long unsigned int v) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4814
    cls.add_constructor([param('long long unsigned int', 'v')])
10956
fa4be182ef17 rescan remaining bindings
Tom Henderson <tomh@tomh.org>
parents: 10795
diff changeset
  4815
    ## nstime.h (module 'core'): ns3::Time::Time(ns3::int64x64_t const & v) [constructor]
fa4be182ef17 rescan remaining bindings
Tom Henderson <tomh@tomh.org>
parents: 10795
diff changeset
  4816
    cls.add_constructor([param('ns3::int64x64_t const &', 'v')])
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4817
    ## nstime.h (module 'core'): ns3::Time::Time(std::string const & s) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4818
    cls.add_constructor([param('std::string const &', 's')])
10795
29506f2221e2 update bindings
Tom Henderson <tomh@tomh.org>
parents: 10631
diff changeset
  4819
    ## nstime.h (module 'core'): ns3::TimeWithUnit ns3::Time::As(ns3::Time::Unit const unit) const [member function]
29506f2221e2 update bindings
Tom Henderson <tomh@tomh.org>
parents: 10631
diff changeset
  4820
    cls.add_method('As', 
29506f2221e2 update bindings
Tom Henderson <tomh@tomh.org>
parents: 10631
diff changeset
  4821
                   'ns3::TimeWithUnit', 
29506f2221e2 update bindings
Tom Henderson <tomh@tomh.org>
parents: 10631
diff changeset
  4822
                   [param('ns3::Time::Unit const', 'unit')], 
29506f2221e2 update bindings
Tom Henderson <tomh@tomh.org>
parents: 10631
diff changeset
  4823
                   is_const=True)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4824
    ## nstime.h (module 'core'): int ns3::Time::Compare(ns3::Time const & o) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4825
    cls.add_method('Compare', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4826
                   'int', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4827
                   [param('ns3::Time const &', 'o')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4828
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4829
    ## nstime.h (module 'core'): static ns3::Time ns3::Time::From(ns3::int64x64_t const & value) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4830
    cls.add_method('From', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4831
                   'ns3::Time', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4832
                   [param('ns3::int64x64_t const &', 'value')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4833
                   is_static=True)
10956
fa4be182ef17 rescan remaining bindings
Tom Henderson <tomh@tomh.org>
parents: 10795
diff changeset
  4834
    ## nstime.h (module 'core'): static ns3::Time ns3::Time::From(ns3::int64x64_t const & value, ns3::Time::Unit unit) [member function]
fa4be182ef17 rescan remaining bindings
Tom Henderson <tomh@tomh.org>
parents: 10795
diff changeset
  4835
    cls.add_method('From', 
fa4be182ef17 rescan remaining bindings
Tom Henderson <tomh@tomh.org>
parents: 10795
diff changeset
  4836
                   'ns3::Time', 
fa4be182ef17 rescan remaining bindings
Tom Henderson <tomh@tomh.org>
parents: 10795
diff changeset
  4837
                   [param('ns3::int64x64_t const &', 'value'), param('ns3::Time::Unit', 'unit')], 
fa4be182ef17 rescan remaining bindings
Tom Henderson <tomh@tomh.org>
parents: 10795
diff changeset
  4838
                   is_static=True)
fa4be182ef17 rescan remaining bindings
Tom Henderson <tomh@tomh.org>
parents: 10795
diff changeset
  4839
    ## nstime.h (module 'core'): static ns3::Time ns3::Time::FromDouble(double value, ns3::Time::Unit unit) [member function]
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4840
    cls.add_method('FromDouble', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4841
                   'ns3::Time', 
10956
fa4be182ef17 rescan remaining bindings
Tom Henderson <tomh@tomh.org>
parents: 10795
diff changeset
  4842
                   [param('double', 'value'), param('ns3::Time::Unit', 'unit')], 
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4843
                   is_static=True)
10956
fa4be182ef17 rescan remaining bindings
Tom Henderson <tomh@tomh.org>
parents: 10795
diff changeset
  4844
    ## nstime.h (module 'core'): static ns3::Time ns3::Time::FromInteger(uint64_t value, ns3::Time::Unit unit) [member function]
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4845
    cls.add_method('FromInteger', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4846
                   'ns3::Time', 
10956
fa4be182ef17 rescan remaining bindings
Tom Henderson <tomh@tomh.org>
parents: 10795
diff changeset
  4847
                   [param('uint64_t', 'value'), param('ns3::Time::Unit', 'unit')], 
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4848
                   is_static=True)
10534
2f6018cfe926 rescan all bindings
Tom Henderson <tomh@tomh.org>
parents: 10183
diff changeset
  4849
    ## nstime.h (module 'core'): double ns3::Time::GetDays() const [member function]
2f6018cfe926 rescan all bindings
Tom Henderson <tomh@tomh.org>
parents: 10183
diff changeset
  4850
    cls.add_method('GetDays', 
2f6018cfe926 rescan all bindings
Tom Henderson <tomh@tomh.org>
parents: 10183
diff changeset
  4851
                   'double', 
2f6018cfe926 rescan all bindings
Tom Henderson <tomh@tomh.org>
parents: 10183
diff changeset
  4852
                   [], 
2f6018cfe926 rescan all bindings
Tom Henderson <tomh@tomh.org>
parents: 10183
diff changeset
  4853
                   is_const=True)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4854
    ## nstime.h (module 'core'): double ns3::Time::GetDouble() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4855
    cls.add_method('GetDouble', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4856
                   'double', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4857
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4858
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4859
    ## nstime.h (module 'core'): int64_t ns3::Time::GetFemtoSeconds() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4860
    cls.add_method('GetFemtoSeconds', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4861
                   'int64_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4862
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4863
                   is_const=True)
10534
2f6018cfe926 rescan all bindings
Tom Henderson <tomh@tomh.org>
parents: 10183
diff changeset
  4864
    ## nstime.h (module 'core'): double ns3::Time::GetHours() const [member function]
2f6018cfe926 rescan all bindings
Tom Henderson <tomh@tomh.org>
parents: 10183
diff changeset
  4865
    cls.add_method('GetHours', 
2f6018cfe926 rescan all bindings
Tom Henderson <tomh@tomh.org>
parents: 10183
diff changeset
  4866
                   'double', 
2f6018cfe926 rescan all bindings
Tom Henderson <tomh@tomh.org>
parents: 10183
diff changeset
  4867
                   [], 
2f6018cfe926 rescan all bindings
Tom Henderson <tomh@tomh.org>
parents: 10183
diff changeset
  4868
                   is_const=True)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4869
    ## nstime.h (module 'core'): int64_t ns3::Time::GetInteger() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4870
    cls.add_method('GetInteger', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4871
                   'int64_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4872
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4873
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4874
    ## nstime.h (module 'core'): int64_t ns3::Time::GetMicroSeconds() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4875
    cls.add_method('GetMicroSeconds', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4876
                   'int64_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4877
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4878
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4879
    ## nstime.h (module 'core'): int64_t ns3::Time::GetMilliSeconds() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4880
    cls.add_method('GetMilliSeconds', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4881
                   'int64_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4882
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4883
                   is_const=True)
10534
2f6018cfe926 rescan all bindings
Tom Henderson <tomh@tomh.org>
parents: 10183
diff changeset
  4884
    ## nstime.h (module 'core'): double ns3::Time::GetMinutes() const [member function]
2f6018cfe926 rescan all bindings
Tom Henderson <tomh@tomh.org>
parents: 10183
diff changeset
  4885
    cls.add_method('GetMinutes', 
2f6018cfe926 rescan all bindings
Tom Henderson <tomh@tomh.org>
parents: 10183
diff changeset
  4886
                   'double', 
2f6018cfe926 rescan all bindings
Tom Henderson <tomh@tomh.org>
parents: 10183
diff changeset
  4887
                   [], 
2f6018cfe926 rescan all bindings
Tom Henderson <tomh@tomh.org>
parents: 10183
diff changeset
  4888
                   is_const=True)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4889
    ## nstime.h (module 'core'): int64_t ns3::Time::GetNanoSeconds() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4890
    cls.add_method('GetNanoSeconds', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4891
                   'int64_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4892
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4893
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4894
    ## nstime.h (module 'core'): int64_t ns3::Time::GetPicoSeconds() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4895
    cls.add_method('GetPicoSeconds', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4896
                   'int64_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4897
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4898
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4899
    ## nstime.h (module 'core'): static ns3::Time::Unit ns3::Time::GetResolution() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4900
    cls.add_method('GetResolution', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4901
                   'ns3::Time::Unit', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4902
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4903
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4904
    ## nstime.h (module 'core'): double ns3::Time::GetSeconds() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4905
    cls.add_method('GetSeconds', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4906
                   'double', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4907
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4908
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4909
    ## nstime.h (module 'core'): int64_t ns3::Time::GetTimeStep() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4910
    cls.add_method('GetTimeStep', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4911
                   'int64_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4912
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4913
                   is_const=True)
10534
2f6018cfe926 rescan all bindings
Tom Henderson <tomh@tomh.org>
parents: 10183
diff changeset
  4914
    ## nstime.h (module 'core'): double ns3::Time::GetYears() const [member function]
2f6018cfe926 rescan all bindings
Tom Henderson <tomh@tomh.org>
parents: 10183
diff changeset
  4915
    cls.add_method('GetYears', 
2f6018cfe926 rescan all bindings
Tom Henderson <tomh@tomh.org>
parents: 10183
diff changeset
  4916
                   'double', 
2f6018cfe926 rescan all bindings
Tom Henderson <tomh@tomh.org>
parents: 10183
diff changeset
  4917
                   [], 
2f6018cfe926 rescan all bindings
Tom Henderson <tomh@tomh.org>
parents: 10183
diff changeset
  4918
                   is_const=True)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4919
    ## nstime.h (module 'core'): bool ns3::Time::IsNegative() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4920
    cls.add_method('IsNegative', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4921
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4922
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4923
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4924
    ## nstime.h (module 'core'): bool ns3::Time::IsPositive() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4925
    cls.add_method('IsPositive', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4926
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4927
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4928
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4929
    ## nstime.h (module 'core'): bool ns3::Time::IsStrictlyNegative() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4930
    cls.add_method('IsStrictlyNegative', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4931
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4932
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4933
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4934
    ## nstime.h (module 'core'): bool ns3::Time::IsStrictlyPositive() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4935
    cls.add_method('IsStrictlyPositive', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4936
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4937
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4938
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4939
    ## nstime.h (module 'core'): bool ns3::Time::IsZero() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4940
    cls.add_method('IsZero', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4941
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4942
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4943
                   is_const=True)
10183
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  4944
    ## nstime.h (module 'core'): static ns3::Time ns3::Time::Max() [member function]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  4945
    cls.add_method('Max', 
9901
9a100979b2df Updatemany modules' Python bindings
Mitch Watrous
parents: 9708
diff changeset
  4946
                   'ns3::Time', 
9a100979b2df Updatemany modules' Python bindings
Mitch Watrous
parents: 9708
diff changeset
  4947
                   [], 
9a100979b2df Updatemany modules' Python bindings
Mitch Watrous
parents: 9708
diff changeset
  4948
                   is_static=True)
10183
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  4949
    ## nstime.h (module 'core'): static ns3::Time ns3::Time::Min() [member function]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  4950
    cls.add_method('Min', 
9901
9a100979b2df Updatemany modules' Python bindings
Mitch Watrous
parents: 9708
diff changeset
  4951
                   'ns3::Time', 
9a100979b2df Updatemany modules' Python bindings
Mitch Watrous
parents: 9708
diff changeset
  4952
                   [], 
9a100979b2df Updatemany modules' Python bindings
Mitch Watrous
parents: 9708
diff changeset
  4953
                   is_static=True)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4954
    ## nstime.h (module 'core'): static void ns3::Time::SetResolution(ns3::Time::Unit resolution) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4955
    cls.add_method('SetResolution', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4956
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4957
                   [param('ns3::Time::Unit', 'resolution')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4958
                   is_static=True)
10183
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  4959
    ## nstime.h (module 'core'): static bool ns3::Time::StaticInit() [member function]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  4960
    cls.add_method('StaticInit', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  4961
                   'bool', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  4962
                   [], 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  4963
                   is_static=True)
10956
fa4be182ef17 rescan remaining bindings
Tom Henderson <tomh@tomh.org>
parents: 10795
diff changeset
  4964
    ## nstime.h (module 'core'): ns3::int64x64_t ns3::Time::To(ns3::Time::Unit unit) const [member function]
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4965
    cls.add_method('To', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4966
                   'ns3::int64x64_t', 
10956
fa4be182ef17 rescan remaining bindings
Tom Henderson <tomh@tomh.org>
parents: 10795
diff changeset
  4967
                   [param('ns3::Time::Unit', 'unit')], 
fa4be182ef17 rescan remaining bindings
Tom Henderson <tomh@tomh.org>
parents: 10795
diff changeset
  4968
                   is_const=True)
fa4be182ef17 rescan remaining bindings
Tom Henderson <tomh@tomh.org>
parents: 10795
diff changeset
  4969
    ## nstime.h (module 'core'): double ns3::Time::ToDouble(ns3::Time::Unit unit) const [member function]
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4970
    cls.add_method('ToDouble', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4971
                   'double', 
10956
fa4be182ef17 rescan remaining bindings
Tom Henderson <tomh@tomh.org>
parents: 10795
diff changeset
  4972
                   [param('ns3::Time::Unit', 'unit')], 
fa4be182ef17 rescan remaining bindings
Tom Henderson <tomh@tomh.org>
parents: 10795
diff changeset
  4973
                   is_const=True)
fa4be182ef17 rescan remaining bindings
Tom Henderson <tomh@tomh.org>
parents: 10795
diff changeset
  4974
    ## nstime.h (module 'core'): int64_t ns3::Time::ToInteger(ns3::Time::Unit unit) const [member function]
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4975
    cls.add_method('ToInteger', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4976
                   'int64_t', 
10956
fa4be182ef17 rescan remaining bindings
Tom Henderson <tomh@tomh.org>
parents: 10795
diff changeset
  4977
                   [param('ns3::Time::Unit', 'unit')], 
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4978
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4979
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4980
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4981
def register_Ns3TraceSourceAccessor_methods(root_module, cls):
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4982
    ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4983
    cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4984
    ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4985
    cls.add_constructor([])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4986
    ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4987
    cls.add_method('Connect', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4988
                   'bool', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4989
                   [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4990
                   is_pure_virtual=True, is_const=True, is_virtual=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4991
    ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4992
    cls.add_method('ConnectWithoutContext', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4993
                   'bool', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4994
                   [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4995
                   is_pure_virtual=True, is_const=True, is_virtual=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4996
    ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4997
    cls.add_method('Disconnect', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4998
                   'bool', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4999
                   [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5000
                   is_pure_virtual=True, is_const=True, is_virtual=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5001
    ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5002
    cls.add_method('DisconnectWithoutContext', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5003
                   'bool', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5004
                   [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5005
                   is_pure_virtual=True, is_const=True, is_virtual=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5006
    return
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5007
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5008
def register_Ns3Trailer_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5009
    cls.add_output_stream_operator()
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5010
    ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5011
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5012
    ## trailer.h (module 'network'): ns3::Trailer::Trailer(ns3::Trailer const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5013
    cls.add_constructor([param('ns3::Trailer const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5014
    ## trailer.h (module 'network'): uint32_t ns3::Trailer::Deserialize(ns3::Buffer::Iterator end) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5015
    cls.add_method('Deserialize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5016
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5017
                   [param('ns3::Buffer::Iterator', 'end')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5018
                   is_pure_virtual=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5019
    ## trailer.h (module 'network'): uint32_t ns3::Trailer::GetSerializedSize() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5020
    cls.add_method('GetSerializedSize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5021
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5022
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5023
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5024
    ## trailer.h (module 'network'): static ns3::TypeId ns3::Trailer::GetTypeId() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5025
    cls.add_method('GetTypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5026
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5027
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5028
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5029
    ## trailer.h (module 'network'): void ns3::Trailer::Print(std::ostream & os) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5030
    cls.add_method('Print', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5031
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5032
                   [param('std::ostream &', 'os')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5033
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5034
    ## trailer.h (module 'network'): void ns3::Trailer::Serialize(ns3::Buffer::Iterator start) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5035
    cls.add_method('Serialize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5036
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5037
                   [param('ns3::Buffer::Iterator', 'start')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5038
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5039
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5040
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5041
def register_Ns3AttributeAccessor_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5042
    ## attribute.h (module 'core'): ns3::AttributeAccessor::AttributeAccessor(ns3::AttributeAccessor const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5043
    cls.add_constructor([param('ns3::AttributeAccessor const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5044
    ## attribute.h (module 'core'): ns3::AttributeAccessor::AttributeAccessor() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5045
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5046
    ## attribute.h (module 'core'): bool ns3::AttributeAccessor::Get(ns3::ObjectBase const * object, ns3::AttributeValue & attribute) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5047
    cls.add_method('Get', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5048
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5049
                   [param('ns3::ObjectBase const *', 'object'), param('ns3::AttributeValue &', 'attribute')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5050
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5051
    ## attribute.h (module 'core'): bool ns3::AttributeAccessor::HasGetter() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5052
    cls.add_method('HasGetter', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5053
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5054
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5055
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5056
    ## attribute.h (module 'core'): bool ns3::AttributeAccessor::HasSetter() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5057
    cls.add_method('HasSetter', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5058
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5059
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5060
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5061
    ## attribute.h (module 'core'): bool ns3::AttributeAccessor::Set(ns3::ObjectBase * object, ns3::AttributeValue const & value) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5062
    cls.add_method('Set', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5063
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5064
                   [param('ns3::ObjectBase *', 'object', transfer_ownership=False), param('ns3::AttributeValue const &', 'value')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5065
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5066
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5067
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5068
def register_Ns3AttributeChecker_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5069
    ## attribute.h (module 'core'): ns3::AttributeChecker::AttributeChecker(ns3::AttributeChecker const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5070
    cls.add_constructor([param('ns3::AttributeChecker const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5071
    ## attribute.h (module 'core'): ns3::AttributeChecker::AttributeChecker() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5072
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5073
    ## attribute.h (module 'core'): bool ns3::AttributeChecker::Check(ns3::AttributeValue const & value) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5074
    cls.add_method('Check', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5075
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5076
                   [param('ns3::AttributeValue const &', 'value')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5077
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5078
    ## attribute.h (module 'core'): bool ns3::AttributeChecker::Copy(ns3::AttributeValue const & source, ns3::AttributeValue & destination) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5079
    cls.add_method('Copy', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5080
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5081
                   [param('ns3::AttributeValue const &', 'source'), param('ns3::AttributeValue &', 'destination')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5082
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5083
    ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeChecker::Create() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5084
    cls.add_method('Create', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5085
                   'ns3::Ptr< ns3::AttributeValue >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5086
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5087
                   is_pure_virtual=True, is_const=True, is_virtual=True)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5088
    ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5089
    cls.add_method('CreateValidValue', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5090
                   'ns3::Ptr< ns3::AttributeValue >', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5091
                   [param('ns3::AttributeValue const &', 'value')], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5092
                   is_const=True)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5093
    ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5094
    cls.add_method('GetUnderlyingTypeInformation', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5095
                   'std::string', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5096
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5097
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5098
    ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetValueTypeName() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5099
    cls.add_method('GetValueTypeName', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5100
                   'std::string', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5101
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5102
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5103
    ## attribute.h (module 'core'): bool ns3::AttributeChecker::HasUnderlyingTypeInformation() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5104
    cls.add_method('HasUnderlyingTypeInformation', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5105
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5106
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5107
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5108
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5109
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5110
def register_Ns3AttributeValue_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5111
    ## attribute.h (module 'core'): ns3::AttributeValue::AttributeValue(ns3::AttributeValue const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5112
    cls.add_constructor([param('ns3::AttributeValue const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5113
    ## attribute.h (module 'core'): ns3::AttributeValue::AttributeValue() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5114
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5115
    ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeValue::Copy() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5116
    cls.add_method('Copy', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5117
                   'ns3::Ptr< ns3::AttributeValue >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5118
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5119
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5120
    ## attribute.h (module 'core'): bool ns3::AttributeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5121
    cls.add_method('DeserializeFromString', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5122
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5123
                   [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5124
                   is_pure_virtual=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5125
    ## attribute.h (module 'core'): std::string ns3::AttributeValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5126
    cls.add_method('SerializeToString', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5127
                   'std::string', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5128
                   [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5129
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5130
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5131
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5132
def register_Ns3CallbackChecker_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5133
    ## callback.h (module 'core'): ns3::CallbackChecker::CallbackChecker() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5134
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5135
    ## callback.h (module 'core'): ns3::CallbackChecker::CallbackChecker(ns3::CallbackChecker const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5136
    cls.add_constructor([param('ns3::CallbackChecker const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5137
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5138
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5139
def register_Ns3CallbackImplBase_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5140
    ## callback.h (module 'core'): ns3::CallbackImplBase::CallbackImplBase() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5141
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5142
    ## callback.h (module 'core'): ns3::CallbackImplBase::CallbackImplBase(ns3::CallbackImplBase const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5143
    cls.add_constructor([param('ns3::CallbackImplBase const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5144
    ## callback.h (module 'core'): bool ns3::CallbackImplBase::IsEqual(ns3::Ptr<ns3::CallbackImplBase const> other) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5145
    cls.add_method('IsEqual', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5146
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5147
                   [param('ns3::Ptr< ns3::CallbackImplBase const >', 'other')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5148
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5149
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5150
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5151
def register_Ns3CallbackValue_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5152
    ## callback.h (module 'core'): ns3::CallbackValue::CallbackValue(ns3::CallbackValue const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5153
    cls.add_constructor([param('ns3::CallbackValue const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5154
    ## callback.h (module 'core'): ns3::CallbackValue::CallbackValue() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5155
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5156
    ## callback.h (module 'core'): ns3::CallbackValue::CallbackValue(ns3::CallbackBase const & base) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5157
    cls.add_constructor([param('ns3::CallbackBase const &', 'base')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5158
    ## callback.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::CallbackValue::Copy() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5159
    cls.add_method('Copy', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5160
                   'ns3::Ptr< ns3::AttributeValue >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5161
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5162
                   is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5163
    ## callback.h (module 'core'): bool ns3::CallbackValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5164
    cls.add_method('DeserializeFromString', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5165
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5166
                   [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5167
                   is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5168
    ## callback.h (module 'core'): std::string ns3::CallbackValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5169
    cls.add_method('SerializeToString', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5170
                   'std::string', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5171
                   [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5172
                   is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5173
    ## callback.h (module 'core'): void ns3::CallbackValue::Set(ns3::CallbackBase base) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5174
    cls.add_method('Set', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5175
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5176
                   [param('ns3::CallbackBase', 'base')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5177
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5178
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5179
def register_Ns3Channel_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5180
    ## channel.h (module 'network'): ns3::Channel::Channel(ns3::Channel const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5181
    cls.add_constructor([param('ns3::Channel const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5182
    ## channel.h (module 'network'): ns3::Channel::Channel() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5183
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5184
    ## channel.h (module 'network'): ns3::Ptr<ns3::NetDevice> ns3::Channel::GetDevice(uint32_t i) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5185
    cls.add_method('GetDevice', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5186
                   'ns3::Ptr< ns3::NetDevice >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5187
                   [param('uint32_t', 'i')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5188
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5189
    ## channel.h (module 'network'): uint32_t ns3::Channel::GetId() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5190
    cls.add_method('GetId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5191
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5192
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5193
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5194
    ## channel.h (module 'network'): uint32_t ns3::Channel::GetNDevices() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5195
    cls.add_method('GetNDevices', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5196
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5197
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5198
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5199
    ## channel.h (module 'network'): static ns3::TypeId ns3::Channel::GetTypeId() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5200
    cls.add_method('GetTypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5201
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5202
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5203
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5204
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5205
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5206
def register_Ns3CsmaChannel_methods(root_module, cls):
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5207
    ## csma-channel.h (module 'csma'): static ns3::TypeId ns3::CsmaChannel::GetTypeId() [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5208
    cls.add_method('GetTypeId', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5209
                   'ns3::TypeId', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5210
                   [], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5211
                   is_static=True)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5212
    ## csma-channel.h (module 'csma'): ns3::CsmaChannel::CsmaChannel() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5213
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5214
    ## csma-channel.h (module 'csma'): int32_t ns3::CsmaChannel::Attach(ns3::Ptr<ns3::CsmaNetDevice> device) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5215
    cls.add_method('Attach', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5216
                   'int32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5217
                   [param('ns3::Ptr< ns3::CsmaNetDevice >', 'device')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5218
    ## csma-channel.h (module 'csma'): bool ns3::CsmaChannel::Detach(ns3::Ptr<ns3::CsmaNetDevice> device) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5219
    cls.add_method('Detach', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5220
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5221
                   [param('ns3::Ptr< ns3::CsmaNetDevice >', 'device')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5222
    ## csma-channel.h (module 'csma'): bool ns3::CsmaChannel::Detach(uint32_t deviceId) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5223
    cls.add_method('Detach', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5224
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5225
                   [param('uint32_t', 'deviceId')])
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5226
    ## csma-channel.h (module 'csma'): bool ns3::CsmaChannel::Reattach(uint32_t deviceId) [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5227
    cls.add_method('Reattach', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5228
                   'bool', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5229
                   [param('uint32_t', 'deviceId')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5230
    ## csma-channel.h (module 'csma'): bool ns3::CsmaChannel::Reattach(ns3::Ptr<ns3::CsmaNetDevice> device) [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5231
    cls.add_method('Reattach', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5232
                   'bool', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5233
                   [param('ns3::Ptr< ns3::CsmaNetDevice >', 'device')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5234
    ## csma-channel.h (module 'csma'): bool ns3::CsmaChannel::TransmitStart(ns3::Ptr<ns3::Packet> p, uint32_t srcId) [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5235
    cls.add_method('TransmitStart', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5236
                   'bool', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5237
                   [param('ns3::Ptr< ns3::Packet >', 'p'), param('uint32_t', 'srcId')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5238
    ## csma-channel.h (module 'csma'): bool ns3::CsmaChannel::TransmitEnd() [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5239
    cls.add_method('TransmitEnd', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5240
                   'bool', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5241
                   [])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5242
    ## csma-channel.h (module 'csma'): void ns3::CsmaChannel::PropagationCompleteEvent() [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5243
    cls.add_method('PropagationCompleteEvent', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5244
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5245
                   [])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5246
    ## csma-channel.h (module 'csma'): int32_t ns3::CsmaChannel::GetDeviceNum(ns3::Ptr<ns3::CsmaNetDevice> device) [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5247
    cls.add_method('GetDeviceNum', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5248
                   'int32_t', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5249
                   [param('ns3::Ptr< ns3::CsmaNetDevice >', 'device')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5250
    ## csma-channel.h (module 'csma'): ns3::WireState ns3::CsmaChannel::GetState() [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5251
    cls.add_method('GetState', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5252
                   'ns3::WireState', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5253
                   [])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5254
    ## csma-channel.h (module 'csma'): bool ns3::CsmaChannel::IsBusy() [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5255
    cls.add_method('IsBusy', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5256
                   'bool', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5257
                   [])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5258
    ## csma-channel.h (module 'csma'): bool ns3::CsmaChannel::IsActive(uint32_t deviceId) [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5259
    cls.add_method('IsActive', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5260
                   'bool', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5261
                   [param('uint32_t', 'deviceId')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5262
    ## csma-channel.h (module 'csma'): uint32_t ns3::CsmaChannel::GetNumActDevices() [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5263
    cls.add_method('GetNumActDevices', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5264
                   'uint32_t', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5265
                   [])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5266
    ## csma-channel.h (module 'csma'): uint32_t ns3::CsmaChannel::GetNDevices() const [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5267
    cls.add_method('GetNDevices', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5268
                   'uint32_t', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5269
                   [], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5270
                   is_const=True, is_virtual=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5271
    ## csma-channel.h (module 'csma'): ns3::Ptr<ns3::NetDevice> ns3::CsmaChannel::GetDevice(uint32_t i) const [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5272
    cls.add_method('GetDevice', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5273
                   'ns3::Ptr< ns3::NetDevice >', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5274
                   [param('uint32_t', 'i')], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5275
                   is_const=True, is_virtual=True)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5276
    ## csma-channel.h (module 'csma'): ns3::Ptr<ns3::CsmaNetDevice> ns3::CsmaChannel::GetCsmaDevice(uint32_t i) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5277
    cls.add_method('GetCsmaDevice', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5278
                   'ns3::Ptr< ns3::CsmaNetDevice >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5279
                   [param('uint32_t', 'i')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5280
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5281
    ## csma-channel.h (module 'csma'): ns3::DataRate ns3::CsmaChannel::GetDataRate() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5282
    cls.add_method('GetDataRate', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5283
                   'ns3::DataRate', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5284
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5285
    ## csma-channel.h (module 'csma'): ns3::Time ns3::CsmaChannel::GetDelay() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5286
    cls.add_method('GetDelay', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5287
                   'ns3::Time', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5288
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5289
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5290
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5291
def register_Ns3DataRateChecker_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5292
    ## data-rate.h (module 'network'): ns3::DataRateChecker::DataRateChecker() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5293
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5294
    ## data-rate.h (module 'network'): ns3::DataRateChecker::DataRateChecker(ns3::DataRateChecker const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5295
    cls.add_constructor([param('ns3::DataRateChecker const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5296
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5297
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5298
def register_Ns3DataRateValue_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5299
    ## data-rate.h (module 'network'): ns3::DataRateValue::DataRateValue() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5300
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5301
    ## data-rate.h (module 'network'): ns3::DataRateValue::DataRateValue(ns3::DataRateValue const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5302
    cls.add_constructor([param('ns3::DataRateValue const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5303
    ## data-rate.h (module 'network'): ns3::DataRateValue::DataRateValue(ns3::DataRate const & value) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5304
    cls.add_constructor([param('ns3::DataRate const &', 'value')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5305
    ## data-rate.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::DataRateValue::Copy() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5306
    cls.add_method('Copy', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5307
                   'ns3::Ptr< ns3::AttributeValue >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5308
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5309
                   is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5310
    ## data-rate.h (module 'network'): bool ns3::DataRateValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5311
    cls.add_method('DeserializeFromString', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5312
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5313
                   [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5314
                   is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5315
    ## data-rate.h (module 'network'): ns3::DataRate ns3::DataRateValue::Get() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5316
    cls.add_method('Get', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5317
                   'ns3::DataRate', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5318
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5319
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5320
    ## data-rate.h (module 'network'): std::string ns3::DataRateValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5321
    cls.add_method('SerializeToString', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5322
                   'std::string', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5323
                   [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5324
                   is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5325
    ## data-rate.h (module 'network'): void ns3::DataRateValue::Set(ns3::DataRate const & value) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5326
    cls.add_method('Set', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5327
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5328
                   [param('ns3::DataRate const &', 'value')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5329
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5330
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5331
def register_Ns3EmptyAttributeValue_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5332
    ## attribute.h (module 'core'): ns3::EmptyAttributeValue::EmptyAttributeValue(ns3::EmptyAttributeValue const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5333
    cls.add_constructor([param('ns3::EmptyAttributeValue const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5334
    ## attribute.h (module 'core'): ns3::EmptyAttributeValue::EmptyAttributeValue() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5335
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5336
    ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::EmptyAttributeValue::Copy() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5337
    cls.add_method('Copy', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5338
                   'ns3::Ptr< ns3::AttributeValue >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5339
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5340
                   is_const=True, visibility='private', is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5341
    ## attribute.h (module 'core'): bool ns3::EmptyAttributeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5342
    cls.add_method('DeserializeFromString', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5343
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5344
                   [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5345
                   visibility='private', is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5346
    ## attribute.h (module 'core'): std::string ns3::EmptyAttributeValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5347
    cls.add_method('SerializeToString', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5348
                   'std::string', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5349
                   [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5350
                   is_const=True, visibility='private', is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5351
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5352
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5353
def register_Ns3EventImpl_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5354
    ## event-impl.h (module 'core'): ns3::EventImpl::EventImpl(ns3::EventImpl const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5355
    cls.add_constructor([param('ns3::EventImpl const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5356
    ## event-impl.h (module 'core'): ns3::EventImpl::EventImpl() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5357
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5358
    ## event-impl.h (module 'core'): void ns3::EventImpl::Cancel() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5359
    cls.add_method('Cancel', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5360
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5361
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5362
    ## event-impl.h (module 'core'): void ns3::EventImpl::Invoke() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5363
    cls.add_method('Invoke', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5364
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5365
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5366
    ## event-impl.h (module 'core'): bool ns3::EventImpl::IsCancelled() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5367
    cls.add_method('IsCancelled', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5368
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5369
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5370
    ## event-impl.h (module 'core'): void ns3::EventImpl::Notify() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5371
    cls.add_method('Notify', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5372
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5373
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5374
                   is_pure_virtual=True, visibility='protected', is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5375
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5376
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5377
def register_Ns3Ipv4_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5378
    ## ipv4.h (module 'internet'): ns3::Ipv4::Ipv4(ns3::Ipv4 const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5379
    cls.add_constructor([param('ns3::Ipv4 const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5380
    ## ipv4.h (module 'internet'): ns3::Ipv4::Ipv4() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5381
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5382
    ## ipv4.h (module 'internet'): bool ns3::Ipv4::AddAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5383
    cls.add_method('AddAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5384
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5385
                   [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5386
                   is_pure_virtual=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5387
    ## ipv4.h (module 'internet'): uint32_t ns3::Ipv4::AddInterface(ns3::Ptr<ns3::NetDevice> device) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5388
    cls.add_method('AddInterface', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5389
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5390
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5391
                   is_pure_virtual=True, is_virtual=True)
8966
060dba23e9bb Replace src/application usage of RandomVariable with RandomVariableStream
Mitch Watrous
parents: 8893
diff changeset
  5392
    ## ipv4.h (module 'internet'): ns3::Ptr<ns3::Socket> ns3::Ipv4::CreateRawSocket() [member function]
060dba23e9bb Replace src/application usage of RandomVariable with RandomVariableStream
Mitch Watrous
parents: 8893
diff changeset
  5393
    cls.add_method('CreateRawSocket', 
060dba23e9bb Replace src/application usage of RandomVariable with RandomVariableStream
Mitch Watrous
parents: 8893
diff changeset
  5394
                   'ns3::Ptr< ns3::Socket >', 
060dba23e9bb Replace src/application usage of RandomVariable with RandomVariableStream
Mitch Watrous
parents: 8893
diff changeset
  5395
                   [], 
060dba23e9bb Replace src/application usage of RandomVariable with RandomVariableStream
Mitch Watrous
parents: 8893
diff changeset
  5396
                   is_pure_virtual=True, is_virtual=True)
060dba23e9bb Replace src/application usage of RandomVariable with RandomVariableStream
Mitch Watrous
parents: 8893
diff changeset
  5397
    ## ipv4.h (module 'internet'): void ns3::Ipv4::DeleteRawSocket(ns3::Ptr<ns3::Socket> socket) [member function]
060dba23e9bb Replace src/application usage of RandomVariable with RandomVariableStream
Mitch Watrous
parents: 8893
diff changeset
  5398
    cls.add_method('DeleteRawSocket', 
060dba23e9bb Replace src/application usage of RandomVariable with RandomVariableStream
Mitch Watrous
parents: 8893
diff changeset
  5399
                   'void', 
060dba23e9bb Replace src/application usage of RandomVariable with RandomVariableStream
Mitch Watrous
parents: 8893
diff changeset
  5400
                   [param('ns3::Ptr< ns3::Socket >', 'socket')], 
060dba23e9bb Replace src/application usage of RandomVariable with RandomVariableStream
Mitch Watrous
parents: 8893
diff changeset
  5401
                   is_pure_virtual=True, is_virtual=True)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5402
    ## ipv4.h (module 'internet'): ns3::Ipv4InterfaceAddress ns3::Ipv4::GetAddress(uint32_t interface, uint32_t addressIndex) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5403
    cls.add_method('GetAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5404
                   'ns3::Ipv4InterfaceAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5405
                   [param('uint32_t', 'interface'), param('uint32_t', 'addressIndex')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5406
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5407
    ## ipv4.h (module 'internet'): int32_t ns3::Ipv4::GetInterfaceForAddress(ns3::Ipv4Address address) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5408
    cls.add_method('GetInterfaceForAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5409
                   'int32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5410
                   [param('ns3::Ipv4Address', 'address')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5411
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5412
    ## ipv4.h (module 'internet'): int32_t ns3::Ipv4::GetInterfaceForDevice(ns3::Ptr<const ns3::NetDevice> device) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5413
    cls.add_method('GetInterfaceForDevice', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5414
                   'int32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5415
                   [param('ns3::Ptr< ns3::NetDevice const >', 'device')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5416
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5417
    ## ipv4.h (module 'internet'): int32_t ns3::Ipv4::GetInterfaceForPrefix(ns3::Ipv4Address address, ns3::Ipv4Mask mask) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5418
    cls.add_method('GetInterfaceForPrefix', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5419
                   'int32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5420
                   [param('ns3::Ipv4Address', 'address'), param('ns3::Ipv4Mask', 'mask')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5421
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5422
    ## ipv4.h (module 'internet'): uint16_t ns3::Ipv4::GetMetric(uint32_t interface) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5423
    cls.add_method('GetMetric', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5424
                   'uint16_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5425
                   [param('uint32_t', 'interface')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5426
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5427
    ## ipv4.h (module 'internet'): uint16_t ns3::Ipv4::GetMtu(uint32_t interface) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5428
    cls.add_method('GetMtu', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5429
                   'uint16_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5430
                   [param('uint32_t', 'interface')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5431
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5432
    ## ipv4.h (module 'internet'): uint32_t ns3::Ipv4::GetNAddresses(uint32_t interface) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5433
    cls.add_method('GetNAddresses', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5434
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5435
                   [param('uint32_t', 'interface')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5436
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5437
    ## ipv4.h (module 'internet'): uint32_t ns3::Ipv4::GetNInterfaces() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5438
    cls.add_method('GetNInterfaces', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5439
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5440
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5441
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5442
    ## ipv4.h (module 'internet'): ns3::Ptr<ns3::NetDevice> ns3::Ipv4::GetNetDevice(uint32_t interface) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5443
    cls.add_method('GetNetDevice', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5444
                   'ns3::Ptr< ns3::NetDevice >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5445
                   [param('uint32_t', 'interface')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5446
                   is_pure_virtual=True, is_virtual=True)
8966
060dba23e9bb Replace src/application usage of RandomVariable with RandomVariableStream
Mitch Watrous
parents: 8893
diff changeset
  5447
    ## ipv4.h (module 'internet'): ns3::Ptr<ns3::IpL4Protocol> ns3::Ipv4::GetProtocol(int protocolNumber) const [member function]
060dba23e9bb Replace src/application usage of RandomVariable with RandomVariableStream
Mitch Watrous
parents: 8893
diff changeset
  5448
    cls.add_method('GetProtocol', 
060dba23e9bb Replace src/application usage of RandomVariable with RandomVariableStream
Mitch Watrous
parents: 8893
diff changeset
  5449
                   'ns3::Ptr< ns3::IpL4Protocol >', 
060dba23e9bb Replace src/application usage of RandomVariable with RandomVariableStream
Mitch Watrous
parents: 8893
diff changeset
  5450
                   [param('int', 'protocolNumber')], 
060dba23e9bb Replace src/application usage of RandomVariable with RandomVariableStream
Mitch Watrous
parents: 8893
diff changeset
  5451
                   is_pure_virtual=True, is_const=True, is_virtual=True)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5452
    ## ipv4.h (module 'internet'): ns3::Ptr<ns3::Ipv4RoutingProtocol> ns3::Ipv4::GetRoutingProtocol() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5453
    cls.add_method('GetRoutingProtocol', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5454
                   'ns3::Ptr< ns3::Ipv4RoutingProtocol >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5455
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5456
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5457
    ## ipv4.h (module 'internet'): static ns3::TypeId ns3::Ipv4::GetTypeId() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5458
    cls.add_method('GetTypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5459
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5460
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5461
                   is_static=True)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5462
    ## ipv4.h (module 'internet'): void ns3::Ipv4::Insert(ns3::Ptr<ns3::IpL4Protocol> protocol) [member function]
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5463
    cls.add_method('Insert', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5464
                   'void', 
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5465
                   [param('ns3::Ptr< ns3::IpL4Protocol >', 'protocol')], 
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5466
                   is_pure_virtual=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5467
    ## ipv4.h (module 'internet'): bool ns3::Ipv4::IsDestinationAddress(ns3::Ipv4Address address, uint32_t iif) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5468
    cls.add_method('IsDestinationAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5469
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5470
                   [param('ns3::Ipv4Address', 'address'), param('uint32_t', 'iif')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5471
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5472
    ## ipv4.h (module 'internet'): bool ns3::Ipv4::IsForwarding(uint32_t interface) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5473
    cls.add_method('IsForwarding', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5474
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5475
                   [param('uint32_t', 'interface')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5476
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5477
    ## ipv4.h (module 'internet'): bool ns3::Ipv4::IsUp(uint32_t interface) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5478
    cls.add_method('IsUp', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5479
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5480
                   [param('uint32_t', 'interface')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5481
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5482
    ## ipv4.h (module 'internet'): bool ns3::Ipv4::RemoveAddress(uint32_t interface, uint32_t addressIndex) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5483
    cls.add_method('RemoveAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5484
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5485
                   [param('uint32_t', 'interface'), param('uint32_t', 'addressIndex')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5486
                   is_pure_virtual=True, is_virtual=True)
10183
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  5487
    ## ipv4.h (module 'internet'): bool ns3::Ipv4::RemoveAddress(uint32_t interface, ns3::Ipv4Address address) [member function]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  5488
    cls.add_method('RemoveAddress', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  5489
                   'bool', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  5490
                   [param('uint32_t', 'interface'), param('ns3::Ipv4Address', 'address')], 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  5491
                   is_pure_virtual=True, is_virtual=True)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5492
    ## ipv4.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4::SelectSourceAddress(ns3::Ptr<const ns3::NetDevice> device, ns3::Ipv4Address dst, ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e scope) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5493
    cls.add_method('SelectSourceAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5494
                   'ns3::Ipv4Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5495
                   [param('ns3::Ptr< ns3::NetDevice const >', 'device'), param('ns3::Ipv4Address', 'dst'), param('ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', 'scope')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5496
                   is_pure_virtual=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5497
    ## ipv4.h (module 'internet'): void ns3::Ipv4::Send(ns3::Ptr<ns3::Packet> packet, ns3::Ipv4Address source, ns3::Ipv4Address destination, uint8_t protocol, ns3::Ptr<ns3::Ipv4Route> route) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5498
    cls.add_method('Send', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5499
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5500
                   [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'destination'), param('uint8_t', 'protocol'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5501
                   is_pure_virtual=True, is_virtual=True)
8966
060dba23e9bb Replace src/application usage of RandomVariable with RandomVariableStream
Mitch Watrous
parents: 8893
diff changeset
  5502
    ## ipv4.h (module 'internet'): void ns3::Ipv4::SendWithHeader(ns3::Ptr<ns3::Packet> packet, ns3::Ipv4Header ipHeader, ns3::Ptr<ns3::Ipv4Route> route) [member function]
060dba23e9bb Replace src/application usage of RandomVariable with RandomVariableStream
Mitch Watrous
parents: 8893
diff changeset
  5503
    cls.add_method('SendWithHeader', 
060dba23e9bb Replace src/application usage of RandomVariable with RandomVariableStream
Mitch Watrous
parents: 8893
diff changeset
  5504
                   'void', 
060dba23e9bb Replace src/application usage of RandomVariable with RandomVariableStream
Mitch Watrous
parents: 8893
diff changeset
  5505
                   [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Header', 'ipHeader'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')], 
060dba23e9bb Replace src/application usage of RandomVariable with RandomVariableStream
Mitch Watrous
parents: 8893
diff changeset
  5506
                   is_pure_virtual=True, is_virtual=True)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5507
    ## ipv4.h (module 'internet'): void ns3::Ipv4::SetDown(uint32_t interface) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5508
    cls.add_method('SetDown', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5509
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5510
                   [param('uint32_t', 'interface')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5511
                   is_pure_virtual=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5512
    ## ipv4.h (module 'internet'): void ns3::Ipv4::SetForwarding(uint32_t interface, bool val) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5513
    cls.add_method('SetForwarding', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5514
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5515
                   [param('uint32_t', 'interface'), param('bool', 'val')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5516
                   is_pure_virtual=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5517
    ## ipv4.h (module 'internet'): void ns3::Ipv4::SetMetric(uint32_t interface, uint16_t metric) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5518
    cls.add_method('SetMetric', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5519
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5520
                   [param('uint32_t', 'interface'), param('uint16_t', 'metric')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5521
                   is_pure_virtual=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5522
    ## ipv4.h (module 'internet'): void ns3::Ipv4::SetRoutingProtocol(ns3::Ptr<ns3::Ipv4RoutingProtocol> routingProtocol) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5523
    cls.add_method('SetRoutingProtocol', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5524
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5525
                   [param('ns3::Ptr< ns3::Ipv4RoutingProtocol >', 'routingProtocol')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5526
                   is_pure_virtual=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5527
    ## ipv4.h (module 'internet'): void ns3::Ipv4::SetUp(uint32_t interface) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5528
    cls.add_method('SetUp', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5529
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5530
                   [param('uint32_t', 'interface')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5531
                   is_pure_virtual=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5532
    ## ipv4.h (module 'internet'): ns3::Ipv4::IF_ANY [variable]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5533
    cls.add_static_attribute('IF_ANY', 'uint32_t const', is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5534
    ## ipv4.h (module 'internet'): bool ns3::Ipv4::GetIpForward() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5535
    cls.add_method('GetIpForward', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5536
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5537
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5538
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5539
    ## ipv4.h (module 'internet'): bool ns3::Ipv4::GetWeakEsModel() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5540
    cls.add_method('GetWeakEsModel', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5541
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5542
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5543
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5544
    ## ipv4.h (module 'internet'): void ns3::Ipv4::SetIpForward(bool forward) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5545
    cls.add_method('SetIpForward', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5546
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5547
                   [param('bool', 'forward')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5548
                   is_pure_virtual=True, visibility='private', is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5549
    ## ipv4.h (module 'internet'): void ns3::Ipv4::SetWeakEsModel(bool model) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5550
    cls.add_method('SetWeakEsModel', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5551
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5552
                   [param('bool', 'model')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5553
                   is_pure_virtual=True, visibility='private', is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5554
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5555
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5556
def register_Ns3Ipv4AddressChecker_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5557
    ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker::Ipv4AddressChecker() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5558
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5559
    ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker::Ipv4AddressChecker(ns3::Ipv4AddressChecker const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5560
    cls.add_constructor([param('ns3::Ipv4AddressChecker const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5561
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5562
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5563
def register_Ns3Ipv4AddressValue_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5564
    ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue::Ipv4AddressValue() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5565
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5566
    ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue::Ipv4AddressValue(ns3::Ipv4AddressValue const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5567
    cls.add_constructor([param('ns3::Ipv4AddressValue const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5568
    ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue::Ipv4AddressValue(ns3::Ipv4Address const & value) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5569
    cls.add_constructor([param('ns3::Ipv4Address const &', 'value')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5570
    ## ipv4-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv4AddressValue::Copy() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5571
    cls.add_method('Copy', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5572
                   'ns3::Ptr< ns3::AttributeValue >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5573
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5574
                   is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5575
    ## ipv4-address.h (module 'network'): bool ns3::Ipv4AddressValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5576
    cls.add_method('DeserializeFromString', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5577
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5578
                   [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5579
                   is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5580
    ## ipv4-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv4AddressValue::Get() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5581
    cls.add_method('Get', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5582
                   'ns3::Ipv4Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5583
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5584
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5585
    ## ipv4-address.h (module 'network'): std::string ns3::Ipv4AddressValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5586
    cls.add_method('SerializeToString', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5587
                   'std::string', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5588
                   [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5589
                   is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5590
    ## ipv4-address.h (module 'network'): void ns3::Ipv4AddressValue::Set(ns3::Ipv4Address const & value) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5591
    cls.add_method('Set', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5592
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5593
                   [param('ns3::Ipv4Address const &', 'value')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5594
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5595
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5596
def register_Ns3Ipv4L3Protocol_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5597
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::Ipv4L3Protocol() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5598
    cls.add_constructor([])
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5599
    ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::AddAddress(uint32_t i, ns3::Ipv4InterfaceAddress address) [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5600
    cls.add_method('AddAddress', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5601
                   'bool', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5602
                   [param('uint32_t', 'i'), param('ns3::Ipv4InterfaceAddress', 'address')], 
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5603
                   is_virtual=True)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5604
    ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::AddInterface(ns3::Ptr<ns3::NetDevice> device) [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5605
    cls.add_method('AddInterface', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5606
                   'uint32_t', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5607
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5608
                   is_virtual=True)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5609
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::Socket> ns3::Ipv4L3Protocol::CreateRawSocket() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5610
    cls.add_method('CreateRawSocket', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5611
                   'ns3::Ptr< ns3::Socket >', 
8966
060dba23e9bb Replace src/application usage of RandomVariable with RandomVariableStream
Mitch Watrous
parents: 8893
diff changeset
  5612
                   [], 
060dba23e9bb Replace src/application usage of RandomVariable with RandomVariableStream
Mitch Watrous
parents: 8893
diff changeset
  5613
                   is_virtual=True)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5614
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::DeleteRawSocket(ns3::Ptr<ns3::Socket> socket) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5615
    cls.add_method('DeleteRawSocket', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5616
                   'void', 
8966
060dba23e9bb Replace src/application usage of RandomVariable with RandomVariableStream
Mitch Watrous
parents: 8893
diff changeset
  5617
                   [param('ns3::Ptr< ns3::Socket >', 'socket')], 
060dba23e9bb Replace src/application usage of RandomVariable with RandomVariableStream
Mitch Watrous
parents: 8893
diff changeset
  5618
                   is_virtual=True)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5619
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4InterfaceAddress ns3::Ipv4L3Protocol::GetAddress(uint32_t interfaceIndex, uint32_t addressIndex) const [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5620
    cls.add_method('GetAddress', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5621
                   'ns3::Ipv4InterfaceAddress', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5622
                   [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5623
                   is_const=True, is_virtual=True)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5624
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::Ipv4Interface> ns3::Ipv4L3Protocol::GetInterface(uint32_t i) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5625
    cls.add_method('GetInterface', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5626
                   'ns3::Ptr< ns3::Ipv4Interface >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5627
                   [param('uint32_t', 'i')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5628
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5629
    ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForAddress(ns3::Ipv4Address addr) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5630
    cls.add_method('GetInterfaceForAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5631
                   'int32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5632
                   [param('ns3::Ipv4Address', 'addr')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5633
                   is_const=True, is_virtual=True)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5634
    ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForDevice(ns3::Ptr<const ns3::NetDevice> device) const [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5635
    cls.add_method('GetInterfaceForDevice', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5636
                   'int32_t', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5637
                   [param('ns3::Ptr< ns3::NetDevice const >', 'device')], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5638
                   is_const=True, is_virtual=True)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5639
    ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForPrefix(ns3::Ipv4Address addr, ns3::Ipv4Mask mask) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5640
    cls.add_method('GetInterfaceForPrefix', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5641
                   'int32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5642
                   [param('ns3::Ipv4Address', 'addr'), param('ns3::Ipv4Mask', 'mask')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5643
                   is_const=True, is_virtual=True)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5644
    ## ipv4-l3-protocol.h (module 'internet'): uint16_t ns3::Ipv4L3Protocol::GetMetric(uint32_t i) const [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5645
    cls.add_method('GetMetric', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5646
                   'uint16_t', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5647
                   [param('uint32_t', 'i')], 
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5648
                   is_const=True, is_virtual=True)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5649
    ## ipv4-l3-protocol.h (module 'internet'): uint16_t ns3::Ipv4L3Protocol::GetMtu(uint32_t i) const [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5650
    cls.add_method('GetMtu', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5651
                   'uint16_t', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5652
                   [param('uint32_t', 'i')], 
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5653
                   is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5654
    ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::GetNAddresses(uint32_t interface) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5655
    cls.add_method('GetNAddresses', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5656
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5657
                   [param('uint32_t', 'interface')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5658
                   is_const=True, is_virtual=True)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5659
    ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::GetNInterfaces() const [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5660
    cls.add_method('GetNInterfaces', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5661
                   'uint32_t', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5662
                   [], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5663
                   is_const=True, is_virtual=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5664
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::NetDevice> ns3::Ipv4L3Protocol::GetNetDevice(uint32_t i) [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5665
    cls.add_method('GetNetDevice', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5666
                   'ns3::Ptr< ns3::NetDevice >', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5667
                   [param('uint32_t', 'i')], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5668
                   is_virtual=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5669
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::IpL4Protocol> ns3::Ipv4L3Protocol::GetProtocol(int protocolNumber) const [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5670
    cls.add_method('GetProtocol', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5671
                   'ns3::Ptr< ns3::IpL4Protocol >', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5672
                   [param('int', 'protocolNumber')], 
8966
060dba23e9bb Replace src/application usage of RandomVariable with RandomVariableStream
Mitch Watrous
parents: 8893
diff changeset
  5673
                   is_const=True, is_virtual=True)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5674
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::Ipv4RoutingProtocol> ns3::Ipv4L3Protocol::GetRoutingProtocol() const [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5675
    cls.add_method('GetRoutingProtocol', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5676
                   'ns3::Ptr< ns3::Ipv4RoutingProtocol >', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5677
                   [], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5678
                   is_const=True, is_virtual=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5679
    ## ipv4-l3-protocol.h (module 'internet'): static ns3::TypeId ns3::Ipv4L3Protocol::GetTypeId() [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5680
    cls.add_method('GetTypeId', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5681
                   'ns3::TypeId', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5682
                   [], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5683
                   is_static=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5684
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Insert(ns3::Ptr<ns3::IpL4Protocol> protocol) [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5685
    cls.add_method('Insert', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5686
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5687
                   [param('ns3::Ptr< ns3::IpL4Protocol >', 'protocol')], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5688
                   is_virtual=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5689
    ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsDestinationAddress(ns3::Ipv4Address address, uint32_t iif) const [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5690
    cls.add_method('IsDestinationAddress', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5691
                   'bool', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5692
                   [param('ns3::Ipv4Address', 'address'), param('uint32_t', 'iif')], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5693
                   is_const=True, is_virtual=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5694
    ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsForwarding(uint32_t i) const [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5695
    cls.add_method('IsForwarding', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5696
                   'bool', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5697
                   [param('uint32_t', 'i')], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5698
                   is_const=True, is_virtual=True)
10795
29506f2221e2 update bindings
Tom Henderson <tomh@tomh.org>
parents: 10631
diff changeset
  5699
    ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsUnicast(ns3::Ipv4Address ad) const [member function]
29506f2221e2 update bindings
Tom Henderson <tomh@tomh.org>
parents: 10631
diff changeset
  5700
    cls.add_method('IsUnicast', 
29506f2221e2 update bindings
Tom Henderson <tomh@tomh.org>
parents: 10631
diff changeset
  5701
                   'bool', 
29506f2221e2 update bindings
Tom Henderson <tomh@tomh.org>
parents: 10631
diff changeset
  5702
                   [param('ns3::Ipv4Address', 'ad')], 
29506f2221e2 update bindings
Tom Henderson <tomh@tomh.org>
parents: 10631
diff changeset
  5703
                   is_const=True)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5704
    ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsUp(uint32_t i) const [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5705
    cls.add_method('IsUp', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5706
                   'bool', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5707
                   [param('uint32_t', 'i')], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5708
                   is_const=True, is_virtual=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5709
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Receive(ns3::Ptr<ns3::NetDevice> device, ns3::Ptr<const ns3::Packet> p, uint16_t protocol, ns3::Address const & from, ns3::Address const & to, ns3::NetDevice::PacketType packetType) [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5710
    cls.add_method('Receive', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5711
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5712
                   [param('ns3::Ptr< ns3::NetDevice >', 'device'), param('ns3::Ptr< ns3::Packet const >', 'p'), param('uint16_t', 'protocol'), param('ns3::Address const &', 'from'), param('ns3::Address const &', 'to'), param('ns3::NetDevice::PacketType', 'packetType')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5713
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Remove(ns3::Ptr<ns3::IpL4Protocol> protocol) [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5714
    cls.add_method('Remove', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5715
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5716
                   [param('ns3::Ptr< ns3::IpL4Protocol >', 'protocol')])
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5717
    ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::RemoveAddress(uint32_t interfaceIndex, uint32_t addressIndex) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5718
    cls.add_method('RemoveAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5719
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5720
                   [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5721
                   is_virtual=True)
10183
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  5722
    ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::RemoveAddress(uint32_t interface, ns3::Ipv4Address address) [member function]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  5723
    cls.add_method('RemoveAddress', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  5724
                   'bool', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  5725
                   [param('uint32_t', 'interface'), param('ns3::Ipv4Address', 'address')], 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  5726
                   is_virtual=True)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5727
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4L3Protocol::SelectSourceAddress(ns3::Ptr<const ns3::NetDevice> device, ns3::Ipv4Address dst, ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e scope) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5728
    cls.add_method('SelectSourceAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5729
                   'ns3::Ipv4Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5730
                   [param('ns3::Ptr< ns3::NetDevice const >', 'device'), param('ns3::Ipv4Address', 'dst'), param('ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', 'scope')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5731
                   is_virtual=True)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5732
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Send(ns3::Ptr<ns3::Packet> packet, ns3::Ipv4Address source, ns3::Ipv4Address destination, uint8_t protocol, ns3::Ptr<ns3::Ipv4Route> route) [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5733
    cls.add_method('Send', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5734
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5735
                   [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'destination'), param('uint8_t', 'protocol'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5736
                   is_virtual=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5737
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SendWithHeader(ns3::Ptr<ns3::Packet> packet, ns3::Ipv4Header ipHeader, ns3::Ptr<ns3::Ipv4Route> route) [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5738
    cls.add_method('SendWithHeader', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5739
                   'void', 
8966
060dba23e9bb Replace src/application usage of RandomVariable with RandomVariableStream
Mitch Watrous
parents: 8893
diff changeset
  5740
                   [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Header', 'ipHeader'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')], 
060dba23e9bb Replace src/application usage of RandomVariable with RandomVariableStream
Mitch Watrous
parents: 8893
diff changeset
  5741
                   is_virtual=True)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5742
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetDefaultTtl(uint8_t ttl) [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5743
    cls.add_method('SetDefaultTtl', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5744
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5745
                   [param('uint8_t', 'ttl')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5746
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetDown(uint32_t i) [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5747
    cls.add_method('SetDown', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5748
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5749
                   [param('uint32_t', 'i')], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5750
                   is_virtual=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5751
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetForwarding(uint32_t i, bool val) [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5752
    cls.add_method('SetForwarding', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5753
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5754
                   [param('uint32_t', 'i'), param('bool', 'val')], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5755
                   is_virtual=True)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5756
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetMetric(uint32_t i, uint16_t metric) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5757
    cls.add_method('SetMetric', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5758
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5759
                   [param('uint32_t', 'i'), param('uint16_t', 'metric')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5760
                   is_virtual=True)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5761
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetNode(ns3::Ptr<ns3::Node> node) [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5762
    cls.add_method('SetNode', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5763
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5764
                   [param('ns3::Ptr< ns3::Node >', 'node')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5765
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetRoutingProtocol(ns3::Ptr<ns3::Ipv4RoutingProtocol> routingProtocol) [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5766
    cls.add_method('SetRoutingProtocol', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5767
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5768
                   [param('ns3::Ptr< ns3::Ipv4RoutingProtocol >', 'routingProtocol')], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5769
                   is_virtual=True)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5770
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetUp(uint32_t i) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5771
    cls.add_method('SetUp', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5772
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5773
                   [param('uint32_t', 'i')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5774
                   is_virtual=True)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5775
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::PROT_NUMBER [variable]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5776
    cls.add_static_attribute('PROT_NUMBER', 'uint16_t const', is_const=True)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5777
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::DoDispose() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5778
    cls.add_method('DoDispose', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5779
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5780
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5781
                   visibility='protected', is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5782
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::NotifyNewAggregate() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5783
    cls.add_method('NotifyNewAggregate', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5784
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5785
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5786
                   visibility='protected', is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5787
    ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::GetIpForward() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5788
    cls.add_method('GetIpForward', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5789
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5790
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5791
                   is_const=True, visibility='private', is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5792
    ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::GetWeakEsModel() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5793
    cls.add_method('GetWeakEsModel', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5794
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5795
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5796
                   is_const=True, visibility='private', is_virtual=True)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5797
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetIpForward(bool forward) [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5798
    cls.add_method('SetIpForward', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5799
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5800
                   [param('bool', 'forward')], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5801
                   visibility='private', is_virtual=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5802
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetWeakEsModel(bool model) [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5803
    cls.add_method('SetWeakEsModel', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5804
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5805
                   [param('bool', 'model')], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5806
                   visibility='private', is_virtual=True)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5807
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5808
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5809
def register_Ns3Ipv4MaskChecker_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5810
    ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker::Ipv4MaskChecker() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5811
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5812
    ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker::Ipv4MaskChecker(ns3::Ipv4MaskChecker const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5813
    cls.add_constructor([param('ns3::Ipv4MaskChecker const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5814
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5815
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5816
def register_Ns3Ipv4MaskValue_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5817
    ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue::Ipv4MaskValue() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5818
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5819
    ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue::Ipv4MaskValue(ns3::Ipv4MaskValue const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5820
    cls.add_constructor([param('ns3::Ipv4MaskValue const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5821
    ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue::Ipv4MaskValue(ns3::Ipv4Mask const & value) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5822
    cls.add_constructor([param('ns3::Ipv4Mask const &', 'value')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5823
    ## ipv4-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv4MaskValue::Copy() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5824
    cls.add_method('Copy', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5825
                   'ns3::Ptr< ns3::AttributeValue >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5826
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5827
                   is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5828
    ## ipv4-address.h (module 'network'): bool ns3::Ipv4MaskValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5829
    cls.add_method('DeserializeFromString', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5830
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5831
                   [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5832
                   is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5833
    ## ipv4-address.h (module 'network'): ns3::Ipv4Mask ns3::Ipv4MaskValue::Get() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5834
    cls.add_method('Get', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5835
                   'ns3::Ipv4Mask', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5836
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5837
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5838
    ## ipv4-address.h (module 'network'): std::string ns3::Ipv4MaskValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5839
    cls.add_method('SerializeToString', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5840
                   'std::string', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5841
                   [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5842
                   is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5843
    ## ipv4-address.h (module 'network'): void ns3::Ipv4MaskValue::Set(ns3::Ipv4Mask const & value) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5844
    cls.add_method('Set', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5845
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5846
                   [param('ns3::Ipv4Mask const &', 'value')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5847
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5848
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5849
def register_Ns3Ipv4MulticastRoute_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5850
    ## ipv4-route.h (module 'internet'): ns3::Ipv4MulticastRoute::Ipv4MulticastRoute(ns3::Ipv4MulticastRoute const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5851
    cls.add_constructor([param('ns3::Ipv4MulticastRoute const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5852
    ## ipv4-route.h (module 'internet'): ns3::Ipv4MulticastRoute::Ipv4MulticastRoute() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5853
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5854
    ## ipv4-route.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4MulticastRoute::GetGroup() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5855
    cls.add_method('GetGroup', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5856
                   'ns3::Ipv4Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5857
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5858
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5859
    ## ipv4-route.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4MulticastRoute::GetOrigin() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5860
    cls.add_method('GetOrigin', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5861
                   'ns3::Ipv4Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5862
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5863
                   is_const=True)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5864
    ## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetOutputTtl(uint32_t oif) [member function]
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5865
    cls.add_method('GetOutputTtl', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5866
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5867
                   [param('uint32_t', 'oif')], 
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5868
                   deprecated=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5869
    ## ipv4-route.h (module 'internet'): std::map<unsigned int, unsigned int, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, unsigned int> > > ns3::Ipv4MulticastRoute::GetOutputTtlMap() const [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5870
    cls.add_method('GetOutputTtlMap', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5871
                   'std::map< unsigned int, unsigned int >', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5872
                   [], 
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5873
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5874
    ## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetParent() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5875
    cls.add_method('GetParent', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5876
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5877
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5878
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5879
    ## ipv4-route.h (module 'internet'): void ns3::Ipv4MulticastRoute::SetGroup(ns3::Ipv4Address const group) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5880
    cls.add_method('SetGroup', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5881
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5882
                   [param('ns3::Ipv4Address const', 'group')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5883
    ## ipv4-route.h (module 'internet'): void ns3::Ipv4MulticastRoute::SetOrigin(ns3::Ipv4Address const origin) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5884
    cls.add_method('SetOrigin', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5885
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5886
                   [param('ns3::Ipv4Address const', 'origin')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5887
    ## ipv4-route.h (module 'internet'): void ns3::Ipv4MulticastRoute::SetOutputTtl(uint32_t oif, uint32_t ttl) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5888
    cls.add_method('SetOutputTtl', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5889
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5890
                   [param('uint32_t', 'oif'), param('uint32_t', 'ttl')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5891
    ## ipv4-route.h (module 'internet'): void ns3::Ipv4MulticastRoute::SetParent(uint32_t iif) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5892
    cls.add_method('SetParent', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5893
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5894
                   [param('uint32_t', 'iif')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5895
    ## ipv4-route.h (module 'internet'): ns3::Ipv4MulticastRoute::MAX_INTERFACES [variable]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5896
    cls.add_static_attribute('MAX_INTERFACES', 'uint32_t const', is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5897
    ## ipv4-route.h (module 'internet'): ns3::Ipv4MulticastRoute::MAX_TTL [variable]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5898
    cls.add_static_attribute('MAX_TTL', 'uint32_t const', is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5899
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5900
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5901
def register_Ns3Ipv4Route_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5902
    cls.add_output_stream_operator()
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5903
    ## ipv4-route.h (module 'internet'): ns3::Ipv4Route::Ipv4Route(ns3::Ipv4Route const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5904
    cls.add_constructor([param('ns3::Ipv4Route const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5905
    ## ipv4-route.h (module 'internet'): ns3::Ipv4Route::Ipv4Route() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5906
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5907
    ## ipv4-route.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4Route::GetDestination() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5908
    cls.add_method('GetDestination', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5909
                   'ns3::Ipv4Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5910
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5911
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5912
    ## ipv4-route.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4Route::GetGateway() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5913
    cls.add_method('GetGateway', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5914
                   'ns3::Ipv4Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5915
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5916
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5917
    ## ipv4-route.h (module 'internet'): ns3::Ptr<ns3::NetDevice> ns3::Ipv4Route::GetOutputDevice() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5918
    cls.add_method('GetOutputDevice', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5919
                   'ns3::Ptr< ns3::NetDevice >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5920
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5921
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5922
    ## ipv4-route.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4Route::GetSource() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5923
    cls.add_method('GetSource', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5924
                   'ns3::Ipv4Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5925
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5926
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5927
    ## ipv4-route.h (module 'internet'): void ns3::Ipv4Route::SetDestination(ns3::Ipv4Address dest) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5928
    cls.add_method('SetDestination', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5929
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5930
                   [param('ns3::Ipv4Address', 'dest')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5931
    ## ipv4-route.h (module 'internet'): void ns3::Ipv4Route::SetGateway(ns3::Ipv4Address gw) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5932
    cls.add_method('SetGateway', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5933
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5934
                   [param('ns3::Ipv4Address', 'gw')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5935
    ## ipv4-route.h (module 'internet'): void ns3::Ipv4Route::SetOutputDevice(ns3::Ptr<ns3::NetDevice> outputDevice) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5936
    cls.add_method('SetOutputDevice', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5937
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5938
                   [param('ns3::Ptr< ns3::NetDevice >', 'outputDevice')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5939
    ## ipv4-route.h (module 'internet'): void ns3::Ipv4Route::SetSource(ns3::Ipv4Address src) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5940
    cls.add_method('SetSource', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5941
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5942
                   [param('ns3::Ipv4Address', 'src')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5943
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5944
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5945
def register_Ns3Ipv4RoutingProtocol_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5946
    ## ipv4-routing-protocol.h (module 'internet'): ns3::Ipv4RoutingProtocol::Ipv4RoutingProtocol() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5947
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5948
    ## ipv4-routing-protocol.h (module 'internet'): ns3::Ipv4RoutingProtocol::Ipv4RoutingProtocol(ns3::Ipv4RoutingProtocol const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5949
    cls.add_constructor([param('ns3::Ipv4RoutingProtocol const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5950
    ## ipv4-routing-protocol.h (module 'internet'): static ns3::TypeId ns3::Ipv4RoutingProtocol::GetTypeId() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5951
    cls.add_method('GetTypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5952
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5953
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5954
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5955
    ## ipv4-routing-protocol.h (module 'internet'): void ns3::Ipv4RoutingProtocol::NotifyAddAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5956
    cls.add_method('NotifyAddAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5957
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5958
                   [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5959
                   is_pure_virtual=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5960
    ## ipv4-routing-protocol.h (module 'internet'): void ns3::Ipv4RoutingProtocol::NotifyInterfaceDown(uint32_t interface) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5961
    cls.add_method('NotifyInterfaceDown', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5962
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5963
                   [param('uint32_t', 'interface')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5964
                   is_pure_virtual=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5965
    ## ipv4-routing-protocol.h (module 'internet'): void ns3::Ipv4RoutingProtocol::NotifyInterfaceUp(uint32_t interface) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5966
    cls.add_method('NotifyInterfaceUp', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5967
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5968
                   [param('uint32_t', 'interface')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5969
                   is_pure_virtual=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5970
    ## ipv4-routing-protocol.h (module 'internet'): void ns3::Ipv4RoutingProtocol::NotifyRemoveAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5971
    cls.add_method('NotifyRemoveAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5972
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5973
                   [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5974
                   is_pure_virtual=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5975
    ## ipv4-routing-protocol.h (module 'internet'): void ns3::Ipv4RoutingProtocol::PrintRoutingTable(ns3::Ptr<ns3::OutputStreamWrapper> stream) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5976
    cls.add_method('PrintRoutingTable', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5977
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5978
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5979
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5980
    ## ipv4-routing-protocol.h (module 'internet'): bool ns3::Ipv4RoutingProtocol::RouteInput(ns3::Ptr<const ns3::Packet> p, ns3::Ipv4Header const & header, ns3::Ptr<const ns3::NetDevice> idev, ns3::Callback<void,ns3::Ptr<ns3::Ipv4Route>,ns3::Ptr<const ns3::Packet>,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ucb, ns3::Callback<void,ns3::Ptr<ns3::Ipv4MulticastRoute>,ns3::Ptr<const ns3::Packet>,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> mcb, ns3::Callback<void,ns3::Ptr<const ns3::Packet>,const ns3::Ipv4Header&,unsigned int,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> lcb, ns3::Callback<void,ns3::Ptr<const ns3::Packet>,const ns3::Ipv4Header&,ns3::Socket::SocketErrno,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ecb) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5981
    cls.add_method('RouteInput', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5982
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5983
                   [param('ns3::Ptr< ns3::Packet const >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::NetDevice const >', 'idev'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv4Route >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ucb'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv4MulticastRoute >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'mcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'lcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ecb')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5984
                   is_pure_virtual=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5985
    ## ipv4-routing-protocol.h (module 'internet'): ns3::Ptr<ns3::Ipv4Route> ns3::Ipv4RoutingProtocol::RouteOutput(ns3::Ptr<ns3::Packet> p, ns3::Ipv4Header const & header, ns3::Ptr<ns3::NetDevice> oif, ns3::Socket::SocketErrno & sockerr) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5986
    cls.add_method('RouteOutput', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5987
                   'ns3::Ptr< ns3::Ipv4Route >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5988
                   [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::NetDevice >', 'oif'), param('ns3::Socket::SocketErrno &', 'sockerr')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5989
                   is_pure_virtual=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5990
    ## ipv4-routing-protocol.h (module 'internet'): void ns3::Ipv4RoutingProtocol::SetIpv4(ns3::Ptr<ns3::Ipv4> ipv4) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5991
    cls.add_method('SetIpv4', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5992
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5993
                   [param('ns3::Ptr< ns3::Ipv4 >', 'ipv4')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5994
                   is_pure_virtual=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5995
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5996
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5997
def register_Ns3Ipv6_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5998
    ## ipv6.h (module 'internet'): ns3::Ipv6::Ipv6(ns3::Ipv6 const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5999
    cls.add_constructor([param('ns3::Ipv6 const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6000
    ## ipv6.h (module 'internet'): ns3::Ipv6::Ipv6() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6001
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6002
    ## ipv6.h (module 'internet'): bool ns3::Ipv6::AddAddress(uint32_t interface, ns3::Ipv6InterfaceAddress address) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6003
    cls.add_method('AddAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6004
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6005
                   [param('uint32_t', 'interface'), param('ns3::Ipv6InterfaceAddress', 'address')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6006
                   is_pure_virtual=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6007
    ## ipv6.h (module 'internet'): uint32_t ns3::Ipv6::AddInterface(ns3::Ptr<ns3::NetDevice> device) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6008
    cls.add_method('AddInterface', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6009
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6010
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6011
                   is_pure_virtual=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6012
    ## ipv6.h (module 'internet'): ns3::Ipv6InterfaceAddress ns3::Ipv6::GetAddress(uint32_t interface, uint32_t addressIndex) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6013
    cls.add_method('GetAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6014
                   'ns3::Ipv6InterfaceAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6015
                   [param('uint32_t', 'interface'), param('uint32_t', 'addressIndex')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6016
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6017
    ## ipv6.h (module 'internet'): int32_t ns3::Ipv6::GetInterfaceForAddress(ns3::Ipv6Address address) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6018
    cls.add_method('GetInterfaceForAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6019
                   'int32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6020
                   [param('ns3::Ipv6Address', 'address')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6021
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6022
    ## ipv6.h (module 'internet'): int32_t ns3::Ipv6::GetInterfaceForDevice(ns3::Ptr<const ns3::NetDevice> device) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6023
    cls.add_method('GetInterfaceForDevice', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6024
                   'int32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6025
                   [param('ns3::Ptr< ns3::NetDevice const >', 'device')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6026
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6027
    ## ipv6.h (module 'internet'): int32_t ns3::Ipv6::GetInterfaceForPrefix(ns3::Ipv6Address address, ns3::Ipv6Prefix mask) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6028
    cls.add_method('GetInterfaceForPrefix', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6029
                   'int32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6030
                   [param('ns3::Ipv6Address', 'address'), param('ns3::Ipv6Prefix', 'mask')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6031
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6032
    ## ipv6.h (module 'internet'): uint16_t ns3::Ipv6::GetMetric(uint32_t interface) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6033
    cls.add_method('GetMetric', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6034
                   'uint16_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6035
                   [param('uint32_t', 'interface')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6036
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6037
    ## ipv6.h (module 'internet'): uint16_t ns3::Ipv6::GetMtu(uint32_t interface) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6038
    cls.add_method('GetMtu', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6039
                   'uint16_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6040
                   [param('uint32_t', 'interface')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6041
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6042
    ## ipv6.h (module 'internet'): uint32_t ns3::Ipv6::GetNAddresses(uint32_t interface) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6043
    cls.add_method('GetNAddresses', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6044
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6045
                   [param('uint32_t', 'interface')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6046
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6047
    ## ipv6.h (module 'internet'): uint32_t ns3::Ipv6::GetNInterfaces() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6048
    cls.add_method('GetNInterfaces', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6049
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6050
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6051
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6052
    ## ipv6.h (module 'internet'): ns3::Ptr<ns3::NetDevice> ns3::Ipv6::GetNetDevice(uint32_t interface) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6053
    cls.add_method('GetNetDevice', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6054
                   'ns3::Ptr< ns3::NetDevice >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6055
                   [param('uint32_t', 'interface')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6056
                   is_pure_virtual=True, is_virtual=True)
10566
9594a4df3bde Bug 1826 - make ns3::Ipv6Interface independent from ns3::IPv6L3protocol
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents: 10564
diff changeset
  6057
    ## ipv6.h (module 'internet'): ns3::Ptr<ns3::IpL4Protocol> ns3::Ipv6::GetProtocol(int protocolNumber) const [member function]
9594a4df3bde Bug 1826 - make ns3::Ipv6Interface independent from ns3::IPv6L3protocol
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents: 10564
diff changeset
  6058
    cls.add_method('GetProtocol', 
9594a4df3bde Bug 1826 - make ns3::Ipv6Interface independent from ns3::IPv6L3protocol
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents: 10564
diff changeset
  6059
                   'ns3::Ptr< ns3::IpL4Protocol >', 
9594a4df3bde Bug 1826 - make ns3::Ipv6Interface independent from ns3::IPv6L3protocol
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents: 10564
diff changeset
  6060
                   [param('int', 'protocolNumber')], 
9594a4df3bde Bug 1826 - make ns3::Ipv6Interface independent from ns3::IPv6L3protocol
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents: 10564
diff changeset
  6061
                   is_pure_virtual=True, is_const=True, is_virtual=True)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6062
    ## ipv6.h (module 'internet'): ns3::Ptr<ns3::Ipv6RoutingProtocol> ns3::Ipv6::GetRoutingProtocol() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6063
    cls.add_method('GetRoutingProtocol', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6064
                   'ns3::Ptr< ns3::Ipv6RoutingProtocol >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6065
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6066
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6067
    ## ipv6.h (module 'internet'): static ns3::TypeId ns3::Ipv6::GetTypeId() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6068
    cls.add_method('GetTypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6069
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6070
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6071
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6072
    ## ipv6.h (module 'internet'): bool ns3::Ipv6::IsForwarding(uint32_t interface) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6073
    cls.add_method('IsForwarding', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6074
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6075
                   [param('uint32_t', 'interface')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6076
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6077
    ## ipv6.h (module 'internet'): bool ns3::Ipv6::IsUp(uint32_t interface) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6078
    cls.add_method('IsUp', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6079
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6080
                   [param('uint32_t', 'interface')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6081
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6082
    ## ipv6.h (module 'internet'): void ns3::Ipv6::RegisterExtensions() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6083
    cls.add_method('RegisterExtensions', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6084
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6085
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6086
                   is_pure_virtual=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6087
    ## ipv6.h (module 'internet'): void ns3::Ipv6::RegisterOptions() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6088
    cls.add_method('RegisterOptions', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6089
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6090
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6091
                   is_pure_virtual=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6092
    ## ipv6.h (module 'internet'): bool ns3::Ipv6::RemoveAddress(uint32_t interface, uint32_t addressIndex) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6093
    cls.add_method('RemoveAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6094
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6095
                   [param('uint32_t', 'interface'), param('uint32_t', 'addressIndex')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6096
                   is_pure_virtual=True, is_virtual=True)
10183
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6097
    ## ipv6.h (module 'internet'): bool ns3::Ipv6::RemoveAddress(uint32_t interface, ns3::Ipv6Address address) [member function]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6098
    cls.add_method('RemoveAddress', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6099
                   'bool', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6100
                   [param('uint32_t', 'interface'), param('ns3::Ipv6Address', 'address')], 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6101
                   is_pure_virtual=True, is_virtual=True)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6102
    ## ipv6.h (module 'internet'): void ns3::Ipv6::SetDown(uint32_t interface) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6103
    cls.add_method('SetDown', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6104
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6105
                   [param('uint32_t', 'interface')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6106
                   is_pure_virtual=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6107
    ## ipv6.h (module 'internet'): void ns3::Ipv6::SetForwarding(uint32_t interface, bool val) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6108
    cls.add_method('SetForwarding', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6109
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6110
                   [param('uint32_t', 'interface'), param('bool', 'val')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6111
                   is_pure_virtual=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6112
    ## ipv6.h (module 'internet'): void ns3::Ipv6::SetMetric(uint32_t interface, uint16_t metric) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6113
    cls.add_method('SetMetric', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6114
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6115
                   [param('uint32_t', 'interface'), param('uint16_t', 'metric')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6116
                   is_pure_virtual=True, is_virtual=True)
10183
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6117
    ## ipv6.h (module 'internet'): void ns3::Ipv6::SetPmtu(ns3::Ipv6Address dst, uint32_t pmtu) [member function]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6118
    cls.add_method('SetPmtu', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6119
                   'void', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6120
                   [param('ns3::Ipv6Address', 'dst'), param('uint32_t', 'pmtu')], 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6121
                   is_pure_virtual=True, is_virtual=True)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6122
    ## ipv6.h (module 'internet'): void ns3::Ipv6::SetRoutingProtocol(ns3::Ptr<ns3::Ipv6RoutingProtocol> routingProtocol) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6123
    cls.add_method('SetRoutingProtocol', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6124
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6125
                   [param('ns3::Ptr< ns3::Ipv6RoutingProtocol >', 'routingProtocol')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6126
                   is_pure_virtual=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6127
    ## ipv6.h (module 'internet'): void ns3::Ipv6::SetUp(uint32_t interface) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6128
    cls.add_method('SetUp', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6129
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6130
                   [param('uint32_t', 'interface')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6131
                   is_pure_virtual=True, is_virtual=True)
10795
29506f2221e2 update bindings
Tom Henderson <tomh@tomh.org>
parents: 10631
diff changeset
  6132
    ## ipv6.h (module 'internet'): ns3::Ipv6Address ns3::Ipv6::SourceAddressSelection(uint32_t interface, ns3::Ipv6Address dest) [member function]
29506f2221e2 update bindings
Tom Henderson <tomh@tomh.org>
parents: 10631
diff changeset
  6133
    cls.add_method('SourceAddressSelection', 
29506f2221e2 update bindings
Tom Henderson <tomh@tomh.org>
parents: 10631
diff changeset
  6134
                   'ns3::Ipv6Address', 
29506f2221e2 update bindings
Tom Henderson <tomh@tomh.org>
parents: 10631
diff changeset
  6135
                   [param('uint32_t', 'interface'), param('ns3::Ipv6Address', 'dest')], 
29506f2221e2 update bindings
Tom Henderson <tomh@tomh.org>
parents: 10631
diff changeset
  6136
                   is_pure_virtual=True, is_virtual=True)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6137
    ## ipv6.h (module 'internet'): ns3::Ipv6::IF_ANY [variable]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6138
    cls.add_static_attribute('IF_ANY', 'uint32_t const', is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6139
    ## ipv6.h (module 'internet'): bool ns3::Ipv6::GetIpForward() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6140
    cls.add_method('GetIpForward', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6141
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6142
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6143
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
10183
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6144
    ## ipv6.h (module 'internet'): bool ns3::Ipv6::GetMtuDiscover() const [member function]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6145
    cls.add_method('GetMtuDiscover', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6146
                   'bool', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6147
                   [], 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6148
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6149
    ## ipv6.h (module 'internet'): void ns3::Ipv6::SetIpForward(bool forward) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6150
    cls.add_method('SetIpForward', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6151
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6152
                   [param('bool', 'forward')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6153
                   is_pure_virtual=True, visibility='private', is_virtual=True)
10183
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6154
    ## ipv6.h (module 'internet'): void ns3::Ipv6::SetMtuDiscover(bool mtuDiscover) [member function]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6155
    cls.add_method('SetMtuDiscover', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6156
                   'void', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6157
                   [param('bool', 'mtuDiscover')], 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6158
                   is_pure_virtual=True, visibility='private', is_virtual=True)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6159
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6160
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6161
def register_Ns3Ipv6AddressChecker_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6162
    ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker::Ipv6AddressChecker() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6163
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6164
    ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker::Ipv6AddressChecker(ns3::Ipv6AddressChecker const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6165
    cls.add_constructor([param('ns3::Ipv6AddressChecker const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6166
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6167
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6168
def register_Ns3Ipv6AddressValue_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6169
    ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue::Ipv6AddressValue() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6170
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6171
    ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue::Ipv6AddressValue(ns3::Ipv6AddressValue const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6172
    cls.add_constructor([param('ns3::Ipv6AddressValue const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6173
    ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue::Ipv6AddressValue(ns3::Ipv6Address const & value) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6174
    cls.add_constructor([param('ns3::Ipv6Address const &', 'value')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6175
    ## ipv6-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv6AddressValue::Copy() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6176
    cls.add_method('Copy', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6177
                   'ns3::Ptr< ns3::AttributeValue >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6178
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6179
                   is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6180
    ## ipv6-address.h (module 'network'): bool ns3::Ipv6AddressValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6181
    cls.add_method('DeserializeFromString', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6182
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6183
                   [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6184
                   is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6185
    ## ipv6-address.h (module 'network'): ns3::Ipv6Address ns3::Ipv6AddressValue::Get() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6186
    cls.add_method('Get', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6187
                   'ns3::Ipv6Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6188
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6189
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6190
    ## ipv6-address.h (module 'network'): std::string ns3::Ipv6AddressValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6191
    cls.add_method('SerializeToString', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6192
                   'std::string', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6193
                   [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6194
                   is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6195
    ## ipv6-address.h (module 'network'): void ns3::Ipv6AddressValue::Set(ns3::Ipv6Address const & value) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6196
    cls.add_method('Set', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6197
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6198
                   [param('ns3::Ipv6Address const &', 'value')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6199
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6200
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6201
def register_Ns3Ipv6L3Protocol_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6202
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ipv6L3Protocol::PROT_NUMBER [variable]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6203
    cls.add_static_attribute('PROT_NUMBER', 'uint16_t const', is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6204
    ## ipv6-l3-protocol.h (module 'internet'): static ns3::TypeId ns3::Ipv6L3Protocol::GetTypeId() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6205
    cls.add_method('GetTypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6206
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6207
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6208
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6209
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ipv6L3Protocol::Ipv6L3Protocol() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6210
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6211
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::SetNode(ns3::Ptr<ns3::Node> node) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6212
    cls.add_method('SetNode', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6213
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6214
                   [param('ns3::Ptr< ns3::Node >', 'node')])
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6215
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::Insert(ns3::Ptr<ns3::IpL4Protocol> protocol) [member function]
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6216
    cls.add_method('Insert', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6217
                   'void', 
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6218
                   [param('ns3::Ptr< ns3::IpL4Protocol >', 'protocol')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6219
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::Remove(ns3::Ptr<ns3::IpL4Protocol> protocol) [member function]
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6220
    cls.add_method('Remove', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6221
                   'void', 
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6222
                   [param('ns3::Ptr< ns3::IpL4Protocol >', 'protocol')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6223
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::IpL4Protocol> ns3::Ipv6L3Protocol::GetProtocol(int protocolNumber) const [member function]
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6224
    cls.add_method('GetProtocol', 
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6225
                   'ns3::Ptr< ns3::IpL4Protocol >', 
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6226
                   [param('int', 'protocolNumber')], 
10566
9594a4df3bde Bug 1826 - make ns3::Ipv6Interface independent from ns3::IPv6L3protocol
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents: 10564
diff changeset
  6227
                   is_const=True, is_virtual=True)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6228
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::Socket> ns3::Ipv6L3Protocol::CreateRawSocket() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6229
    cls.add_method('CreateRawSocket', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6230
                   'ns3::Ptr< ns3::Socket >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6231
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6232
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::DeleteRawSocket(ns3::Ptr<ns3::Socket> socket) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6233
    cls.add_method('DeleteRawSocket', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6234
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6235
                   [param('ns3::Ptr< ns3::Socket >', 'socket')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6236
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::SetDefaultTtl(uint8_t ttl) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6237
    cls.add_method('SetDefaultTtl', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6238
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6239
                   [param('uint8_t', 'ttl')])
9190
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  6240
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::SetDefaultTclass(uint8_t tclass) [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  6241
    cls.add_method('SetDefaultTclass', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  6242
                   'void', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  6243
                   [param('uint8_t', 'tclass')])
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6244
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::Receive(ns3::Ptr<ns3::NetDevice> device, ns3::Ptr<const ns3::Packet> p, uint16_t protocol, ns3::Address const & from, ns3::Address const & to, ns3::NetDevice::PacketType packetType) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6245
    cls.add_method('Receive', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6246
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6247
                   [param('ns3::Ptr< ns3::NetDevice >', 'device'), param('ns3::Ptr< ns3::Packet const >', 'p'), param('uint16_t', 'protocol'), param('ns3::Address const &', 'from'), param('ns3::Address const &', 'to'), param('ns3::NetDevice::PacketType', 'packetType')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6248
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::Send(ns3::Ptr<ns3::Packet> packet, ns3::Ipv6Address source, ns3::Ipv6Address destination, uint8_t protocol, ns3::Ptr<ns3::Ipv6Route> route) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6249
    cls.add_method('Send', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6250
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6251
                   [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv6Address', 'source'), param('ns3::Ipv6Address', 'destination'), param('uint8_t', 'protocol'), param('ns3::Ptr< ns3::Ipv6Route >', 'route')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6252
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::SetRoutingProtocol(ns3::Ptr<ns3::Ipv6RoutingProtocol> routingProtocol) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6253
    cls.add_method('SetRoutingProtocol', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6254
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6255
                   [param('ns3::Ptr< ns3::Ipv6RoutingProtocol >', 'routingProtocol')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6256
                   is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6257
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::Ipv6RoutingProtocol> ns3::Ipv6L3Protocol::GetRoutingProtocol() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6258
    cls.add_method('GetRoutingProtocol', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6259
                   'ns3::Ptr< ns3::Ipv6RoutingProtocol >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6260
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6261
                   is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6262
    ## ipv6-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv6L3Protocol::AddInterface(ns3::Ptr<ns3::NetDevice> device) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6263
    cls.add_method('AddInterface', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6264
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6265
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6266
                   is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6267
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::Ipv6Interface> ns3::Ipv6L3Protocol::GetInterface(uint32_t i) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6268
    cls.add_method('GetInterface', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6269
                   'ns3::Ptr< ns3::Ipv6Interface >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6270
                   [param('uint32_t', 'i')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6271
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6272
    ## ipv6-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv6L3Protocol::GetNInterfaces() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6273
    cls.add_method('GetNInterfaces', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6274
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6275
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6276
                   is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6277
    ## ipv6-l3-protocol.h (module 'internet'): int32_t ns3::Ipv6L3Protocol::GetInterfaceForAddress(ns3::Ipv6Address addr) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6278
    cls.add_method('GetInterfaceForAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6279
                   'int32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6280
                   [param('ns3::Ipv6Address', 'addr')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6281
                   is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6282
    ## ipv6-l3-protocol.h (module 'internet'): int32_t ns3::Ipv6L3Protocol::GetInterfaceForPrefix(ns3::Ipv6Address addr, ns3::Ipv6Prefix mask) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6283
    cls.add_method('GetInterfaceForPrefix', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6284
                   'int32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6285
                   [param('ns3::Ipv6Address', 'addr'), param('ns3::Ipv6Prefix', 'mask')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6286
                   is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6287
    ## ipv6-l3-protocol.h (module 'internet'): int32_t ns3::Ipv6L3Protocol::GetInterfaceForDevice(ns3::Ptr<const ns3::NetDevice> device) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6288
    cls.add_method('GetInterfaceForDevice', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6289
                   'int32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6290
                   [param('ns3::Ptr< ns3::NetDevice const >', 'device')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6291
                   is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6292
    ## ipv6-l3-protocol.h (module 'internet'): bool ns3::Ipv6L3Protocol::AddAddress(uint32_t i, ns3::Ipv6InterfaceAddress address) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6293
    cls.add_method('AddAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6294
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6295
                   [param('uint32_t', 'i'), param('ns3::Ipv6InterfaceAddress', 'address')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6296
                   is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6297
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ipv6InterfaceAddress ns3::Ipv6L3Protocol::GetAddress(uint32_t interfaceIndex, uint32_t addressIndex) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6298
    cls.add_method('GetAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6299
                   'ns3::Ipv6InterfaceAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6300
                   [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6301
                   is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6302
    ## ipv6-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv6L3Protocol::GetNAddresses(uint32_t interface) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6303
    cls.add_method('GetNAddresses', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6304
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6305
                   [param('uint32_t', 'interface')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6306
                   is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6307
    ## ipv6-l3-protocol.h (module 'internet'): bool ns3::Ipv6L3Protocol::RemoveAddress(uint32_t interfaceIndex, uint32_t addressIndex) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6308
    cls.add_method('RemoveAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6309
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6310
                   [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6311
                   is_virtual=True)
10534
2f6018cfe926 rescan all bindings
Tom Henderson <tomh@tomh.org>
parents: 10183
diff changeset
  6312
    ## ipv6-l3-protocol.h (module 'internet'): bool ns3::Ipv6L3Protocol::RemoveAddress(uint32_t interfaceIndex, ns3::Ipv6Address address) [member function]
10183
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6313
    cls.add_method('RemoveAddress', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6314
                   'bool', 
10534
2f6018cfe926 rescan all bindings
Tom Henderson <tomh@tomh.org>
parents: 10183
diff changeset
  6315
                   [param('uint32_t', 'interfaceIndex'), param('ns3::Ipv6Address', 'address')], 
10183
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6316
                   is_virtual=True)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6317
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::SetMetric(uint32_t i, uint16_t metric) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6318
    cls.add_method('SetMetric', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6319
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6320
                   [param('uint32_t', 'i'), param('uint16_t', 'metric')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6321
                   is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6322
    ## ipv6-l3-protocol.h (module 'internet'): uint16_t ns3::Ipv6L3Protocol::GetMetric(uint32_t i) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6323
    cls.add_method('GetMetric', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6324
                   'uint16_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6325
                   [param('uint32_t', 'i')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6326
                   is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6327
    ## ipv6-l3-protocol.h (module 'internet'): uint16_t ns3::Ipv6L3Protocol::GetMtu(uint32_t i) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6328
    cls.add_method('GetMtu', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6329
                   'uint16_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6330
                   [param('uint32_t', 'i')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6331
                   is_const=True, is_virtual=True)
10183
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6332
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::SetPmtu(ns3::Ipv6Address dst, uint32_t pmtu) [member function]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6333
    cls.add_method('SetPmtu', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6334
                   'void', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6335
                   [param('ns3::Ipv6Address', 'dst'), param('uint32_t', 'pmtu')], 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6336
                   is_virtual=True)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6337
    ## ipv6-l3-protocol.h (module 'internet'): bool ns3::Ipv6L3Protocol::IsUp(uint32_t i) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6338
    cls.add_method('IsUp', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6339
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6340
                   [param('uint32_t', 'i')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6341
                   is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6342
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::SetUp(uint32_t i) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6343
    cls.add_method('SetUp', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6344
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6345
                   [param('uint32_t', 'i')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6346
                   is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6347
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::SetDown(uint32_t i) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6348
    cls.add_method('SetDown', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6349
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6350
                   [param('uint32_t', 'i')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6351
                   is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6352
    ## ipv6-l3-protocol.h (module 'internet'): bool ns3::Ipv6L3Protocol::IsForwarding(uint32_t i) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6353
    cls.add_method('IsForwarding', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6354
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6355
                   [param('uint32_t', 'i')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6356
                   is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6357
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::SetForwarding(uint32_t i, bool val) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6358
    cls.add_method('SetForwarding', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6359
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6360
                   [param('uint32_t', 'i'), param('bool', 'val')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6361
                   is_virtual=True)
10795
29506f2221e2 update bindings
Tom Henderson <tomh@tomh.org>
parents: 10631
diff changeset
  6362
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ipv6Address ns3::Ipv6L3Protocol::SourceAddressSelection(uint32_t interface, ns3::Ipv6Address dest) [member function]
29506f2221e2 update bindings
Tom Henderson <tomh@tomh.org>
parents: 10631
diff changeset
  6363
    cls.add_method('SourceAddressSelection', 
29506f2221e2 update bindings
Tom Henderson <tomh@tomh.org>
parents: 10631
diff changeset
  6364
                   'ns3::Ipv6Address', 
29506f2221e2 update bindings
Tom Henderson <tomh@tomh.org>
parents: 10631
diff changeset
  6365
                   [param('uint32_t', 'interface'), param('ns3::Ipv6Address', 'dest')], 
29506f2221e2 update bindings
Tom Henderson <tomh@tomh.org>
parents: 10631
diff changeset
  6366
                   is_virtual=True)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6367
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::NetDevice> ns3::Ipv6L3Protocol::GetNetDevice(uint32_t i) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6368
    cls.add_method('GetNetDevice', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6369
                   'ns3::Ptr< ns3::NetDevice >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6370
                   [param('uint32_t', 'i')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6371
                   is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6372
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::Icmpv6L4Protocol> ns3::Ipv6L3Protocol::GetIcmpv6() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6373
    cls.add_method('GetIcmpv6', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6374
                   'ns3::Ptr< ns3::Icmpv6L4Protocol >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6375
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6376
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6377
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::AddAutoconfiguredAddress(uint32_t interface, ns3::Ipv6Address network, ns3::Ipv6Prefix mask, uint8_t flags, uint32_t validTime, uint32_t preferredTime, ns3::Ipv6Address defaultRouter=ns3::Ipv6Address::GetZero( )) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6378
    cls.add_method('AddAutoconfiguredAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6379
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6380
                   [param('uint32_t', 'interface'), param('ns3::Ipv6Address', 'network'), param('ns3::Ipv6Prefix', 'mask'), param('uint8_t', 'flags'), param('uint32_t', 'validTime'), param('uint32_t', 'preferredTime'), param('ns3::Ipv6Address', 'defaultRouter', default_value='ns3::Ipv6Address::GetZero( )')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6381
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::RemoveAutoconfiguredAddress(uint32_t interface, ns3::Ipv6Address network, ns3::Ipv6Prefix mask, ns3::Ipv6Address defaultRouter) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6382
    cls.add_method('RemoveAutoconfiguredAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6383
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6384
                   [param('uint32_t', 'interface'), param('ns3::Ipv6Address', 'network'), param('ns3::Ipv6Prefix', 'mask'), param('ns3::Ipv6Address', 'defaultRouter')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6385
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::RegisterExtensions() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6386
    cls.add_method('RegisterExtensions', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6387
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6388
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6389
                   is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6390
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::RegisterOptions() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6391
    cls.add_method('RegisterOptions', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6392
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6393
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6394
                   is_virtual=True)
10795
29506f2221e2 update bindings
Tom Henderson <tomh@tomh.org>
parents: 10631
diff changeset
  6395
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::ReportDrop(ns3::Ipv6Header ipHeader, ns3::Ptr<ns3::Packet> p, ns3::Ipv6L3Protocol::DropReason dropReason) [member function]
29506f2221e2 update bindings
Tom Henderson <tomh@tomh.org>
parents: 10631
diff changeset
  6396
    cls.add_method('ReportDrop', 
29506f2221e2 update bindings
Tom Henderson <tomh@tomh.org>
parents: 10631
diff changeset
  6397
                   'void', 
29506f2221e2 update bindings
Tom Henderson <tomh@tomh.org>
parents: 10631
diff changeset
  6398
                   [param('ns3::Ipv6Header', 'ipHeader'), param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv6L3Protocol::DropReason', 'dropReason')], 
29506f2221e2 update bindings
Tom Henderson <tomh@tomh.org>
parents: 10631
diff changeset
  6399
                   is_virtual=True)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6400
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::DoDispose() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6401
    cls.add_method('DoDispose', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6402
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6403
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6404
                   visibility='protected', is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6405
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::NotifyNewAggregate() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6406
    cls.add_method('NotifyNewAggregate', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6407
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6408
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6409
                   visibility='protected', is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6410
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::SetIpForward(bool forward) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6411
    cls.add_method('SetIpForward', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6412
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6413
                   [param('bool', 'forward')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6414
                   visibility='private', is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6415
    ## ipv6-l3-protocol.h (module 'internet'): bool ns3::Ipv6L3Protocol::GetIpForward() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6416
    cls.add_method('GetIpForward', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6417
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6418
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6419
                   is_const=True, visibility='private', is_virtual=True)
10183
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6420
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::SetMtuDiscover(bool mtuDiscover) [member function]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6421
    cls.add_method('SetMtuDiscover', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6422
                   'void', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6423
                   [param('bool', 'mtuDiscover')], 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6424
                   visibility='private', is_virtual=True)
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6425
    ## ipv6-l3-protocol.h (module 'internet'): bool ns3::Ipv6L3Protocol::GetMtuDiscover() const [member function]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6426
    cls.add_method('GetMtuDiscover', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6427
                   'bool', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6428
                   [], 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6429
                   is_const=True, visibility='private', is_virtual=True)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6430
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::SetSendIcmpv6Redirect(bool sendIcmpv6Redirect) [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6431
    cls.add_method('SetSendIcmpv6Redirect', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6432
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6433
                   [param('bool', 'sendIcmpv6Redirect')], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6434
                   visibility='private', is_virtual=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6435
    ## ipv6-l3-protocol.h (module 'internet'): bool ns3::Ipv6L3Protocol::GetSendIcmpv6Redirect() const [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6436
    cls.add_method('GetSendIcmpv6Redirect', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6437
                   'bool', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6438
                   [], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6439
                   is_const=True, visibility='private', is_virtual=True)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6440
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6441
10183
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6442
def register_Ns3Ipv6PmtuCache_methods(root_module, cls):
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6443
    ## ipv6-pmtu-cache.h (module 'internet'): ns3::Ipv6PmtuCache::Ipv6PmtuCache(ns3::Ipv6PmtuCache const & arg0) [copy constructor]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6444
    cls.add_constructor([param('ns3::Ipv6PmtuCache const &', 'arg0')])
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6445
    ## ipv6-pmtu-cache.h (module 'internet'): ns3::Ipv6PmtuCache::Ipv6PmtuCache() [constructor]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6446
    cls.add_constructor([])
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6447
    ## ipv6-pmtu-cache.h (module 'internet'): void ns3::Ipv6PmtuCache::DoDispose() [member function]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6448
    cls.add_method('DoDispose', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6449
                   'void', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6450
                   [], 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6451
                   is_virtual=True)
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6452
    ## ipv6-pmtu-cache.h (module 'internet'): uint32_t ns3::Ipv6PmtuCache::GetPmtu(ns3::Ipv6Address dst) [member function]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6453
    cls.add_method('GetPmtu', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6454
                   'uint32_t', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6455
                   [param('ns3::Ipv6Address', 'dst')])
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6456
    ## ipv6-pmtu-cache.h (module 'internet'): ns3::Time ns3::Ipv6PmtuCache::GetPmtuValidityTime() const [member function]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6457
    cls.add_method('GetPmtuValidityTime', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6458
                   'ns3::Time', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6459
                   [], 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6460
                   is_const=True)
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6461
    ## ipv6-pmtu-cache.h (module 'internet'): static ns3::TypeId ns3::Ipv6PmtuCache::GetTypeId() [member function]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6462
    cls.add_method('GetTypeId', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6463
                   'ns3::TypeId', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6464
                   [], 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6465
                   is_static=True)
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6466
    ## ipv6-pmtu-cache.h (module 'internet'): void ns3::Ipv6PmtuCache::SetPmtu(ns3::Ipv6Address dst, uint32_t pmtu) [member function]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6467
    cls.add_method('SetPmtu', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6468
                   'void', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6469
                   [param('ns3::Ipv6Address', 'dst'), param('uint32_t', 'pmtu')])
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6470
    ## ipv6-pmtu-cache.h (module 'internet'): bool ns3::Ipv6PmtuCache::SetPmtuValidityTime(ns3::Time validity) [member function]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6471
    cls.add_method('SetPmtuValidityTime', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6472
                   'bool', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6473
                   [param('ns3::Time', 'validity')])
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6474
    return
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  6475
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6476
def register_Ns3Ipv6PrefixChecker_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6477
    ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker::Ipv6PrefixChecker() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6478
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6479
    ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker::Ipv6PrefixChecker(ns3::Ipv6PrefixChecker const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6480
    cls.add_constructor([param('ns3::Ipv6PrefixChecker const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6481
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6482
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6483
def register_Ns3Ipv6PrefixValue_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6484
    ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue::Ipv6PrefixValue() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6485
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6486
    ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue::Ipv6PrefixValue(ns3::Ipv6PrefixValue const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6487
    cls.add_constructor([param('ns3::Ipv6PrefixValue const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6488
    ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue::Ipv6PrefixValue(ns3::Ipv6Prefix const & value) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6489
    cls.add_constructor([param('ns3::Ipv6Prefix const &', 'value')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6490
    ## ipv6-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv6PrefixValue::Copy() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6491
    cls.add_method('Copy', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6492
                   'ns3::Ptr< ns3::AttributeValue >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6493
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6494
                   is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6495
    ## ipv6-address.h (module 'network'): bool ns3::Ipv6PrefixValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6496
    cls.add_method('DeserializeFromString', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6497
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6498
                   [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6499
                   is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6500
    ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix ns3::Ipv6PrefixValue::Get() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6501
    cls.add_method('Get', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6502
                   'ns3::Ipv6Prefix', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6503
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6504
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6505
    ## ipv6-address.h (module 'network'): std::string ns3::Ipv6PrefixValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6506
    cls.add_method('SerializeToString', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6507
                   'std::string', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6508
                   [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6509
                   is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6510
    ## ipv6-address.h (module 'network'): void ns3::Ipv6PrefixValue::Set(ns3::Ipv6Prefix const & value) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6511
    cls.add_method('Set', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6512
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6513
                   [param('ns3::Ipv6Prefix const &', 'value')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6514
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6515
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6516
def register_Ns3NetDevice_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6517
    ## net-device.h (module 'network'): ns3::NetDevice::NetDevice() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6518
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6519
    ## net-device.h (module 'network'): ns3::NetDevice::NetDevice(ns3::NetDevice const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6520
    cls.add_constructor([param('ns3::NetDevice const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6521
    ## net-device.h (module 'network'): void ns3::NetDevice::AddLinkChangeCallback(ns3::Callback<void,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> callback) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6522
    cls.add_method('AddLinkChangeCallback', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6523
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6524
                   [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6525
                   is_pure_virtual=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6526
    ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetAddress() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6527
    cls.add_method('GetAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6528
                   'ns3::Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6529
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6530
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6531
    ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetBroadcast() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6532
    cls.add_method('GetBroadcast', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6533
                   'ns3::Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6534
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6535
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6536
    ## net-device.h (module 'network'): ns3::Ptr<ns3::Channel> ns3::NetDevice::GetChannel() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6537
    cls.add_method('GetChannel', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6538
                   'ns3::Ptr< ns3::Channel >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6539
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6540
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6541
    ## net-device.h (module 'network'): uint32_t ns3::NetDevice::GetIfIndex() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6542
    cls.add_method('GetIfIndex', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6543
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6544
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6545
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6546
    ## net-device.h (module 'network'): uint16_t ns3::NetDevice::GetMtu() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6547
    cls.add_method('GetMtu', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6548
                   'uint16_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6549
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6550
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6551
    ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetMulticast(ns3::Ipv4Address multicastGroup) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6552
    cls.add_method('GetMulticast', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6553
                   'ns3::Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6554
                   [param('ns3::Ipv4Address', 'multicastGroup')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6555
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6556
    ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetMulticast(ns3::Ipv6Address addr) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6557
    cls.add_method('GetMulticast', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6558
                   'ns3::Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6559
                   [param('ns3::Ipv6Address', 'addr')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6560
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6561
    ## net-device.h (module 'network'): ns3::Ptr<ns3::Node> ns3::NetDevice::GetNode() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6562
    cls.add_method('GetNode', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6563
                   'ns3::Ptr< ns3::Node >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6564
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6565
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6566
    ## net-device.h (module 'network'): static ns3::TypeId ns3::NetDevice::GetTypeId() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6567
    cls.add_method('GetTypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6568
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6569
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6570
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6571
    ## net-device.h (module 'network'): bool ns3::NetDevice::IsBridge() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6572
    cls.add_method('IsBridge', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6573
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6574
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6575
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6576
    ## net-device.h (module 'network'): bool ns3::NetDevice::IsBroadcast() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6577
    cls.add_method('IsBroadcast', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6578
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6579
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6580
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6581
    ## net-device.h (module 'network'): bool ns3::NetDevice::IsLinkUp() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6582
    cls.add_method('IsLinkUp', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6583
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6584
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6585
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6586
    ## net-device.h (module 'network'): bool ns3::NetDevice::IsMulticast() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6587
    cls.add_method('IsMulticast', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6588
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6589
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6590
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6591
    ## net-device.h (module 'network'): bool ns3::NetDevice::IsPointToPoint() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6592
    cls.add_method('IsPointToPoint', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6593
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6594
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6595
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6596
    ## net-device.h (module 'network'): bool ns3::NetDevice::NeedsArp() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6597
    cls.add_method('NeedsArp', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6598
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6599
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6600
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6601
    ## net-device.h (module 'network'): bool ns3::NetDevice::Send(ns3::Ptr<ns3::Packet> packet, ns3::Address const & dest, uint16_t protocolNumber) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6602
    cls.add_method('Send', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6603
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6604
                   [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6605
                   is_pure_virtual=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6606
    ## net-device.h (module 'network'): bool ns3::NetDevice::SendFrom(ns3::Ptr<ns3::Packet> packet, ns3::Address const & source, ns3::Address const & dest, uint16_t protocolNumber) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6607
    cls.add_method('SendFrom', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6608
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6609
                   [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'source'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6610
                   is_pure_virtual=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6611
    ## net-device.h (module 'network'): void ns3::NetDevice::SetAddress(ns3::Address address) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6612
    cls.add_method('SetAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6613
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6614
                   [param('ns3::Address', 'address')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6615
                   is_pure_virtual=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6616
    ## net-device.h (module 'network'): void ns3::NetDevice::SetIfIndex(uint32_t const index) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6617
    cls.add_method('SetIfIndex', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6618
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6619
                   [param('uint32_t const', 'index')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6620
                   is_pure_virtual=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6621
    ## net-device.h (module 'network'): bool ns3::NetDevice::SetMtu(uint16_t const mtu) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6622
    cls.add_method('SetMtu', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6623
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6624
                   [param('uint16_t const', 'mtu')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6625
                   is_pure_virtual=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6626
    ## net-device.h (module 'network'): void ns3::NetDevice::SetNode(ns3::Ptr<ns3::Node> node) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6627
    cls.add_method('SetNode', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6628
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6629
                   [param('ns3::Ptr< ns3::Node >', 'node')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6630
                   is_pure_virtual=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6631
    ## net-device.h (module 'network'): void ns3::NetDevice::SetPromiscReceiveCallback(ns3::Callback<bool,ns3::Ptr<ns3::NetDevice>,ns3::Ptr<const ns3::Packet>,short unsigned int,const ns3::Address&,const ns3::Address&,ns3::NetDevice::PacketType,ns3::empty,ns3::empty,ns3::empty> cb) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6632
    cls.add_method('SetPromiscReceiveCallback', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6633
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6634
                   [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, short unsigned int, ns3::Address const &, ns3::Address const &, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty >', 'cb')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6635
                   is_pure_virtual=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6636
    ## net-device.h (module 'network'): void ns3::NetDevice::SetReceiveCallback(ns3::Callback<bool,ns3::Ptr<ns3::NetDevice>,ns3::Ptr<const ns3::Packet>,short unsigned int,const ns3::Address&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> cb) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6637
    cls.add_method('SetReceiveCallback', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6638
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6639
                   [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, short unsigned int, ns3::Address const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6640
                   is_pure_virtual=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6641
    ## net-device.h (module 'network'): bool ns3::NetDevice::SupportsSendFrom() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6642
    cls.add_method('SupportsSendFrom', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6643
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6644
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6645
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6646
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6647
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6648
def register_Ns3NixVector_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6649
    cls.add_output_stream_operator()
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6650
    ## nix-vector.h (module 'network'): ns3::NixVector::NixVector() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6651
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6652
    ## nix-vector.h (module 'network'): ns3::NixVector::NixVector(ns3::NixVector const & o) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6653
    cls.add_constructor([param('ns3::NixVector const &', 'o')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6654
    ## nix-vector.h (module 'network'): void ns3::NixVector::AddNeighborIndex(uint32_t newBits, uint32_t numberOfBits) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6655
    cls.add_method('AddNeighborIndex', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6656
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6657
                   [param('uint32_t', 'newBits'), param('uint32_t', 'numberOfBits')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6658
    ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::BitCount(uint32_t numberOfNeighbors) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6659
    cls.add_method('BitCount', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6660
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6661
                   [param('uint32_t', 'numberOfNeighbors')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6662
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6663
    ## nix-vector.h (module 'network'): ns3::Ptr<ns3::NixVector> ns3::NixVector::Copy() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6664
    cls.add_method('Copy', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6665
                   'ns3::Ptr< ns3::NixVector >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6666
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6667
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6668
    ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::Deserialize(uint32_t const * buffer, uint32_t size) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6669
    cls.add_method('Deserialize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6670
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6671
                   [param('uint32_t const *', 'buffer'), param('uint32_t', 'size')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6672
    ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::ExtractNeighborIndex(uint32_t numberOfBits) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6673
    cls.add_method('ExtractNeighborIndex', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6674
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6675
                   [param('uint32_t', 'numberOfBits')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6676
    ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::GetRemainingBits() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6677
    cls.add_method('GetRemainingBits', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6678
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6679
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6680
    ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::GetSerializedSize() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6681
    cls.add_method('GetSerializedSize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6682
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6683
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6684
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6685
    ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::Serialize(uint32_t * buffer, uint32_t maxSize) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6686
    cls.add_method('Serialize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6687
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6688
                   [param('uint32_t *', 'buffer'), param('uint32_t', 'maxSize')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6689
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6690
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6691
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6692
def register_Ns3Node_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6693
    ## node.h (module 'network'): ns3::Node::Node(ns3::Node const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6694
    cls.add_constructor([param('ns3::Node const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6695
    ## node.h (module 'network'): ns3::Node::Node() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6696
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6697
    ## node.h (module 'network'): ns3::Node::Node(uint32_t systemId) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6698
    cls.add_constructor([param('uint32_t', 'systemId')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6699
    ## node.h (module 'network'): uint32_t ns3::Node::AddApplication(ns3::Ptr<ns3::Application> application) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6700
    cls.add_method('AddApplication', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6701
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6702
                   [param('ns3::Ptr< ns3::Application >', 'application')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6703
    ## node.h (module 'network'): uint32_t ns3::Node::AddDevice(ns3::Ptr<ns3::NetDevice> device) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6704
    cls.add_method('AddDevice', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6705
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6706
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6707
    ## node.h (module 'network'): static bool ns3::Node::ChecksumEnabled() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6708
    cls.add_method('ChecksumEnabled', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6709
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6710
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6711
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6712
    ## node.h (module 'network'): ns3::Ptr<ns3::Application> ns3::Node::GetApplication(uint32_t index) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6713
    cls.add_method('GetApplication', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6714
                   'ns3::Ptr< ns3::Application >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6715
                   [param('uint32_t', 'index')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6716
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6717
    ## node.h (module 'network'): ns3::Ptr<ns3::NetDevice> ns3::Node::GetDevice(uint32_t index) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6718
    cls.add_method('GetDevice', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6719
                   'ns3::Ptr< ns3::NetDevice >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6720
                   [param('uint32_t', 'index')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6721
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6722
    ## node.h (module 'network'): uint32_t ns3::Node::GetId() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6723
    cls.add_method('GetId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6724
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6725
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6726
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6727
    ## node.h (module 'network'): uint32_t ns3::Node::GetNApplications() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6728
    cls.add_method('GetNApplications', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6729
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6730
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6731
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6732
    ## node.h (module 'network'): uint32_t ns3::Node::GetNDevices() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6733
    cls.add_method('GetNDevices', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6734
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6735
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6736
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6737
    ## node.h (module 'network'): uint32_t ns3::Node::GetSystemId() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6738
    cls.add_method('GetSystemId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6739
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6740
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6741
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6742
    ## node.h (module 'network'): static ns3::TypeId ns3::Node::GetTypeId() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6743
    cls.add_method('GetTypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6744
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6745
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6746
                   is_static=True)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6747
    ## node.h (module 'network'): void ns3::Node::RegisterDeviceAdditionListener(ns3::Callback<void,ns3::Ptr<ns3::NetDevice>,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> listener) [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6748
    cls.add_method('RegisterDeviceAdditionListener', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6749
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6750
                   [param('ns3::Callback< void, ns3::Ptr< ns3::NetDevice >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'listener')])
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6751
    ## node.h (module 'network'): void ns3::Node::RegisterProtocolHandler(ns3::Callback<void, ns3::Ptr<ns3::NetDevice>, ns3::Ptr<ns3::Packet const>, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> handler, uint16_t protocolType, ns3::Ptr<ns3::NetDevice> device, bool promiscuous=false) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6752
    cls.add_method('RegisterProtocolHandler', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6753
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6754
                   [param('ns3::Callback< void, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::Address const &, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty >', 'handler'), param('uint16_t', 'protocolType'), param('ns3::Ptr< ns3::NetDevice >', 'device'), param('bool', 'promiscuous', default_value='false')])
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6755
    ## node.h (module 'network'): void ns3::Node::UnregisterDeviceAdditionListener(ns3::Callback<void,ns3::Ptr<ns3::NetDevice>,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> listener) [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6756
    cls.add_method('UnregisterDeviceAdditionListener', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6757
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6758
                   [param('ns3::Callback< void, ns3::Ptr< ns3::NetDevice >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'listener')])
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6759
    ## node.h (module 'network'): void ns3::Node::UnregisterProtocolHandler(ns3::Callback<void, ns3::Ptr<ns3::NetDevice>, ns3::Ptr<ns3::Packet const>, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> handler) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6760
    cls.add_method('UnregisterProtocolHandler', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6761
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6762
                   [param('ns3::Callback< void, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::Address const &, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty >', 'handler')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6763
    ## node.h (module 'network'): void ns3::Node::DoDispose() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6764
    cls.add_method('DoDispose', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6765
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6766
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6767
                   visibility='protected', is_virtual=True)
9708
443bde2aa701 Update Python bindings
Mitch Watrous
parents: 9294
diff changeset
  6768
    ## node.h (module 'network'): void ns3::Node::DoInitialize() [member function]
443bde2aa701 Update Python bindings
Mitch Watrous
parents: 9294
diff changeset
  6769
    cls.add_method('DoInitialize', 
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6770
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6771
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6772
                   visibility='protected', is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6773
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6774
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6775
def register_Ns3ObjectFactoryChecker_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6776
    ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker::ObjectFactoryChecker() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6777
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6778
    ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker::ObjectFactoryChecker(ns3::ObjectFactoryChecker const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6779
    cls.add_constructor([param('ns3::ObjectFactoryChecker const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6780
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6781
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6782
def register_Ns3ObjectFactoryValue_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6783
    ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6784
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6785
    ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue(ns3::ObjectFactoryValue const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6786
    cls.add_constructor([param('ns3::ObjectFactoryValue const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6787
    ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue(ns3::ObjectFactory const & value) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6788
    cls.add_constructor([param('ns3::ObjectFactory const &', 'value')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6789
    ## object-factory.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::ObjectFactoryValue::Copy() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6790
    cls.add_method('Copy', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6791
                   'ns3::Ptr< ns3::AttributeValue >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6792
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6793
                   is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6794
    ## object-factory.h (module 'core'): bool ns3::ObjectFactoryValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6795
    cls.add_method('DeserializeFromString', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6796
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6797
                   [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6798
                   is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6799
    ## object-factory.h (module 'core'): ns3::ObjectFactory ns3::ObjectFactoryValue::Get() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6800
    cls.add_method('Get', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6801
                   'ns3::ObjectFactory', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6802
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6803
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6804
    ## object-factory.h (module 'core'): std::string ns3::ObjectFactoryValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6805
    cls.add_method('SerializeToString', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6806
                   'std::string', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6807
                   [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6808
                   is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6809
    ## object-factory.h (module 'core'): void ns3::ObjectFactoryValue::Set(ns3::ObjectFactory const & value) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6810
    cls.add_method('Set', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6811
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6812
                   [param('ns3::ObjectFactory const &', 'value')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6813
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6814
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6815
def register_Ns3OutputStreamWrapper_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6816
    ## output-stream-wrapper.h (module 'network'): ns3::OutputStreamWrapper::OutputStreamWrapper(ns3::OutputStreamWrapper const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6817
    cls.add_constructor([param('ns3::OutputStreamWrapper const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6818
    ## output-stream-wrapper.h (module 'network'): ns3::OutputStreamWrapper::OutputStreamWrapper(std::string filename, std::_Ios_Openmode filemode) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6819
    cls.add_constructor([param('std::string', 'filename'), param('std::_Ios_Openmode', 'filemode')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6820
    ## output-stream-wrapper.h (module 'network'): ns3::OutputStreamWrapper::OutputStreamWrapper(std::ostream * os) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6821
    cls.add_constructor([param('std::ostream *', 'os')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6822
    ## output-stream-wrapper.h (module 'network'): std::ostream * ns3::OutputStreamWrapper::GetStream() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6823
    cls.add_method('GetStream', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6824
                   'std::ostream *', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6825
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6826
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6827
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6828
def register_Ns3Packet_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6829
    cls.add_output_stream_operator()
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6830
    ## packet.h (module 'network'): ns3::Packet::Packet() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6831
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6832
    ## packet.h (module 'network'): ns3::Packet::Packet(ns3::Packet const & o) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6833
    cls.add_constructor([param('ns3::Packet const &', 'o')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6834
    ## packet.h (module 'network'): ns3::Packet::Packet(uint32_t size) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6835
    cls.add_constructor([param('uint32_t', 'size')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6836
    ## packet.h (module 'network'): ns3::Packet::Packet(uint8_t const * buffer, uint32_t size, bool magic) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6837
    cls.add_constructor([param('uint8_t const *', 'buffer'), param('uint32_t', 'size'), param('bool', 'magic')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6838
    ## packet.h (module 'network'): ns3::Packet::Packet(uint8_t const * buffer, uint32_t size) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6839
    cls.add_constructor([param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6840
    ## packet.h (module 'network'): void ns3::Packet::AddAtEnd(ns3::Ptr<const ns3::Packet> packet) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6841
    cls.add_method('AddAtEnd', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6842
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6843
                   [param('ns3::Ptr< ns3::Packet const >', 'packet')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6844
    ## packet.h (module 'network'): void ns3::Packet::AddByteTag(ns3::Tag const & tag) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6845
    cls.add_method('AddByteTag', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6846
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6847
                   [param('ns3::Tag const &', 'tag')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6848
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6849
    ## packet.h (module 'network'): void ns3::Packet::AddHeader(ns3::Header const & header) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6850
    cls.add_method('AddHeader', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6851
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6852
                   [param('ns3::Header const &', 'header')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6853
    ## packet.h (module 'network'): void ns3::Packet::AddPacketTag(ns3::Tag const & tag) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6854
    cls.add_method('AddPacketTag', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6855
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6856
                   [param('ns3::Tag const &', 'tag')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6857
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6858
    ## packet.h (module 'network'): void ns3::Packet::AddPaddingAtEnd(uint32_t size) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6859
    cls.add_method('AddPaddingAtEnd', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6860
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6861
                   [param('uint32_t', 'size')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6862
    ## packet.h (module 'network'): void ns3::Packet::AddTrailer(ns3::Trailer const & trailer) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6863
    cls.add_method('AddTrailer', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6864
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6865
                   [param('ns3::Trailer const &', 'trailer')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6866
    ## packet.h (module 'network'): ns3::PacketMetadata::ItemIterator ns3::Packet::BeginItem() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6867
    cls.add_method('BeginItem', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6868
                   'ns3::PacketMetadata::ItemIterator', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6869
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6870
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6871
    ## packet.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Packet::Copy() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6872
    cls.add_method('Copy', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6873
                   'ns3::Ptr< ns3::Packet >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6874
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6875
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6876
    ## packet.h (module 'network'): uint32_t ns3::Packet::CopyData(uint8_t * buffer, uint32_t size) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6877
    cls.add_method('CopyData', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6878
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6879
                   [param('uint8_t *', 'buffer'), param('uint32_t', 'size')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6880
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6881
    ## packet.h (module 'network'): void ns3::Packet::CopyData(std::ostream * os, uint32_t size) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6882
    cls.add_method('CopyData', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6883
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6884
                   [param('std::ostream *', 'os'), param('uint32_t', 'size')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6885
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6886
    ## packet.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Packet::CreateFragment(uint32_t start, uint32_t length) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6887
    cls.add_method('CreateFragment', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6888
                   'ns3::Ptr< ns3::Packet >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6889
                   [param('uint32_t', 'start'), param('uint32_t', 'length')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6890
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6891
    ## packet.h (module 'network'): static void ns3::Packet::EnableChecking() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6892
    cls.add_method('EnableChecking', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6893
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6894
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6895
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6896
    ## packet.h (module 'network'): static void ns3::Packet::EnablePrinting() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6897
    cls.add_method('EnablePrinting', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6898
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6899
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6900
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6901
    ## packet.h (module 'network'): bool ns3::Packet::FindFirstMatchingByteTag(ns3::Tag & tag) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6902
    cls.add_method('FindFirstMatchingByteTag', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6903
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6904
                   [param('ns3::Tag &', 'tag')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6905
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6906
    ## packet.h (module 'network'): ns3::ByteTagIterator ns3::Packet::GetByteTagIterator() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6907
    cls.add_method('GetByteTagIterator', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6908
                   'ns3::ByteTagIterator', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6909
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6910
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6911
    ## packet.h (module 'network'): ns3::Ptr<ns3::NixVector> ns3::Packet::GetNixVector() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6912
    cls.add_method('GetNixVector', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6913
                   'ns3::Ptr< ns3::NixVector >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6914
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6915
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6916
    ## packet.h (module 'network'): ns3::PacketTagIterator ns3::Packet::GetPacketTagIterator() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6917
    cls.add_method('GetPacketTagIterator', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6918
                   'ns3::PacketTagIterator', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6919
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6920
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6921
    ## packet.h (module 'network'): uint32_t ns3::Packet::GetSerializedSize() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6922
    cls.add_method('GetSerializedSize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6923
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6924
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6925
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6926
    ## packet.h (module 'network'): uint32_t ns3::Packet::GetSize() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6927
    cls.add_method('GetSize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6928
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6929
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6930
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6931
    ## packet.h (module 'network'): uint64_t ns3::Packet::GetUid() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6932
    cls.add_method('GetUid', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6933
                   'uint64_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6934
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6935
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6936
    ## packet.h (module 'network'): uint8_t const * ns3::Packet::PeekData() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6937
    cls.add_method('PeekData', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6938
                   'uint8_t const *', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6939
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6940
                   deprecated=True, is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6941
    ## packet.h (module 'network'): uint32_t ns3::Packet::PeekHeader(ns3::Header & header) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6942
    cls.add_method('PeekHeader', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6943
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6944
                   [param('ns3::Header &', 'header')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6945
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6946
    ## packet.h (module 'network'): bool ns3::Packet::PeekPacketTag(ns3::Tag & tag) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6947
    cls.add_method('PeekPacketTag', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6948
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6949
                   [param('ns3::Tag &', 'tag')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6950
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6951
    ## packet.h (module 'network'): uint32_t ns3::Packet::PeekTrailer(ns3::Trailer & trailer) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6952
    cls.add_method('PeekTrailer', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6953
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6954
                   [param('ns3::Trailer &', 'trailer')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6955
    ## packet.h (module 'network'): void ns3::Packet::Print(std::ostream & os) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6956
    cls.add_method('Print', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6957
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6958
                   [param('std::ostream &', 'os')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6959
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6960
    ## packet.h (module 'network'): void ns3::Packet::PrintByteTags(std::ostream & os) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6961
    cls.add_method('PrintByteTags', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6962
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6963
                   [param('std::ostream &', 'os')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6964
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6965
    ## packet.h (module 'network'): void ns3::Packet::PrintPacketTags(std::ostream & os) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6966
    cls.add_method('PrintPacketTags', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6967
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6968
                   [param('std::ostream &', 'os')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6969
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6970
    ## packet.h (module 'network'): void ns3::Packet::RemoveAllByteTags() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6971
    cls.add_method('RemoveAllByteTags', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6972
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6973
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6974
    ## packet.h (module 'network'): void ns3::Packet::RemoveAllPacketTags() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6975
    cls.add_method('RemoveAllPacketTags', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6976
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6977
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6978
    ## packet.h (module 'network'): void ns3::Packet::RemoveAtEnd(uint32_t size) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6979
    cls.add_method('RemoveAtEnd', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6980
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6981
                   [param('uint32_t', 'size')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6982
    ## packet.h (module 'network'): void ns3::Packet::RemoveAtStart(uint32_t size) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6983
    cls.add_method('RemoveAtStart', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6984
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6985
                   [param('uint32_t', 'size')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6986
    ## packet.h (module 'network'): uint32_t ns3::Packet::RemoveHeader(ns3::Header & header) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6987
    cls.add_method('RemoveHeader', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6988
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6989
                   [param('ns3::Header &', 'header')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6990
    ## packet.h (module 'network'): bool ns3::Packet::RemovePacketTag(ns3::Tag & tag) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6991
    cls.add_method('RemovePacketTag', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6992
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6993
                   [param('ns3::Tag &', 'tag')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6994
    ## packet.h (module 'network'): uint32_t ns3::Packet::RemoveTrailer(ns3::Trailer & trailer) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6995
    cls.add_method('RemoveTrailer', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6996
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6997
                   [param('ns3::Trailer &', 'trailer')])
9901
9a100979b2df Updatemany modules' Python bindings
Mitch Watrous
parents: 9708
diff changeset
  6998
    ## packet.h (module 'network'): bool ns3::Packet::ReplacePacketTag(ns3::Tag & tag) [member function]
9a100979b2df Updatemany modules' Python bindings
Mitch Watrous
parents: 9708
diff changeset
  6999
    cls.add_method('ReplacePacketTag', 
9a100979b2df Updatemany modules' Python bindings
Mitch Watrous
parents: 9708
diff changeset
  7000
                   'bool', 
9a100979b2df Updatemany modules' Python bindings
Mitch Watrous
parents: 9708
diff changeset
  7001
                   [param('ns3::Tag &', 'tag')])
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7002
    ## packet.h (module 'network'): uint32_t ns3::Packet::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7003
    cls.add_method('Serialize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7004
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7005
                   [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7006
                   is_const=True)
10795
29506f2221e2 update bindings
Tom Henderson <tomh@tomh.org>
parents: 10631
diff changeset
  7007
    ## packet.h (module 'network'): void ns3::Packet::SetNixVector(ns3::Ptr<ns3::NixVector> nixVector) [member function]
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7008
    cls.add_method('SetNixVector', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7009
                   'void', 
10795
29506f2221e2 update bindings
Tom Henderson <tomh@tomh.org>
parents: 10631
diff changeset
  7010
                   [param('ns3::Ptr< ns3::NixVector >', 'nixVector')])
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7011
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7012
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7013
def register_Ns3TimeValue_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7014
    ## nstime.h (module 'core'): ns3::TimeValue::TimeValue() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7015
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7016
    ## nstime.h (module 'core'): ns3::TimeValue::TimeValue(ns3::TimeValue const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7017
    cls.add_constructor([param('ns3::TimeValue const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7018
    ## nstime.h (module 'core'): ns3::TimeValue::TimeValue(ns3::Time const & value) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7019
    cls.add_constructor([param('ns3::Time const &', 'value')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7020
    ## nstime.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::TimeValue::Copy() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7021
    cls.add_method('Copy', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7022
                   'ns3::Ptr< ns3::AttributeValue >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7023
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7024
                   is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7025
    ## nstime.h (module 'core'): bool ns3::TimeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7026
    cls.add_method('DeserializeFromString', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7027
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7028
                   [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7029
                   is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7030
    ## nstime.h (module 'core'): ns3::Time ns3::TimeValue::Get() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7031
    cls.add_method('Get', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7032
                   'ns3::Time', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7033
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7034
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7035
    ## nstime.h (module 'core'): std::string ns3::TimeValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7036
    cls.add_method('SerializeToString', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7037
                   'std::string', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7038
                   [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7039
                   is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7040
    ## nstime.h (module 'core'): void ns3::TimeValue::Set(ns3::Time const & value) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7041
    cls.add_method('Set', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7042
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7043
                   [param('ns3::Time const &', 'value')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7044
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7045
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7046
def register_Ns3TypeIdChecker_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7047
    ## type-id.h (module 'core'): ns3::TypeIdChecker::TypeIdChecker() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7048
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7049
    ## type-id.h (module 'core'): ns3::TypeIdChecker::TypeIdChecker(ns3::TypeIdChecker const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7050
    cls.add_constructor([param('ns3::TypeIdChecker const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7051
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7052
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7053
def register_Ns3TypeIdValue_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7054
    ## type-id.h (module 'core'): ns3::TypeIdValue::TypeIdValue() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7055
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7056
    ## type-id.h (module 'core'): ns3::TypeIdValue::TypeIdValue(ns3::TypeIdValue const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7057
    cls.add_constructor([param('ns3::TypeIdValue const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7058
    ## type-id.h (module 'core'): ns3::TypeIdValue::TypeIdValue(ns3::TypeId const & value) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7059
    cls.add_constructor([param('ns3::TypeId const &', 'value')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7060
    ## type-id.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::TypeIdValue::Copy() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7061
    cls.add_method('Copy', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7062
                   'ns3::Ptr< ns3::AttributeValue >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7063
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7064
                   is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7065
    ## type-id.h (module 'core'): bool ns3::TypeIdValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7066
    cls.add_method('DeserializeFromString', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7067
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7068
                   [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7069
                   is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7070
    ## type-id.h (module 'core'): ns3::TypeId ns3::TypeIdValue::Get() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7071
    cls.add_method('Get', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7072
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7073
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7074
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7075
    ## type-id.h (module 'core'): std::string ns3::TypeIdValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7076
    cls.add_method('SerializeToString', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7077
                   'std::string', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7078
                   [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7079
                   is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7080
    ## type-id.h (module 'core'): void ns3::TypeIdValue::Set(ns3::TypeId const & value) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7081
    cls.add_method('Set', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7082
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7083
                   [param('ns3::TypeId const &', 'value')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7084
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7085
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7086
def register_Ns3AddressChecker_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7087
    ## address.h (module 'network'): ns3::AddressChecker::AddressChecker() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7088
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7089
    ## address.h (module 'network'): ns3::AddressChecker::AddressChecker(ns3::AddressChecker const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7090
    cls.add_constructor([param('ns3::AddressChecker const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7091
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7093
def register_Ns3AddressValue_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7094
    ## address.h (module 'network'): ns3::AddressValue::AddressValue() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7095
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7096
    ## address.h (module 'network'): ns3::AddressValue::AddressValue(ns3::AddressValue const & arg0) [copy constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7097
    cls.add_constructor([param('ns3::AddressValue const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7098
    ## address.h (module 'network'): ns3::AddressValue::AddressValue(ns3::Address const & value) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7099
    cls.add_constructor([param('ns3::Address const &', 'value')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7100
    ## address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::AddressValue::Copy() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7101
    cls.add_method('Copy', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7102
                   'ns3::Ptr< ns3::AttributeValue >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7103
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7104
                   is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7105
    ## address.h (module 'network'): bool ns3::AddressValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7106
    cls.add_method('DeserializeFromString', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7107
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7108
                   [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7109
                   is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7110
    ## address.h (module 'network'): ns3::Address ns3::AddressValue::Get() const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7111
    cls.add_method('Get', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7112
                   'ns3::Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7113
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7114
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7115
    ## address.h (module 'network'): std::string ns3::AddressValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7116
    cls.add_method('SerializeToString', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7117
                   'std::string', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7118
                   [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7119
                   is_const=True, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7120
    ## address.h (module 'network'): void ns3::AddressValue::Set(ns3::Address const & value) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7121
    cls.add_method('Set', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7122
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7123
                   [param('ns3::Address const &', 'value')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7124
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7125
10183
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7126
def register_Ns3HashImplementation_methods(root_module, cls):
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7127
    ## hash-function.h (module 'core'): ns3::Hash::Implementation::Implementation(ns3::Hash::Implementation const & arg0) [copy constructor]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7128
    cls.add_constructor([param('ns3::Hash::Implementation const &', 'arg0')])
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7129
    ## hash-function.h (module 'core'): ns3::Hash::Implementation::Implementation() [constructor]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7130
    cls.add_constructor([])
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7131
    ## hash-function.h (module 'core'): uint32_t ns3::Hash::Implementation::GetHash32(char const * buffer, size_t const size) [member function]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7132
    cls.add_method('GetHash32', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7133
                   'uint32_t', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7134
                   [param('char const *', 'buffer'), param('size_t const', 'size')], 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7135
                   is_pure_virtual=True, is_virtual=True)
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7136
    ## hash-function.h (module 'core'): uint64_t ns3::Hash::Implementation::GetHash64(char const * buffer, size_t const size) [member function]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7137
    cls.add_method('GetHash64', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7138
                   'uint64_t', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7139
                   [param('char const *', 'buffer'), param('size_t const', 'size')], 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7140
                   is_virtual=True)
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7141
    ## hash-function.h (module 'core'): void ns3::Hash::Implementation::clear() [member function]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7142
    cls.add_method('clear', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7143
                   'void', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7144
                   [], 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7145
                   is_pure_virtual=True, is_virtual=True)
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7146
    return
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7147
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7148
def register_Ns3HashFunctionFnv1a_methods(root_module, cls):
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7149
    ## hash-fnv.h (module 'core'): ns3::Hash::Function::Fnv1a::Fnv1a(ns3::Hash::Function::Fnv1a const & arg0) [copy constructor]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7150
    cls.add_constructor([param('ns3::Hash::Function::Fnv1a const &', 'arg0')])
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7151
    ## hash-fnv.h (module 'core'): ns3::Hash::Function::Fnv1a::Fnv1a() [constructor]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7152
    cls.add_constructor([])
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7153
    ## hash-fnv.h (module 'core'): uint32_t ns3::Hash::Function::Fnv1a::GetHash32(char const * buffer, size_t const size) [member function]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7154
    cls.add_method('GetHash32', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7155
                   'uint32_t', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7156
                   [param('char const *', 'buffer'), param('size_t const', 'size')], 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7157
                   is_virtual=True)
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7158
    ## hash-fnv.h (module 'core'): uint64_t ns3::Hash::Function::Fnv1a::GetHash64(char const * buffer, size_t const size) [member function]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7159
    cls.add_method('GetHash64', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7160
                   'uint64_t', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7161
                   [param('char const *', 'buffer'), param('size_t const', 'size')], 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7162
                   is_virtual=True)
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7163
    ## hash-fnv.h (module 'core'): void ns3::Hash::Function::Fnv1a::clear() [member function]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7164
    cls.add_method('clear', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7165
                   'void', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7166
                   [], 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7167
                   is_virtual=True)
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7168
    return
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7169
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7170
def register_Ns3HashFunctionHash32_methods(root_module, cls):
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7171
    ## hash-function.h (module 'core'): ns3::Hash::Function::Hash32::Hash32(ns3::Hash::Function::Hash32 const & arg0) [copy constructor]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7172
    cls.add_constructor([param('ns3::Hash::Function::Hash32 const &', 'arg0')])
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7173
    ## hash-function.h (module 'core'): ns3::Hash::Function::Hash32::Hash32(ns3::Hash::Hash32Function_ptr hp) [constructor]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7174
    cls.add_constructor([param('ns3::Hash::Hash32Function_ptr', 'hp')])
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7175
    ## hash-function.h (module 'core'): uint32_t ns3::Hash::Function::Hash32::GetHash32(char const * buffer, size_t const size) [member function]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7176
    cls.add_method('GetHash32', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7177
                   'uint32_t', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7178
                   [param('char const *', 'buffer'), param('size_t const', 'size')], 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7179
                   is_virtual=True)
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7180
    ## hash-function.h (module 'core'): void ns3::Hash::Function::Hash32::clear() [member function]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7181
    cls.add_method('clear', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7182
                   'void', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7183
                   [], 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7184
                   is_virtual=True)
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7185
    return
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7186
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7187
def register_Ns3HashFunctionHash64_methods(root_module, cls):
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7188
    ## hash-function.h (module 'core'): ns3::Hash::Function::Hash64::Hash64(ns3::Hash::Function::Hash64 const & arg0) [copy constructor]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7189
    cls.add_constructor([param('ns3::Hash::Function::Hash64 const &', 'arg0')])
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7190
    ## hash-function.h (module 'core'): ns3::Hash::Function::Hash64::Hash64(ns3::Hash::Hash64Function_ptr hp) [constructor]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7191
    cls.add_constructor([param('ns3::Hash::Hash64Function_ptr', 'hp')])
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7192
    ## hash-function.h (module 'core'): uint32_t ns3::Hash::Function::Hash64::GetHash32(char const * buffer, size_t const size) [member function]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7193
    cls.add_method('GetHash32', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7194
                   'uint32_t', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7195
                   [param('char const *', 'buffer'), param('size_t const', 'size')], 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7196
                   is_virtual=True)
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7197
    ## hash-function.h (module 'core'): uint64_t ns3::Hash::Function::Hash64::GetHash64(char const * buffer, size_t const size) [member function]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7198
    cls.add_method('GetHash64', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7199
                   'uint64_t', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7200
                   [param('char const *', 'buffer'), param('size_t const', 'size')], 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7201
                   is_virtual=True)
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7202
    ## hash-function.h (module 'core'): void ns3::Hash::Function::Hash64::clear() [member function]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7203
    cls.add_method('clear', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7204
                   'void', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7205
                   [], 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7206
                   is_virtual=True)
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7207
    return
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7208
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7209
def register_Ns3HashFunctionMurmur3_methods(root_module, cls):
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7210
    ## hash-murmur3.h (module 'core'): ns3::Hash::Function::Murmur3::Murmur3(ns3::Hash::Function::Murmur3 const & arg0) [copy constructor]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7211
    cls.add_constructor([param('ns3::Hash::Function::Murmur3 const &', 'arg0')])
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7212
    ## hash-murmur3.h (module 'core'): ns3::Hash::Function::Murmur3::Murmur3() [constructor]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7213
    cls.add_constructor([])
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7214
    ## hash-murmur3.h (module 'core'): uint32_t ns3::Hash::Function::Murmur3::GetHash32(char const * buffer, size_t const size) [member function]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7215
    cls.add_method('GetHash32', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7216
                   'uint32_t', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7217
                   [param('char const *', 'buffer'), param('size_t const', 'size')], 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7218
                   is_virtual=True)
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7219
    ## hash-murmur3.h (module 'core'): uint64_t ns3::Hash::Function::Murmur3::GetHash64(char const * buffer, size_t const size) [member function]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7220
    cls.add_method('GetHash64', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7221
                   'uint64_t', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7222
                   [param('char const *', 'buffer'), param('size_t const', 'size')], 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7223
                   is_virtual=True)
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7224
    ## hash-murmur3.h (module 'core'): void ns3::Hash::Function::Murmur3::clear() [member function]
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7225
    cls.add_method('clear', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7226
                   'void', 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7227
                   [], 
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7228
                   is_virtual=True)
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7229
    return
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7230
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7231
def register_functions(root_module):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7232
    module = root_module
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7233
    register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module)
10183
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7234
    register_functions_ns3_Hash(module.get_submodule('Hash'), root_module)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7235
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7236
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7237
def register_functions_ns3_FatalImpl(module, root_module):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7238
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7239
10183
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7240
def register_functions_ns3_Hash(module, root_module):
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7241
    register_functions_ns3_Hash_Function(module.get_submodule('Function'), root_module)
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7242
    return
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7243
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7244
def register_functions_ns3_Hash_Function(module, root_module):
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7245
    return
308e44d51626 update bindings
Tom Henderson <tomh@tomh.org>
parents: 9901
diff changeset
  7246
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7247
def main():
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7248
    out = FileCodeSink(sys.stdout)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7249
    root_module = module_init()
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7250
    register_types(root_module)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7251
    register_methods(root_module)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7252
    register_functions(root_module)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7253
    root_module.generate(out)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7254
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7255
if __name__ == '__main__':
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7256
    main()
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7257