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