src/csma-layout/bindings/modulegen__gcc_LP64.py
author Tom Henderson <tomh@tomh.org>
Wed, 12 Dec 2012 13:14:40 -0800
changeset 9190 882381aa270d
parent 9114 41bfd88f8055
child 9294 4cac575735b3
permissions -rw-r--r--
update 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')
9190
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
    65
    ## inet6-socket-address.h (module 'network'): ns3::Inet6SocketAddress [class]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
    66
    module.add_class('Inet6SocketAddress', import_from_module='ns.network')
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
    root_module['ns3::Inet6SocketAddress'].implicitly_converts_to(root_module['ns3::Address'])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
    69
    ## inet-socket-address.h (module 'network'): ns3::InetSocketAddress [class]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
    70
    module.add_class('InetSocketAddress', import_from_module='ns.network')
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
    root_module['ns3::InetSocketAddress'].implicitly_converts_to(root_module['ns3::Address'])
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
    73
    ## int-to-type.h (module 'core'): ns3::IntToType<0> [struct]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
    74
    module.add_class('IntToType', import_from_module='ns.core', template_parameters=['0'])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
    75
    ## int-to-type.h (module 'core'): ns3::IntToType<0>::v_e [enumeration]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
    76
    module.add_enum('v_e', ['value'], outer_class=root_module['ns3::IntToType< 0 >'], import_from_module='ns.core')
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
    77
    ## int-to-type.h (module 'core'): ns3::IntToType<1> [struct]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
    78
    module.add_class('IntToType', import_from_module='ns.core', template_parameters=['1'])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
    79
    ## int-to-type.h (module 'core'): ns3::IntToType<1>::v_e [enumeration]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
    80
    module.add_enum('v_e', ['value'], outer_class=root_module['ns3::IntToType< 1 >'], import_from_module='ns.core')
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
    81
    ## int-to-type.h (module 'core'): ns3::IntToType<2> [struct]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
    82
    module.add_class('IntToType', import_from_module='ns.core', template_parameters=['2'])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
    83
    ## int-to-type.h (module 'core'): ns3::IntToType<2>::v_e [enumeration]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
    84
    module.add_enum('v_e', ['value'], outer_class=root_module['ns3::IntToType< 2 >'], import_from_module='ns.core')
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
    85
    ## int-to-type.h (module 'core'): ns3::IntToType<3> [struct]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
    86
    module.add_class('IntToType', import_from_module='ns.core', template_parameters=['3'])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
    87
    ## int-to-type.h (module 'core'): ns3::IntToType<3>::v_e [enumeration]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
    88
    module.add_enum('v_e', ['value'], outer_class=root_module['ns3::IntToType< 3 >'], import_from_module='ns.core')
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
    89
    ## int-to-type.h (module 'core'): ns3::IntToType<4> [struct]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
    90
    module.add_class('IntToType', import_from_module='ns.core', template_parameters=['4'])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
    91
    ## int-to-type.h (module 'core'): ns3::IntToType<4>::v_e [enumeration]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
    92
    module.add_enum('v_e', ['value'], outer_class=root_module['ns3::IntToType< 4 >'], import_from_module='ns.core')
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
    93
    ## int-to-type.h (module 'core'): ns3::IntToType<5> [struct]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
    94
    module.add_class('IntToType', import_from_module='ns.core', template_parameters=['5'])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
    95
    ## int-to-type.h (module 'core'): ns3::IntToType<5>::v_e [enumeration]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
    96
    module.add_enum('v_e', ['value'], outer_class=root_module['ns3::IntToType< 5 >'], import_from_module='ns.core')
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
    97
    ## int-to-type.h (module 'core'): ns3::IntToType<6> [struct]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
    98
    module.add_class('IntToType', import_from_module='ns.core', template_parameters=['6'])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
    99
    ## int-to-type.h (module 'core'): ns3::IntToType<6>::v_e [enumeration]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   100
    module.add_enum('v_e', ['value'], outer_class=root_module['ns3::IntToType< 6 >'], 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
   101
    ## 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
   102
    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
   103
    ## 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
   104
    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
   105
    ## 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
   106
    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
   107
    ## 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
   108
    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
   109
    ## 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
   110
    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
   111
    ## 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
   112
    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
   113
    ## 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
   114
    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
   115
    ## 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
   116
    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
   117
    ## 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
   118
    root_module['ns3::Ipv6Address'].implicitly_converts_to(root_module['ns3::Address'])
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   119
    ## ipv6-address-generator.h (module 'internet'): ns3::Ipv6AddressGenerator [class]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   120
    module.add_class('Ipv6AddressGenerator', import_from_module='ns.internet')
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   121
    ## ipv6-address-helper.h (module 'internet'): ns3::Ipv6AddressHelper [class]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   122
    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
   123
    ## 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
   124
    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
   125
    ## 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
   126
    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
   127
    ## 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
   128
    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
   129
    ## 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
   130
    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
   131
    ## 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
   132
    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
   133
    ## 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
   134
    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
   135
    ## 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
   136
    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
   137
    ## 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
   138
    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
   139
    ## 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
   140
    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
   141
    ## 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
   142
    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
   143
    ## 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
   144
    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
   145
    ## 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
   146
    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
   147
    ## 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
   148
    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
   149
    ## 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
   150
    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
   151
    ## 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
   152
    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
   153
    ## 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
   154
    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
   155
    ## 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
   156
    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
   157
    ## 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
   158
    module.add_class('TagData', import_from_module='ns.network', outer_class=root_module['ns3::PacketTagList'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   159
    ## 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
   160
    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
   161
    ## 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
   162
    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
   163
    ## trace-helper.h (module 'network'): ns3::PcapHelper [enumeration]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   164
    module.add_enum('', ['DLT_NULL', 'DLT_EN10MB', 'DLT_PPP', 'DLT_RAW', 'DLT_IEEE802_11', 'DLT_PRISM_HEADER', 'DLT_IEEE802_11_RADIO'], outer_class=root_module['ns3::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
   165
    ## 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
   166
    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
   167
    ## 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
   168
    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
   169
    ## 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
   170
    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
   171
    ## 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
   172
    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
   173
    ## simulator.h (module 'core'): ns3::Simulator [class]
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   174
    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
   175
    ## 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
   176
    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
   177
    ## 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
   178
    module.add_class('TagBuffer', import_from_module='ns.network')
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   179
    ## timer.h (module 'core'): ns3::Timer [class]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   180
    module.add_class('Timer', import_from_module='ns.core')
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   181
    ## timer.h (module 'core'): ns3::Timer::DestroyPolicy [enumeration]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   182
    module.add_enum('DestroyPolicy', ['CANCEL_ON_DESTROY', 'REMOVE_ON_DESTROY', 'CHECK_ON_DESTROY'], outer_class=root_module['ns3::Timer'], import_from_module='ns.core')
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   183
    ## timer.h (module 'core'): ns3::Timer::State [enumeration]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   184
    module.add_enum('State', ['RUNNING', 'EXPIRED', 'SUSPENDED'], outer_class=root_module['ns3::Timer'], import_from_module='ns.core')
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   185
    ## timer-impl.h (module 'core'): ns3::TimerImpl [class]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   186
    module.add_class('TimerImpl', allow_subclassing=True, 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
   187
    ## 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
   188
    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
   189
    ## 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
   190
    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
   191
    ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   192
    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
   193
    ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   194
    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
   195
    ## 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
   196
    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
   197
    ## 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
   198
    module.add_class('int64x64_t', 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
   199
    ## 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
   200
    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
   201
    ## 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
   202
    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
   203
    ## 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
   204
    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
   205
    ## 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
   206
    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
   207
    ## 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
   208
    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
   209
    ## ipv4-header.h (module 'internet'): ns3::Ipv4Header::DscpType [enumeration]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   210
    module.add_enum('DscpType', ['DscpDefault', 'CS1', 'AF11', 'AF12', 'AF13', 'CS2', 'AF21', 'AF22', 'AF23', 'CS3', 'AF31', 'AF32', 'AF33', 'CS4', 'AF41', 'AF42', 'AF43', 'CS5', 'EF', 'CS6', 'CS7'], outer_class=root_module['ns3::Ipv4Header'], import_from_module='ns.internet')
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   211
    ## ipv4-header.h (module 'internet'): ns3::Ipv4Header::EcnType [enumeration]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   212
    module.add_enum('EcnType', ['NotECT', 'ECT1', 'ECT0', '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
   213
    ## 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
   214
    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
   215
    ## 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
   216
    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
   217
    ## 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
   218
    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
   219
    ## 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
   220
    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
   221
    ## 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
   222
    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
   223
    ## 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
   224
    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
   225
    ## 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
   226
    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
   227
    ## 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
   228
    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
   229
    ## 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
   230
    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
   231
    ## 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
   232
    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'))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   233
    ## 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
   234
    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
   235
    ## 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
   236
    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
   237
    ## 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
   238
    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
   239
    ## 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
   240
    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
   241
    ## 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
   242
    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
   243
    ## 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
   244
    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
   245
    ## 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
   246
    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
   247
    ## socket.h (module 'network'): ns3::Socket::SocketErrno [enumeration]
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   248
    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
   249
    ## 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
   250
    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
   251
    ## 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
   252
    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
   253
    ## socket.h (module 'network'): ns3::SocketIpTosTag [class]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
   254
    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
   255
    ## 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
   256
    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
   257
    ## socket.h (module 'network'): ns3::SocketIpv6HopLimitTag [class]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
   258
    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
   259
    ## socket.h (module 'network'): ns3::SocketIpv6TclassTag [class]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
   260
    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
   261
    ## 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
   262
    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
   263
    ## 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
   264
    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
   265
    ## nstime.h (module 'core'): ns3::Time::Unit [enumeration]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   266
    module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::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
   267
    ## 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
   268
    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
   269
    ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor [class]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   270
    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
   271
    ## 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
   272
    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
   273
    ## 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
   274
    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
   275
    ## 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
   276
    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
   277
    ## 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
   278
    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
   279
    ## 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
   280
    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
   281
    ## 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
   282
    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
   283
    ## 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
   284
    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
   285
    ## 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
   286
    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
   287
    ## 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
   288
    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
   289
    ## 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
   290
    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
   291
    ## 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
   292
    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
   293
    ## 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
   294
    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
   295
    ## 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
   296
    module.add_class('EventImpl', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >'])
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   297
    ## ip-l4-protocol.h (module 'internet'): ns3::IpL4Protocol [class]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   298
    module.add_class('IpL4Protocol', import_from_module='ns.internet', parent=root_module['ns3::Object'])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   299
    ## ip-l4-protocol.h (module 'internet'): ns3::IpL4Protocol::RxStatus [enumeration]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   300
    module.add_enum('RxStatus', ['RX_OK', 'RX_CSUM_FAILED', 'RX_ENDPOINT_CLOSED', 'RX_ENDPOINT_UNREACH'], outer_class=root_module['ns3::IpL4Protocol'], 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
   301
    ## 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
   302
    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
   303
    ## 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
   304
    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
   305
    ## 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
   306
    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
   307
    ## 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
   308
    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
   309
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::DropReason [enumeration]
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   310
    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
   311
    ## 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
   312
    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
   313
    ## 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
   314
    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
   315
    ## 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
   316
    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
   317
    ## 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
   318
    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
   319
    ## 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
   320
    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
   321
    ## 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
   322
    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
   323
    ## 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
   324
    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
   325
    ## 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
   326
    module.add_class('Ipv6AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   327
    ## ipv6-interface.h (module 'internet'): ns3::Ipv6Interface [class]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   328
    module.add_class('Ipv6Interface', 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
   329
    ## 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
   330
    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
   331
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ipv6L3Protocol::DropReason [enumeration]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   332
    module.add_enum('DropReason', ['DROP_TTL_EXPIRED', 'DROP_NO_ROUTE', 'DROP_INTERFACE_DOWN', 'DROP_ROUTE_ERROR', 'DROP_UNKNOWN_PROTOCOL'], outer_class=root_module['ns3::Ipv6L3Protocol'], 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
   333
    ## 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
   334
    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
   335
    ## 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
   336
    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
   337
    ## 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
   338
    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
   339
    ## 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
   340
    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
   341
    ## 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
   342
    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
   343
    ## 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
   344
    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
   345
    ## 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
   346
    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
   347
    ## 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
   348
    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
   349
    ## 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
   350
    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
   351
    ## 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
   352
    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
   353
    ## nstime.h (module 'core'): ns3::TimeChecker [class]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   354
    module.add_class('TimeChecker', 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
   355
    ## 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
   356
    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
   357
    ## 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
   358
    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
   359
    ## 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
   360
    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
   361
    ## 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
   362
    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
   363
    ## 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
   364
    module.add_class('AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   365
    module.add_container('std::vector< bool >', 'bool', container_type='vector')
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   366
    module.add_container('std::map< unsigned int, unsigned int >', ('unsigned int', 'unsigned int'), container_type='map')
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   367
    
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   368
    ## 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
   369
    
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   370
    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
   371
    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
   372
    
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   373
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   374
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
   375
    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
   376
    
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   377
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   378
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
   379
    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
   380
    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
   381
    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
   382
    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
   383
    register_Ns3AsciiTraceHelperForIpv6_methods(root_module, root_module['ns3::AsciiTraceHelperForIpv6'])
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   384
    register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList'])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   385
    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
   386
    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
   387
    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
   388
    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
   389
    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
   390
    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
   391
    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
   392
    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
   393
    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
   394
    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
   395
    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
   396
    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
   397
    register_Ns3EventId_methods(root_module, root_module['ns3::EventId'])
9190
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
   398
    register_Ns3Inet6SocketAddress_methods(root_module, root_module['ns3::Inet6SocketAddress'])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
   399
    register_Ns3InetSocketAddress_methods(root_module, root_module['ns3::InetSocketAddress'])
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   400
    register_Ns3IntToType__0_methods(root_module, root_module['ns3::IntToType< 0 >'])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   401
    register_Ns3IntToType__1_methods(root_module, root_module['ns3::IntToType< 1 >'])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   402
    register_Ns3IntToType__2_methods(root_module, root_module['ns3::IntToType< 2 >'])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   403
    register_Ns3IntToType__3_methods(root_module, root_module['ns3::IntToType< 3 >'])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   404
    register_Ns3IntToType__4_methods(root_module, root_module['ns3::IntToType< 4 >'])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   405
    register_Ns3IntToType__5_methods(root_module, root_module['ns3::IntToType< 5 >'])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   406
    register_Ns3IntToType__6_methods(root_module, root_module['ns3::IntToType< 6 >'])
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   407
    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
   408
    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
   409
    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
   410
    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
   411
    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
   412
    register_Ns3Ipv6Address_methods(root_module, root_module['ns3::Ipv6Address'])
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   413
    register_Ns3Ipv6AddressGenerator_methods(root_module, root_module['ns3::Ipv6AddressGenerator'])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   414
    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
   415
    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
   416
    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
   417
    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
   418
    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
   419
    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
   420
    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
   421
    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
   422
    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
   423
    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
   424
    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
   425
    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
   426
    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
   427
    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
   428
    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
   429
    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
   430
    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
   431
    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
   432
    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
   433
    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
   434
    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
   435
    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
   436
    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
   437
    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
   438
    register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer'])
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   439
    register_Ns3Timer_methods(root_module, root_module['ns3::Timer'])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   440
    register_Ns3TimerImpl_methods(root_module, root_module['ns3::TimerImpl'])
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   441
    register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId'])
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   442
    register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation'])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   443
    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
   444
    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
   445
    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
   446
    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
   447
    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
   448
    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
   449
    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
   450
    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
   451
    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
   452
    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
   453
    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
   454
    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
   455
    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
   456
    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
   457
    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
   458
    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
   459
    register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, 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
   460
    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
   461
    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
   462
    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
   463
    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
   464
    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
   465
    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
   466
    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
   467
    register_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag'])
9190
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
   468
    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
   469
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
9190
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
   470
    register_Ns3SocketIpv6HopLimitTag_methods(root_module, root_module['ns3::SocketIpv6HopLimitTag'])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
   471
    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
   472
    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
   473
    register_Ns3Time_methods(root_module, root_module['ns3::Time'])
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   474
    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
   475
    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
   476
    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
   477
    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
   478
    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
   479
    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
   480
    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
   481
    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
   482
    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
   483
    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
   484
    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
   485
    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
   486
    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
   487
    register_Ns3EventImpl_methods(root_module, root_module['ns3::EventImpl'])
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   488
    register_Ns3IpL4Protocol_methods(root_module, root_module['ns3::IpL4Protocol'])
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   489
    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
   490
    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
   491
    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
   492
    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
   493
    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
   494
    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
   495
    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
   496
    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
   497
    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
   498
    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
   499
    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
   500
    register_Ns3Ipv6AddressValue_methods(root_module, root_module['ns3::Ipv6AddressValue'])
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   501
    register_Ns3Ipv6Interface_methods(root_module, root_module['ns3::Ipv6Interface'])
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   502
    register_Ns3Ipv6L3Protocol_methods(root_module, root_module['ns3::Ipv6L3Protocol'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   503
    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
   504
    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
   505
    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
   506
    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
   507
    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
   508
    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
   509
    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
   510
    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
   511
    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
   512
    register_Ns3TimeChecker_methods(root_module, root_module['ns3::TimeChecker'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   513
    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
   514
    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
   515
    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
   516
    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
   517
    register_Ns3AddressValue_methods(root_module, root_module['ns3::AddressValue'])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   518
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   519
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   520
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
   521
    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
   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_output_stream_operator()
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   524
    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
   525
    ## 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
   526
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   527
    ## 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
   528
    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
   529
    ## 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
   530
    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
   531
    ## 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
   532
    cls.add_method('CheckCompatible', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   533
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   534
                   [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
   535
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   536
    ## 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
   537
    cls.add_method('CopyAllFrom', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   538
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   539
                   [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
   540
    ## 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
   541
    cls.add_method('CopyAllTo', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   542
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   543
                   [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
   544
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   545
    ## 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
   546
    cls.add_method('CopyFrom', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   547
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   548
                   [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
   549
    ## 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
   550
    cls.add_method('CopyTo', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   551
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   552
                   [param('uint8_t *', 'buffer')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   553
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   554
    ## 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
   555
    cls.add_method('Deserialize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   556
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   557
                   [param('ns3::TagBuffer', 'buffer')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   558
    ## 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
   559
    cls.add_method('GetLength', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   560
                   'uint8_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   561
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   562
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   563
    ## 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
   564
    cls.add_method('GetSerializedSize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   565
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   566
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   567
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   568
    ## 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
   569
    cls.add_method('IsInvalid', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   570
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   571
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   572
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   573
    ## 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
   574
    cls.add_method('IsMatchingType', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   575
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   576
                   [param('uint8_t', 'type')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   577
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   578
    ## 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
   579
    cls.add_method('Register', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   580
                   'uint8_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   581
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   582
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   583
    ## 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
   584
    cls.add_method('Serialize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   585
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   586
                   [param('ns3::TagBuffer', 'buffer')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   587
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   588
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   589
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   590
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
   591
    ## 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
   592
    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
   593
    ## 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
   594
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   595
    ## 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
   596
    cls.add_method('CreateFileStream', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   597
                   'ns3::Ptr< ns3::OutputStreamWrapper >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   598
                   [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
   599
    ## 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
   600
    cls.add_method('DefaultDequeueSinkWithContext', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   601
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   602
                   [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
   603
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   604
    ## 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
   605
    cls.add_method('DefaultDequeueSinkWithoutContext', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   606
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   607
                   [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
   608
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   609
    ## 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
   610
    cls.add_method('DefaultDropSinkWithContext', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   611
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   612
                   [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
   613
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   614
    ## 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
   615
    cls.add_method('DefaultDropSinkWithoutContext', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   616
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   617
                   [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
   618
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   619
    ## 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
   620
    cls.add_method('DefaultEnqueueSinkWithContext', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   621
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   622
                   [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
   623
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   624
    ## 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
   625
    cls.add_method('DefaultEnqueueSinkWithoutContext', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   626
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   627
                   [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
   628
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   629
    ## 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
   630
    cls.add_method('DefaultReceiveSinkWithContext', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   631
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   632
                   [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
   633
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   634
    ## 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
   635
    cls.add_method('DefaultReceiveSinkWithoutContext', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   636
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   637
                   [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
   638
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   639
    ## 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
   640
    cls.add_method('GetFilenameFromDevice', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   641
                   'std::string', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   642
                   [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
   643
    ## 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
   644
    cls.add_method('GetFilenameFromInterfacePair', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   645
                   'std::string', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   646
                   [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
   647
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   648
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   649
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
   650
    ## 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
   651
    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
   652
    ## 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
   653
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   654
    ## 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
   655
    cls.add_method('EnableAscii', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   656
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   657
                   [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
   658
    ## 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
   659
    cls.add_method('EnableAscii', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   660
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   661
                   [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
   662
    ## 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
   663
    cls.add_method('EnableAscii', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   664
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   665
                   [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
   666
    ## 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
   667
    cls.add_method('EnableAscii', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   668
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   669
                   [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
   670
    ## 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
   671
    cls.add_method('EnableAscii', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   672
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   673
                   [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
   674
    ## 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
   675
    cls.add_method('EnableAscii', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   676
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   677
                   [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
   678
    ## 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
   679
    cls.add_method('EnableAscii', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   680
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   681
                   [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
   682
    ## 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
   683
    cls.add_method('EnableAscii', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   684
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   685
                   [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
   686
    ## 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
   687
    cls.add_method('EnableAscii', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   688
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   689
                   [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
   690
    ## 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
   691
    cls.add_method('EnableAscii', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   692
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   693
                   [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
   694
    ## 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
   695
    cls.add_method('EnableAsciiAll', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   696
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   697
                   [param('std::string', 'prefix')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   698
    ## 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
   699
    cls.add_method('EnableAsciiAll', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   700
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   701
                   [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
   702
    ## 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
   703
    cls.add_method('EnableAsciiInternal', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   704
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   705
                   [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
   706
                   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
   707
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   708
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   709
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
   710
    ## 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
   711
    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
   712
    ## 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
   713
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   714
    ## 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
   715
    cls.add_method('EnableAsciiIpv4', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   716
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   717
                   [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
   718
    ## 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
   719
    cls.add_method('EnableAsciiIpv4', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   720
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   721
                   [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
   722
    ## 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
   723
    cls.add_method('EnableAsciiIpv4', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   724
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   725
                   [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
   726
    ## 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
   727
    cls.add_method('EnableAsciiIpv4', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   728
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   729
                   [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
   730
    ## 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
   731
    cls.add_method('EnableAsciiIpv4', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   732
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   733
                   [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
   734
    ## 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
   735
    cls.add_method('EnableAsciiIpv4', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   736
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   737
                   [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
   738
    ## 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
   739
    cls.add_method('EnableAsciiIpv4', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   740
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   741
                   [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
   742
    ## 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
   743
    cls.add_method('EnableAsciiIpv4', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   744
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   745
                   [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
   746
    ## 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
   747
    cls.add_method('EnableAsciiIpv4', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   748
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   749
                   [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
   750
    ## 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
   751
    cls.add_method('EnableAsciiIpv4', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   752
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   753
                   [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
   754
    ## 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
   755
    cls.add_method('EnableAsciiIpv4All', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   756
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   757
                   [param('std::string', 'prefix')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   758
    ## 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
   759
    cls.add_method('EnableAsciiIpv4All', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   760
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   761
                   [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
   762
    ## 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
   763
    cls.add_method('EnableAsciiIpv4Internal', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   764
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   765
                   [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
   766
                   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
   767
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   768
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   769
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
   770
    ## 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
   771
    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
   772
    ## 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
   773
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   774
    ## 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
   775
    cls.add_method('EnableAsciiIpv6', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   776
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   777
                   [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
   778
    ## 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
   779
    cls.add_method('EnableAsciiIpv6', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   780
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   781
                   [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
   782
    ## 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
   783
    cls.add_method('EnableAsciiIpv6', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   784
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   785
                   [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
   786
    ## 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
   787
    cls.add_method('EnableAsciiIpv6', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   788
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   789
                   [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
   790
    ## 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
   791
    cls.add_method('EnableAsciiIpv6', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   792
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   793
                   [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
   794
    ## 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
   795
    cls.add_method('EnableAsciiIpv6', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   796
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   797
                   [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
   798
    ## 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
   799
    cls.add_method('EnableAsciiIpv6', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   800
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   801
                   [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
   802
    ## 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
   803
    cls.add_method('EnableAsciiIpv6', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   804
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   805
                   [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
   806
    ## 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
   807
    cls.add_method('EnableAsciiIpv6', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   808
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   809
                   [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
   810
    ## 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
   811
    cls.add_method('EnableAsciiIpv6', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   812
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   813
                   [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
   814
    ## 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
   815
    cls.add_method('EnableAsciiIpv6All', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   816
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   817
                   [param('std::string', 'prefix')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   818
    ## 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
   819
    cls.add_method('EnableAsciiIpv6All', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   820
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   821
                   [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
   822
    ## 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
   823
    cls.add_method('EnableAsciiIpv6Internal', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   824
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   825
                   [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
   826
                   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
   827
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   828
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   829
def register_Ns3AttributeConstructionList_methods(root_module, cls):
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   830
    ## 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
   831
    cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   832
    ## 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
   833
    cls.add_constructor([])
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   834
    ## 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
   835
    cls.add_method('Add', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   836
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   837
                   [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
   838
    ## 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
   839
    cls.add_method('Begin', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   840
                   'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   841
                   [], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   842
                   is_const=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   843
    ## 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
   844
    cls.add_method('End', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   845
                   'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   846
                   [], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   847
                   is_const=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   848
    ## 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
   849
    cls.add_method('Find', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   850
                   'ns3::Ptr< ns3::AttributeValue >', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   851
                   [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   852
                   is_const=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   853
    return
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   854
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   855
def register_Ns3AttributeConstructionListItem_methods(root_module, cls):
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   856
    ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   857
    cls.add_constructor([])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   858
    ## 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
   859
    cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   860
    ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   861
    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
   862
    ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   863
    cls.add_instance_attribute('name', 'std::string', is_const=False)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   864
    ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
   865
    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
   866
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   867
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   868
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
   869
    ## 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
   870
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   871
    ## 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
   872
    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
   873
    ## 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
   874
    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
   875
    ## 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
   876
    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
   877
    ## 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
   878
    cls.add_method('AddAtEnd', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   879
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   880
                   [param('uint32_t', 'end')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   881
    ## 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
   882
    cls.add_method('AddAtEnd', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   883
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   884
                   [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
   885
    ## 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
   886
    cls.add_method('AddAtStart', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   887
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   888
                   [param('uint32_t', 'start')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   889
    ## 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
   890
    cls.add_method('Begin', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   891
                   'ns3::Buffer::Iterator', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   892
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   893
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   894
    ## 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
   895
    cls.add_method('CopyData', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   896
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   897
                   [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
   898
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   899
    ## 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
   900
    cls.add_method('CopyData', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   901
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   902
                   [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
   903
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   904
    ## 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
   905
    cls.add_method('CreateFragment', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   906
                   'ns3::Buffer', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   907
                   [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
   908
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   909
    ## 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
   910
    cls.add_method('CreateFullCopy', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   911
                   'ns3::Buffer', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   912
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   913
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   914
    ## 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
   915
    cls.add_method('Deserialize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   916
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   917
                   [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
   918
    ## 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
   919
    cls.add_method('End', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   920
                   'ns3::Buffer::Iterator', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   921
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   922
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   923
    ## 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
   924
    cls.add_method('GetCurrentEndOffset', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   925
                   'int32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   926
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   927
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   928
    ## 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
   929
    cls.add_method('GetCurrentStartOffset', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   930
                   'int32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   931
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   932
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   933
    ## 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
   934
    cls.add_method('GetSerializedSize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   935
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   936
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   937
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   938
    ## 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
   939
    cls.add_method('GetSize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   940
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   941
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   942
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   943
    ## 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
   944
    cls.add_method('PeekData', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   945
                   'uint8_t const *', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   946
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   947
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   948
    ## 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
   949
    cls.add_method('RemoveAtEnd', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   950
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   951
                   [param('uint32_t', 'end')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   952
    ## 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
   953
    cls.add_method('RemoveAtStart', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   954
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   955
                   [param('uint32_t', 'start')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   956
    ## 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
   957
    cls.add_method('Serialize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   958
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   959
                   [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
   960
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   961
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   962
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   963
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
   964
    ## 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
   965
    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
   966
    ## 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
   967
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   968
    ## 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
   969
    cls.add_method('CalculateIpChecksum', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   970
                   'uint16_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   971
                   [param('uint16_t', 'size')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   972
    ## 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
   973
    cls.add_method('CalculateIpChecksum', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   974
                   'uint16_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   975
                   [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
   976
    ## 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
   977
    cls.add_method('GetDistanceFrom', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   978
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   979
                   [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
   980
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   981
    ## 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
   982
    cls.add_method('GetSize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   983
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   984
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   985
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   986
    ## 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
   987
    cls.add_method('IsEnd', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   988
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   989
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   990
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   991
    ## 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
   992
    cls.add_method('IsStart', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   993
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   994
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   995
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   996
    ## 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
   997
    cls.add_method('Next', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   998
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
   999
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1000
    ## 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
  1001
    cls.add_method('Next', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1002
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1003
                   [param('uint32_t', 'delta')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1004
    ## 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
  1005
    cls.add_method('Prev', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1006
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1007
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1008
    ## 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
  1009
    cls.add_method('Prev', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1010
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1011
                   [param('uint32_t', 'delta')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1012
    ## 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
  1013
    cls.add_method('Read', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1014
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1015
                   [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
  1016
    ## 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
  1017
    cls.add_method('ReadLsbtohU16', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1018
                   'uint16_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1019
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1020
    ## 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
  1021
    cls.add_method('ReadLsbtohU32', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1022
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1023
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1024
    ## 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
  1025
    cls.add_method('ReadLsbtohU64', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1026
                   'uint64_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1027
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1028
    ## 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
  1029
    cls.add_method('ReadNtohU16', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1030
                   'uint16_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1031
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1032
    ## 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
  1033
    cls.add_method('ReadNtohU32', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1034
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1035
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1036
    ## 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
  1037
    cls.add_method('ReadNtohU64', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1038
                   'uint64_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1039
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1040
    ## 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
  1041
    cls.add_method('ReadU16', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1042
                   'uint16_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1043
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1044
    ## 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
  1045
    cls.add_method('ReadU32', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1046
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1047
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1048
    ## 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
  1049
    cls.add_method('ReadU64', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1050
                   'uint64_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1051
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1052
    ## 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
  1053
    cls.add_method('ReadU8', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1054
                   'uint8_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1055
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1056
    ## 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
  1057
    cls.add_method('Write', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1058
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1059
                   [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
  1060
    ## 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
  1061
    cls.add_method('Write', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1062
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1063
                   [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
  1064
    ## 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
  1065
    cls.add_method('WriteHtolsbU16', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1066
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1067
                   [param('uint16_t', 'data')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1068
    ## 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
  1069
    cls.add_method('WriteHtolsbU32', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1070
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1071
                   [param('uint32_t', 'data')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1072
    ## 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
  1073
    cls.add_method('WriteHtolsbU64', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1074
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1075
                   [param('uint64_t', 'data')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1076
    ## 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
  1077
    cls.add_method('WriteHtonU16', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1078
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1079
                   [param('uint16_t', 'data')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1080
    ## 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
  1081
    cls.add_method('WriteHtonU32', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1082
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1083
                   [param('uint32_t', 'data')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1084
    ## 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
  1085
    cls.add_method('WriteHtonU64', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1086
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1087
                   [param('uint64_t', 'data')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1088
    ## 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
  1089
    cls.add_method('WriteU16', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1090
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1091
                   [param('uint16_t', 'data')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1092
    ## 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
  1093
    cls.add_method('WriteU32', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1094
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1095
                   [param('uint32_t', 'data')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1096
    ## 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
  1097
    cls.add_method('WriteU64', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1098
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1099
                   [param('uint64_t', 'data')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1100
    ## 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
  1101
    cls.add_method('WriteU8', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1102
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1103
                   [param('uint8_t', 'data')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1104
    ## 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
  1105
    cls.add_method('WriteU8', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1106
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1107
                   [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
  1108
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1109
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1110
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
  1111
    ## 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
  1112
    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
  1113
    ## 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
  1114
    cls.add_method('HasNext', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1115
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1116
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1117
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1118
    ## 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
  1119
    cls.add_method('Next', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1120
                   'ns3::ByteTagIterator::Item', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1121
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1122
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1123
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1124
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
  1125
    ## 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
  1126
    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
  1127
    ## 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
  1128
    cls.add_method('GetEnd', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1129
                   'uint32_t', 
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
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1132
    ## 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
  1133
    cls.add_method('GetStart', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1134
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1135
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1136
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1137
    ## 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
  1138
    cls.add_method('GetTag', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1139
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1140
                   [param('ns3::Tag &', 'tag')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1141
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1142
    ## 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
  1143
    cls.add_method('GetTypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1144
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1145
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1146
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1147
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1148
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1149
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
  1150
    ## 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
  1151
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1152
    ## 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
  1153
    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
  1154
    ## 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
  1155
    cls.add_method('Add', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1156
                   'ns3::TagBuffer', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1157
                   [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
  1158
    ## 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
  1159
    cls.add_method('Add', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1160
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1161
                   [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
  1162
    ## 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
  1163
    cls.add_method('AddAtEnd', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1164
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1165
                   [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
  1166
    ## 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
  1167
    cls.add_method('AddAtStart', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1168
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1169
                   [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
  1170
    ## 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
  1171
    cls.add_method('Begin', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1172
                   'ns3::ByteTagList::Iterator', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1173
                   [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
  1174
                   is_const=True)
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::RemoveAll() [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('RemoveAll', 
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
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1179
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1180
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1181
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
  1182
    ## 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
  1183
    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
  1184
    ## 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
  1185
    cls.add_method('GetOffsetStart', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1186
                   'uint32_t', 
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
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1189
    ## 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
  1190
    cls.add_method('HasNext', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1191
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1192
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1193
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1194
    ## 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
  1195
    cls.add_method('Next', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1196
                   'ns3::ByteTagList::Iterator::Item', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1197
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1198
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1199
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1200
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
  1201
    ## 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
  1202
    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
  1203
    ## 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
  1204
    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
  1205
    ## 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
  1206
    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
  1207
    ## 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
  1208
    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
  1209
    ## 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
  1210
    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
  1211
    ## 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
  1212
    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
  1213
    ## 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
  1214
    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
  1215
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1216
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1217
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
  1218
    ## 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
  1219
    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
  1220
    ## 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
  1221
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1222
    ## 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
  1223
    cls.add_method('GetImpl', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1224
                   'ns3::Ptr< ns3::CallbackImplBase >', 
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
                   is_const=True)
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::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
  1228
    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
  1229
                        visibility='protected')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1230
    ## 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
  1231
    cls.add_method('Demangle', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1232
                   'std::string', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1233
                   [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
  1234
                   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
  1235
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1236
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1237
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
  1238
    ## 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
  1239
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1240
    ## 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
  1241
    cls.add_constructor([param('ns3::Ptr< ns3::CsmaNetDevice >', 'device')])
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1242
    ## 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
  1243
    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
  1244
    ## 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
  1245
    cls.add_method('IsActive', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1246
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1247
                   [])
7874
3eda7174ac52 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7873
diff changeset
  1248
    ## csma-channel.h (module 'csma'): ns3::CsmaDeviceRec::active [variable]
3eda7174ac52 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7873
diff changeset
  1249
    cls.add_instance_attribute('active', 'bool', is_const=False)
3eda7174ac52 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7873
diff changeset
  1250
    ## csma-channel.h (module 'csma'): ns3::CsmaDeviceRec::devicePtr [variable]
3eda7174ac52 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7873
diff changeset
  1251
    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
  1252
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1253
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1254
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
  1255
    ## 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
  1256
    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
  1257
    ## 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
  1258
    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
  1259
    ## 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
  1260
    cls.add_method('AssignIpv4Addresses', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1261
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1262
                   [param('ns3::Ipv4AddressHelper', 'address')])
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1263
    ## 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
  1264
    cls.add_method('AssignIpv6Addresses', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1265
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1266
                   [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
  1267
    ## 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
  1268
    cls.add_method('GetHub', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1269
                   'ns3::Ptr< ns3::Node >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1270
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1271
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1272
    ## 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
  1273
    cls.add_method('GetHubDevices', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1274
                   'ns3::NetDeviceContainer', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1275
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1276
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1277
    ## 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
  1278
    cls.add_method('GetHubIpv4Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1279
                   'ns3::Ipv4Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1280
                   [param('uint32_t', 'i')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1281
                   is_const=True)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1282
    ## 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
  1283
    cls.add_method('GetHubIpv6Address', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1284
                   'ns3::Ipv6Address', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1285
                   [param('uint32_t', 'i')], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1286
                   is_const=True)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1287
    ## 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
  1288
    cls.add_method('GetSpokeDevices', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1289
                   'ns3::NetDeviceContainer', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1290
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1291
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1292
    ## 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
  1293
    cls.add_method('GetSpokeIpv4Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1294
                   'ns3::Ipv4Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1295
                   [param('uint32_t', 'i')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1296
                   is_const=True)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1297
    ## 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
  1298
    cls.add_method('GetSpokeIpv6Address', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1299
                   'ns3::Ipv6Address', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1300
                   [param('uint32_t', 'i')], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1301
                   is_const=True)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1302
    ## 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
  1303
    cls.add_method('GetSpokeNode', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1304
                   'ns3::Ptr< ns3::Node >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1305
                   [param('uint32_t', 'i')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1306
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1307
    ## 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
  1308
    cls.add_method('InstallStack', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1309
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1310
                   [param('ns3::InternetStackHelper', 'stack')])
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'): 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
  1312
    cls.add_method('SpokeCount', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1313
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1314
                   [], 
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
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1317
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1318
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
  1319
    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
  1320
    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
  1321
    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
  1322
    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
  1323
    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
  1324
    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
  1325
    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
  1326
    ## 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
  1327
    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
  1328
    ## 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
  1329
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1330
    ## 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
  1331
    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
  1332
    ## 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
  1333
    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
  1334
    ## 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
  1335
    cls.add_method('CalculateTxTime', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1336
                   'double', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1337
                   [param('uint32_t', 'bytes')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1338
                   is_const=True)
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'): 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
  1340
    cls.add_method('GetBitRate', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1341
                   'uint64_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1342
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1343
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1344
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1345
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1346
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
  1347
    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
  1348
    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
  1349
    ## 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
  1350
    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
  1351
    ## 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
  1352
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1353
    ## 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
  1354
    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
  1355
    ## 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
  1356
    cls.add_method('Cancel', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1357
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1358
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1359
    ## 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
  1360
    cls.add_method('GetContext', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1361
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1362
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1363
                   is_const=True)
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'): 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
  1365
    cls.add_method('GetTs', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1366
                   'uint64_t', 
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
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1369
    ## 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
  1370
    cls.add_method('GetUid', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1371
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1372
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1373
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1374
    ## 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
  1375
    cls.add_method('IsExpired', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1376
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1377
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1378
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1379
    ## 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
  1380
    cls.add_method('IsRunning', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1381
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1382
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1383
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1384
    ## 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
  1385
    cls.add_method('PeekEventImpl', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1386
                   'ns3::EventImpl *', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1387
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1388
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1389
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1390
9190
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1391
def register_Ns3Inet6SocketAddress_methods(root_module, cls):
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1392
    ## 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
  1393
    cls.add_constructor([param('ns3::Inet6SocketAddress const &', 'arg0')])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1394
    ## 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
  1395
    cls.add_constructor([param('ns3::Ipv6Address', 'ipv6'), param('uint16_t', 'port')])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1396
    ## 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
  1397
    cls.add_constructor([param('ns3::Ipv6Address', 'ipv6')])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1398
    ## 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
  1399
    cls.add_constructor([param('uint16_t', 'port')])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1400
    ## 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
  1401
    cls.add_constructor([param('char const *', 'ipv6'), param('uint16_t', 'port')])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1402
    ## 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
  1403
    cls.add_constructor([param('char const *', 'ipv6')])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1404
    ## 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
  1405
    cls.add_method('ConvertFrom', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1406
                   'ns3::Inet6SocketAddress', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1407
                   [param('ns3::Address const &', 'addr')], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1408
                   is_static=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1409
    ## 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
  1410
    cls.add_method('GetIpv6', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1411
                   'ns3::Ipv6Address', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1412
                   [], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1413
                   is_const=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1414
    ## 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
  1415
    cls.add_method('GetPort', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1416
                   'uint16_t', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1417
                   [], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1418
                   is_const=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1419
    ## 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
  1420
    cls.add_method('IsMatchingType', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1421
                   'bool', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1422
                   [param('ns3::Address const &', 'addr')], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1423
                   is_static=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1424
    ## 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
  1425
    cls.add_method('SetIpv6', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1426
                   'void', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1427
                   [param('ns3::Ipv6Address', 'ipv6')])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1428
    ## 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
  1429
    cls.add_method('SetPort', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1430
                   'void', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1431
                   [param('uint16_t', 'port')])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1432
    return
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1433
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1434
def register_Ns3InetSocketAddress_methods(root_module, cls):
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1435
    ## 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
  1436
    cls.add_constructor([param('ns3::InetSocketAddress const &', 'arg0')])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1437
    ## 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
  1438
    cls.add_constructor([param('ns3::Ipv4Address', 'ipv4'), param('uint16_t', 'port')])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1439
    ## 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
  1440
    cls.add_constructor([param('ns3::Ipv4Address', 'ipv4')])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1441
    ## 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
  1442
    cls.add_constructor([param('uint16_t', 'port')])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1443
    ## 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
  1444
    cls.add_constructor([param('char const *', 'ipv4'), param('uint16_t', 'port')])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1445
    ## 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
  1446
    cls.add_constructor([param('char const *', 'ipv4')])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1447
    ## 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
  1448
    cls.add_method('ConvertFrom', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1449
                   'ns3::InetSocketAddress', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1450
                   [param('ns3::Address const &', 'address')], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1451
                   is_static=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1452
    ## 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
  1453
    cls.add_method('GetIpv4', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1454
                   'ns3::Ipv4Address', 
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
    ## 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
  1458
    cls.add_method('GetPort', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1459
                   'uint16_t', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1460
                   [], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1461
                   is_const=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1462
    ## 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
  1463
    cls.add_method('IsMatchingType', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1464
                   'bool', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1465
                   [param('ns3::Address const &', 'address')], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1466
                   is_static=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1467
    ## 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
  1468
    cls.add_method('SetIpv4', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1469
                   'void', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1470
                   [param('ns3::Ipv4Address', 'address')])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1471
    ## 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
  1472
    cls.add_method('SetPort', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1473
                   'void', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1474
                   [param('uint16_t', 'port')])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1475
    return
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  1476
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1477
def register_Ns3IntToType__0_methods(root_module, cls):
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1478
    ## int-to-type.h (module 'core'): ns3::IntToType<0>::IntToType() [constructor]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1479
    cls.add_constructor([])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1480
    ## int-to-type.h (module 'core'): ns3::IntToType<0>::IntToType(ns3::IntToType<0> const & arg0) [copy constructor]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1481
    cls.add_constructor([param('ns3::IntToType< 0 > const &', 'arg0')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1482
    return
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1483
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1484
def register_Ns3IntToType__1_methods(root_module, cls):
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1485
    ## int-to-type.h (module 'core'): ns3::IntToType<1>::IntToType() [constructor]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1486
    cls.add_constructor([])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1487
    ## int-to-type.h (module 'core'): ns3::IntToType<1>::IntToType(ns3::IntToType<1> const & arg0) [copy constructor]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1488
    cls.add_constructor([param('ns3::IntToType< 1 > const &', 'arg0')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1489
    return
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1490
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1491
def register_Ns3IntToType__2_methods(root_module, cls):
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1492
    ## int-to-type.h (module 'core'): ns3::IntToType<2>::IntToType() [constructor]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1493
    cls.add_constructor([])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1494
    ## int-to-type.h (module 'core'): ns3::IntToType<2>::IntToType(ns3::IntToType<2> const & arg0) [copy constructor]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1495
    cls.add_constructor([param('ns3::IntToType< 2 > const &', 'arg0')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1496
    return
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1497
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1498
def register_Ns3IntToType__3_methods(root_module, cls):
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1499
    ## int-to-type.h (module 'core'): ns3::IntToType<3>::IntToType() [constructor]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1500
    cls.add_constructor([])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1501
    ## int-to-type.h (module 'core'): ns3::IntToType<3>::IntToType(ns3::IntToType<3> const & arg0) [copy constructor]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1502
    cls.add_constructor([param('ns3::IntToType< 3 > const &', 'arg0')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1503
    return
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1504
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1505
def register_Ns3IntToType__4_methods(root_module, cls):
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1506
    ## int-to-type.h (module 'core'): ns3::IntToType<4>::IntToType() [constructor]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1507
    cls.add_constructor([])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1508
    ## int-to-type.h (module 'core'): ns3::IntToType<4>::IntToType(ns3::IntToType<4> const & arg0) [copy constructor]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1509
    cls.add_constructor([param('ns3::IntToType< 4 > const &', 'arg0')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1510
    return
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1511
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1512
def register_Ns3IntToType__5_methods(root_module, cls):
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1513
    ## int-to-type.h (module 'core'): ns3::IntToType<5>::IntToType() [constructor]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1514
    cls.add_constructor([])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1515
    ## int-to-type.h (module 'core'): ns3::IntToType<5>::IntToType(ns3::IntToType<5> const & arg0) [copy constructor]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1516
    cls.add_constructor([param('ns3::IntToType< 5 > const &', 'arg0')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1517
    return
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1518
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1519
def register_Ns3IntToType__6_methods(root_module, cls):
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1520
    ## int-to-type.h (module 'core'): ns3::IntToType<6>::IntToType() [constructor]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1521
    cls.add_constructor([])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1522
    ## int-to-type.h (module 'core'): ns3::IntToType<6>::IntToType(ns3::IntToType<6> const & arg0) [copy constructor]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1523
    cls.add_constructor([param('ns3::IntToType< 6 > const &', 'arg0')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1524
    return
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1525
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1526
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
  1527
    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
  1528
    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
  1529
    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
  1530
    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
  1531
    ## 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
  1532
    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
  1533
    ## 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
  1534
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1535
    ## 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
  1536
    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
  1537
    ## 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
  1538
    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
  1539
    ## 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
  1540
    cls.add_method('CombineMask', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1541
                   'ns3::Ipv4Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1542
                   [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
  1543
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1544
    ## 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
  1545
    cls.add_method('ConvertFrom', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1546
                   'ns3::Ipv4Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1547
                   [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
  1548
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1549
    ## 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
  1550
    cls.add_method('Deserialize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1551
                   'ns3::Ipv4Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1552
                   [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
  1553
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1554
    ## 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
  1555
    cls.add_method('Get', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1556
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1557
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1558
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1559
    ## 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
  1560
    cls.add_method('GetAny', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1561
                   'ns3::Ipv4Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1562
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1563
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1564
    ## 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
  1565
    cls.add_method('GetBroadcast', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1566
                   'ns3::Ipv4Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1567
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1568
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1569
    ## 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
  1570
    cls.add_method('GetLoopback', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1571
                   'ns3::Ipv4Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1572
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1573
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1574
    ## 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
  1575
    cls.add_method('GetSubnetDirectedBroadcast', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1576
                   'ns3::Ipv4Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1577
                   [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
  1578
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1579
    ## 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
  1580
    cls.add_method('GetZero', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1581
                   'ns3::Ipv4Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1582
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1583
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1584
    ## 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
  1585
    cls.add_method('IsBroadcast', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1586
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1587
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1588
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1589
    ## 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
  1590
    cls.add_method('IsEqual', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1591
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1592
                   [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
  1593
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1594
    ## 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
  1595
    cls.add_method('IsLocalMulticast', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1596
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1597
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1598
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1599
    ## 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
  1600
    cls.add_method('IsMatchingType', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1601
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1602
                   [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
  1603
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1604
    ## 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
  1605
    cls.add_method('IsMulticast', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1606
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1607
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1608
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1609
    ## 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
  1610
    cls.add_method('IsSubnetDirectedBroadcast', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1611
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1612
                   [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
  1613
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1614
    ## 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
  1615
    cls.add_method('Print', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1616
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1617
                   [param('std::ostream &', 'os')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1618
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1619
    ## 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
  1620
    cls.add_method('Serialize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1621
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1622
                   [param('uint8_t *', 'buf')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1623
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1624
    ## 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
  1625
    cls.add_method('Set', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1626
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1627
                   [param('uint32_t', 'address')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1628
    ## 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
  1629
    cls.add_method('Set', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1630
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1631
                   [param('char const *', 'address')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1632
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1633
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1634
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
  1635
    ## 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
  1636
    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
  1637
    ## 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
  1638
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1639
    ## 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
  1640
    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
  1641
    ## 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
  1642
    cls.add_method('Assign', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1643
                   'ns3::Ipv4InterfaceContainer', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1644
                   [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
  1645
    ## 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
  1646
    cls.add_method('NewAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1647
                   'ns3::Ipv4Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1648
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1649
    ## 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
  1650
    cls.add_method('NewNetwork', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1651
                   'ns3::Ipv4Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1652
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1653
    ## 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
  1654
    cls.add_method('SetBase', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1655
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1656
                   [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
  1657
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1658
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1659
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
  1660
    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
  1661
    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
  1662
    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
  1663
    ## 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
  1664
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1665
    ## 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
  1666
    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
  1667
    ## 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
  1668
    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
  1669
    ## 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
  1670
    cls.add_method('GetBroadcast', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1671
                   'ns3::Ipv4Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1672
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1673
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1674
    ## 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
  1675
    cls.add_method('GetLocal', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1676
                   'ns3::Ipv4Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1677
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1678
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1679
    ## 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
  1680
    cls.add_method('GetMask', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1681
                   'ns3::Ipv4Mask', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1682
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1683
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1684
    ## 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
  1685
    cls.add_method('GetScope', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1686
                   'ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1687
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1688
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1689
    ## 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
  1690
    cls.add_method('IsSecondary', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1691
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1692
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1693
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1694
    ## 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
  1695
    cls.add_method('SetBroadcast', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1696
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1697
                   [param('ns3::Ipv4Address', 'broadcast')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1698
    ## 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
  1699
    cls.add_method('SetLocal', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1700
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1701
                   [param('ns3::Ipv4Address', 'local')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1702
    ## 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
  1703
    cls.add_method('SetMask', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1704
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1705
                   [param('ns3::Ipv4Mask', 'mask')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1706
    ## 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
  1707
    cls.add_method('SetPrimary', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1708
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1709
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1710
    ## 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
  1711
    cls.add_method('SetScope', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1712
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1713
                   [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
  1714
    ## 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
  1715
    cls.add_method('SetSecondary', 
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
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1718
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1719
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1720
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
  1721
    ## 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
  1722
    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
  1723
    ## 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
  1724
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1725
    ## 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
  1726
    cls.add_method('Add', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1727
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1728
                   [param('ns3::Ipv4InterfaceContainer', 'other')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1729
    ## 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
  1730
    cls.add_method('Add', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1731
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1732
                   [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
  1733
    ## 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
  1734
    cls.add_method('Add', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1735
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1736
                   [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
  1737
    ## 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
  1738
    cls.add_method('Add', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1739
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1740
                   [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
  1741
    ## 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
  1742
    cls.add_method('Begin', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1743
                   '__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
  1744
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1745
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1746
    ## 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
  1747
    cls.add_method('End', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1748
                   '__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
  1749
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1750
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1751
    ## 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
  1752
    cls.add_method('Get', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1753
                   '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
  1754
                   [param('uint32_t', 'i')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1755
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1756
    ## 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
  1757
    cls.add_method('GetAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1758
                   'ns3::Ipv4Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1759
                   [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
  1760
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1761
    ## 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
  1762
    cls.add_method('GetN', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1763
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1764
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1765
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1766
    ## 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
  1767
    cls.add_method('SetMetric', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1768
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1769
                   [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
  1770
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1771
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1772
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
  1773
    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
  1774
    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
  1775
    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
  1776
    ## 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
  1777
    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
  1778
    ## 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
  1779
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1780
    ## 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
  1781
    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
  1782
    ## 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
  1783
    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
  1784
    ## 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
  1785
    cls.add_method('Get', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1786
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1787
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1788
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1789
    ## 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
  1790
    cls.add_method('GetInverse', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1791
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1792
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1793
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1794
    ## 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
  1795
    cls.add_method('GetLoopback', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1796
                   'ns3::Ipv4Mask', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1797
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1798
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1799
    ## 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
  1800
    cls.add_method('GetOnes', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1801
                   'ns3::Ipv4Mask', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1802
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1803
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1804
    ## 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
  1805
    cls.add_method('GetPrefixLength', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1806
                   'uint16_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1807
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1808
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1809
    ## 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
  1810
    cls.add_method('GetZero', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1811
                   'ns3::Ipv4Mask', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1812
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1813
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1814
    ## 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
  1815
    cls.add_method('IsEqual', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1816
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1817
                   [param('ns3::Ipv4Mask', 'other')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1818
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1819
    ## 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
  1820
    cls.add_method('IsMatch', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1821
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1822
                   [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
  1823
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1824
    ## 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
  1825
    cls.add_method('Print', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1826
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1827
                   [param('std::ostream &', 'os')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1828
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1829
    ## 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
  1830
    cls.add_method('Set', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1831
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1832
                   [param('uint32_t', 'mask')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1833
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1834
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1835
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
  1836
    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
  1837
    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
  1838
    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
  1839
    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
  1840
    ## 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
  1841
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1842
    ## 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
  1843
    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
  1844
    ## 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
  1845
    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
  1846
    ## 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
  1847
    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
  1848
    ## 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
  1849
    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
  1850
    ## 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
  1851
    cls.add_method('CombinePrefix', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1852
                   'ns3::Ipv6Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1853
                   [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
  1854
    ## 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
  1855
    cls.add_method('ConvertFrom', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1856
                   'ns3::Ipv6Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1857
                   [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
  1858
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1859
    ## 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
  1860
    cls.add_method('Deserialize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1861
                   'ns3::Ipv6Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1862
                   [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
  1863
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1864
    ## 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
  1865
    cls.add_method('GetAllHostsMulticast', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1866
                   'ns3::Ipv6Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1867
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1868
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1869
    ## 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
  1870
    cls.add_method('GetAllNodesMulticast', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1871
                   'ns3::Ipv6Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1872
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1873
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1874
    ## 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
  1875
    cls.add_method('GetAllRoutersMulticast', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1876
                   'ns3::Ipv6Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1877
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1878
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1879
    ## 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
  1880
    cls.add_method('GetAny', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1881
                   'ns3::Ipv6Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1882
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1883
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1884
    ## 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
  1885
    cls.add_method('GetBytes', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1886
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1887
                   [param('uint8_t *', 'buf')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1888
                   is_const=True)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1889
    ## 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
  1890
    cls.add_method('GetIpv4MappedAddress', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1891
                   'ns3::Ipv4Address', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1892
                   [], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1893
                   is_const=True)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1894
    ## 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
  1895
    cls.add_method('GetLoopback', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1896
                   'ns3::Ipv6Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1897
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1898
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1899
    ## 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
  1900
    cls.add_method('GetOnes', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1901
                   'ns3::Ipv6Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1902
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1903
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1904
    ## 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
  1905
    cls.add_method('GetZero', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1906
                   'ns3::Ipv6Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1907
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1908
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1909
    ## 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
  1910
    cls.add_method('IsAllHostsMulticast', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1911
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1912
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1913
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1914
    ## 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
  1915
    cls.add_method('IsAllNodesMulticast', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1916
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1917
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1918
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1919
    ## 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
  1920
    cls.add_method('IsAllRoutersMulticast', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1921
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1922
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1923
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1924
    ## 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
  1925
    cls.add_method('IsAny', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1926
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1927
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1928
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1929
    ## 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
  1930
    cls.add_method('IsEqual', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1931
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1932
                   [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
  1933
                   is_const=True)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1934
    ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsIpv4MappedAddress() [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1935
    cls.add_method('IsIpv4MappedAddress', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1936
                   'bool', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1937
                   [])
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1938
    ## 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
  1939
    cls.add_method('IsLinkLocal', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1940
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1941
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1942
                   is_const=True)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1943
    ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsLinkLocalMulticast() const [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1944
    cls.add_method('IsLinkLocalMulticast', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1945
                   'bool', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1946
                   [], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1947
                   is_const=True)
7092
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'): 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
  1949
    cls.add_method('IsLocalhost', 
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
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1952
                   is_const=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'): 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
  1954
    cls.add_method('IsMatchingType', 
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
                   [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
  1957
                   is_static=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::IsMulticast() 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('IsMulticast', 
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)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1963
    ## 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
  1964
    cls.add_method('IsSolicitedMulticast', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1965
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1966
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1967
                   is_const=True)
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)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1973
    ## 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
  1974
    cls.add_method('MakeAutoconfiguredLinkLocalAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1975
                   'ns3::Ipv6Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1976
                   [param('ns3::Mac48Address', 'mac')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1977
                   is_static=True)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1978
    ## 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
  1979
    cls.add_method('MakeIpv4MappedAddress', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1980
                   'ns3::Ipv6Address', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  1981
                   [param('ns3::Ipv4Address', 'addr')], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
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::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
  1984
    cls.add_method('MakeSolicitedAddress', 
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::Ipv6Address', 'addr')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1987
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1988
    ## 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
  1989
    cls.add_method('Print', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1990
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1991
                   [param('std::ostream &', 'os')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1992
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1993
    ## 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
  1994
    cls.add_method('Serialize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1995
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1996
                   [param('uint8_t *', 'buf')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  1997
                   is_const=True)
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'): 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
  1999
    cls.add_method('Set', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2000
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2001
                   [param('char const *', 'address')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2002
    ## 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
  2003
    cls.add_method('Set', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2004
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2005
                   [param('uint8_t *', 'address')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2006
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2007
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2008
def register_Ns3Ipv6AddressGenerator_methods(root_module, cls):
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2009
    ## ipv6-address-generator.h (module 'internet'): ns3::Ipv6AddressGenerator::Ipv6AddressGenerator() [constructor]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2010
    cls.add_constructor([])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2011
    ## 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
  2012
    cls.add_constructor([param('ns3::Ipv6AddressGenerator const &', 'arg0')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2013
    ## 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
  2014
    cls.add_method('AddAllocated', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2015
                   'bool', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2016
                   [param('ns3::Ipv6Address const', 'addr')], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2017
                   is_static=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2018
    ## 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
  2019
    cls.add_method('GetAddress', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2020
                   'ns3::Ipv6Address', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2021
                   [param('ns3::Ipv6Prefix const', 'prefix')], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2022
                   is_static=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2023
    ## 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
  2024
    cls.add_method('GetNetwork', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2025
                   'ns3::Ipv6Address', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2026
                   [param('ns3::Ipv6Prefix const', 'prefix')], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2027
                   is_static=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2028
    ## 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
  2029
    cls.add_method('Init', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2030
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2031
                   [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
  2032
                   is_static=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2033
    ## 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
  2034
    cls.add_method('InitAddress', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2035
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2036
                   [param('ns3::Ipv6Address const', 'interfaceId'), 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::NextAddress(ns3::Ipv6Prefix const prefix) [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2039
    cls.add_method('NextAddress', 
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 ns3::Ipv6Address ns3::Ipv6AddressGenerator::NextNetwork(ns3::Ipv6Prefix const prefix) [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2044
    cls.add_method('NextNetwork', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2045
                   'ns3::Ipv6Address', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2046
                   [param('ns3::Ipv6Prefix const', 'prefix')], 
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::Reset() [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2049
    cls.add_method('Reset', 
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
                   [], 
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 void ns3::Ipv6AddressGenerator::TestMode() [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2054
    cls.add_method('TestMode', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2055
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2056
                   [], 
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
    return
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2059
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2060
def register_Ns3Ipv6AddressHelper_methods(root_module, cls):
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2061
    ## 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
  2062
    cls.add_constructor([param('ns3::Ipv6AddressHelper const &', 'arg0')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2063
    ## ipv6-address-helper.h (module 'internet'): ns3::Ipv6AddressHelper::Ipv6AddressHelper() [constructor]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2064
    cls.add_constructor([])
8893
a11fdda061ae rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7874
diff changeset
  2065
    ## 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
  2066
    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
  2067
    ## 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
  2068
    cls.add_method('Assign', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2069
                   'ns3::Ipv6InterfaceContainer', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2070
                   [param('ns3::NetDeviceContainer const &', 'c')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2071
    ## 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
  2072
    cls.add_method('Assign', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2073
                   'ns3::Ipv6InterfaceContainer', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2074
                   [param('ns3::NetDeviceContainer const &', 'c'), param('std::vector< bool >', 'withConfiguration')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2075
    ## 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
  2076
    cls.add_method('AssignWithoutAddress', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2077
                   'ns3::Ipv6InterfaceContainer', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2078
                   [param('ns3::NetDeviceContainer const &', 'c')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2079
    ## 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
  2080
    cls.add_method('NewAddress', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2081
                   'ns3::Ipv6Address', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2082
                   [param('ns3::Address', 'addr')])
8893
a11fdda061ae rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7874
diff changeset
  2083
    ## 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
  2084
    cls.add_method('NewAddress', 
a11fdda061ae rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7874
diff changeset
  2085
                   'ns3::Ipv6Address', 
a11fdda061ae rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7874
diff changeset
  2086
                   [])
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2087
    ## 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
  2088
    cls.add_method('NewNetwork', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2089
                   'void', 
8893
a11fdda061ae rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7874
diff changeset
  2090
                   [param('ns3::Ipv6Address', 'network'), param('ns3::Ipv6Prefix', 'prefix')], 
a11fdda061ae rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7874
diff changeset
  2091
                   deprecated=True)
a11fdda061ae rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7874
diff changeset
  2092
    ## ipv6-address-helper.h (module 'internet'): void ns3::Ipv6AddressHelper::NewNetwork() [member function]
a11fdda061ae rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7874
diff changeset
  2093
    cls.add_method('NewNetwork', 
a11fdda061ae rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7874
diff changeset
  2094
                   'void', 
a11fdda061ae rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7874
diff changeset
  2095
                   [])
a11fdda061ae rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7874
diff changeset
  2096
    ## 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
  2097
    cls.add_method('SetBase', 
a11fdda061ae rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7874
diff changeset
  2098
                   'void', 
a11fdda061ae rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7874
diff changeset
  2099
                   [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
  2100
    return
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2101
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2102
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
  2103
    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
  2104
    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
  2105
    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
  2106
    ## 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
  2107
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2108
    ## 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
  2109
    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
  2110
    ## 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
  2111
    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
  2112
    ## 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
  2113
    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
  2114
    ## 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
  2115
    cls.add_method('GetAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2116
                   'ns3::Ipv6Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2117
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2118
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2119
    ## 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
  2120
    cls.add_method('GetNsDadUid', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2121
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2122
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2123
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2124
    ## 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
  2125
    cls.add_method('GetPrefix', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2126
                   'ns3::Ipv6Prefix', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2127
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2128
                   is_const=True)
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::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
  2130
    cls.add_method('GetScope', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2131
                   'ns3::Ipv6InterfaceAddress::Scope_e', 
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'): 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
  2135
    cls.add_method('GetState', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2136
                   'ns3::Ipv6InterfaceAddress::State_e', 
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'): 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
  2140
    cls.add_method('SetAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2141
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2142
                   [param('ns3::Ipv6Address', 'address')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2143
    ## 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
  2144
    cls.add_method('SetNsDadUid', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2145
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2146
                   [param('uint32_t', 'uid')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2147
    ## 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
  2148
    cls.add_method('SetScope', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2149
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2150
                   [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
  2151
    ## 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
  2152
    cls.add_method('SetState', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2153
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2154
                   [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
  2155
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2156
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2157
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
  2158
    ## 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
  2159
    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
  2160
    ## 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
  2161
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2162
    ## 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
  2163
    cls.add_method('Add', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2164
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2165
                   [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
  2166
    ## 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
  2167
    cls.add_method('Add', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2168
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2169
                   [param('ns3::Ipv6InterfaceContainer &', 'c')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2170
    ## 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
  2171
    cls.add_method('Add', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2172
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2173
                   [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
  2174
    ## 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
  2175
    cls.add_method('Begin', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2176
                   '__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
  2177
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2178
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2179
    ## 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
  2180
    cls.add_method('End', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2181
                   '__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
  2182
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2183
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2184
    ## 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
  2185
    cls.add_method('GetAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2186
                   'ns3::Ipv6Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2187
                   [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
  2188
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2189
    ## 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
  2190
    cls.add_method('GetInterfaceIndex', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2191
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2192
                   [param('uint32_t', 'i')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2193
                   is_const=True)
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'): 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
  2195
    cls.add_method('GetN', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2196
                   'uint32_t', 
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'): 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
  2200
    cls.add_method('SetDefaultRoute', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2201
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2202
                   [param('uint32_t', 'i'), param('uint32_t', 'router')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2203
    ## 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
  2204
    cls.add_method('SetRouter', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2205
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2206
                   [param('uint32_t', 'i'), param('bool', 'router')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2207
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2208
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2209
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
  2210
    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
  2211
    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
  2212
    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
  2213
    ## 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
  2214
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2215
    ## 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
  2216
    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
  2217
    ## 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
  2218
    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
  2219
    ## 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
  2220
    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
  2221
    ## 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
  2222
    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
  2223
    ## 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
  2224
    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
  2225
    ## 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
  2226
    cls.add_method('GetBytes', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2227
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2228
                   [param('uint8_t *', 'buf')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2229
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2230
    ## 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
  2231
    cls.add_method('GetLoopback', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2232
                   'ns3::Ipv6Prefix', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2233
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2234
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2235
    ## 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
  2236
    cls.add_method('GetOnes', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2237
                   'ns3::Ipv6Prefix', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2238
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2239
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2240
    ## 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
  2241
    cls.add_method('GetPrefixLength', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2242
                   'uint8_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2243
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2244
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2245
    ## 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
  2246
    cls.add_method('GetZero', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2247
                   'ns3::Ipv6Prefix', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2248
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2249
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2250
    ## 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
  2251
    cls.add_method('IsEqual', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2252
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2253
                   [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
  2254
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2255
    ## 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
  2256
    cls.add_method('IsMatch', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2257
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2258
                   [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
  2259
                   is_const=True)
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'): 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
  2261
    cls.add_method('Print', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2262
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2263
                   [param('std::ostream &', 'os')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2264
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2265
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2266
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2267
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
  2268
    ## 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
  2269
    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
  2270
    ## 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
  2271
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2272
    ## 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
  2273
    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
  2274
    ## 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
  2275
    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
  2276
    ## 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
  2277
    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
  2278
    ## 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
  2279
    cls.add_method('Add', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2280
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2281
                   [param('ns3::NetDeviceContainer', 'other')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2282
    ## 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
  2283
    cls.add_method('Add', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2284
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2285
                   [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
  2286
    ## 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
  2287
    cls.add_method('Add', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2288
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2289
                   [param('std::string', 'deviceName')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2290
    ## 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
  2291
    cls.add_method('Begin', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2292
                   '__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
  2293
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2294
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2295
    ## 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
  2296
    cls.add_method('End', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2297
                   '__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
  2298
                   [], 
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
    ## 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
  2301
    cls.add_method('Get', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2302
                   'ns3::Ptr< ns3::NetDevice >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2303
                   [param('uint32_t', 'i')], 
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
    ## 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
  2306
    cls.add_method('GetN', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2307
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2308
                   [], 
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_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
  2313
    ## 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
  2314
    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
  2315
    ## 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
  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
    ## 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
  2318
    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
  2319
    ## 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
  2320
    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
  2321
    ## 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
  2322
    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
  2323
    ## 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
  2324
    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
  2325
    ## 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
  2326
    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
  2327
    ## 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
  2328
    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
  2329
    ## 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
  2330
    cls.add_method('Add', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2331
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2332
                   [param('ns3::NodeContainer', 'other')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2333
    ## 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
  2334
    cls.add_method('Add', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2335
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2336
                   [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
  2337
    ## 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
  2338
    cls.add_method('Add', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2339
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2340
                   [param('std::string', 'nodeName')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2341
    ## 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
  2342
    cls.add_method('Begin', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2343
                   '__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
  2344
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2345
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2346
    ## 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
  2347
    cls.add_method('Create', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2348
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2349
                   [param('uint32_t', 'n')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2350
    ## 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
  2351
    cls.add_method('Create', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2352
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2353
                   [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
  2354
    ## 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
  2355
    cls.add_method('End', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2356
                   '__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
  2357
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2358
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2359
    ## 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
  2360
    cls.add_method('Get', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2361
                   'ns3::Ptr< ns3::Node >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2362
                   [param('uint32_t', 'i')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2363
                   is_const=True)
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'): 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
  2365
    cls.add_method('GetGlobal', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2366
                   'ns3::NodeContainer', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2367
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2368
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2369
    ## 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
  2370
    cls.add_method('GetN', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2371
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2372
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2373
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2374
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2375
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2376
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
  2377
    ## 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
  2378
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2379
    ## 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
  2380
    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
  2381
    ## 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
  2382
    cls.add_method('GetAttribute', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2383
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2384
                   [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
  2385
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2386
    ## 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
  2387
    cls.add_method('GetAttributeFailSafe', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2388
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2389
                   [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
  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
    ## 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
  2392
    cls.add_method('GetInstanceTypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2393
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2394
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2395
                   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
  2396
    ## 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
  2397
    cls.add_method('GetTypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2398
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2399
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2400
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2401
    ## 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
  2402
    cls.add_method('SetAttribute', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2403
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2404
                   [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
  2405
    ## 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
  2406
    cls.add_method('SetAttributeFailSafe', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2407
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2408
                   [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
  2409
    ## 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
  2410
    cls.add_method('TraceConnect', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2411
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2412
                   [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
  2413
    ## 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
  2414
    cls.add_method('TraceConnectWithoutContext', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2415
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2416
                   [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
  2417
    ## 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
  2418
    cls.add_method('TraceDisconnect', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2419
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2420
                   [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
  2421
    ## 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
  2422
    cls.add_method('TraceDisconnectWithoutContext', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2423
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2424
                   [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')])
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2425
    ## 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
  2426
    cls.add_method('ConstructSelf', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2427
                   'void', 
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2428
                   [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
  2429
                   visibility='protected')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2430
    ## 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
  2431
    cls.add_method('NotifyConstructionCompleted', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2432
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2433
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2434
                   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
  2435
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2436
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2437
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
  2438
    ## 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
  2439
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2440
    ## 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
  2441
    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
  2442
    ## 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
  2443
    cls.add_method('Delete', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2444
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2445
                   [param('ns3::Object *', 'object')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2446
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2447
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2448
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2449
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
  2450
    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
  2451
    ## 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
  2452
    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
  2453
    ## 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
  2454
    cls.add_constructor([])
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2455
    ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  2456
    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
  2457
    ## 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
  2458
    cls.add_method('Create', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2459
                   'ns3::Ptr< ns3::Object >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2460
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2461
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2462
    ## 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
  2463
    cls.add_method('GetTypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2464
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2465
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2466
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2467
    ## 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
  2468
    cls.add_method('Set', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2469
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2470
                   [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
  2471
    ## 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
  2472
    cls.add_method('SetTypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2473
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2474
                   [param('ns3::TypeId', 'tid')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2475
    ## 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
  2476
    cls.add_method('SetTypeId', 
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
                   [param('char const *', 'tid')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2479
    ## 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
  2480
    cls.add_method('SetTypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2481
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2482
                   [param('std::string', 'tid')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2483
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2484
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2485
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
  2486
    ## 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
  2487
    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
  2488
    ## 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
  2489
    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
  2490
    ## 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
  2491
    cls.add_method('AddAtEnd', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2492
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2493
                   [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
  2494
    ## 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
  2495
    cls.add_method('AddHeader', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2496
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2497
                   [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
  2498
    ## 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
  2499
    cls.add_method('AddPaddingAtEnd', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2500
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2501
                   [param('uint32_t', 'end')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2502
    ## 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
  2503
    cls.add_method('AddTrailer', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2504
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2505
                   [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
  2506
    ## 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
  2507
    cls.add_method('BeginItem', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2508
                   'ns3::PacketMetadata::ItemIterator', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2509
                   [param('ns3::Buffer', 'buffer')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2510
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2511
    ## 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
  2512
    cls.add_method('CreateFragment', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2513
                   'ns3::PacketMetadata', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2514
                   [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
  2515
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2516
    ## 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
  2517
    cls.add_method('Deserialize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2518
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2519
                   [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
  2520
    ## 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
  2521
    cls.add_method('Enable', 
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
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2524
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2525
    ## 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
  2526
    cls.add_method('EnableChecking', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2527
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2528
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2529
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2530
    ## 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
  2531
    cls.add_method('GetSerializedSize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2532
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2533
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2534
                   is_const=True)
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'): 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
  2536
    cls.add_method('GetUid', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2537
                   'uint64_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2538
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2539
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2540
    ## 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
  2541
    cls.add_method('RemoveAtEnd', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2542
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2543
                   [param('uint32_t', 'end')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2544
    ## 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
  2545
    cls.add_method('RemoveAtStart', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2546
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2547
                   [param('uint32_t', 'start')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2548
    ## 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
  2549
    cls.add_method('RemoveHeader', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2550
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2551
                   [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
  2552
    ## 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
  2553
    cls.add_method('RemoveTrailer', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2554
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2555
                   [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
  2556
    ## 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
  2557
    cls.add_method('Serialize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2558
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2559
                   [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
  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
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2562
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2563
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
  2564
    ## 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
  2565
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2566
    ## 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
  2567
    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
  2568
    ## 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
  2569
    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
  2570
    ## 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
  2571
    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
  2572
    ## 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
  2573
    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
  2574
    ## 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
  2575
    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
  2576
    ## 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
  2577
    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
  2578
    ## 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
  2579
    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
  2580
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2581
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2582
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
  2583
    ## 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
  2584
    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
  2585
    ## 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
  2586
    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
  2587
    ## 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
  2588
    cls.add_method('HasNext', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2589
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2590
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2591
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2592
    ## 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
  2593
    cls.add_method('Next', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2594
                   'ns3::PacketMetadata::Item', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2595
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2596
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2597
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2598
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
  2599
    ## 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
  2600
    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
  2601
    ## 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
  2602
    cls.add_method('HasNext', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2603
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2604
                   [], 
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
    ## 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
  2607
    cls.add_method('Next', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2608
                   'ns3::PacketTagIterator::Item', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2609
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2610
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2611
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2612
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
  2613
    ## 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
  2614
    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
  2615
    ## 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
  2616
    cls.add_method('GetTag', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2617
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2618
                   [param('ns3::Tag &', 'tag')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2619
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2620
    ## 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
  2621
    cls.add_method('GetTypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2622
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2623
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2624
                   is_const=True)
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_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
  2628
    ## 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
  2629
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2630
    ## 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
  2631
    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
  2632
    ## 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
  2633
    cls.add_method('Add', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2634
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2635
                   [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
  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-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
  2638
    cls.add_method('Head', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2639
                   'ns3::PacketTagList::TagData const *', 
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
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2642
    ## 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
  2643
    cls.add_method('Peek', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2644
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2645
                   [param('ns3::Tag &', 'tag')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2646
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2647
    ## 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
  2648
    cls.add_method('Remove', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2649
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2650
                   [param('ns3::Tag &', 'tag')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2651
    ## 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
  2652
    cls.add_method('RemoveAll', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2653
                   'void', 
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_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
  2658
    ## 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
  2659
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2660
    ## 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
  2661
    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
  2662
    ## 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
  2663
    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
  2664
    ## 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
  2665
    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
  2666
    ## 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
  2667
    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
  2668
    ## 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
  2669
    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
  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_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
  2673
    ## 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
  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
    ## 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
  2676
    cls.add_method('Clear', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2677
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2678
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2679
    ## 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
  2680
    cls.add_method('Close', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2681
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2682
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2683
    ## 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
  2684
    cls.add_method('Diff', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2685
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2686
                   [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
  2687
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2688
    ## 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
  2689
    cls.add_method('Eof', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2690
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2691
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2692
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2693
    ## 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
  2694
    cls.add_method('Fail', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2695
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2696
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2697
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2698
    ## 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
  2699
    cls.add_method('GetDataLinkType', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2700
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2701
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2702
    ## 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
  2703
    cls.add_method('GetMagic', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2704
                   'uint32_t', 
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
    ## 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
  2707
    cls.add_method('GetSigFigs', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2708
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2709
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2710
    ## 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
  2711
    cls.add_method('GetSnapLen', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2712
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2713
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2714
    ## 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
  2715
    cls.add_method('GetSwapMode', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2716
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2717
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2718
    ## 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
  2719
    cls.add_method('GetTimeZoneOffset', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2720
                   'int32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2721
                   [])
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'): 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
  2723
    cls.add_method('GetVersionMajor', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2724
                   'uint16_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2725
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2726
    ## 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
  2727
    cls.add_method('GetVersionMinor', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2728
                   'uint16_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2729
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2730
    ## 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
  2731
    cls.add_method('Init', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2732
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2733
                   [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
  2734
    ## 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
  2735
    cls.add_method('Open', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2736
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2737
                   [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
  2738
    ## 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
  2739
    cls.add_method('Read', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2740
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2741
                   [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
  2742
    ## 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
  2743
    cls.add_method('Write', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2744
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2745
                   [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
  2746
    ## 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
  2747
    cls.add_method('Write', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2748
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2749
                   [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
  2750
    ## 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
  2751
    cls.add_method('Write', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2752
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2753
                   [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
  2754
    ## 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
  2755
    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
  2756
    ## 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
  2757
    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
  2758
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2759
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2760
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
  2761
    ## 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
  2762
    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
  2763
    ## 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
  2764
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2765
    ## 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
  2766
    cls.add_method('CreateFile', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2767
                   'ns3::Ptr< ns3::PcapFileWrapper >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2768
                   [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
  2769
    ## 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
  2770
    cls.add_method('GetFilenameFromDevice', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2771
                   'std::string', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2772
                   [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
  2773
    ## 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
  2774
    cls.add_method('GetFilenameFromInterfacePair', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2775
                   'std::string', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2776
                   [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
  2777
    return
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
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
  2780
    ## 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
  2781
    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
  2782
    ## 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
  2783
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2784
    ## 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
  2785
    cls.add_method('EnablePcap', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2786
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2787
                   [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
  2788
    ## 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
  2789
    cls.add_method('EnablePcap', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2790
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2791
                   [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
  2792
    ## 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
  2793
    cls.add_method('EnablePcap', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2794
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2795
                   [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
  2796
    ## 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
  2797
    cls.add_method('EnablePcap', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2798
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2799
                   [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
  2800
    ## 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
  2801
    cls.add_method('EnablePcap', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2802
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2803
                   [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
  2804
    ## 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
  2805
    cls.add_method('EnablePcapAll', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2806
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2807
                   [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
  2808
    ## 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
  2809
    cls.add_method('EnablePcapInternal', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2810
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2811
                   [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
  2812
                   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
  2813
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2814
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2815
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
  2816
    ## 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
  2817
    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
  2818
    ## 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
  2819
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2820
    ## 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
  2821
    cls.add_method('EnablePcapIpv4', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2822
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2823
                   [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
  2824
    ## 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
  2825
    cls.add_method('EnablePcapIpv4', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2826
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2827
                   [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
  2828
    ## 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
  2829
    cls.add_method('EnablePcapIpv4', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2830
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2831
                   [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
  2832
    ## 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
  2833
    cls.add_method('EnablePcapIpv4', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2834
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2835
                   [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
  2836
    ## 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
  2837
    cls.add_method('EnablePcapIpv4', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2838
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2839
                   [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
  2840
    ## 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
  2841
    cls.add_method('EnablePcapIpv4All', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2842
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2843
                   [param('std::string', 'prefix')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2844
    ## 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
  2845
    cls.add_method('EnablePcapIpv4Internal', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2846
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2847
                   [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
  2848
                   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
  2849
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2850
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2851
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
  2852
    ## 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
  2853
    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
  2854
    ## 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
  2855
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2856
    ## 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
  2857
    cls.add_method('EnablePcapIpv6', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2858
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2859
                   [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
  2860
    ## 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
  2861
    cls.add_method('EnablePcapIpv6', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2862
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2863
                   [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
  2864
    ## 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
  2865
    cls.add_method('EnablePcapIpv6', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2866
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2867
                   [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
  2868
    ## 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
  2869
    cls.add_method('EnablePcapIpv6', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2870
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2871
                   [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
  2872
    ## 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
  2873
    cls.add_method('EnablePcapIpv6', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2874
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2875
                   [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
  2876
    ## 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
  2877
    cls.add_method('EnablePcapIpv6All', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2878
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2879
                   [param('std::string', 'prefix')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2880
    ## 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
  2881
    cls.add_method('EnablePcapIpv6Internal', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2882
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2883
                   [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
  2884
                   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
  2885
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2886
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2887
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
  2888
    ## 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
  2889
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2890
    ## 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
  2891
    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
  2892
    ## 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
  2893
    cls.add_method('Cleanup', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2894
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2895
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2896
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2897
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2898
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2899
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
  2900
    ## 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
  2901
    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
  2902
    ## 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
  2903
    cls.add_method('Cancel', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2904
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2905
                   [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
  2906
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2907
    ## 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
  2908
    cls.add_method('Destroy', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2909
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2910
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2911
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2912
    ## 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
  2913
    cls.add_method('GetContext', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2914
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2915
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2916
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2917
    ## 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
  2918
    cls.add_method('GetDelayLeft', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2919
                   'ns3::Time', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2920
                   [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
  2921
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2922
    ## 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
  2923
    cls.add_method('GetImplementation', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2924
                   'ns3::Ptr< ns3::SimulatorImpl >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2925
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2926
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2927
    ## 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
  2928
    cls.add_method('GetMaximumSimulationTime', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2929
                   'ns3::Time', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2930
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2931
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2932
    ## 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
  2933
    cls.add_method('GetSystemId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2934
                   'uint32_t', 
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
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2937
    ## 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
  2938
    cls.add_method('IsExpired', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2939
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2940
                   [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
  2941
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2942
    ## 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
  2943
    cls.add_method('IsFinished', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2944
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2945
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2946
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2947
    ## 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
  2948
    cls.add_method('Now', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2949
                   'ns3::Time', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2950
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2951
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2952
    ## 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
  2953
    cls.add_method('Remove', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2954
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2955
                   [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
  2956
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2957
    ## 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
  2958
    cls.add_method('SetImplementation', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2959
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2960
                   [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
  2961
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2962
    ## 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
  2963
    cls.add_method('SetScheduler', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2964
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2965
                   [param('ns3::ObjectFactory', 'schedulerFactory')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2966
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2967
    ## 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
  2968
    cls.add_method('Stop', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2969
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2970
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2971
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2972
    ## 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
  2973
    cls.add_method('Stop', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2974
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2975
                   [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
  2976
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2977
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2978
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2979
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
  2980
    ## 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
  2981
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2982
    ## 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
  2983
    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
  2984
    ## 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
  2985
    cls.add_method('Deserialize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2986
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2987
                   [param('ns3::TagBuffer', 'i')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2988
                   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
  2989
    ## 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
  2990
    cls.add_method('GetSerializedSize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2991
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2992
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2993
                   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
  2994
    ## 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
  2995
    cls.add_method('GetTypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2996
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2997
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2998
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  2999
    ## 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
  3000
    cls.add_method('Print', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3001
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3002
                   [param('std::ostream &', 'os')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3003
                   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
  3004
    ## 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
  3005
    cls.add_method('Serialize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3006
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3007
                   [param('ns3::TagBuffer', 'i')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3008
                   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
  3009
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3010
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3011
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
  3012
    ## 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
  3013
    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
  3014
    ## 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
  3015
    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
  3016
    ## 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
  3017
    cls.add_method('CopyFrom', 
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
                   [param('ns3::TagBuffer', 'o')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3020
    ## 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
  3021
    cls.add_method('Read', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3022
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3023
                   [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
  3024
    ## 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
  3025
    cls.add_method('ReadDouble', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3026
                   'double', 
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
    ## 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
  3029
    cls.add_method('ReadU16', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3030
                   'uint16_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3031
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3032
    ## 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
  3033
    cls.add_method('ReadU32', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3034
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3035
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3036
    ## 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
  3037
    cls.add_method('ReadU64', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3038
                   'uint64_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3039
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3040
    ## 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
  3041
    cls.add_method('ReadU8', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3042
                   'uint8_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3043
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3044
    ## 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
  3045
    cls.add_method('TrimAtEnd', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3046
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3047
                   [param('uint32_t', 'trim')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3048
    ## 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
  3049
    cls.add_method('Write', 
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('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
  3052
    ## 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
  3053
    cls.add_method('WriteDouble', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3054
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3055
                   [param('double', 'v')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3056
    ## 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
  3057
    cls.add_method('WriteU16', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3058
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3059
                   [param('uint16_t', 'data')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3060
    ## 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
  3061
    cls.add_method('WriteU32', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3062
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3063
                   [param('uint32_t', 'data')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3064
    ## 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
  3065
    cls.add_method('WriteU64', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3066
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3067
                   [param('uint64_t', 'v')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3068
    ## 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
  3069
    cls.add_method('WriteU8', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3070
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3071
                   [param('uint8_t', 'v')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3072
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3073
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3074
def register_Ns3Timer_methods(root_module, cls):
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3075
    ## timer.h (module 'core'): ns3::Timer::Timer(ns3::Timer const & arg0) [copy constructor]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3076
    cls.add_constructor([param('ns3::Timer const &', 'arg0')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3077
    ## timer.h (module 'core'): ns3::Timer::Timer() [constructor]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3078
    cls.add_constructor([])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3079
    ## timer.h (module 'core'): ns3::Timer::Timer(ns3::Timer::DestroyPolicy destroyPolicy) [constructor]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3080
    cls.add_constructor([param('ns3::Timer::DestroyPolicy', 'destroyPolicy')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3081
    ## timer.h (module 'core'): void ns3::Timer::Cancel() [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3082
    cls.add_method('Cancel', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3083
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3084
                   [])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3085
    ## timer.h (module 'core'): ns3::Time ns3::Timer::GetDelay() const [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3086
    cls.add_method('GetDelay', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3087
                   'ns3::Time', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3088
                   [], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3089
                   is_const=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3090
    ## timer.h (module 'core'): ns3::Time ns3::Timer::GetDelayLeft() const [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3091
    cls.add_method('GetDelayLeft', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3092
                   'ns3::Time', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3093
                   [], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3094
                   is_const=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3095
    ## timer.h (module 'core'): ns3::Timer::State ns3::Timer::GetState() const [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3096
    cls.add_method('GetState', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3097
                   'ns3::Timer::State', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3098
                   [], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3099
                   is_const=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3100
    ## timer.h (module 'core'): bool ns3::Timer::IsExpired() const [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3101
    cls.add_method('IsExpired', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3102
                   'bool', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3103
                   [], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3104
                   is_const=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3105
    ## timer.h (module 'core'): bool ns3::Timer::IsRunning() const [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3106
    cls.add_method('IsRunning', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3107
                   'bool', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3108
                   [], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3109
                   is_const=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3110
    ## timer.h (module 'core'): bool ns3::Timer::IsSuspended() const [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3111
    cls.add_method('IsSuspended', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3112
                   'bool', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3113
                   [], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3114
                   is_const=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3115
    ## timer.h (module 'core'): void ns3::Timer::Remove() [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3116
    cls.add_method('Remove', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3117
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3118
                   [])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3119
    ## timer.h (module 'core'): void ns3::Timer::Resume() [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3120
    cls.add_method('Resume', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3121
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3122
                   [])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3123
    ## timer.h (module 'core'): void ns3::Timer::Schedule() [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3124
    cls.add_method('Schedule', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3125
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3126
                   [])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3127
    ## timer.h (module 'core'): void ns3::Timer::Schedule(ns3::Time delay) [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3128
    cls.add_method('Schedule', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3129
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3130
                   [param('ns3::Time', 'delay')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3131
    ## timer.h (module 'core'): void ns3::Timer::SetDelay(ns3::Time const & delay) [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3132
    cls.add_method('SetDelay', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3133
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3134
                   [param('ns3::Time const &', 'delay')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3135
    ## timer.h (module 'core'): void ns3::Timer::Suspend() [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3136
    cls.add_method('Suspend', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3137
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3138
                   [])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3139
    return
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3140
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3141
def register_Ns3TimerImpl_methods(root_module, cls):
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3142
    ## timer-impl.h (module 'core'): ns3::TimerImpl::TimerImpl() [constructor]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3143
    cls.add_constructor([])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3144
    ## timer-impl.h (module 'core'): ns3::TimerImpl::TimerImpl(ns3::TimerImpl const & arg0) [copy constructor]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3145
    cls.add_constructor([param('ns3::TimerImpl const &', 'arg0')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3146
    ## timer-impl.h (module 'core'): void ns3::TimerImpl::Invoke() [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3147
    cls.add_method('Invoke', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3148
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3149
                   [], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3150
                   is_pure_virtual=True, is_virtual=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3151
    ## timer-impl.h (module 'core'): ns3::EventId ns3::TimerImpl::Schedule(ns3::Time const & delay) [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3152
    cls.add_method('Schedule', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3153
                   'ns3::EventId', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3154
                   [param('ns3::Time const &', 'delay')], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3155
                   is_pure_virtual=True, is_virtual=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3156
    return
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3157
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3158
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
  3159
    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
  3160
    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
  3161
    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
  3162
    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
  3163
    ## 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
  3164
    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
  3165
    ## 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
  3166
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3167
    ## 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
  3168
    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
  3169
    ## 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
  3170
    cls.add_method('AddAttribute', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3171
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3172
                   [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
  3173
    ## 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
  3174
    cls.add_method('AddAttribute', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3175
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3176
                   [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
  3177
    ## 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
  3178
    cls.add_method('AddTraceSource', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3179
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3180
                   [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
  3181
    ## 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
  3182
    cls.add_method('GetAttribute', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3183
                   'ns3::TypeId::AttributeInformation', 
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3184
                   [param('uint32_t', 'i')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3185
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3186
    ## 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
  3187
    cls.add_method('GetAttributeFullName', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3188
                   'std::string', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3189
                   [param('uint32_t', 'i')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3190
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3191
    ## 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
  3192
    cls.add_method('GetAttributeN', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3193
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3194
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3195
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3196
    ## 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
  3197
    cls.add_method('GetConstructor', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3198
                   '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
  3199
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3200
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3201
    ## 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
  3202
    cls.add_method('GetGroupName', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3203
                   'std::string', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3204
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3205
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3206
    ## 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
  3207
    cls.add_method('GetName', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3208
                   'std::string', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3209
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3210
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3211
    ## 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
  3212
    cls.add_method('GetParent', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3213
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3214
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3215
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3216
    ## 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
  3217
    cls.add_method('GetRegistered', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3218
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3219
                   [param('uint32_t', 'i')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3220
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3221
    ## 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
  3222
    cls.add_method('GetRegisteredN', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3223
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3224
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3225
                   is_static=True)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3226
    ## 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
  3227
    cls.add_method('GetTraceSource', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3228
                   'ns3::TypeId::TraceSourceInformation', 
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3229
                   [param('uint32_t', 'i')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3230
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3231
    ## 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
  3232
    cls.add_method('GetTraceSourceN', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3233
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3234
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3235
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3236
    ## 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
  3237
    cls.add_method('GetUid', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3238
                   'uint16_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3239
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3240
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3241
    ## 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
  3242
    cls.add_method('HasConstructor', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3243
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3244
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3245
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3246
    ## 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
  3247
    cls.add_method('HasParent', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3248
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3249
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3250
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3251
    ## 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
  3252
    cls.add_method('HideFromDocumentation', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3253
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3254
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3255
    ## 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
  3256
    cls.add_method('IsChildOf', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3257
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3258
                   [param('ns3::TypeId', 'other')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3259
                   is_const=True)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3260
    ## 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
  3261
    cls.add_method('LookupAttributeByName', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3262
                   'bool', 
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3263
                   [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
  3264
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3265
    ## 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
  3266
    cls.add_method('LookupByName', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3267
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3268
                   [param('std::string', 'name')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3269
                   is_static=True)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3270
    ## 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
  3271
    cls.add_method('LookupTraceSourceByName', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3272
                   '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
  3273
                   [param('std::string', 'name')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3274
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3275
    ## 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
  3276
    cls.add_method('MustHideFromDocumentation', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3277
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3278
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3279
                   is_const=True)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3280
    ## 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
  3281
    cls.add_method('SetAttributeInitialValue', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3282
                   'bool', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3283
                   [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
  3284
    ## 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
  3285
    cls.add_method('SetGroupName', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3286
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3287
                   [param('std::string', 'groupName')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3288
    ## 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
  3289
    cls.add_method('SetParent', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3290
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3291
                   [param('ns3::TypeId', 'tid')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3292
    ## 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
  3293
    cls.add_method('SetUid', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3294
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3295
                   [param('uint16_t', 'tid')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3296
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3297
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3298
def register_Ns3TypeIdAttributeInformation_methods(root_module, cls):
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3299
    ## 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
  3300
    cls.add_constructor([])
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3301
    ## 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
  3302
    cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3303
    ## 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
  3304
    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
  3305
    ## 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
  3306
    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
  3307
    ## 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
  3308
    cls.add_instance_attribute('flags', 'uint32_t', is_const=False)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3309
    ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3310
    cls.add_instance_attribute('help', 'std::string', is_const=False)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3311
    ## 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
  3312
    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
  3313
    ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3314
    cls.add_instance_attribute('name', 'std::string', is_const=False)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3315
    ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3316
    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
  3317
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3318
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3319
def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls):
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3320
    ## 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
  3321
    cls.add_constructor([])
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3322
    ## 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
  3323
    cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3324
    ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3325
    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
  3326
    ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3327
    cls.add_instance_attribute('help', 'std::string', is_const=False)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3328
    ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3329
    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
  3330
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3331
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3332
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
  3333
    ## 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
  3334
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3335
    ## 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
  3336
    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
  3337
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3338
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3339
def register_Ns3Int64x64_t_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3340
    cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3341
    cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3342
    cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3343
    cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3344
    cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3345
    cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3346
    cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3347
    cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3348
    cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3349
    cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3350
    cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3351
    cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3352
    cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3353
    cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3354
    cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3355
    cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3356
    cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3357
    cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3358
    cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3359
    cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3360
    cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3361
    cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3362
    cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3363
    cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3364
    cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3365
    cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3366
    cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3367
    cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3368
    cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3369
    cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3370
    cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3371
    cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3372
    cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3373
    cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3374
    cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3375
    cls.add_unary_numeric_operator('-')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3376
    cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3377
    cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3378
    cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3379
    cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3380
    cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3381
    cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3382
    cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3383
    cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3384
    cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3385
    cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3386
    cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3387
    cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3388
    cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3389
    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
  3390
    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
  3391
    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
  3392
    cls.add_inplace_numeric_operator('*=', param('ns3::int64x64_t const &', 'right'))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3393
    cls.add_inplace_numeric_operator('+=', param('ns3::int64x64_t const &', 'right'))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3394
    cls.add_inplace_numeric_operator('-=', param('ns3::int64x64_t const &', 'right'))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3395
    cls.add_inplace_numeric_operator('/=', param('ns3::int64x64_t const &', 'right'))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3396
    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
  3397
    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
  3398
    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
  3399
    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
  3400
    ## 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
  3401
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3402
    ## 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
  3403
    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
  3404
    ## 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
  3405
    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
  3406
    ## 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
  3407
    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
  3408
    ## 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
  3409
    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
  3410
    ## 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
  3411
    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
  3412
    ## 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
  3413
    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
  3414
    ## 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
  3415
    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
  3416
    ## 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
  3417
    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
  3418
    ## 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
  3419
    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
  3420
    ## 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
  3421
    cls.add_method('GetDouble', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3422
                   'double', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3423
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3424
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3425
    ## 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
  3426
    cls.add_method('GetHigh', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3427
                   'int64_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3428
                   [], 
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
    ## 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
  3431
    cls.add_method('GetLow', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3432
                   'uint64_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3433
                   [], 
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
    ## 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
  3436
    cls.add_method('Invert', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3437
                   'ns3::int64x64_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3438
                   [param('uint64_t', 'v')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3439
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3440
    ## 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
  3441
    cls.add_method('MulByInvert', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3442
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3443
                   [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
  3444
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3445
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3446
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
  3447
    ## 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
  3448
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3449
    ## 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
  3450
    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
  3451
    ## 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
  3452
    cls.add_method('Deserialize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3453
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3454
                   [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
  3455
                   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
  3456
    ## 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
  3457
    cls.add_method('GetTypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3458
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3459
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3460
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3461
    ## 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
  3462
    cls.add_method('Print', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3463
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3464
                   [param('std::ostream &', 'os')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3465
                   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
  3466
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3467
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3468
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
  3469
    ## 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
  3470
    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
  3471
    ## 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
  3472
    cls.add_constructor([])
9114
41bfd88f8055 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 8966
diff changeset
  3473
    ## 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
  3474
    cls.add_method('AssignStreams', 
41bfd88f8055 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 8966
diff changeset
  3475
                   'int64_t', 
41bfd88f8055 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 8966
diff changeset
  3476
                   [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
  3477
    ## 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
  3478
    cls.add_method('Install', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3479
                   'ns3::NetDeviceContainer', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3480
                   [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
  3481
                   is_const=True)
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'): 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
  3483
    cls.add_method('Install', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3484
                   'ns3::NetDeviceContainer', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3485
                   [param('std::string', 'name')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3486
                   is_const=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'): 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
  3488
    cls.add_method('Install', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3489
                   'ns3::NetDeviceContainer', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3490
                   [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
  3491
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3492
    ## 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
  3493
    cls.add_method('Install', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3494
                   'ns3::NetDeviceContainer', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3495
                   [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
  3496
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3497
    ## 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
  3498
    cls.add_method('Install', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3499
                   'ns3::NetDeviceContainer', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3500
                   [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
  3501
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3502
    ## 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
  3503
    cls.add_method('Install', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3504
                   'ns3::NetDeviceContainer', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3505
                   [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
  3506
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3507
    ## 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
  3508
    cls.add_method('Install', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3509
                   'ns3::NetDeviceContainer', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3510
                   [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
  3511
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3512
    ## 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
  3513
    cls.add_method('Install', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3514
                   'ns3::NetDeviceContainer', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3515
                   [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
  3516
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3517
    ## 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
  3518
    cls.add_method('Install', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3519
                   'ns3::NetDeviceContainer', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3520
                   [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
  3521
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3522
    ## 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
  3523
    cls.add_method('SetChannelAttribute', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3524
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3525
                   [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
  3526
    ## 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
  3527
    cls.add_method('SetDeviceAttribute', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3528
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3529
                   [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
  3530
    ## 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
  3531
    cls.add_method('SetQueue', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3532
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3533
                   [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
  3534
    ## 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
  3535
    cls.add_method('EnableAsciiInternal', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3536
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3537
                   [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
  3538
                   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
  3539
    ## 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
  3540
    cls.add_method('EnablePcapInternal', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3541
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3542
                   [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
  3543
                   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
  3544
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3545
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3546
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
  3547
    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
  3548
    ## 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
  3549
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3550
    ## 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
  3551
    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
  3552
    ## 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
  3553
    cls.add_method('Deserialize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3554
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3555
                   [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
  3556
                   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
  3557
    ## 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
  3558
    cls.add_method('GetSerializedSize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3559
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3560
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3561
                   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
  3562
    ## 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
  3563
    cls.add_method('GetTypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3564
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3565
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3566
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3567
    ## 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
  3568
    cls.add_method('Print', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3569
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3570
                   [param('std::ostream &', 'os')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3571
                   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
  3572
    ## 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
  3573
    cls.add_method('Serialize', 
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('ns3::Buffer::Iterator', 'start')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3576
                   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
  3577
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3578
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3579
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
  3580
    ## 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
  3581
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3582
    ## 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
  3583
    cls.add_constructor([param('ns3::InternetStackHelper const &', 'arg0')])
9114
41bfd88f8055 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 8966
diff changeset
  3584
    ## 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
  3585
    cls.add_method('AssignStreams', 
41bfd88f8055 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 8966
diff changeset
  3586
                   'int64_t', 
41bfd88f8055 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 8966
diff changeset
  3587
                   [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
  3588
    ## 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
  3589
    cls.add_method('Install', 
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', 'nodeName')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3592
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3593
    ## 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
  3594
    cls.add_method('Install', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3595
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3596
                   [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
  3597
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3598
    ## 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
  3599
    cls.add_method('Install', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3600
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3601
                   [param('ns3::NodeContainer', 'c')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3602
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3603
    ## 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
  3604
    cls.add_method('InstallAll', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3605
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3606
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3607
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3608
    ## 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
  3609
    cls.add_method('Reset', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3610
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3611
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3612
    ## 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
  3613
    cls.add_method('SetIpv4StackInstall', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3614
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3615
                   [param('bool', 'enable')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3616
    ## 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
  3617
    cls.add_method('SetIpv6StackInstall', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3618
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3619
                   [param('bool', 'enable')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3620
    ## 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
  3621
    cls.add_method('SetRoutingHelper', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3622
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3623
                   [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
  3624
    ## 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
  3625
    cls.add_method('SetRoutingHelper', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3626
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3627
                   [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
  3628
    ## 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
  3629
    cls.add_method('SetTcp', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3630
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3631
                   [param('std::string', 'tid')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3632
    ## 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
  3633
    cls.add_method('SetTcp', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3634
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3635
                   [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
  3636
    ## 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
  3637
    cls.add_method('EnableAsciiIpv4Internal', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3638
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3639
                   [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
  3640
                   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
  3641
    ## 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
  3642
    cls.add_method('EnableAsciiIpv6Internal', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3643
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3644
                   [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
  3645
                   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
  3646
    ## 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
  3647
    cls.add_method('EnablePcapIpv4Internal', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3648
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3649
                   [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
  3650
                   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
  3651
    ## 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
  3652
    cls.add_method('EnablePcapIpv6Internal', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3653
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3654
                   [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
  3655
                   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
  3656
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3657
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3658
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
  3659
    ## 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
  3660
    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
  3661
    ## 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
  3662
    cls.add_constructor([])
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'): 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
  3664
    cls.add_method('Deserialize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3665
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3666
                   [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
  3667
                   is_virtual=True)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3668
    ## 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
  3669
    cls.add_method('DscpTypeToString', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3670
                   'std::string', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3671
                   [param('ns3::Ipv4Header::DscpType', 'dscp')], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3672
                   is_const=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3673
    ## 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
  3674
    cls.add_method('EcnTypeToString', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3675
                   'std::string', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3676
                   [param('ns3::Ipv4Header::EcnType', 'ecn')], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3677
                   is_const=True)
7092
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'): 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
  3679
    cls.add_method('EnableChecksum', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3680
                   'void', 
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
    ## 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
  3683
    cls.add_method('GetDestination', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3684
                   'ns3::Ipv4Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3685
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3686
                   is_const=True)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3687
    ## 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
  3688
    cls.add_method('GetDscp', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3689
                   'ns3::Ipv4Header::DscpType', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3690
                   [], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3691
                   is_const=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3692
    ## 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
  3693
    cls.add_method('GetEcn', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3694
                   'ns3::Ipv4Header::EcnType', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3695
                   [], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3696
                   is_const=True)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3697
    ## 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
  3698
    cls.add_method('GetFragmentOffset', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3699
                   'uint16_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3700
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3701
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3702
    ## 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
  3703
    cls.add_method('GetIdentification', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3704
                   'uint16_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3705
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3706
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3707
    ## 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
  3708
    cls.add_method('GetInstanceTypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3709
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3710
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3711
                   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
  3712
    ## 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
  3713
    cls.add_method('GetPayloadSize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3714
                   'uint16_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3715
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3716
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3717
    ## 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
  3718
    cls.add_method('GetProtocol', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3719
                   'uint8_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3720
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3721
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3722
    ## 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
  3723
    cls.add_method('GetSerializedSize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3724
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3725
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3726
                   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
  3727
    ## 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
  3728
    cls.add_method('GetSource', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3729
                   'ns3::Ipv4Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3730
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3731
                   is_const=True)
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'): 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
  3733
    cls.add_method('GetTos', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3734
                   'uint8_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3735
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3736
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3737
    ## 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
  3738
    cls.add_method('GetTtl', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3739
                   'uint8_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3740
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3741
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3742
    ## 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
  3743
    cls.add_method('GetTypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3744
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3745
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3746
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3747
    ## 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
  3748
    cls.add_method('IsChecksumOk', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3749
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3750
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3751
                   is_const=True)
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'): 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
  3753
    cls.add_method('IsDontFragment', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3754
                   'bool', 
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
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3757
    ## 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
  3758
    cls.add_method('IsLastFragment', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3759
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3760
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3761
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3762
    ## 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
  3763
    cls.add_method('Print', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3764
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3765
                   [param('std::ostream &', 'os')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3766
                   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
  3767
    ## 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
  3768
    cls.add_method('Serialize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3769
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3770
                   [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
  3771
                   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
  3772
    ## 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
  3773
    cls.add_method('SetDestination', 
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', 'destination')])
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::SetDontFragment() [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('SetDontFragment', 
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
                   [])
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3780
    ## 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
  3781
    cls.add_method('SetDscp', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3782
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3783
                   [param('ns3::Ipv4Header::DscpType', 'dscp')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3784
    ## 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
  3785
    cls.add_method('SetEcn', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3786
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3787
                   [param('ns3::Ipv4Header::EcnType', 'ecn')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3788
    ## 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
  3789
    cls.add_method('SetFragmentOffset', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3790
                   'void', 
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  3791
                   [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
  3792
    ## 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
  3793
    cls.add_method('SetIdentification', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3794
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3795
                   [param('uint16_t', 'identification')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3796
    ## 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
  3797
    cls.add_method('SetLastFragment', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3798
                   'void', 
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
    ## 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
  3801
    cls.add_method('SetMayFragment', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3802
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3803
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3804
    ## 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
  3805
    cls.add_method('SetMoreFragments', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3806
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3807
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3808
    ## 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
  3809
    cls.add_method('SetPayloadSize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3810
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3811
                   [param('uint16_t', 'size')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3812
    ## 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
  3813
    cls.add_method('SetProtocol', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3814
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3815
                   [param('uint8_t', 'num')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3816
    ## 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
  3817
    cls.add_method('SetSource', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3818
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3819
                   [param('ns3::Ipv4Address', 'source')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3820
    ## 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
  3821
    cls.add_method('SetTos', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3822
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3823
                   [param('uint8_t', 'tos')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3824
    ## 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
  3825
    cls.add_method('SetTtl', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3826
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3827
                   [param('uint8_t', 'ttl')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3828
    return
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
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
  3831
    ## 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
  3832
    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
  3833
    ## 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
  3834
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3835
    ## 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
  3836
    cls.add_method('Deserialize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3837
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3838
                   [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
  3839
                   is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3840
    ## 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
  3841
    cls.add_method('GetDestinationAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3842
                   'ns3::Ipv6Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3843
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3844
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3845
    ## 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
  3846
    cls.add_method('GetFlowLabel', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3847
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3848
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3849
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3850
    ## 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
  3851
    cls.add_method('GetHopLimit', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3852
                   'uint8_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3853
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3854
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3855
    ## 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
  3856
    cls.add_method('GetInstanceTypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3857
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3858
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3859
                   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
  3860
    ## 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
  3861
    cls.add_method('GetNextHeader', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3862
                   'uint8_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3863
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3864
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3865
    ## 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
  3866
    cls.add_method('GetPayloadLength', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3867
                   'uint16_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3868
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3869
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3870
    ## 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
  3871
    cls.add_method('GetSerializedSize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3872
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3873
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3874
                   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
  3875
    ## 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
  3876
    cls.add_method('GetSourceAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3877
                   'ns3::Ipv6Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3878
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3879
                   is_const=True)
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'): 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
  3881
    cls.add_method('GetTrafficClass', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3882
                   'uint8_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3883
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3884
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3885
    ## 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
  3886
    cls.add_method('GetTypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3887
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3888
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3889
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3890
    ## 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
  3891
    cls.add_method('Print', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3892
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3893
                   [param('std::ostream &', 'os')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3894
                   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
  3895
    ## 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
  3896
    cls.add_method('Serialize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3897
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3898
                   [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
  3899
                   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
  3900
    ## 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
  3901
    cls.add_method('SetDestinationAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3902
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3903
                   [param('ns3::Ipv6Address', 'dst')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3904
    ## 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
  3905
    cls.add_method('SetFlowLabel', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3906
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3907
                   [param('uint32_t', 'flow')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3908
    ## 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
  3909
    cls.add_method('SetHopLimit', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3910
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3911
                   [param('uint8_t', 'limit')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3912
    ## 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
  3913
    cls.add_method('SetNextHeader', 
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
                   [param('uint8_t', 'next')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3916
    ## 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
  3917
    cls.add_method('SetPayloadLength', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3918
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3919
                   [param('uint16_t', 'len')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3920
    ## 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
  3921
    cls.add_method('SetSourceAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3922
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3923
                   [param('ns3::Ipv6Address', 'src')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3924
    ## 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
  3925
    cls.add_method('SetTrafficClass', 
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
                   [param('uint8_t', 'traffic')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3928
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3929
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3930
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
  3931
    ## 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
  3932
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3933
    ## 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
  3934
    cls.add_method('AggregateObject', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3935
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3936
                   [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
  3937
    ## 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
  3938
    cls.add_method('Dispose', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3939
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3940
                   [])
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'): 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
  3942
    cls.add_method('GetAggregateIterator', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3943
                   'ns3::Object::AggregateIterator', 
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::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
  3947
    cls.add_method('GetInstanceTypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3948
                   'ns3::TypeId', 
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
                   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
  3951
    ## 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
  3952
    cls.add_method('GetTypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3953
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3954
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3955
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3956
    ## object.h (module 'core'): void ns3::Object::Start() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3957
    cls.add_method('Start', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3958
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3959
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3960
    ## 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
  3961
    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
  3962
                        visibility='protected')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3963
    ## 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
  3964
    cls.add_method('DoDispose', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3965
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3966
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3967
                   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
  3968
    ## object.h (module 'core'): void ns3::Object::DoStart() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3969
    cls.add_method('DoStart', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3970
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3971
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3972
                   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
  3973
    ## 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
  3974
    cls.add_method('NotifyNewAggregate', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3975
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3976
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3977
                   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
  3978
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3979
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3980
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
  3981
    ## 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
  3982
    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
  3983
    ## 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
  3984
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3985
    ## 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
  3986
    cls.add_method('HasNext', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3987
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3988
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3989
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3990
    ## 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
  3991
    cls.add_method('Next', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3992
                   '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
  3993
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3994
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3995
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3996
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
  3997
    ## 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
  3998
    cls.add_method('GetTypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  3999
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4000
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4001
                   is_static=True)
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'): ns3::PcapFileWrapper::PcapFileWrapper() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4003
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4004
    ## 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
  4005
    cls.add_method('Fail', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4006
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4007
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4008
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4009
    ## 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
  4010
    cls.add_method('Eof', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4011
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4012
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4013
                   is_const=True)
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'): 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
  4015
    cls.add_method('Clear', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4016
                   'void', 
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'): 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
  4019
    cls.add_method('Open', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4020
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4021
                   [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
  4022
    ## 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
  4023
    cls.add_method('Close', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4024
                   'void', 
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
    ## 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
  4027
    cls.add_method('Init', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4028
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4029
                   [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
  4030
    ## 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
  4031
    cls.add_method('Write', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4032
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4033
                   [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
  4034
    ## 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
  4035
    cls.add_method('Write', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4036
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4037
                   [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
  4038
    ## 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
  4039
    cls.add_method('Write', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4040
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4041
                   [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
  4042
    ## 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
  4043
    cls.add_method('GetMagic', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4044
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4045
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4046
    ## 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
  4047
    cls.add_method('GetVersionMajor', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4048
                   'uint16_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4049
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4050
    ## 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
  4051
    cls.add_method('GetVersionMinor', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4052
                   'uint16_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4053
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4054
    ## 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
  4055
    cls.add_method('GetTimeZoneOffset', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4056
                   'int32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4057
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4058
    ## 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
  4059
    cls.add_method('GetSigFigs', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4060
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4061
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4062
    ## 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
  4063
    cls.add_method('GetSnapLen', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4064
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4065
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4066
    ## 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
  4067
    cls.add_method('GetDataLinkType', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4068
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4069
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4070
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4071
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4072
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
  4073
    ## 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
  4074
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4075
    ## 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
  4076
    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
  4077
    ## 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
  4078
    cls.add_method('Cleanup', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4079
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4080
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4081
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4082
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4083
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4084
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
  4085
    ## 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
  4086
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4087
    ## 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
  4088
    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
  4089
    ## 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
  4090
    cls.add_method('Cleanup', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4091
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4092
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4093
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4094
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4095
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4096
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
  4097
    ## 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
  4098
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4099
    ## 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
  4100
    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
  4101
    ## 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
  4102
    cls.add_method('Cleanup', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4103
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4104
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4105
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4106
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4107
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4108
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
  4109
    ## 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
  4110
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4111
    ## 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
  4112
    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
  4113
    ## 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
  4114
    cls.add_method('Cleanup', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4115
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4116
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4117
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4118
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4119
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4120
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
  4121
    ## 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
  4122
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4123
    ## 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
  4124
    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
  4125
    ## 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
  4126
    cls.add_method('Cleanup', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4127
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4128
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4129
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4130
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4131
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4132
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
  4133
    ## 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
  4134
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4135
    ## 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
  4136
    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
  4137
    ## 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
  4138
    cls.add_method('Cleanup', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4139
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4140
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4141
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4142
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4143
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4144
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
  4145
    ## 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
  4146
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4147
    ## 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
  4148
    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
  4149
    ## 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
  4150
    cls.add_method('Cleanup', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4151
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4152
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4153
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4154
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4155
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4156
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
  4157
    ## 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
  4158
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4159
    ## 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
  4160
    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
  4161
    ## 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
  4162
    cls.add_method('Cleanup', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4163
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4164
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4165
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4166
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4167
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4168
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
  4169
    ## 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
  4170
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4171
    ## 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
  4172
    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
  4173
    ## 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
  4174
    cls.add_method('Cleanup', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4175
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4176
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4177
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4178
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4179
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4180
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
  4181
    ## 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
  4182
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4183
    ## 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
  4184
    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
  4185
    ## 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
  4186
    cls.add_method('Cleanup', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4187
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4188
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4189
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4190
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4191
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4192
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
  4193
    ## 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
  4194
    cls.add_constructor([])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4195
    ## 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
  4196
    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
  4197
    ## 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
  4198
    cls.add_method('Cleanup', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4199
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4200
                   [], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4201
                   is_static=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4202
    return
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4203
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4204
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
  4205
    ## 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
  4206
    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
  4207
    ## 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
  4208
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4209
    ## 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
  4210
    cls.add_method('Bind', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4211
                   'int', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4212
                   [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
  4213
                   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
  4214
    ## 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
  4215
    cls.add_method('Bind', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4216
                   'int', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4217
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4218
                   is_pure_virtual=True, is_virtual=True)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4219
    ## socket.h (module 'network'): int ns3::Socket::Bind6() [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4220
    cls.add_method('Bind6', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4221
                   'int', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4222
                   [], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4223
                   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
  4224
    ## 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
  4225
    cls.add_method('BindToNetDevice', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4226
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4227
                   [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
  4228
                   is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4229
    ## 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
  4230
    cls.add_method('Close', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4231
                   'int', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4232
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4233
                   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
  4234
    ## 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
  4235
    cls.add_method('Connect', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4236
                   'int', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4237
                   [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
  4238
                   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
  4239
    ## 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
  4240
    cls.add_method('CreateSocket', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4241
                   'ns3::Ptr< ns3::Socket >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4242
                   [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
  4243
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4244
    ## 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
  4245
    cls.add_method('GetAllowBroadcast', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4246
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4247
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4248
                   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
  4249
    ## 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
  4250
    cls.add_method('GetBoundNetDevice', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4251
                   'ns3::Ptr< ns3::NetDevice >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4252
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4253
    ## 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
  4254
    cls.add_method('GetErrno', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4255
                   'ns3::Socket::SocketErrno', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4256
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4257
                   is_pure_virtual=True, is_const=True, is_virtual=True)
9190
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4258
    ## socket.h (module 'network'): uint8_t ns3::Socket::GetIpTos() const [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4259
    cls.add_method('GetIpTos', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4260
                   'uint8_t', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4261
                   [], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4262
                   is_const=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4263
    ## socket.h (module 'network'): uint8_t ns3::Socket::GetIpTtl() const [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4264
    cls.add_method('GetIpTtl', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4265
                   'uint8_t', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4266
                   [], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4267
                   is_const=True, is_virtual=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4268
    ## socket.h (module 'network'): uint8_t ns3::Socket::GetIpv6HopLimit() const [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4269
    cls.add_method('GetIpv6HopLimit', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4270
                   'uint8_t', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4271
                   [], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4272
                   is_const=True, is_virtual=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4273
    ## socket.h (module 'network'): uint8_t ns3::Socket::GetIpv6Tclass() const [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4274
    cls.add_method('GetIpv6Tclass', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4275
                   'uint8_t', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4276
                   [], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4277
                   is_const=True)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4278
    ## 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
  4279
    cls.add_method('GetNode', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4280
                   'ns3::Ptr< ns3::Node >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4281
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4282
                   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
  4283
    ## 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
  4284
    cls.add_method('GetRxAvailable', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4285
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4286
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4287
                   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
  4288
    ## 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
  4289
    cls.add_method('GetSockName', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4290
                   'int', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4291
                   [param('ns3::Address &', 'address')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4292
                   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
  4293
    ## 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
  4294
    cls.add_method('GetSocketType', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4295
                   'ns3::Socket::SocketType', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4296
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4297
                   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
  4298
    ## 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
  4299
    cls.add_method('GetTxAvailable', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4300
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4301
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4302
                   is_pure_virtual=True, is_const=True, is_virtual=True)
7874
3eda7174ac52 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7873
diff changeset
  4303
    ## socket.h (module 'network'): static ns3::TypeId ns3::Socket::GetTypeId() [member function]
3eda7174ac52 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7873
diff changeset
  4304
    cls.add_method('GetTypeId', 
3eda7174ac52 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7873
diff changeset
  4305
                   'ns3::TypeId', 
3eda7174ac52 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7873
diff changeset
  4306
                   [], 
3eda7174ac52 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7873
diff changeset
  4307
                   is_static=True)
9190
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4308
    ## socket.h (module 'network'): bool ns3::Socket::IsIpRecvTos() const [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4309
    cls.add_method('IsIpRecvTos', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4310
                   'bool', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4311
                   [], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4312
                   is_const=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4313
    ## socket.h (module 'network'): bool ns3::Socket::IsIpRecvTtl() const [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4314
    cls.add_method('IsIpRecvTtl', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4315
                   'bool', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4316
                   [], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4317
                   is_const=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4318
    ## socket.h (module 'network'): bool ns3::Socket::IsIpv6RecvHopLimit() const [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4319
    cls.add_method('IsIpv6RecvHopLimit', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4320
                   'bool', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4321
                   [], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4322
                   is_const=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4323
    ## socket.h (module 'network'): bool ns3::Socket::IsIpv6RecvTclass() const [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4324
    cls.add_method('IsIpv6RecvTclass', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4325
                   'bool', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4326
                   [], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4327
                   is_const=True)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4328
    ## socket.h (module 'network'): bool ns3::Socket::IsRecvPktInfo() const [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4329
    cls.add_method('IsRecvPktInfo', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4330
                   'bool', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4331
                   [], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4332
                   is_const=True)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4333
    ## 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
  4334
    cls.add_method('Listen', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4335
                   'int', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4336
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4337
                   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
  4338
    ## 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
  4339
    cls.add_method('Recv', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4340
                   'ns3::Ptr< ns3::Packet >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4341
                   [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
  4342
                   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
  4343
    ## 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
  4344
    cls.add_method('Recv', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4345
                   'ns3::Ptr< ns3::Packet >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4346
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4347
    ## 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
  4348
    cls.add_method('Recv', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4349
                   'int', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4350
                   [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
  4351
    ## 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
  4352
    cls.add_method('RecvFrom', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4353
                   'ns3::Ptr< ns3::Packet >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4354
                   [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
  4355
                   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
  4356
    ## 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
  4357
    cls.add_method('RecvFrom', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4358
                   'ns3::Ptr< ns3::Packet >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4359
                   [param('ns3::Address &', 'fromAddress')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4360
    ## 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
  4361
    cls.add_method('RecvFrom', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4362
                   'int', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4363
                   [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
  4364
    ## 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
  4365
    cls.add_method('Send', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4366
                   'int', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4367
                   [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
  4368
                   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
  4369
    ## 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
  4370
    cls.add_method('Send', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4371
                   'int', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4372
                   [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
  4373
    ## 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
  4374
    cls.add_method('Send', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4375
                   'int', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4376
                   [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
  4377
    ## 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
  4378
    cls.add_method('SendTo', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4379
                   'int', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4380
                   [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
  4381
                   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
  4382
    ## 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
  4383
    cls.add_method('SendTo', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4384
                   'int', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4385
                   [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
  4386
    ## 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
  4387
    cls.add_method('SetAcceptCallback', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4388
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4389
                   [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
  4390
    ## 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
  4391
    cls.add_method('SetAllowBroadcast', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4392
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4393
                   [param('bool', 'allowBroadcast')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4394
                   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
  4395
    ## 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
  4396
    cls.add_method('SetCloseCallbacks', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4397
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4398
                   [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
  4399
    ## 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
  4400
    cls.add_method('SetConnectCallback', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4401
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4402
                   [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
  4403
    ## 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
  4404
    cls.add_method('SetDataSentCallback', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4405
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4406
                   [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
  4407
    ## socket.h (module 'network'): void ns3::Socket::SetIpRecvTos(bool ipv4RecvTos) [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4408
    cls.add_method('SetIpRecvTos', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4409
                   'void', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4410
                   [param('bool', 'ipv4RecvTos')])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4411
    ## socket.h (module 'network'): void ns3::Socket::SetIpRecvTtl(bool ipv4RecvTtl) [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4412
    cls.add_method('SetIpRecvTtl', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4413
                   'void', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4414
                   [param('bool', 'ipv4RecvTtl')])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4415
    ## 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
  4416
    cls.add_method('SetIpTos', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4417
                   'void', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4418
                   [param('uint8_t', 'ipTos')])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4419
    ## 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
  4420
    cls.add_method('SetIpTtl', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4421
                   'void', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4422
                   [param('uint8_t', 'ipTtl')], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4423
                   is_virtual=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4424
    ## 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
  4425
    cls.add_method('SetIpv6HopLimit', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4426
                   'void', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4427
                   [param('uint8_t', 'ipHopLimit')], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4428
                   is_virtual=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4429
    ## socket.h (module 'network'): void ns3::Socket::SetIpv6RecvHopLimit(bool ipv6RecvHopLimit) [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4430
    cls.add_method('SetIpv6RecvHopLimit', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4431
                   'void', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4432
                   [param('bool', 'ipv6RecvHopLimit')])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4433
    ## socket.h (module 'network'): void ns3::Socket::SetIpv6RecvTclass(bool ipv6RecvTclass) [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4434
    cls.add_method('SetIpv6RecvTclass', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4435
                   'void', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4436
                   [param('bool', 'ipv6RecvTclass')])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4437
    ## socket.h (module 'network'): void ns3::Socket::SetIpv6Tclass(int ipTclass) [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4438
    cls.add_method('SetIpv6Tclass', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4439
                   'void', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4440
                   [param('int', 'ipTclass')])
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4441
    ## 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
  4442
    cls.add_method('SetRecvCallback', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4443
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4444
                   [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
  4445
    ## 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
  4446
    cls.add_method('SetRecvPktInfo', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4447
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4448
                   [param('bool', 'flag')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4449
    ## 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
  4450
    cls.add_method('SetSendCallback', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4451
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4452
                   [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
  4453
    ## 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
  4454
    cls.add_method('ShutdownRecv', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4455
                   'int', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4456
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4457
                   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
  4458
    ## 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
  4459
    cls.add_method('ShutdownSend', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4460
                   'int', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4461
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4462
                   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
  4463
    ## 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
  4464
    cls.add_method('DoDispose', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4465
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4466
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4467
                   visibility='protected', is_virtual=True)
9190
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4468
    ## socket.h (module 'network'): bool ns3::Socket::IsManualIpTos() const [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4469
    cls.add_method('IsManualIpTos', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4470
                   'bool', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4471
                   [], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4472
                   is_const=True, visibility='protected')
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4473
    ## socket.h (module 'network'): bool ns3::Socket::IsManualIpTtl() const [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4474
    cls.add_method('IsManualIpTtl', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4475
                   'bool', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4476
                   [], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4477
                   is_const=True, visibility='protected')
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4478
    ## socket.h (module 'network'): bool ns3::Socket::IsManualIpv6HopLimit() const [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4479
    cls.add_method('IsManualIpv6HopLimit', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4480
                   'bool', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4481
                   [], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4482
                   is_const=True, visibility='protected')
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4483
    ## socket.h (module 'network'): bool ns3::Socket::IsManualIpv6Tclass() const [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4484
    cls.add_method('IsManualIpv6Tclass', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4485
                   'bool', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4486
                   [], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4487
                   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
  4488
    ## 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
  4489
    cls.add_method('NotifyConnectionFailed', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4490
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4491
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4492
                   visibility='protected')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4493
    ## 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
  4494
    cls.add_method('NotifyConnectionRequest', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4495
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4496
                   [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
  4497
                   visibility='protected')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4498
    ## 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
  4499
    cls.add_method('NotifyConnectionSucceeded', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4500
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4501
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4502
                   visibility='protected')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4503
    ## 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
  4504
    cls.add_method('NotifyDataRecv', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4505
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4506
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4507
                   visibility='protected')
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::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
  4509
    cls.add_method('NotifyDataSent', 
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('uint32_t', 'size')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4512
                   visibility='protected')
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'): 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
  4514
    cls.add_method('NotifyErrorClose', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4515
                   'void', 
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
                   visibility='protected')
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'): 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
  4519
    cls.add_method('NotifyNewConnectionCreated', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4520
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4521
                   [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
  4522
                   visibility='protected')
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'): 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
  4524
    cls.add_method('NotifyNormalClose', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4525
                   'void', 
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
                   visibility='protected')
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'): 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
  4529
    cls.add_method('NotifySend', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4530
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4531
                   [param('uint32_t', 'spaceAvailable')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4532
                   visibility='protected')
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4533
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4534
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4535
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
  4536
    ## 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
  4537
    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
  4538
    ## 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
  4539
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4540
    ## 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
  4541
    cls.add_method('Deserialize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4542
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4543
                   [param('ns3::TagBuffer', 'i')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4544
                   is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4545
    ## 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
  4546
    cls.add_method('GetAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4547
                   'ns3::Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4548
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4549
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4550
    ## 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
  4551
    cls.add_method('GetInstanceTypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4552
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4553
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4554
                   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
  4555
    ## 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
  4556
    cls.add_method('GetSerializedSize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4557
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4558
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4559
                   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
  4560
    ## 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
  4561
    cls.add_method('GetTypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4562
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4563
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4564
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4565
    ## 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
  4566
    cls.add_method('Print', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4567
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4568
                   [param('std::ostream &', 'os')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4569
                   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
  4570
    ## 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
  4571
    cls.add_method('Serialize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4572
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4573
                   [param('ns3::TagBuffer', 'i')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4574
                   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
  4575
    ## 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
  4576
    cls.add_method('SetAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4577
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4578
                   [param('ns3::Address', 'addr')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4579
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4580
9190
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4581
def register_Ns3SocketIpTosTag_methods(root_module, cls):
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4582
    ## 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
  4583
    cls.add_constructor([param('ns3::SocketIpTosTag const &', 'arg0')])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4584
    ## socket.h (module 'network'): ns3::SocketIpTosTag::SocketIpTosTag() [constructor]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4585
    cls.add_constructor([])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4586
    ## 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
  4587
    cls.add_method('Deserialize', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4588
                   'void', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4589
                   [param('ns3::TagBuffer', 'i')], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4590
                   is_virtual=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4591
    ## socket.h (module 'network'): ns3::TypeId ns3::SocketIpTosTag::GetInstanceTypeId() const [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4592
    cls.add_method('GetInstanceTypeId', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4593
                   'ns3::TypeId', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4594
                   [], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4595
                   is_const=True, is_virtual=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4596
    ## socket.h (module 'network'): uint32_t ns3::SocketIpTosTag::GetSerializedSize() const [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4597
    cls.add_method('GetSerializedSize', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4598
                   'uint32_t', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4599
                   [], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4600
                   is_const=True, is_virtual=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4601
    ## socket.h (module 'network'): uint8_t ns3::SocketIpTosTag::GetTos() const [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4602
    cls.add_method('GetTos', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4603
                   'uint8_t', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4604
                   [], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4605
                   is_const=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4606
    ## socket.h (module 'network'): static ns3::TypeId ns3::SocketIpTosTag::GetTypeId() [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4607
    cls.add_method('GetTypeId', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4608
                   'ns3::TypeId', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4609
                   [], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4610
                   is_static=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4611
    ## 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
  4612
    cls.add_method('Print', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4613
                   'void', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4614
                   [param('std::ostream &', 'os')], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4615
                   is_const=True, is_virtual=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4616
    ## 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
  4617
    cls.add_method('Serialize', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4618
                   'void', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4619
                   [param('ns3::TagBuffer', 'i')], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4620
                   is_const=True, is_virtual=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4621
    ## 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
  4622
    cls.add_method('SetTos', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4623
                   'void', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4624
                   [param('uint8_t', 'tos')])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4625
    return
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4626
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4627
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
  4628
    ## 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
  4629
    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
  4630
    ## 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
  4631
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4632
    ## 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
  4633
    cls.add_method('Deserialize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4634
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4635
                   [param('ns3::TagBuffer', 'i')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4636
                   is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4637
    ## 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
  4638
    cls.add_method('GetInstanceTypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4639
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4640
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4641
                   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
  4642
    ## 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
  4643
    cls.add_method('GetSerializedSize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4644
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4645
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4646
                   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
  4647
    ## 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
  4648
    cls.add_method('GetTtl', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4649
                   'uint8_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4650
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4651
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4652
    ## 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
  4653
    cls.add_method('GetTypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4654
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4655
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4656
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4657
    ## 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
  4658
    cls.add_method('Print', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4659
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4660
                   [param('std::ostream &', 'os')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4661
                   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
  4662
    ## 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
  4663
    cls.add_method('Serialize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4664
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4665
                   [param('ns3::TagBuffer', 'i')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4666
                   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
  4667
    ## 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
  4668
    cls.add_method('SetTtl', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4669
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4670
                   [param('uint8_t', 'ttl')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4671
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4672
9190
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4673
def register_Ns3SocketIpv6HopLimitTag_methods(root_module, cls):
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4674
    ## 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
  4675
    cls.add_constructor([param('ns3::SocketIpv6HopLimitTag const &', 'arg0')])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4676
    ## socket.h (module 'network'): ns3::SocketIpv6HopLimitTag::SocketIpv6HopLimitTag() [constructor]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4677
    cls.add_constructor([])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4678
    ## 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
  4679
    cls.add_method('Deserialize', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4680
                   'void', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4681
                   [param('ns3::TagBuffer', 'i')], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4682
                   is_virtual=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4683
    ## socket.h (module 'network'): uint8_t ns3::SocketIpv6HopLimitTag::GetHopLimit() const [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4684
    cls.add_method('GetHopLimit', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4685
                   'uint8_t', 
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
                   is_const=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4688
    ## socket.h (module 'network'): ns3::TypeId ns3::SocketIpv6HopLimitTag::GetInstanceTypeId() const [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4689
    cls.add_method('GetInstanceTypeId', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4690
                   'ns3::TypeId', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4691
                   [], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4692
                   is_const=True, is_virtual=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4693
    ## socket.h (module 'network'): uint32_t ns3::SocketIpv6HopLimitTag::GetSerializedSize() const [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4694
    cls.add_method('GetSerializedSize', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4695
                   'uint32_t', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4696
                   [], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4697
                   is_const=True, is_virtual=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4698
    ## socket.h (module 'network'): static ns3::TypeId ns3::SocketIpv6HopLimitTag::GetTypeId() [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4699
    cls.add_method('GetTypeId', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4700
                   'ns3::TypeId', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4701
                   [], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4702
                   is_static=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4703
    ## 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
  4704
    cls.add_method('Print', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4705
                   'void', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4706
                   [param('std::ostream &', 'os')], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4707
                   is_const=True, is_virtual=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4708
    ## 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
  4709
    cls.add_method('Serialize', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4710
                   'void', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4711
                   [param('ns3::TagBuffer', 'i')], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4712
                   is_const=True, is_virtual=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4713
    ## 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
  4714
    cls.add_method('SetHopLimit', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4715
                   'void', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4716
                   [param('uint8_t', 'hopLimit')])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4717
    return
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4718
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4719
def register_Ns3SocketIpv6TclassTag_methods(root_module, cls):
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4720
    ## 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
  4721
    cls.add_constructor([param('ns3::SocketIpv6TclassTag const &', 'arg0')])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4722
    ## socket.h (module 'network'): ns3::SocketIpv6TclassTag::SocketIpv6TclassTag() [constructor]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4723
    cls.add_constructor([])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4724
    ## 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
  4725
    cls.add_method('Deserialize', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4726
                   'void', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4727
                   [param('ns3::TagBuffer', 'i')], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4728
                   is_virtual=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4729
    ## socket.h (module 'network'): ns3::TypeId ns3::SocketIpv6TclassTag::GetInstanceTypeId() const [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4730
    cls.add_method('GetInstanceTypeId', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4731
                   'ns3::TypeId', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4732
                   [], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4733
                   is_const=True, is_virtual=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4734
    ## socket.h (module 'network'): uint32_t ns3::SocketIpv6TclassTag::GetSerializedSize() const [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4735
    cls.add_method('GetSerializedSize', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4736
                   'uint32_t', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4737
                   [], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4738
                   is_const=True, is_virtual=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4739
    ## socket.h (module 'network'): uint8_t ns3::SocketIpv6TclassTag::GetTclass() const [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4740
    cls.add_method('GetTclass', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4741
                   'uint8_t', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4742
                   [], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4743
                   is_const=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4744
    ## socket.h (module 'network'): static ns3::TypeId ns3::SocketIpv6TclassTag::GetTypeId() [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4745
    cls.add_method('GetTypeId', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4746
                   'ns3::TypeId', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4747
                   [], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4748
                   is_static=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4749
    ## 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
  4750
    cls.add_method('Print', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4751
                   'void', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4752
                   [param('std::ostream &', 'os')], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4753
                   is_const=True, is_virtual=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4754
    ## 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
  4755
    cls.add_method('Serialize', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4756
                   'void', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4757
                   [param('ns3::TagBuffer', 'i')], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4758
                   is_const=True, is_virtual=True)
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4759
    ## 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
  4760
    cls.add_method('SetTclass', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4761
                   'void', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4762
                   [param('uint8_t', 'tclass')])
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4763
    return
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4764
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4765
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
  4766
    ## 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
  4767
    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
  4768
    ## 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
  4769
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4770
    ## 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
  4771
    cls.add_method('Deserialize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4772
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4773
                   [param('ns3::TagBuffer', 'i')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4774
                   is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4775
    ## 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
  4776
    cls.add_method('Disable', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4777
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4778
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4779
    ## 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
  4780
    cls.add_method('Enable', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4781
                   'void', 
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
    ## 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
  4784
    cls.add_method('GetInstanceTypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4785
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4786
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4787
                   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
  4788
    ## 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
  4789
    cls.add_method('GetSerializedSize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4790
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4791
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4792
                   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
  4793
    ## 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
  4794
    cls.add_method('GetTypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4795
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4796
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4797
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4798
    ## 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
  4799
    cls.add_method('IsEnabled', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4800
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4801
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4802
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4803
    ## 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
  4804
    cls.add_method('Print', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4805
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4806
                   [param('std::ostream &', 'os')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4807
                   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
  4808
    ## 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
  4809
    cls.add_method('Serialize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4810
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4811
                   [param('ns3::TagBuffer', 'i')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4812
                   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
  4813
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4814
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4815
def register_Ns3Time_methods(root_module, cls):
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4816
    cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right'))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4817
    cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right'))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4818
    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
  4819
    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
  4820
    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
  4821
    cls.add_inplace_numeric_operator('+=', param('ns3::Time const &', 'right'))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4822
    cls.add_inplace_numeric_operator('-=', param('ns3::Time const &', 'right'))
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4823
    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
  4824
    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
  4825
    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
  4826
    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
  4827
    ## 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
  4828
    cls.add_constructor([])
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'): 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
  4830
    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
  4831
    ## 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
  4832
    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
  4833
    ## 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
  4834
    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
  4835
    ## 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
  4836
    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
  4837
    ## 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
  4838
    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
  4839
    ## 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
  4840
    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
  4841
    ## 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
  4842
    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
  4843
    ## 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
  4844
    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
  4845
    ## 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
  4846
    cls.add_constructor([param('std::string const &', 's')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4847
    ## nstime.h (module 'core'): ns3::Time::Time(ns3::int64x64_t const & value) [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4848
    cls.add_constructor([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
  4849
    ## 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
  4850
    cls.add_method('Compare', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4851
                   'int', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4852
                   [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
  4853
                   is_const=True)
9190
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4854
    ## nstime.h (module 'core'): static void ns3::Time::FreezeResolution() [member function]
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4855
    cls.add_method('FreezeResolution', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4856
                   'void', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4857
                   [], 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  4858
                   is_static=True)
7092
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'): static ns3::Time ns3::Time::From(ns3::int64x64_t const & from, ns3::Time::Unit timeUnit) [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('From', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4861
                   'ns3::Time', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4862
                   [param('ns3::int64x64_t const &', 'from'), param('ns3::Time::Unit', 'timeUnit')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4863
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4864
    ## 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
  4865
    cls.add_method('From', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4866
                   'ns3::Time', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4867
                   [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
  4868
                   is_static=True)
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'): static ns3::Time ns3::Time::FromDouble(double value, ns3::Time::Unit timeUnit) [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('FromDouble', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4871
                   'ns3::Time', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4872
                   [param('double', 'value'), param('ns3::Time::Unit', 'timeUnit')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4873
                   is_static=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'): static ns3::Time ns3::Time::FromInteger(uint64_t value, ns3::Time::Unit timeUnit) [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('FromInteger', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4876
                   'ns3::Time', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4877
                   [param('uint64_t', 'value'), param('ns3::Time::Unit', 'timeUnit')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4878
                   is_static=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'): 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
  4880
    cls.add_method('GetDouble', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4881
                   'double', 
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)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4884
    ## 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
  4885
    cls.add_method('GetFemtoSeconds', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4886
                   'int64_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4887
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4888
                   is_const=True)
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::GetInteger() 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('GetInteger', 
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::GetMicroSeconds() 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('GetMicroSeconds', 
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'): 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
  4900
    cls.add_method('GetMilliSeconds', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4901
                   'int64_t', 
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_const=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'): 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
  4905
    cls.add_method('GetNanoSeconds', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4906
                   'int64_t', 
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::GetPicoSeconds() 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('GetPicoSeconds', 
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)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4914
    ## 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
  4915
    cls.add_method('GetResolution', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4916
                   'ns3::Time::Unit', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4917
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4918
                   is_static=True)
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'): 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
  4920
    cls.add_method('GetSeconds', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4921
                   'double', 
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'): 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
  4925
    cls.add_method('GetTimeStep', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4926
                   'int64_t', 
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::IsNegative() 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('IsNegative', 
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::IsPositive() 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('IsPositive', 
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::IsStrictlyNegative() 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('IsStrictlyNegative', 
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)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4944
    ## 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
  4945
    cls.add_method('IsStrictlyPositive', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4946
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4947
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4948
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4949
    ## 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
  4950
    cls.add_method('IsZero', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4951
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4952
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4953
                   is_const=True)
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)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4959
    ## nstime.h (module 'core'): ns3::int64x64_t ns3::Time::To(ns3::Time::Unit timeUnit) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4960
    cls.add_method('To', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4961
                   'ns3::int64x64_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4962
                   [param('ns3::Time::Unit', 'timeUnit')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4963
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4964
    ## nstime.h (module 'core'): double ns3::Time::ToDouble(ns3::Time::Unit timeUnit) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4965
    cls.add_method('ToDouble', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4966
                   'double', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4967
                   [param('ns3::Time::Unit', 'timeUnit')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4968
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4969
    ## nstime.h (module 'core'): int64_t ns3::Time::ToInteger(ns3::Time::Unit timeUnit) const [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4970
    cls.add_method('ToInteger', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4971
                   'int64_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4972
                   [param('ns3::Time::Unit', 'timeUnit')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4973
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4974
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  4975
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4976
def register_Ns3TraceSourceAccessor_methods(root_module, cls):
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4977
    ## 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
  4978
    cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4979
    ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4980
    cls.add_constructor([])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4981
    ## 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
  4982
    cls.add_method('Connect', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4983
                   'bool', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4984
                   [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
  4985
                   is_pure_virtual=True, is_const=True, is_virtual=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4986
    ## 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
  4987
    cls.add_method('ConnectWithoutContext', 
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('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::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
  4992
    cls.add_method('Disconnect', 
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('std::string', 'context'), 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::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  4997
    cls.add_method('DisconnectWithoutContext', 
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('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
    return
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5002
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5003
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
  5004
    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
  5005
    ## 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
  5006
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5007
    ## 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
  5008
    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
  5009
    ## 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
  5010
    cls.add_method('Deserialize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5011
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5012
                   [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
  5013
                   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
  5014
    ## 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
  5015
    cls.add_method('GetSerializedSize', 
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
                   [], 
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_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
  5019
    ## 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
  5020
    cls.add_method('GetTypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5021
                   'ns3::TypeId', 
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_static=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'): 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
  5025
    cls.add_method('Print', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5026
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5027
                   [param('std::ostream &', 'os')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5028
                   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
  5029
    ## 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
  5030
    cls.add_method('Serialize', 
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('ns3::Buffer::Iterator', 'start')], 
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
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5035
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5036
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
  5037
    ## 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
  5038
    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
  5039
    ## 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
  5040
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5041
    ## 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
  5042
    cls.add_method('Get', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5043
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5044
                   [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
  5045
                   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
  5046
    ## 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
  5047
    cls.add_method('HasGetter', 
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
                   [], 
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::HasSetter() 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('HasSetter', 
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::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
  5057
    cls.add_method('Set', 
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
                   [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
  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
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5062
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5063
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
  5064
    ## 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
  5065
    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
  5066
    ## 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
  5067
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5068
    ## 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
  5069
    cls.add_method('Check', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5070
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5071
                   [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
  5072
                   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
  5073
    ## 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
  5074
    cls.add_method('Copy', 
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 &', '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
  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'): 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
  5079
    cls.add_method('Create', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5080
                   'ns3::Ptr< ns3::AttributeValue >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5081
                   [], 
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)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5083
    ## 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
  5084
    cls.add_method('CreateValidValue', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5085
                   'ns3::Ptr< ns3::AttributeValue >', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5086
                   [param('ns3::AttributeValue const &', 'value')], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5087
                   is_const=True)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5088
    ## 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
  5089
    cls.add_method('GetUnderlyingTypeInformation', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5090
                   'std::string', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5091
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5092
                   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
  5093
    ## 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
  5094
    cls.add_method('GetValueTypeName', 
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'): 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
  5099
    cls.add_method('HasUnderlyingTypeInformation', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5100
                   'bool', 
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
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5104
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5105
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
  5106
    ## 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
  5107
    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
  5108
    ## 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
  5109
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5110
    ## 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
  5111
    cls.add_method('Copy', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5112
                   'ns3::Ptr< ns3::AttributeValue >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5113
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5114
                   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
  5115
    ## 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
  5116
    cls.add_method('DeserializeFromString', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5117
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5118
                   [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
  5119
                   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
  5120
    ## 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
  5121
    cls.add_method('SerializeToString', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5122
                   'std::string', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5123
                   [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_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
  5125
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5126
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5127
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
  5128
    ## 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
  5129
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5130
    ## 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
  5131
    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
  5132
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5133
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5134
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
  5135
    ## 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
  5136
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5137
    ## 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
  5138
    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
  5139
    ## 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
  5140
    cls.add_method('IsEqual', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5141
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5142
                   [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
  5143
                   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
  5144
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5145
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5146
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
  5147
    ## 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
  5148
    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
  5149
    ## 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
  5150
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5151
    ## 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
  5152
    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
  5153
    ## 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
  5154
    cls.add_method('Copy', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5155
                   'ns3::Ptr< ns3::AttributeValue >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5156
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5157
                   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
  5158
    ## 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
  5159
    cls.add_method('DeserializeFromString', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5160
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5161
                   [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
  5162
                   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'): 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
  5164
    cls.add_method('SerializeToString', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5165
                   'std::string', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5166
                   [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_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
  5168
    ## 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
  5169
    cls.add_method('Set', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5170
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5171
                   [param('ns3::CallbackBase', 'base')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5172
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5173
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5174
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
  5175
    ## 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
  5176
    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
  5177
    ## 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
  5178
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5179
    ## 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
  5180
    cls.add_method('GetDevice', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5181
                   'ns3::Ptr< ns3::NetDevice >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5182
                   [param('uint32_t', 'i')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5183
                   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
  5184
    ## 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
  5185
    cls.add_method('GetId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5186
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5187
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5188
                   is_const=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::GetNDevices() 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('GetNDevices', 
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_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
  5194
    ## 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
  5195
    cls.add_method('GetTypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5196
                   'ns3::TypeId', 
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_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5199
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5200
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5201
def register_Ns3CsmaChannel_methods(root_module, cls):
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5202
    ## 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
  5203
    cls.add_method('GetTypeId', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5204
                   'ns3::TypeId', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5205
                   [], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5206
                   is_static=True)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5207
    ## 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
  5208
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5209
    ## 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
  5210
    cls.add_method('Attach', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5211
                   'int32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5212
                   [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
  5213
    ## 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
  5214
    cls.add_method('Detach', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5215
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5216
                   [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
  5217
    ## 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
  5218
    cls.add_method('Detach', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5219
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5220
                   [param('uint32_t', 'deviceId')])
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5221
    ## 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
  5222
    cls.add_method('Reattach', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5223
                   'bool', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5224
                   [param('uint32_t', 'deviceId')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5225
    ## 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
  5226
    cls.add_method('Reattach', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5227
                   'bool', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5228
                   [param('ns3::Ptr< ns3::CsmaNetDevice >', 'device')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5229
    ## 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
  5230
    cls.add_method('TransmitStart', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5231
                   'bool', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5232
                   [param('ns3::Ptr< ns3::Packet >', 'p'), param('uint32_t', 'srcId')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5233
    ## csma-channel.h (module 'csma'): bool ns3::CsmaChannel::TransmitEnd() [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5234
    cls.add_method('TransmitEnd', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5235
                   'bool', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5236
                   [])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5237
    ## csma-channel.h (module 'csma'): void ns3::CsmaChannel::PropagationCompleteEvent() [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5238
    cls.add_method('PropagationCompleteEvent', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5239
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5240
                   [])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5241
    ## 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
  5242
    cls.add_method('GetDeviceNum', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5243
                   'int32_t', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5244
                   [param('ns3::Ptr< ns3::CsmaNetDevice >', 'device')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5245
    ## csma-channel.h (module 'csma'): ns3::WireState ns3::CsmaChannel::GetState() [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5246
    cls.add_method('GetState', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5247
                   'ns3::WireState', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5248
                   [])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5249
    ## csma-channel.h (module 'csma'): bool ns3::CsmaChannel::IsBusy() [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5250
    cls.add_method('IsBusy', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5251
                   'bool', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5252
                   [])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5253
    ## 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
  5254
    cls.add_method('IsActive', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5255
                   'bool', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5256
                   [param('uint32_t', 'deviceId')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5257
    ## csma-channel.h (module 'csma'): uint32_t ns3::CsmaChannel::GetNumActDevices() [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5258
    cls.add_method('GetNumActDevices', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5259
                   'uint32_t', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5260
                   [])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5261
    ## 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
  5262
    cls.add_method('GetNDevices', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5263
                   'uint32_t', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5264
                   [], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5265
                   is_const=True, is_virtual=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5266
    ## 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
  5267
    cls.add_method('GetDevice', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5268
                   'ns3::Ptr< ns3::NetDevice >', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5269
                   [param('uint32_t', 'i')], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5270
                   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
  5271
    ## 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
  5272
    cls.add_method('GetCsmaDevice', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5273
                   'ns3::Ptr< ns3::CsmaNetDevice >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5274
                   [param('uint32_t', 'i')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5275
                   is_const=True)
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::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
  5277
    cls.add_method('GetDataRate', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5278
                   'ns3::DataRate', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5279
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5280
    ## 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
  5281
    cls.add_method('GetDelay', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5282
                   'ns3::Time', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5283
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5284
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5285
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5286
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
  5287
    ## 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
  5288
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5289
    ## 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
  5290
    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
  5291
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5292
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5293
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
  5294
    ## 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
  5295
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5296
    ## 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
  5297
    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
  5298
    ## 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
  5299
    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
  5300
    ## 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
  5301
    cls.add_method('Copy', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5302
                   'ns3::Ptr< ns3::AttributeValue >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5303
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5304
                   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
  5305
    ## 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
  5306
    cls.add_method('DeserializeFromString', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5307
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5308
                   [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
  5309
                   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'): 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
  5311
    cls.add_method('Get', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5312
                   'ns3::DataRate', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5313
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5314
                   is_const=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'): 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
  5316
    cls.add_method('SerializeToString', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5317
                   'std::string', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5318
                   [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
  5319
                   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
  5320
    ## 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
  5321
    cls.add_method('Set', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5322
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5323
                   [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
  5324
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5325
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5326
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
  5327
    ## 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
  5328
    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
  5329
    ## 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
  5330
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5331
    ## 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
  5332
    cls.add_method('Copy', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5333
                   'ns3::Ptr< ns3::AttributeValue >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5334
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5335
                   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
  5336
    ## 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
  5337
    cls.add_method('DeserializeFromString', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5338
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5339
                   [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
  5340
                   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'): 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
  5342
    cls.add_method('SerializeToString', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5343
                   'std::string', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5344
                   [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
                   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
  5346
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5347
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5348
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
  5349
    ## 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
  5350
    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
  5351
    ## 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
  5352
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5353
    ## 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
  5354
    cls.add_method('Cancel', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5355
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5356
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5357
    ## 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
  5358
    cls.add_method('Invoke', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5359
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5360
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5361
    ## 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
  5362
    cls.add_method('IsCancelled', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5363
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5364
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5365
    ## 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
  5366
    cls.add_method('Notify', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5367
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5368
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5369
                   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
  5370
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5371
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5372
def register_Ns3IpL4Protocol_methods(root_module, cls):
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5373
    ## ip-l4-protocol.h (module 'internet'): ns3::IpL4Protocol::IpL4Protocol() [constructor]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5374
    cls.add_constructor([])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5375
    ## ip-l4-protocol.h (module 'internet'): ns3::IpL4Protocol::IpL4Protocol(ns3::IpL4Protocol const & arg0) [copy constructor]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5376
    cls.add_constructor([param('ns3::IpL4Protocol const &', 'arg0')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5377
    ## ip-l4-protocol.h (module 'internet'): ns3::Callback<void,ns3::Ptr<ns3::Packet>,ns3::Ipv4Address,ns3::Ipv4Address,unsigned char,ns3::Ptr<ns3::Ipv4Route>,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ns3::IpL4Protocol::GetDownTarget() const [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5378
    cls.add_method('GetDownTarget', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5379
                   'ns3::Callback< void, ns3::Ptr< ns3::Packet >, ns3::Ipv4Address, ns3::Ipv4Address, unsigned char, ns3::Ptr< ns3::Ipv4Route >, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5380
                   [], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5381
                   is_pure_virtual=True, is_const=True, is_virtual=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5382
    ## ip-l4-protocol.h (module 'internet'): ns3::Callback<void,ns3::Ptr<ns3::Packet>,ns3::Ipv6Address,ns3::Ipv6Address,unsigned char,ns3::Ptr<ns3::Ipv6Route>,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ns3::IpL4Protocol::GetDownTarget6() const [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5383
    cls.add_method('GetDownTarget6', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5384
                   'ns3::Callback< void, ns3::Ptr< ns3::Packet >, ns3::Ipv6Address, ns3::Ipv6Address, unsigned char, ns3::Ptr< ns3::Ipv6Route >, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5385
                   [], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5386
                   is_pure_virtual=True, is_const=True, is_virtual=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5387
    ## ip-l4-protocol.h (module 'internet'): int ns3::IpL4Protocol::GetProtocolNumber() const [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5388
    cls.add_method('GetProtocolNumber', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5389
                   'int', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5390
                   [], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5391
                   is_pure_virtual=True, is_const=True, is_virtual=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5392
    ## ip-l4-protocol.h (module 'internet'): static ns3::TypeId ns3::IpL4Protocol::GetTypeId() [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5393
    cls.add_method('GetTypeId', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5394
                   'ns3::TypeId', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5395
                   [], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5396
                   is_static=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5397
    ## ip-l4-protocol.h (module 'internet'): ns3::IpL4Protocol::RxStatus ns3::IpL4Protocol::Receive(ns3::Ptr<ns3::Packet> p, ns3::Ipv4Header const & header, ns3::Ptr<ns3::Ipv4Interface> incomingInterface) [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5398
    cls.add_method('Receive', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5399
                   'ns3::IpL4Protocol::RxStatus', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5400
                   [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::Ipv4Interface >', 'incomingInterface')], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5401
                   is_pure_virtual=True, is_virtual=True)
9190
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  5402
    ## ip-l4-protocol.h (module 'internet'): ns3::IpL4Protocol::RxStatus ns3::IpL4Protocol::Receive(ns3::Ptr<ns3::Packet> p, ns3::Ipv6Header const & header, ns3::Ptr<ns3::Ipv6Interface> incomingInterface) [member function]
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5403
    cls.add_method('Receive', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5404
                   'ns3::IpL4Protocol::RxStatus', 
9190
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  5405
                   [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv6Header const &', 'header'), param('ns3::Ptr< ns3::Ipv6Interface >', 'incomingInterface')], 
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5406
                   is_pure_virtual=True, is_virtual=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5407
    ## ip-l4-protocol.h (module 'internet'): void ns3::IpL4Protocol::ReceiveIcmp(ns3::Ipv4Address icmpSource, uint8_t icmpTtl, uint8_t icmpType, uint8_t icmpCode, uint32_t icmpInfo, ns3::Ipv4Address payloadSource, ns3::Ipv4Address payloadDestination, uint8_t const * payload) [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5408
    cls.add_method('ReceiveIcmp', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5409
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5410
                   [param('ns3::Ipv4Address', 'icmpSource'), param('uint8_t', 'icmpTtl'), param('uint8_t', 'icmpType'), param('uint8_t', 'icmpCode'), param('uint32_t', 'icmpInfo'), param('ns3::Ipv4Address', 'payloadSource'), param('ns3::Ipv4Address', 'payloadDestination'), param('uint8_t const *', 'payload')], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5411
                   is_virtual=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5412
    ## ip-l4-protocol.h (module 'internet'): void ns3::IpL4Protocol::ReceiveIcmp(ns3::Ipv6Address icmpSource, uint8_t icmpTtl, uint8_t icmpType, uint8_t icmpCode, uint32_t icmpInfo, ns3::Ipv6Address payloadSource, ns3::Ipv6Address payloadDestination, uint8_t const * payload) [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5413
    cls.add_method('ReceiveIcmp', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5414
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5415
                   [param('ns3::Ipv6Address', 'icmpSource'), param('uint8_t', 'icmpTtl'), param('uint8_t', 'icmpType'), param('uint8_t', 'icmpCode'), param('uint32_t', 'icmpInfo'), param('ns3::Ipv6Address', 'payloadSource'), param('ns3::Ipv6Address', 'payloadDestination'), param('uint8_t const *', 'payload')], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5416
                   is_virtual=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5417
    ## ip-l4-protocol.h (module 'internet'): void ns3::IpL4Protocol::SetDownTarget(ns3::Callback<void,ns3::Ptr<ns3::Packet>,ns3::Ipv4Address,ns3::Ipv4Address,unsigned char,ns3::Ptr<ns3::Ipv4Route>,ns3::empty,ns3::empty,ns3::empty,ns3::empty> cb) [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5418
    cls.add_method('SetDownTarget', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5419
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5420
                   [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, ns3::Ipv4Address, ns3::Ipv4Address, unsigned char, ns3::Ptr< ns3::Ipv4Route >, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5421
                   is_pure_virtual=True, is_virtual=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5422
    ## ip-l4-protocol.h (module 'internet'): void ns3::IpL4Protocol::SetDownTarget6(ns3::Callback<void,ns3::Ptr<ns3::Packet>,ns3::Ipv6Address,ns3::Ipv6Address,unsigned char,ns3::Ptr<ns3::Ipv6Route>,ns3::empty,ns3::empty,ns3::empty,ns3::empty> cb) [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5423
    cls.add_method('SetDownTarget6', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5424
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5425
                   [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, ns3::Ipv6Address, ns3::Ipv6Address, unsigned char, ns3::Ptr< ns3::Ipv6Route >, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5426
                   is_pure_virtual=True, is_virtual=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5427
    return
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5428
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5429
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
  5430
    ## 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
  5431
    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
  5432
    ## 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
  5433
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5434
    ## 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
  5435
    cls.add_method('AddAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5436
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5437
                   [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
  5438
                   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
  5439
    ## 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
  5440
    cls.add_method('AddInterface', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5441
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5442
                   [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
  5443
                   is_pure_virtual=True, is_virtual=True)
8966
060dba23e9bb Replace src/application usage of RandomVariable with RandomVariableStream
Mitch Watrous
parents: 8893
diff changeset
  5444
    ## 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
  5445
    cls.add_method('CreateRawSocket', 
060dba23e9bb Replace src/application usage of RandomVariable with RandomVariableStream
Mitch Watrous
parents: 8893
diff changeset
  5446
                   'ns3::Ptr< ns3::Socket >', 
060dba23e9bb Replace src/application usage of RandomVariable with RandomVariableStream
Mitch Watrous
parents: 8893
diff changeset
  5447
                   [], 
060dba23e9bb Replace src/application usage of RandomVariable with RandomVariableStream
Mitch Watrous
parents: 8893
diff changeset
  5448
                   is_pure_virtual=True, is_virtual=True)
060dba23e9bb Replace src/application usage of RandomVariable with RandomVariableStream
Mitch Watrous
parents: 8893
diff changeset
  5449
    ## 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
  5450
    cls.add_method('DeleteRawSocket', 
060dba23e9bb Replace src/application usage of RandomVariable with RandomVariableStream
Mitch Watrous
parents: 8893
diff changeset
  5451
                   'void', 
060dba23e9bb Replace src/application usage of RandomVariable with RandomVariableStream
Mitch Watrous
parents: 8893
diff changeset
  5452
                   [param('ns3::Ptr< ns3::Socket >', 'socket')], 
060dba23e9bb Replace src/application usage of RandomVariable with RandomVariableStream
Mitch Watrous
parents: 8893
diff changeset
  5453
                   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
  5454
    ## 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
  5455
    cls.add_method('GetAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5456
                   'ns3::Ipv4InterfaceAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5457
                   [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
  5458
                   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
  5459
    ## 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
  5460
    cls.add_method('GetInterfaceForAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5461
                   'int32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5462
                   [param('ns3::Ipv4Address', 'address')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5463
                   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
  5464
    ## 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
  5465
    cls.add_method('GetInterfaceForDevice', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5466
                   'int32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5467
                   [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
  5468
                   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
  5469
    ## 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
  5470
    cls.add_method('GetInterfaceForPrefix', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5471
                   'int32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5472
                   [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
  5473
                   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
  5474
    ## 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
  5475
    cls.add_method('GetMetric', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5476
                   'uint16_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5477
                   [param('uint32_t', 'interface')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5478
                   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
  5479
    ## 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
  5480
    cls.add_method('GetMtu', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5481
                   'uint16_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5482
                   [param('uint32_t', 'interface')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5483
                   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
  5484
    ## 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
  5485
    cls.add_method('GetNAddresses', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5486
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5487
                   [param('uint32_t', 'interface')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5488
                   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
  5489
    ## 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
  5490
    cls.add_method('GetNInterfaces', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5491
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5492
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5493
                   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
  5494
    ## 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
  5495
    cls.add_method('GetNetDevice', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5496
                   'ns3::Ptr< ns3::NetDevice >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5497
                   [param('uint32_t', 'interface')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5498
                   is_pure_virtual=True, is_virtual=True)
8966
060dba23e9bb Replace src/application usage of RandomVariable with RandomVariableStream
Mitch Watrous
parents: 8893
diff changeset
  5499
    ## 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
  5500
    cls.add_method('GetProtocol', 
060dba23e9bb Replace src/application usage of RandomVariable with RandomVariableStream
Mitch Watrous
parents: 8893
diff changeset
  5501
                   'ns3::Ptr< ns3::IpL4Protocol >', 
060dba23e9bb Replace src/application usage of RandomVariable with RandomVariableStream
Mitch Watrous
parents: 8893
diff changeset
  5502
                   [param('int', 'protocolNumber')], 
060dba23e9bb Replace src/application usage of RandomVariable with RandomVariableStream
Mitch Watrous
parents: 8893
diff changeset
  5503
                   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
  5504
    ## 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
  5505
    cls.add_method('GetRoutingProtocol', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5506
                   'ns3::Ptr< ns3::Ipv4RoutingProtocol >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5507
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5508
                   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
  5509
    ## 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
  5510
    cls.add_method('GetTypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5511
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5512
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5513
                   is_static=True)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5514
    ## 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
  5515
    cls.add_method('Insert', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5516
                   'void', 
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5517
                   [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
  5518
                   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
  5519
    ## 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
  5520
    cls.add_method('IsDestinationAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5521
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5522
                   [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
  5523
                   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
  5524
    ## 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
  5525
    cls.add_method('IsForwarding', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5526
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5527
                   [param('uint32_t', 'interface')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5528
                   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
  5529
    ## 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
  5530
    cls.add_method('IsUp', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5531
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5532
                   [param('uint32_t', 'interface')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5533
                   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
  5534
    ## 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
  5535
    cls.add_method('RemoveAddress', 
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
                   [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
  5538
                   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
  5539
    ## 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
  5540
    cls.add_method('SelectSourceAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5541
                   'ns3::Ipv4Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5542
                   [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
  5543
                   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
  5544
    ## 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
  5545
    cls.add_method('Send', 
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('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
  5548
                   is_pure_virtual=True, is_virtual=True)
8966
060dba23e9bb Replace src/application usage of RandomVariable with RandomVariableStream
Mitch Watrous
parents: 8893
diff changeset
  5549
    ## 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
  5550
    cls.add_method('SendWithHeader', 
060dba23e9bb Replace src/application usage of RandomVariable with RandomVariableStream
Mitch Watrous
parents: 8893
diff changeset
  5551
                   'void', 
060dba23e9bb Replace src/application usage of RandomVariable with RandomVariableStream
Mitch Watrous
parents: 8893
diff changeset
  5552
                   [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
  5553
                   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
  5554
    ## 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
  5555
    cls.add_method('SetDown', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5556
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5557
                   [param('uint32_t', 'interface')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5558
                   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
  5559
    ## 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
  5560
    cls.add_method('SetForwarding', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5561
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5562
                   [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
  5563
                   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
  5564
    ## 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
  5565
    cls.add_method('SetMetric', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5566
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5567
                   [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
  5568
                   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
  5569
    ## 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
  5570
    cls.add_method('SetRoutingProtocol', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5571
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5572
                   [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
  5573
                   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
  5574
    ## 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
  5575
    cls.add_method('SetUp', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5576
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5577
                   [param('uint32_t', 'interface')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5578
                   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
  5579
    ## 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
  5580
    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
  5581
    ## 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
  5582
    cls.add_method('GetIpForward', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5583
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5584
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5585
                   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
  5586
    ## 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
  5587
    cls.add_method('GetWeakEsModel', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5588
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5589
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5590
                   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
  5591
    ## 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
  5592
    cls.add_method('SetIpForward', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5593
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5594
                   [param('bool', 'forward')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5595
                   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
  5596
    ## 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
  5597
    cls.add_method('SetWeakEsModel', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5598
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5599
                   [param('bool', 'model')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5600
                   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
  5601
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5602
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5603
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
  5604
    ## 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
  5605
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5606
    ## 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
  5607
    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
  5608
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5609
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5610
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
  5611
    ## 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
  5612
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5613
    ## 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
  5614
    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
  5615
    ## 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
  5616
    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
  5617
    ## 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
  5618
    cls.add_method('Copy', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5619
                   'ns3::Ptr< ns3::AttributeValue >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5620
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5621
                   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
  5622
    ## 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
  5623
    cls.add_method('DeserializeFromString', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5624
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5625
                   [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
  5626
                   is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5627
    ## 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
  5628
    cls.add_method('Get', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5629
                   'ns3::Ipv4Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5630
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5631
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5632
    ## 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
  5633
    cls.add_method('SerializeToString', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5634
                   'std::string', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5635
                   [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
  5636
                   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
  5637
    ## 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
  5638
    cls.add_method('Set', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5639
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5640
                   [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
  5641
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5642
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5643
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
  5644
    ## 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
  5645
    cls.add_constructor([])
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5646
    ## 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
  5647
    cls.add_method('AddAddress', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5648
                   'bool', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5649
                   [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
  5650
                   is_virtual=True)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5651
    ## 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
  5652
    cls.add_method('AddInterface', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5653
                   'uint32_t', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5654
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5655
                   is_virtual=True)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5656
    ## 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
  5657
    cls.add_method('CreateRawSocket', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5658
                   'ns3::Ptr< ns3::Socket >', 
8966
060dba23e9bb Replace src/application usage of RandomVariable with RandomVariableStream
Mitch Watrous
parents: 8893
diff changeset
  5659
                   [], 
060dba23e9bb Replace src/application usage of RandomVariable with RandomVariableStream
Mitch Watrous
parents: 8893
diff changeset
  5660
                   is_virtual=True)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5661
    ## 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
  5662
    cls.add_method('DeleteRawSocket', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5663
                   'void', 
8966
060dba23e9bb Replace src/application usage of RandomVariable with RandomVariableStream
Mitch Watrous
parents: 8893
diff changeset
  5664
                   [param('ns3::Ptr< ns3::Socket >', 'socket')], 
060dba23e9bb Replace src/application usage of RandomVariable with RandomVariableStream
Mitch Watrous
parents: 8893
diff changeset
  5665
                   is_virtual=True)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5666
    ## 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
  5667
    cls.add_method('GetAddress', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5668
                   'ns3::Ipv4InterfaceAddress', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5669
                   [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5670
                   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
  5671
    ## 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
  5672
    cls.add_method('GetInterface', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5673
                   'ns3::Ptr< ns3::Ipv4Interface >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5674
                   [param('uint32_t', 'i')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5675
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5676
    ## 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
  5677
    cls.add_method('GetInterfaceForAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5678
                   'int32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5679
                   [param('ns3::Ipv4Address', 'addr')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5680
                   is_const=True, is_virtual=True)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5681
    ## 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
  5682
    cls.add_method('GetInterfaceForDevice', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5683
                   'int32_t', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5684
                   [param('ns3::Ptr< ns3::NetDevice const >', 'device')], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5685
                   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
  5686
    ## 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
  5687
    cls.add_method('GetInterfaceForPrefix', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5688
                   'int32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5689
                   [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
  5690
                   is_const=True, is_virtual=True)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5691
    ## 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
  5692
    cls.add_method('GetMetric', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5693
                   'uint16_t', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5694
                   [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
  5695
                   is_const=True, is_virtual=True)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5696
    ## 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
  5697
    cls.add_method('GetMtu', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5698
                   'uint16_t', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5699
                   [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
  5700
                   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
  5701
    ## 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
  5702
    cls.add_method('GetNAddresses', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5703
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5704
                   [param('uint32_t', 'interface')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5705
                   is_const=True, is_virtual=True)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5706
    ## 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
  5707
    cls.add_method('GetNInterfaces', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5708
                   'uint32_t', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5709
                   [], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5710
                   is_const=True, is_virtual=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5711
    ## 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
  5712
    cls.add_method('GetNetDevice', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5713
                   'ns3::Ptr< ns3::NetDevice >', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5714
                   [param('uint32_t', 'i')], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5715
                   is_virtual=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5716
    ## 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
  5717
    cls.add_method('GetProtocol', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5718
                   'ns3::Ptr< ns3::IpL4Protocol >', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5719
                   [param('int', 'protocolNumber')], 
8966
060dba23e9bb Replace src/application usage of RandomVariable with RandomVariableStream
Mitch Watrous
parents: 8893
diff changeset
  5720
                   is_const=True, is_virtual=True)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5721
    ## 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
  5722
    cls.add_method('GetRoutingProtocol', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5723
                   'ns3::Ptr< ns3::Ipv4RoutingProtocol >', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5724
                   [], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5725
                   is_const=True, is_virtual=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5726
    ## 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
  5727
    cls.add_method('GetTypeId', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5728
                   'ns3::TypeId', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5729
                   [], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5730
                   is_static=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5731
    ## 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
  5732
    cls.add_method('Insert', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5733
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5734
                   [param('ns3::Ptr< ns3::IpL4Protocol >', 'protocol')], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5735
                   is_virtual=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5736
    ## 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
  5737
    cls.add_method('IsDestinationAddress', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5738
                   'bool', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5739
                   [param('ns3::Ipv4Address', 'address'), param('uint32_t', 'iif')], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5740
                   is_const=True, is_virtual=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5741
    ## 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
  5742
    cls.add_method('IsForwarding', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5743
                   'bool', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5744
                   [param('uint32_t', 'i')], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5745
                   is_const=True, is_virtual=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5746
    ## 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
  5747
    cls.add_method('IsUp', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5748
                   'bool', 
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_const=True, 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::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
  5752
    cls.add_method('Receive', 
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('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
  5755
    ## 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
  5756
    cls.add_method('Remove', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5757
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5758
                   [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
  5759
    ## 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
  5760
    cls.add_method('RemoveAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5761
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5762
                   [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
  5763
                   is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5764
    ## 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
  5765
    cls.add_method('SelectSourceAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5766
                   'ns3::Ipv4Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5767
                   [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
  5768
                   is_virtual=True)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5769
    ## 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
  5770
    cls.add_method('Send', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5771
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5772
                   [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
  5773
                   is_virtual=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5774
    ## 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
  5775
    cls.add_method('SendWithHeader', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5776
                   'void', 
8966
060dba23e9bb Replace src/application usage of RandomVariable with RandomVariableStream
Mitch Watrous
parents: 8893
diff changeset
  5777
                   [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
  5778
                   is_virtual=True)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5779
    ## 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
  5780
    cls.add_method('SetDefaultTtl', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5781
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5782
                   [param('uint8_t', 'ttl')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5783
    ## 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
  5784
    cls.add_method('SetDown', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5785
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5786
                   [param('uint32_t', 'i')], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5787
                   is_virtual=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5788
    ## 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
  5789
    cls.add_method('SetForwarding', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5790
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5791
                   [param('uint32_t', 'i'), param('bool', 'val')], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5792
                   is_virtual=True)
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5793
    ## 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
  5794
    cls.add_method('SetMetric', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5795
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5796
                   [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
  5797
                   is_virtual=True)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5798
    ## 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
  5799
    cls.add_method('SetNode', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5800
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5801
                   [param('ns3::Ptr< ns3::Node >', 'node')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5802
    ## 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
  5803
    cls.add_method('SetRoutingProtocol', 
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('ns3::Ptr< ns3::Ipv4RoutingProtocol >', 'routingProtocol')], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5806
                   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
    ## 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
  5808
    cls.add_method('SetUp', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5809
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5810
                   [param('uint32_t', 'i')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5811
                   is_virtual=True)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5812
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::PROT_NUMBER [variable]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5813
    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
  5814
    ## 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
  5815
    cls.add_method('DoDispose', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5816
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5817
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5818
                   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
  5819
    ## 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
  5820
    cls.add_method('NotifyNewAggregate', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5821
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5822
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5823
                   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
  5824
    ## 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
  5825
    cls.add_method('GetIpForward', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5826
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5827
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5828
                   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
  5829
    ## 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
  5830
    cls.add_method('GetWeakEsModel', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5831
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5832
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5833
                   is_const=True, visibility='private', is_virtual=True)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5834
    ## 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
  5835
    cls.add_method('SetIpForward', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5836
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5837
                   [param('bool', 'forward')], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5838
                   visibility='private', is_virtual=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5839
    ## 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
  5840
    cls.add_method('SetWeakEsModel', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5841
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5842
                   [param('bool', 'model')], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5843
                   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
  5844
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5845
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5846
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
  5847
    ## 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
  5848
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5849
    ## 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
  5850
    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
  5851
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5852
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5853
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
  5854
    ## 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
  5855
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5856
    ## 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
  5857
    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
  5858
    ## 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
  5859
    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
  5860
    ## 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
  5861
    cls.add_method('Copy', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5862
                   'ns3::Ptr< ns3::AttributeValue >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5863
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5864
                   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
  5865
    ## 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
  5866
    cls.add_method('DeserializeFromString', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5867
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5868
                   [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
  5869
                   is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5870
    ## 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
  5871
    cls.add_method('Get', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5872
                   'ns3::Ipv4Mask', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5873
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5874
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5875
    ## 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
  5876
    cls.add_method('SerializeToString', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5877
                   'std::string', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5878
                   [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
  5879
                   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
  5880
    ## 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
  5881
    cls.add_method('Set', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5882
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5883
                   [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
  5884
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5885
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5886
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
  5887
    ## 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
  5888
    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
  5889
    ## 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
  5890
    cls.add_constructor([])
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'): 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
  5892
    cls.add_method('GetGroup', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5893
                   'ns3::Ipv4Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5894
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5895
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5896
    ## 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
  5897
    cls.add_method('GetOrigin', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5898
                   'ns3::Ipv4Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5899
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5900
                   is_const=True)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5901
    ## 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
  5902
    cls.add_method('GetOutputTtl', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5903
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5904
                   [param('uint32_t', 'oif')], 
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5905
                   deprecated=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5906
    ## 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
  5907
    cls.add_method('GetOutputTtlMap', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5908
                   'std::map< unsigned int, unsigned int >', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  5909
                   [], 
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5910
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5911
    ## 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
  5912
    cls.add_method('GetParent', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5913
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5914
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5915
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5916
    ## 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
  5917
    cls.add_method('SetGroup', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5918
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5919
                   [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
  5920
    ## 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
  5921
    cls.add_method('SetOrigin', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5922
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5923
                   [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
  5924
    ## 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
  5925
    cls.add_method('SetOutputTtl', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5926
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5927
                   [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
  5928
    ## 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
  5929
    cls.add_method('SetParent', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5930
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5931
                   [param('uint32_t', 'iif')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5932
    ## 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
  5933
    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
  5934
    ## 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
  5935
    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
  5936
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5937
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5938
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
  5939
    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
  5940
    ## 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
  5941
    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
  5942
    ## 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
  5943
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5944
    ## 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
  5945
    cls.add_method('GetDestination', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5946
                   'ns3::Ipv4Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5947
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5948
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5949
    ## 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
  5950
    cls.add_method('GetGateway', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5951
                   'ns3::Ipv4Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5952
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5953
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5954
    ## 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
  5955
    cls.add_method('GetOutputDevice', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5956
                   'ns3::Ptr< ns3::NetDevice >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5957
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5958
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5959
    ## 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
  5960
    cls.add_method('GetSource', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5961
                   'ns3::Ipv4Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5962
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5963
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5964
    ## 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
  5965
    cls.add_method('SetDestination', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5966
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5967
                   [param('ns3::Ipv4Address', 'dest')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5968
    ## 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
  5969
    cls.add_method('SetGateway', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5970
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5971
                   [param('ns3::Ipv4Address', 'gw')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5972
    ## 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
  5973
    cls.add_method('SetOutputDevice', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5974
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5975
                   [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
  5976
    ## 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
  5977
    cls.add_method('SetSource', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5978
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5979
                   [param('ns3::Ipv4Address', 'src')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5980
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5981
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5982
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
  5983
    ## 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
  5984
    cls.add_constructor([])
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::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
  5986
    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
  5987
    ## 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
  5988
    cls.add_method('GetTypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5989
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5990
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5991
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5992
    ## 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
  5993
    cls.add_method('NotifyAddAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5994
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5995
                   [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
  5996
                   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
  5997
    ## 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
  5998
    cls.add_method('NotifyInterfaceDown', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  5999
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6000
                   [param('uint32_t', 'interface')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6001
                   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
  6002
    ## 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
  6003
    cls.add_method('NotifyInterfaceUp', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6004
                   'void', 
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')], 
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
    ## 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
  6008
    cls.add_method('NotifyRemoveAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6009
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6010
                   [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
  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
    ## 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
  6013
    cls.add_method('PrintRoutingTable', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6014
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6015
                   [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
  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
    ## 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
  6018
    cls.add_method('RouteInput', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6019
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6020
                   [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
  6021
                   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
  6022
    ## 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
  6023
    cls.add_method('RouteOutput', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6024
                   'ns3::Ptr< ns3::Ipv4Route >', 
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::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
  6026
                   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
  6027
    ## 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
  6028
    cls.add_method('SetIpv4', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6029
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6030
                   [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
  6031
                   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
  6032
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6033
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6034
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
  6035
    ## 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
  6036
    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
  6037
    ## 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
  6038
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6039
    ## 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
  6040
    cls.add_method('AddAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6041
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6042
                   [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
  6043
                   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
  6044
    ## 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
  6045
    cls.add_method('AddInterface', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6046
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6047
                   [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
  6048
                   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
  6049
    ## 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
  6050
    cls.add_method('GetAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6051
                   'ns3::Ipv6InterfaceAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6052
                   [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
  6053
                   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
  6054
    ## 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
  6055
    cls.add_method('GetInterfaceForAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6056
                   'int32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6057
                   [param('ns3::Ipv6Address', 'address')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6058
                   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
  6059
    ## 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
  6060
    cls.add_method('GetInterfaceForDevice', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6061
                   'int32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6062
                   [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
  6063
                   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
  6064
    ## 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
  6065
    cls.add_method('GetInterfaceForPrefix', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6066
                   'int32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6067
                   [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
  6068
                   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
  6069
    ## 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
  6070
    cls.add_method('GetMetric', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6071
                   'uint16_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6072
                   [param('uint32_t', 'interface')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6073
                   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
  6074
    ## 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
  6075
    cls.add_method('GetMtu', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6076
                   'uint16_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6077
                   [param('uint32_t', 'interface')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6078
                   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
  6079
    ## 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
  6080
    cls.add_method('GetNAddresses', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6081
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6082
                   [param('uint32_t', 'interface')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6083
                   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
  6084
    ## 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
  6085
    cls.add_method('GetNInterfaces', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6086
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6087
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6088
                   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
  6089
    ## 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
  6090
    cls.add_method('GetNetDevice', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6091
                   'ns3::Ptr< ns3::NetDevice >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6092
                   [param('uint32_t', 'interface')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6093
                   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
  6094
    ## 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
  6095
    cls.add_method('GetRoutingProtocol', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6096
                   'ns3::Ptr< ns3::Ipv6RoutingProtocol >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6097
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6098
                   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
  6099
    ## 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
  6100
    cls.add_method('GetTypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6101
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6102
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6103
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6104
    ## 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
  6105
    cls.add_method('IsForwarding', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6106
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6107
                   [param('uint32_t', 'interface')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6108
                   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
  6109
    ## 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
  6110
    cls.add_method('IsUp', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6111
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6112
                   [param('uint32_t', 'interface')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6113
                   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
  6114
    ## 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
  6115
    cls.add_method('RegisterExtensions', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6116
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6117
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6118
                   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
  6119
    ## 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
  6120
    cls.add_method('RegisterOptions', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6121
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6122
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6123
                   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
  6124
    ## 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
  6125
    cls.add_method('RemoveAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6126
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6127
                   [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
  6128
                   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
  6129
    ## 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
  6130
    cls.add_method('SetDown', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6131
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6132
                   [param('uint32_t', 'interface')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6133
                   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
  6134
    ## 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
  6135
    cls.add_method('SetForwarding', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6136
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6137
                   [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
  6138
                   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
  6139
    ## 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
  6140
    cls.add_method('SetMetric', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6141
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6142
                   [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
  6143
                   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
  6144
    ## 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
  6145
    cls.add_method('SetRoutingProtocol', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6146
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6147
                   [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
  6148
                   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
  6149
    ## 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
  6150
    cls.add_method('SetUp', 
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('uint32_t', 'interface')], 
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, is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6154
    ## 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
  6155
    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
  6156
    ## 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
  6157
    cls.add_method('GetIpForward', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6158
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6159
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6160
                   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
  6161
    ## 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
  6162
    cls.add_method('SetIpForward', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6163
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6164
                   [param('bool', 'forward')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6165
                   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
  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_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
  6169
    ## 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
  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::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
  6172
    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
  6173
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6174
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6175
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
  6176
    ## 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
  6177
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6178
    ## 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
  6179
    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
  6180
    ## 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
  6181
    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
  6182
    ## 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
  6183
    cls.add_method('Copy', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6184
                   'ns3::Ptr< ns3::AttributeValue >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6185
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6186
                   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
  6187
    ## 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
  6188
    cls.add_method('DeserializeFromString', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6189
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6190
                   [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
  6191
                   is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6192
    ## 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
  6193
    cls.add_method('Get', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6194
                   'ns3::Ipv6Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6195
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6196
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6197
    ## 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
  6198
    cls.add_method('SerializeToString', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6199
                   'std::string', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6200
                   [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
  6201
                   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
  6202
    ## 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
  6203
    cls.add_method('Set', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6204
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6205
                   [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
  6206
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6207
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6208
def register_Ns3Ipv6Interface_methods(root_module, cls):
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6209
    ## ipv6-interface.h (module 'internet'): ns3::Ipv6Interface::Ipv6Interface(ns3::Ipv6Interface const & arg0) [copy constructor]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6210
    cls.add_constructor([param('ns3::Ipv6Interface const &', 'arg0')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6211
    ## ipv6-interface.h (module 'internet'): ns3::Ipv6Interface::Ipv6Interface() [constructor]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6212
    cls.add_constructor([])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6213
    ## ipv6-interface.h (module 'internet'): bool ns3::Ipv6Interface::AddAddress(ns3::Ipv6InterfaceAddress iface) [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6214
    cls.add_method('AddAddress', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6215
                   'bool', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6216
                   [param('ns3::Ipv6InterfaceAddress', 'iface')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6217
    ## ipv6-interface.h (module 'internet'): ns3::Ipv6InterfaceAddress ns3::Ipv6Interface::GetAddress(uint32_t index) const [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6218
    cls.add_method('GetAddress', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6219
                   'ns3::Ipv6InterfaceAddress', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6220
                   [param('uint32_t', 'index')], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6221
                   is_const=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6222
    ## ipv6-interface.h (module 'internet'): ns3::Ipv6InterfaceAddress ns3::Ipv6Interface::GetAddressMatchingDestination(ns3::Ipv6Address dst) [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6223
    cls.add_method('GetAddressMatchingDestination', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6224
                   'ns3::Ipv6InterfaceAddress', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6225
                   [param('ns3::Ipv6Address', 'dst')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6226
    ## ipv6-interface.h (module 'internet'): uint16_t ns3::Ipv6Interface::GetBaseReachableTime() const [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6227
    cls.add_method('GetBaseReachableTime', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6228
                   'uint16_t', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6229
                   [], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6230
                   is_const=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6231
    ## ipv6-interface.h (module 'internet'): uint8_t ns3::Ipv6Interface::GetCurHopLimit() const [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6232
    cls.add_method('GetCurHopLimit', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6233
                   'uint8_t', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6234
                   [], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6235
                   is_const=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6236
    ## ipv6-interface.h (module 'internet'): ns3::Ptr<ns3::NetDevice> ns3::Ipv6Interface::GetDevice() const [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6237
    cls.add_method('GetDevice', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6238
                   'ns3::Ptr< ns3::NetDevice >', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6239
                   [], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6240
                   is_const=True, is_virtual=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6241
    ## ipv6-interface.h (module 'internet'): ns3::Ipv6InterfaceAddress ns3::Ipv6Interface::GetLinkLocalAddress() const [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6242
    cls.add_method('GetLinkLocalAddress', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6243
                   'ns3::Ipv6InterfaceAddress', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6244
                   [], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6245
                   is_const=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6246
    ## ipv6-interface.h (module 'internet'): uint16_t ns3::Ipv6Interface::GetMetric() const [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6247
    cls.add_method('GetMetric', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6248
                   'uint16_t', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6249
                   [], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6250
                   is_const=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6251
    ## ipv6-interface.h (module 'internet'): uint32_t ns3::Ipv6Interface::GetNAddresses() const [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6252
    cls.add_method('GetNAddresses', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6253
                   'uint32_t', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6254
                   [], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6255
                   is_const=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6256
    ## ipv6-interface.h (module 'internet'): uint16_t ns3::Ipv6Interface::GetReachableTime() const [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6257
    cls.add_method('GetReachableTime', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6258
                   'uint16_t', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6259
                   [], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6260
                   is_const=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6261
    ## ipv6-interface.h (module 'internet'): uint16_t ns3::Ipv6Interface::GetRetransTimer() const [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6262
    cls.add_method('GetRetransTimer', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6263
                   'uint16_t', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6264
                   [], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6265
                   is_const=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6266
    ## ipv6-interface.h (module 'internet'): static ns3::TypeId ns3::Ipv6Interface::GetTypeId() [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6267
    cls.add_method('GetTypeId', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6268
                   'ns3::TypeId', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6269
                   [], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6270
                   is_static=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6271
    ## ipv6-interface.h (module 'internet'): bool ns3::Ipv6Interface::IsDown() const [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6272
    cls.add_method('IsDown', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6273
                   'bool', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6274
                   [], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6275
                   is_const=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6276
    ## ipv6-interface.h (module 'internet'): bool ns3::Ipv6Interface::IsForwarding() const [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6277
    cls.add_method('IsForwarding', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6278
                   'bool', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6279
                   [], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6280
                   is_const=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6281
    ## ipv6-interface.h (module 'internet'): bool ns3::Ipv6Interface::IsUp() const [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6282
    cls.add_method('IsUp', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6283
                   'bool', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6284
                   [], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6285
                   is_const=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6286
    ## ipv6-interface.h (module 'internet'): ns3::Ipv6InterfaceAddress ns3::Ipv6Interface::RemoveAddress(uint32_t index) [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6287
    cls.add_method('RemoveAddress', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6288
                   'ns3::Ipv6InterfaceAddress', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6289
                   [param('uint32_t', 'index')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6290
    ## ipv6-interface.h (module 'internet'): void ns3::Ipv6Interface::Send(ns3::Ptr<ns3::Packet> p, ns3::Ipv6Address dest) [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6291
    cls.add_method('Send', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6292
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6293
                   [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv6Address', 'dest')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6294
    ## ipv6-interface.h (module 'internet'): void ns3::Ipv6Interface::SetBaseReachableTime(uint16_t baseReachableTime) [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6295
    cls.add_method('SetBaseReachableTime', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6296
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6297
                   [param('uint16_t', 'baseReachableTime')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6298
    ## ipv6-interface.h (module 'internet'): void ns3::Ipv6Interface::SetCurHopLimit(uint8_t curHopLimit) [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6299
    cls.add_method('SetCurHopLimit', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6300
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6301
                   [param('uint8_t', 'curHopLimit')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6302
    ## ipv6-interface.h (module 'internet'): void ns3::Ipv6Interface::SetDevice(ns3::Ptr<ns3::NetDevice> device) [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6303
    cls.add_method('SetDevice', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6304
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6305
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6306
    ## ipv6-interface.h (module 'internet'): void ns3::Ipv6Interface::SetDown() [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6307
    cls.add_method('SetDown', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6308
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6309
                   [])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6310
    ## ipv6-interface.h (module 'internet'): void ns3::Ipv6Interface::SetForwarding(bool forward) [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6311
    cls.add_method('SetForwarding', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6312
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6313
                   [param('bool', 'forward')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6314
    ## ipv6-interface.h (module 'internet'): void ns3::Ipv6Interface::SetMetric(uint16_t metric) [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6315
    cls.add_method('SetMetric', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6316
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6317
                   [param('uint16_t', 'metric')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6318
    ## ipv6-interface.h (module 'internet'): void ns3::Ipv6Interface::SetNode(ns3::Ptr<ns3::Node> node) [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6319
    cls.add_method('SetNode', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6320
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6321
                   [param('ns3::Ptr< ns3::Node >', 'node')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6322
    ## ipv6-interface.h (module 'internet'): void ns3::Ipv6Interface::SetNsDadUid(ns3::Ipv6Address address, uint32_t uid) [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6323
    cls.add_method('SetNsDadUid', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6324
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6325
                   [param('ns3::Ipv6Address', 'address'), param('uint32_t', 'uid')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6326
    ## ipv6-interface.h (module 'internet'): void ns3::Ipv6Interface::SetReachableTime(uint16_t reachableTime) [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6327
    cls.add_method('SetReachableTime', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6328
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6329
                   [param('uint16_t', 'reachableTime')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6330
    ## ipv6-interface.h (module 'internet'): void ns3::Ipv6Interface::SetRetransTimer(uint16_t retransTimer) [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6331
    cls.add_method('SetRetransTimer', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6332
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6333
                   [param('uint16_t', 'retransTimer')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6334
    ## ipv6-interface.h (module 'internet'): void ns3::Ipv6Interface::SetState(ns3::Ipv6Address address, ns3::Ipv6InterfaceAddress::State_e state) [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6335
    cls.add_method('SetState', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6336
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6337
                   [param('ns3::Ipv6Address', 'address'), param('ns3::Ipv6InterfaceAddress::State_e', 'state')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6338
    ## ipv6-interface.h (module 'internet'): void ns3::Ipv6Interface::SetUp() [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6339
    cls.add_method('SetUp', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6340
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6341
                   [])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6342
    ## ipv6-interface.h (module 'internet'): void ns3::Ipv6Interface::DoDispose() [member function]
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6343
    cls.add_method('DoDispose', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6344
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6345
                   [], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6346
                   visibility='protected', is_virtual=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6347
    return
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6348
7092
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6349
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
  6350
    ## 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
  6351
    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
  6352
    ## 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
  6353
    cls.add_method('GetTypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6354
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6355
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6356
                   is_static=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'): ns3::Ipv6L3Protocol::Ipv6L3Protocol() [constructor]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6358
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6359
    ## 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
  6360
    cls.add_method('SetNode', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6361
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6362
                   [param('ns3::Ptr< ns3::Node >', 'node')])
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6363
    ## 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
  6364
    cls.add_method('Insert', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6365
                   'void', 
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6366
                   [param('ns3::Ptr< ns3::IpL4Protocol >', 'protocol')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6367
    ## 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
  6368
    cls.add_method('Remove', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6369
                   'void', 
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6370
                   [param('ns3::Ptr< ns3::IpL4Protocol >', 'protocol')])
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6371
    ## 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
  6372
    cls.add_method('GetProtocol', 
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6373
                   '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
  6374
                   [param('int', 'protocolNumber')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6375
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6376
    ## 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
  6377
    cls.add_method('CreateRawSocket', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6378
                   'ns3::Ptr< ns3::Socket >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6379
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6380
    ## 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
  6381
    cls.add_method('DeleteRawSocket', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6382
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6383
                   [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
  6384
    ## 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
  6385
    cls.add_method('SetDefaultTtl', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6386
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6387
                   [param('uint8_t', 'ttl')])
9190
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  6388
    ## 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
  6389
    cls.add_method('SetDefaultTclass', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  6390
                   'void', 
882381aa270d update bindings
Tom Henderson <tomh@tomh.org>
parents: 9114
diff changeset
  6391
                   [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
  6392
    ## 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
  6393
    cls.add_method('Receive', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6394
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6395
                   [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
  6396
    ## 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
  6397
    cls.add_method('Send', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6398
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6399
                   [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
  6400
    ## 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
  6401
    cls.add_method('SetRoutingProtocol', 
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
                   [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
  6404
                   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'): 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
  6406
    cls.add_method('GetRoutingProtocol', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6407
                   'ns3::Ptr< ns3::Ipv6RoutingProtocol >', 
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
                   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
  6410
    ## 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
  6411
    cls.add_method('AddInterface', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6412
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6413
                   [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
  6414
                   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'): 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
  6416
    cls.add_method('GetInterface', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6417
                   'ns3::Ptr< ns3::Ipv6Interface >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6418
                   [param('uint32_t', 'i')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6419
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6420
    ## 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
  6421
    cls.add_method('GetNInterfaces', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6422
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6423
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6424
                   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
  6425
    ## 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
  6426
    cls.add_method('GetInterfaceForAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6427
                   'int32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6428
                   [param('ns3::Ipv6Address', 'addr')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6429
                   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
  6430
    ## 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
  6431
    cls.add_method('GetInterfaceForPrefix', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6432
                   'int32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6433
                   [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
  6434
                   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
  6435
    ## 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
  6436
    cls.add_method('GetInterfaceForDevice', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6437
                   'int32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6438
                   [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
  6439
                   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
  6440
    ## 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
  6441
    cls.add_method('AddAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6442
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6443
                   [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
  6444
                   is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6445
    ## 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
  6446
    cls.add_method('GetAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6447
                   'ns3::Ipv6InterfaceAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6448
                   [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
  6449
                   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
  6450
    ## 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
  6451
    cls.add_method('GetNAddresses', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6452
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6453
                   [param('uint32_t', 'interface')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6454
                   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
  6455
    ## 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
  6456
    cls.add_method('RemoveAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6457
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6458
                   [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
  6459
                   is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6460
    ## 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
  6461
    cls.add_method('SetMetric', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6462
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6463
                   [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
  6464
                   is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6465
    ## 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
  6466
    cls.add_method('GetMetric', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6467
                   'uint16_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6468
                   [param('uint32_t', 'i')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6469
                   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
  6470
    ## 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
  6471
    cls.add_method('GetMtu', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6472
                   'uint16_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6473
                   [param('uint32_t', 'i')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6474
                   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
  6475
    ## 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
  6476
    cls.add_method('IsUp', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6477
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6478
                   [param('uint32_t', 'i')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6479
                   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
  6480
    ## 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
  6481
    cls.add_method('SetUp', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6482
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6483
                   [param('uint32_t', 'i')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6484
                   is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6485
    ## 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
  6486
    cls.add_method('SetDown', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6487
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6488
                   [param('uint32_t', 'i')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6489
                   is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6490
    ## 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
  6491
    cls.add_method('IsForwarding', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6492
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6493
                   [param('uint32_t', 'i')], 
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-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
  6496
    cls.add_method('SetForwarding', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6497
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6498
                   [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
  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-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
  6501
    cls.add_method('GetNetDevice', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6502
                   'ns3::Ptr< ns3::NetDevice >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6503
                   [param('uint32_t', 'i')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6504
                   is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6505
    ## 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
  6506
    cls.add_method('GetIcmpv6', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6507
                   'ns3::Ptr< ns3::Icmpv6L4Protocol >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6508
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6509
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6510
    ## 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
  6511
    cls.add_method('AddAutoconfiguredAddress', 
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('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
  6514
    ## 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
  6515
    cls.add_method('RemoveAutoconfiguredAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6516
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6517
                   [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
  6518
    ## 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
  6519
    cls.add_method('RegisterExtensions', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6520
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6521
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6522
                   is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6523
    ## 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
  6524
    cls.add_method('RegisterOptions', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6525
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6526
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6527
                   is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6528
    ## 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
  6529
    cls.add_method('DoDispose', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6530
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6531
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6532
                   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
  6533
    ## 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
  6534
    cls.add_method('NotifyNewAggregate', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6535
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6536
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6537
                   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
  6538
    ## 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
  6539
    cls.add_method('SetIpForward', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6540
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6541
                   [param('bool', 'forward')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6542
                   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
  6543
    ## 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
  6544
    cls.add_method('GetIpForward', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6545
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6546
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6547
                   is_const=True, visibility='private', is_virtual=True)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6548
    ## 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
  6549
    cls.add_method('SetSendIcmpv6Redirect', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6550
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6551
                   [param('bool', 'sendIcmpv6Redirect')], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6552
                   visibility='private', is_virtual=True)
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6553
    ## 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
  6554
    cls.add_method('GetSendIcmpv6Redirect', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6555
                   'bool', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6556
                   [], 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6557
                   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
  6558
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6559
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6560
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
  6561
    ## 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
  6562
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6563
    ## 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
  6564
    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
  6565
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6566
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6567
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
  6568
    ## 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
  6569
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6570
    ## 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
  6571
    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
  6572
    ## 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
  6573
    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
  6574
    ## 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
  6575
    cls.add_method('Copy', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6576
                   'ns3::Ptr< ns3::AttributeValue >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6577
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6578
                   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
  6579
    ## 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
  6580
    cls.add_method('DeserializeFromString', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6581
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6582
                   [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
  6583
                   is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6584
    ## 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
  6585
    cls.add_method('Get', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6586
                   'ns3::Ipv6Prefix', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6587
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6588
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6589
    ## 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
  6590
    cls.add_method('SerializeToString', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6591
                   'std::string', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6592
                   [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
  6593
                   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
  6594
    ## 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
  6595
    cls.add_method('Set', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6596
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6597
                   [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
  6598
    return
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
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
  6601
    ## 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
  6602
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6603
    ## 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
  6604
    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
  6605
    ## 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
  6606
    cls.add_method('AddLinkChangeCallback', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6607
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6608
                   [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
  6609
                   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
  6610
    ## 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
  6611
    cls.add_method('GetAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6612
                   'ns3::Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6613
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6614
                   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
  6615
    ## 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
  6616
    cls.add_method('GetBroadcast', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6617
                   'ns3::Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6618
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6619
                   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
  6620
    ## 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
  6621
    cls.add_method('GetChannel', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6622
                   'ns3::Ptr< ns3::Channel >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6623
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6624
                   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
  6625
    ## 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
  6626
    cls.add_method('GetIfIndex', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6627
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6628
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6629
                   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
  6630
    ## 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
  6631
    cls.add_method('GetMtu', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6632
                   'uint16_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6633
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6634
                   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
  6635
    ## 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
  6636
    cls.add_method('GetMulticast', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6637
                   'ns3::Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6638
                   [param('ns3::Ipv4Address', 'multicastGroup')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6639
                   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
  6640
    ## 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
  6641
    cls.add_method('GetMulticast', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6642
                   'ns3::Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6643
                   [param('ns3::Ipv6Address', 'addr')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6644
                   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
  6645
    ## 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
  6646
    cls.add_method('GetNode', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6647
                   'ns3::Ptr< ns3::Node >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6648
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6649
                   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
  6650
    ## 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
  6651
    cls.add_method('GetTypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6652
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6653
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6654
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6655
    ## 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
  6656
    cls.add_method('IsBridge', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6657
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6658
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6659
                   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
  6660
    ## 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
  6661
    cls.add_method('IsBroadcast', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6662
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6663
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6664
                   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
  6665
    ## 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
  6666
    cls.add_method('IsLinkUp', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6667
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6668
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6669
                   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
  6670
    ## 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
  6671
    cls.add_method('IsMulticast', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6672
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6673
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6674
                   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
  6675
    ## 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
  6676
    cls.add_method('IsPointToPoint', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6677
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6678
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6679
                   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
  6680
    ## 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
  6681
    cls.add_method('NeedsArp', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6682
                   'bool', 
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_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
  6685
    ## 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
  6686
    cls.add_method('Send', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6687
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6688
                   [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
  6689
                   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
  6690
    ## 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
  6691
    cls.add_method('SendFrom', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6692
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6693
                   [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
  6694
                   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
  6695
    ## 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
  6696
    cls.add_method('SetAddress', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6697
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6698
                   [param('ns3::Address', 'address')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6699
                   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
  6700
    ## 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
  6701
    cls.add_method('SetIfIndex', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6702
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6703
                   [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
  6704
                   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
  6705
    ## 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
  6706
    cls.add_method('SetMtu', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6707
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6708
                   [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
  6709
                   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
  6710
    ## 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
  6711
    cls.add_method('SetNode', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6712
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6713
                   [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
  6714
                   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
  6715
    ## 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
  6716
    cls.add_method('SetPromiscReceiveCallback', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6717
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6718
                   [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
  6719
                   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
  6720
    ## 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
  6721
    cls.add_method('SetReceiveCallback', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6722
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6723
                   [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
  6724
                   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
  6725
    ## 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
  6726
    cls.add_method('SupportsSendFrom', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6727
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6728
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6729
                   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
  6730
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6731
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6732
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
  6733
    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
  6734
    ## 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
  6735
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6736
    ## 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
  6737
    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
  6738
    ## 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
  6739
    cls.add_method('AddNeighborIndex', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6740
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6741
                   [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
  6742
    ## 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
  6743
    cls.add_method('BitCount', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6744
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6745
                   [param('uint32_t', 'numberOfNeighbors')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6746
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6747
    ## 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
  6748
    cls.add_method('Copy', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6749
                   'ns3::Ptr< ns3::NixVector >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6750
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6751
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6752
    ## 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
  6753
    cls.add_method('Deserialize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6754
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6755
                   [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
  6756
    ## 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
  6757
    cls.add_method('ExtractNeighborIndex', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6758
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6759
                   [param('uint32_t', 'numberOfBits')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6760
    ## 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
  6761
    cls.add_method('GetRemainingBits', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6762
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6763
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6764
    ## 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
  6765
    cls.add_method('GetSerializedSize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6766
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6767
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6768
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6769
    ## 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
  6770
    cls.add_method('Serialize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6771
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6772
                   [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
  6773
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6774
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6775
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6776
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
  6777
    ## 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
  6778
    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
  6779
    ## 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
  6780
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6781
    ## 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
  6782
    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
  6783
    ## 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
  6784
    cls.add_method('AddApplication', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6785
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6786
                   [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
  6787
    ## 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
  6788
    cls.add_method('AddDevice', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6789
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6790
                   [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
  6791
    ## 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
  6792
    cls.add_method('ChecksumEnabled', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6793
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6794
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6795
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6796
    ## 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
  6797
    cls.add_method('GetApplication', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6798
                   'ns3::Ptr< ns3::Application >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6799
                   [param('uint32_t', 'index')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6800
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6801
    ## 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
  6802
    cls.add_method('GetDevice', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6803
                   'ns3::Ptr< ns3::NetDevice >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6804
                   [param('uint32_t', 'index')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6805
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6806
    ## 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
  6807
    cls.add_method('GetId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6808
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6809
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6810
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6811
    ## 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
  6812
    cls.add_method('GetNApplications', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6813
                   'uint32_t', 
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
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6816
    ## 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
  6817
    cls.add_method('GetNDevices', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6818
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6819
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6820
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6821
    ## 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
  6822
    cls.add_method('GetSystemId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6823
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6824
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6825
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6826
    ## 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
  6827
    cls.add_method('GetTypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6828
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6829
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6830
                   is_static=True)
7873
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6831
    ## 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
  6832
    cls.add_method('RegisterDeviceAdditionListener', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6833
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6834
                   [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
  6835
    ## 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
  6836
    cls.add_method('RegisterProtocolHandler', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6837
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6838
                   [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
  6839
    ## 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
  6840
    cls.add_method('UnregisterDeviceAdditionListener', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6841
                   'void', 
67c6b025f766 rescan bindings
Tom Henderson <tomh@tomh.org>
parents: 7092
diff changeset
  6842
                   [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
  6843
    ## 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
  6844
    cls.add_method('UnregisterProtocolHandler', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6845
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6846
                   [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
  6847
    ## 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
  6848
    cls.add_method('DoDispose', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6849
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6850
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6851
                   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
  6852
    ## node.h (module 'network'): void ns3::Node::DoStart() [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6853
    cls.add_method('DoStart', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6854
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6855
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6856
                   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
  6857
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6858
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6859
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
  6860
    ## 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
  6861
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6862
    ## 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
  6863
    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
  6864
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6865
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6866
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
  6867
    ## 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
  6868
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6869
    ## 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
  6870
    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
  6871
    ## 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
  6872
    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
  6873
    ## 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
  6874
    cls.add_method('Copy', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6875
                   'ns3::Ptr< ns3::AttributeValue >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6876
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6877
                   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
  6878
    ## 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
  6879
    cls.add_method('DeserializeFromString', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6880
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6881
                   [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
  6882
                   is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6883
    ## 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
  6884
    cls.add_method('Get', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6885
                   'ns3::ObjectFactory', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6886
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6887
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6888
    ## 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
  6889
    cls.add_method('SerializeToString', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6890
                   'std::string', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6891
                   [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
  6892
                   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
  6893
    ## 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
  6894
    cls.add_method('Set', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6895
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6896
                   [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
  6897
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6898
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6899
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
  6900
    ## 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
  6901
    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
  6902
    ## 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
  6903
    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
  6904
    ## 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
  6905
    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
  6906
    ## 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
  6907
    cls.add_method('GetStream', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6908
                   'std::ostream *', 
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
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6911
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6912
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
  6913
    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
  6914
    ## 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
  6915
    cls.add_constructor([])
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::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
  6917
    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
  6918
    ## 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
  6919
    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
  6920
    ## 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
  6921
    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
  6922
    ## 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
  6923
    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
  6924
    ## 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
  6925
    cls.add_method('AddAtEnd', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6926
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6927
                   [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
  6928
    ## 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
  6929
    cls.add_method('AddByteTag', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6930
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6931
                   [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
  6932
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6933
    ## 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
  6934
    cls.add_method('AddHeader', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6935
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6936
                   [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
  6937
    ## 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
  6938
    cls.add_method('AddPacketTag', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6939
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6940
                   [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
  6941
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6942
    ## 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
  6943
    cls.add_method('AddPaddingAtEnd', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6944
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6945
                   [param('uint32_t', 'size')])
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'): 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
  6947
    cls.add_method('AddTrailer', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6948
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6949
                   [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
  6950
    ## 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
  6951
    cls.add_method('BeginItem', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6952
                   'ns3::PacketMetadata::ItemIterator', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6953
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6954
                   is_const=True)
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'): 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
  6956
    cls.add_method('Copy', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6957
                   'ns3::Ptr< ns3::Packet >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6958
                   [], 
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'): 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
  6961
    cls.add_method('CopyData', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6962
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6963
                   [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
  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::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
  6966
    cls.add_method('CopyData', 
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'), param('uint32_t', 'size')], 
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'): 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
  6971
    cls.add_method('CreateFragment', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6972
                   'ns3::Ptr< ns3::Packet >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6973
                   [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
  6974
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6975
    ## 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
  6976
    cls.add_method('EnableChecking', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6977
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6978
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6979
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6980
    ## 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
  6981
    cls.add_method('EnablePrinting', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6982
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6983
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6984
                   is_static=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6985
    ## 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
  6986
    cls.add_method('FindFirstMatchingByteTag', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6987
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6988
                   [param('ns3::Tag &', 'tag')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6989
                   is_const=True)
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'): 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
  6991
    cls.add_method('GetByteTagIterator', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6992
                   'ns3::ByteTagIterator', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6993
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6994
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6995
    ## 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
  6996
    cls.add_method('GetNixVector', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6997
                   'ns3::Ptr< ns3::NixVector >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6998
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  6999
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7000
    ## 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
  7001
    cls.add_method('GetPacketTagIterator', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7002
                   'ns3::PacketTagIterator', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7003
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7004
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7005
    ## 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
  7006
    cls.add_method('GetSerializedSize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7007
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7008
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7009
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7010
    ## 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
  7011
    cls.add_method('GetSize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7012
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7013
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7014
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7015
    ## 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
  7016
    cls.add_method('GetUid', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7017
                   'uint64_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7018
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7019
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7020
    ## 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
  7021
    cls.add_method('PeekData', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7022
                   'uint8_t const *', 
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
                   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
  7025
    ## 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
  7026
    cls.add_method('PeekHeader', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7027
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7028
                   [param('ns3::Header &', 'header')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7029
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7030
    ## 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
  7031
    cls.add_method('PeekPacketTag', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7032
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7033
                   [param('ns3::Tag &', 'tag')], 
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
    ## 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
  7036
    cls.add_method('PeekTrailer', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7037
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7038
                   [param('ns3::Trailer &', 'trailer')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7039
    ## 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
  7040
    cls.add_method('Print', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7041
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7042
                   [param('std::ostream &', 'os')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7043
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7044
    ## 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
  7045
    cls.add_method('PrintByteTags', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7046
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7047
                   [param('std::ostream &', 'os')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7048
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7049
    ## 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
  7050
    cls.add_method('PrintPacketTags', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7051
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7052
                   [param('std::ostream &', 'os')], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7053
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7054
    ## 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
  7055
    cls.add_method('RemoveAllByteTags', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7056
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7057
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7058
    ## 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
  7059
    cls.add_method('RemoveAllPacketTags', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7060
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7061
                   [])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7062
    ## 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
  7063
    cls.add_method('RemoveAtEnd', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7064
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7065
                   [param('uint32_t', 'size')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7066
    ## 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
  7067
    cls.add_method('RemoveAtStart', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7068
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7069
                   [param('uint32_t', 'size')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7070
    ## 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
  7071
    cls.add_method('RemoveHeader', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7072
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7073
                   [param('ns3::Header &', 'header')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7074
    ## 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
  7075
    cls.add_method('RemovePacketTag', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7076
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7077
                   [param('ns3::Tag &', 'tag')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7078
    ## 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
  7079
    cls.add_method('RemoveTrailer', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7080
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7081
                   [param('ns3::Trailer &', 'trailer')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7082
    ## 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
  7083
    cls.add_method('Serialize', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7084
                   'uint32_t', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7085
                   [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
  7086
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7087
    ## packet.h (module 'network'): void ns3::Packet::SetNixVector(ns3::Ptr<ns3::NixVector> arg0) [member function]
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7088
    cls.add_method('SetNixVector', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7089
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7090
                   [param('ns3::Ptr< ns3::NixVector >', '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_Ns3TimeChecker_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
    ## nstime.h (module 'core'): ns3::TimeChecker::TimeChecker() [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
    ## nstime.h (module 'core'): ns3::TimeChecker::TimeChecker(ns3::TimeChecker 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::TimeChecker const &', 'arg0')])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7098
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7099
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7100
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
  7101
    ## 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
  7102
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7103
    ## 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
  7104
    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
  7105
    ## 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
  7106
    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
  7107
    ## 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
  7108
    cls.add_method('Copy', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7109
                   'ns3::Ptr< ns3::AttributeValue >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7110
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7111
                   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
  7112
    ## 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
  7113
    cls.add_method('DeserializeFromString', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7114
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7115
                   [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
  7116
                   is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7117
    ## 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
  7118
    cls.add_method('Get', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7119
                   'ns3::Time', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7120
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7121
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7122
    ## 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
  7123
    cls.add_method('SerializeToString', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7124
                   'std::string', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7125
                   [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
  7126
                   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
  7127
    ## 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
  7128
    cls.add_method('Set', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7129
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7130
                   [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
  7131
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7132
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7133
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
  7134
    ## 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
  7135
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7136
    ## 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
  7137
    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
  7138
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7139
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7140
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
  7141
    ## 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
  7142
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7143
    ## 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
  7144
    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
  7145
    ## 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
  7146
    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
  7147
    ## 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
  7148
    cls.add_method('Copy', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7149
                   'ns3::Ptr< ns3::AttributeValue >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7150
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7151
                   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
  7152
    ## 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
  7153
    cls.add_method('DeserializeFromString', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7154
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7155
                   [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
  7156
                   is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7157
    ## 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
  7158
    cls.add_method('Get', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7159
                   'ns3::TypeId', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7160
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7161
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7162
    ## 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
  7163
    cls.add_method('SerializeToString', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7164
                   'std::string', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7165
                   [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
  7166
                   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
  7167
    ## 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
  7168
    cls.add_method('Set', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7169
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7170
                   [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
  7171
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7172
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7173
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
  7174
    ## 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
  7175
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7176
    ## 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
  7177
    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
  7178
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7179
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7180
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
  7181
    ## 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
  7182
    cls.add_constructor([])
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7183
    ## 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
  7184
    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
  7185
    ## 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
  7186
    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
  7187
    ## 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
  7188
    cls.add_method('Copy', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7189
                   'ns3::Ptr< ns3::AttributeValue >', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7190
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7191
                   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
  7192
    ## 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
  7193
    cls.add_method('DeserializeFromString', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7194
                   'bool', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7195
                   [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
  7196
                   is_virtual=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7197
    ## 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
  7198
    cls.add_method('Get', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7199
                   'ns3::Address', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7200
                   [], 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7201
                   is_const=True)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7202
    ## 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
  7203
    cls.add_method('SerializeToString', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7204
                   'std::string', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7205
                   [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
  7206
                   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
  7207
    ## 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
  7208
    cls.add_method('Set', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7209
                   'void', 
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7210
                   [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
  7211
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7212
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7213
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
  7214
    module = root_module
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7215
    register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7216
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7217
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7218
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
  7219
    return
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7220
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7221
def main():
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7222
    out = FileCodeSink(sys.stdout)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7223
    root_module = module_init()
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7224
    register_types(root_module)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7225
    register_methods(root_module)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7226
    register_functions(root_module)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7227
    root_module.generate(out)
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7228
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7229
if __name__ == '__main__':
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7230
    main()
3abb8ea99636 Bug 1105 Move topology helpers in separate per-device modules
John Abraham<john.abraham@gatech.edu>
parents:
diff changeset
  7231