transformersbook/codeparrot · Datasets at Fast360
{
// 获取包含Hugging Face文本的span元素
const spans = link.querySelectorAll('span.whitespace-nowrap, span.hidden.whitespace-nowrap');
spans.forEach(span => {
if (span.textContent && span.textContent.trim().match(/Hugging\s*Face/i)) {
span.textContent = 'AI快站';
}
});
});
// 替换logo图片的alt属性
document.querySelectorAll('img[alt*="Hugging"], img[alt*="Face"]').forEach(img => {
if (img.alt.match(/Hugging\s*Face/i)) {
img.alt = 'AI快站 logo';
}
});
}
// 替换导航栏中的链接
function replaceNavigationLinks() {
// 已替换标记,防止重复运行
if (window._navLinksReplaced) {
return;
}
// 已经替换过的链接集合,防止重复替换
const replacedLinks = new Set();
// 只在导航栏区域查找和替换链接
const headerArea = document.querySelector('header') || document.querySelector('nav');
if (!headerArea) {
return;
}
// 在导航区域内查找链接
const navLinks = headerArea.querySelectorAll('a');
navLinks.forEach(link => {
// 如果已经替换过,跳过
if (replacedLinks.has(link)) return;
const linkText = link.textContent.trim();
const linkHref = link.getAttribute('href') || '';
// 替换Spaces链接 - 仅替换一次
if (
(linkHref.includes('/spaces') || linkHref === '/spaces' ||
linkText === 'Spaces' || linkText.match(/^s*Spacess*$/i)) &&
linkText !== 'OCR模型免费转Markdown' &&
linkText !== 'OCR模型免费转Markdown'
) {
link.textContent = 'OCR模型免费转Markdown';
link.href = 'https://fast360.xyz';
link.setAttribute('target', '_blank');
link.setAttribute('rel', 'noopener noreferrer');
replacedLinks.add(link);
}
// 删除Posts链接
else if (
(linkHref.includes('/posts') || linkHref === '/posts' ||
linkText === 'Posts' || linkText.match(/^s*Postss*$/i))
) {
if (link.parentNode) {
link.parentNode.removeChild(link);
}
replacedLinks.add(link);
}
// 替换Docs链接 - 仅替换一次
else if (
(linkHref.includes('/docs') || linkHref === '/docs' ||
linkText === 'Docs' || linkText.match(/^s*Docss*$/i)) &&
linkText !== '模型下载攻略'
) {
link.textContent = '模型下载攻略';
link.href = '/';
replacedLinks.add(link);
}
// 删除Enterprise链接
else if (
(linkHref.includes('/enterprise') || linkHref === '/enterprise' ||
linkText === 'Enterprise' || linkText.match(/^s*Enterprises*$/i))
) {
if (link.parentNode) {
link.parentNode.removeChild(link);
}
replacedLinks.add(link);
}
});
// 查找可能嵌套的Spaces和Posts文本
const textNodes = [];
function findTextNodes(element) {
if (element.nodeType === Node.TEXT_NODE) {
const text = element.textContent.trim();
if (text === 'Spaces' || text === 'Posts' || text === 'Enterprise') {
textNodes.push(element);
}
} else {
for (const child of element.childNodes) {
findTextNodes(child);
}
}
}
// 只在导航区域内查找文本节点
findTextNodes(headerArea);
// 替换找到的文本节点
textNodes.forEach(node => {
const text = node.textContent.trim();
if (text === 'Spaces') {
node.textContent = node.textContent.replace(/Spaces/g, 'OCR模型免费转Markdown');
} else if (text === 'Posts') {
// 删除Posts文本节点
if (node.parentNode) {
node.parentNode.removeChild(node);
}
} else if (text === 'Enterprise') {
// 删除Enterprise文本节点
if (node.parentNode) {
node.parentNode.removeChild(node);
}
}
});
// 标记已替换完成
window._navLinksReplaced = true;
}
// 替换代码区域中的域名
function replaceCodeDomains() {
// 特别处理span.hljs-string和span.njs-string元素
document.querySelectorAll('span.hljs-string, span.njs-string, span[class*="hljs-string"], span[class*="njs-string"]').forEach(span => {
if (span.textContent && span.textContent.includes('huggingface.co')) {
span.textContent = span.textContent.replace(/huggingface.co/g, 'aifasthub.com');
}
});
// 替换hljs-string类的span中的域名(移除多余的转义符号)
document.querySelectorAll('span.hljs-string, span[class*="hljs-string"]').forEach(span => {
if (span.textContent && span.textContent.includes('huggingface.co')) {
span.textContent = span.textContent.replace(/huggingface.co/g, 'aifasthub.com');
}
});
// 替换pre和code标签中包含git clone命令的域名
document.querySelectorAll('pre, code').forEach(element => {
if (element.textContent && element.textContent.includes('git clone')) {
const text = element.innerHTML;
if (text.includes('huggingface.co')) {
element.innerHTML = text.replace(/huggingface.co/g, 'aifasthub.com');
}
}
});
// 处理特定的命令行示例
document.querySelectorAll('pre, code').forEach(element => {
const text = element.innerHTML;
if (text.includes('huggingface.co')) {
// 针对git clone命令的专门处理
if (text.includes('git clone') || text.includes('GIT_LFS_SKIP_SMUDGE=1')) {
element.innerHTML = text.replace(/huggingface.co/g, 'aifasthub.com');
}
}
});
// 特别处理模型下载页面上的代码片段
document.querySelectorAll('.flex.border-t, .svelte_hydrator, .inline-block').forEach(container => {
const content = container.innerHTML;
if (content && content.includes('huggingface.co')) {
container.innerHTML = content.replace(/huggingface.co/g, 'aifasthub.com');
}
});
// 特别处理模型仓库克隆对话框中的代码片段
try {
// 查找包含"Clone this model repository"标题的对话框
const cloneDialog = document.querySelector('.svelte_hydration_boundary, [data-target="MainHeader"]');
if (cloneDialog) {
// 查找对话框中所有的代码片段和命令示例
const codeElements = cloneDialog.querySelectorAll('pre, code, span');
codeElements.forEach(element => {
if (element.textContent && element.textContent.includes('huggingface.co')) {
if (element.innerHTML.includes('huggingface.co')) {
element.innerHTML = element.innerHTML.replace(/huggingface.co/g, 'aifasthub.com');
} else {
element.textContent = element.textContent.replace(/huggingface.co/g, 'aifasthub.com');
}
}
});
}
// 更精确地定位克隆命令中的域名
document.querySelectorAll('[data-target]').forEach(container => {
const codeBlocks = container.querySelectorAll('pre, code, span.hljs-string');
codeBlocks.forEach(block => {
if (block.textContent && block.textContent.includes('huggingface.co')) {
if (block.innerHTML.includes('huggingface.co')) {
block.innerHTML = block.innerHTML.replace(/huggingface.co/g, 'aifasthub.com');
} else {
block.textContent = block.textContent.replace(/huggingface.co/g, 'aifasthub.com');
}
}
});
});
} catch (e) {
// 错误处理但不打印日志
}
}
// 当DOM加载完成后执行替换
if (document.readyState === 'loading') {
document.addEventListener('DOMContentLoaded', () => {
replaceHeaderBranding();
replaceNavigationLinks();
replaceCodeDomains();
// 只在必要时执行替换 - 3秒后再次检查
setTimeout(() => {
if (!window._navLinksReplaced) {
console.log('[Client] 3秒后重新检查导航链接');
replaceNavigationLinks();
}
}, 3000);
});
} else {
replaceHeaderBranding();
replaceNavigationLinks();
replaceCodeDomains();
// 只在必要时执行替换 - 3秒后再次检查
setTimeout(() => {
if (!window._navLinksReplaced) {
console.log('[Client] 3秒后重新检查导航链接');
replaceNavigationLinks();
}
}, 3000);
}
// 增加一个MutationObserver来处理可能的动态元素加载
const observer = new MutationObserver(mutations => {
// 检查是否导航区域有变化
const hasNavChanges = mutations.some(mutation => {
// 检查是否存在header或nav元素变化
return Array.from(mutation.addedNodes).some(node => {
if (node.nodeType === Node.ELEMENT_NODE) {
// 检查是否是导航元素或其子元素
if (node.tagName === 'HEADER' || node.tagName === 'NAV' ||
node.querySelector('header, nav')) {
return true;
}
// 检查是否在导航元素内部
let parent = node.parentElement;
while (parent) {
if (parent.tagName === 'HEADER' || parent.tagName === 'NAV') {
return true;
}
parent = parent.parentElement;
}
}
return false;
});
});
// 只在导航区域有变化时执行替换
if (hasNavChanges) {
// 重置替换状态,允许再次替换
window._navLinksReplaced = false;
replaceHeaderBranding();
replaceNavigationLinks();
}
});
// 开始观察document.body的变化,包括子节点
if (document.body) {
observer.observe(document.body, { childList: true, subtree: true });
} else {
document.addEventListener('DOMContentLoaded', () => {
observer.observe(document.body, { childList: true, subtree: true });
});
}
})();
')\n text = soup.findAll('div', text=True)\n self.failUnless(len(text) == 2)\n self.failUnless(text[0] == u'Text 01')\n \n\nif __name__ == \"__main__\":\n #import sys;sys.argv = ['', 'Test.testName']\n unittest.main()\n"},"license":{"kind":"string","value":"gpl-3.0"}}},{"rowIdx":475214,"cells":{"repo_name":{"kind":"string","value":"mdeejay/kernel_huawei_omap4"},"path":{"kind":"string","value":"tools/perf/scripts/python/syscall-counts.py"},"copies":{"kind":"string","value":"11181"},"size":{"kind":"string","value":"1522"},"content":{"kind":"string","value":"# system call counts\n# (c) 2010, Tom Zanussi \n# Licensed under the terms of the GNU GPL License version 2\n#\n# Displays system-wide system call totals, broken down by syscall.\n# If a [comm] arg is specified, only syscalls called by [comm] are displayed.\n\nimport os\nimport sys\n\nsys.path.append(os.environ['PERF_EXEC_PATH'] + \\\n\t'/scripts/python/Perf-Trace-Util/lib/Perf/Trace')\n\nfrom perf_trace_context import *\nfrom Core import *\nfrom Util import syscall_name\n\nusage = \"perf script -s syscall-counts.py [comm]\\n\";\n\nfor_comm = None\n\nif len(sys.argv) > 2:\n\tsys.exit(usage)\n\nif len(sys.argv) > 1:\n\tfor_comm = sys.argv[1]\n\nsyscalls = autodict()\n\ndef trace_begin():\n\tprint \"Press control+C to stop and show the summary\"\n\ndef trace_end():\n\tprint_syscall_totals()\n\ndef raw_syscalls__sys_enter(event_name, context, common_cpu,\n\tcommon_secs, common_nsecs, common_pid, common_comm,\n\tid, args):\n\tif for_comm is not None:\n\t\tif common_comm != for_comm:\n\t\t\treturn\n\ttry:\n\t\tsyscalls[id] += 1\n\texcept TypeError:\n\t\tsyscalls[id] = 1\n\ndef print_syscall_totals():\n if for_comm is not None:\n\t print \"\\nsyscall events for %s:\\n\\n\" % (for_comm),\n else:\n\t print \"\\nsyscall events:\\n\\n\",\n\n print \"%-40s %10s\\n\" % (\"event\", \"count\"),\n print \"%-40s %10s\\n\" % (\"----------------------------------------\", \\\n \"-----------\"),\n\n for id, val in sorted(syscalls.iteritems(), key = lambda(k, v): (v, k), \\\n\t\t\t\t reverse = True):\n\t print \"%-40s %10d\\n\" % (syscall_name(id), val),\n"},"license":{"kind":"string","value":"gpl-2.0"}}},{"rowIdx":475215,"cells":{"repo_name":{"kind":"string","value":"valkyriesavage/invenio"},"path":{"kind":"string","value":"modules/bibupload/lib/batchuploader_engine.py"},"copies":{"kind":"string","value":"2"},"size":{"kind":"string","value":"22837"},"content":{"kind":"string","value":"# -*- coding: utf-8 -*-\n##\n## This file is part of Invenio.\n## Copyright (C) 2010, 2011 CERN.\n##\n## Invenio is free software; you can redistribute it and/or\n## modify it under the terms of the GNU General Public License as\n## published by the Free Software Foundation; either version 2 of the\n## License, or (at your option) any later version.\n##\n## Invenio is distributed in the hope that it will be useful, but\n## WITHOUT ANY WARRANTY; without even the implied warranty of\n## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n## General Public License for more details.\n##\n## You should have received a copy of the GNU General Public License\n## along with Invenio; if not, write to the Free Software Foundation, Inc.,\n## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.\n\n\"\"\"\nBatch Uploader core functions. Uploading metadata and documents.\n\"\"\"\n\nimport os\nimport pwd, grp\nimport time\nimport tempfile\n\nfrom invenio.dbquery import run_sql\nfrom invenio.access_control_engine import acc_authorize_action\nfrom invenio.webuser import collect_user_info\nfrom invenio.config import CFG_BINDIR, CFG_TMPDIR, CFG_LOGDIR, \\\n CFG_BIBUPLOAD_EXTERNAL_SYSNO_TAG, \\\n CFG_BIBUPLOAD_EXTERNAL_OAIID_TAG, \\\n CFG_OAI_ID_FIELD, CFG_BATCHUPLOADER_DAEMON_DIR, \\\n CFG_BATCHUPLOADER_WEB_ROBOT_RIGHTS, \\\n CFG_BATCHUPLOADER_WEB_ROBOT_AGENT, \\\n CFG_PREFIX, CFG_SITE_LANG\nfrom invenio.webinterface_handler_wsgi_utils import Field\nfrom invenio.textutils import encode_for_xml\nfrom invenio.bibtask import task_low_level_submission\nfrom invenio.messages import gettext_set_language\n\nPERMITTED_MODES = ['-i', '-r', '-c', '-a', '-ir',\n '--insert', '--replace', '--correct', '--append']\n\ndef cli_allocate_record(req):\n req.content_type = \"text/plain\"\n req.send_http_header()\n\n # check IP and useragent:\n if not _check_client_ip(req):\n msg = \"[ERROR] Sorry, client IP %s cannot use the service.\" % _get_client_ip(req)\n _log(msg)\n return _write(req, msg)\n if not _check_client_useragent(req):\n msg = \"[ERROR] Sorry, this useragent cannot use the service.\"\n _log(msg)\n return _write(req, msg)\n\n recid = run_sql(\"insert into bibrec (creation_date,modification_date) values(NOW(),NOW())\")\n return recid\n\ndef cli_upload(req, file_content=None, mode=None):\n \"\"\" Robot interface for uploading MARC files\n \"\"\"\n req.content_type = \"text/plain\"\n req.send_http_header()\n\n # check IP and useragent:\n if not _check_client_ip(req):\n msg = \"[ERROR] Sorry, client IP %s cannot use the service.\" % _get_client_ip(req)\n _log(msg)\n return _write(req, msg)\n if not _check_client_useragent(req):\n msg = \"[ERROR] Sorry, this useragent cannot use the service.\"\n _log(msg)\n return _write(req, msg)\n\n arg_file = file_content\n arg_mode = mode\n if not arg_file:\n msg = \"[ERROR] Please specify file body to input.\"\n _log(msg)\n return _write(req, msg)\n if not arg_mode:\n msg = \"[ERROR] Please specify upload mode to use.\"\n _log(msg)\n return _write(req, msg)\n if not arg_mode in PERMITTED_MODES:\n msg = \"[ERROR] Invalid upload mode.\"\n _log(msg)\n return _write(req, msg)\n if isinstance(arg_file, Field):\n arg_file = arg_file.value\n\n # write temporary file:\n tempfile.tempdir = CFG_TMPDIR\n\n filename = tempfile.mktemp(prefix=\"batchupload_\" + \\\n time.strftime(\"%Y%m%d%H%M%S\", time.localtime()) + \"_\")\n\n filedesc = open(filename, 'w')\n filedesc.write(arg_file)\n filedesc.close()\n\n # check if this client can run this file:\n client_ip = _get_client_ip(req)\n permitted_dbcollids = CFG_BATCHUPLOADER_WEB_ROBOT_RIGHTS[client_ip]\n if permitted_dbcollids != ['*']: # wildcard\n allow = _check_client_can_submit_file(client_ip, filename, req, 0)\n if not allow:\n msg = \"[ERROR] Cannot submit such a file from this IP. (Wrong collection.)\"\n _log(msg)\n return _write(req, msg)\n\n # run upload command:\n cmd = CFG_BINDIR + '/bibupload -u batchupload ' + arg_mode + ' ' + filename\n os.system(cmd)\n msg = \"[INFO] %s\" % cmd\n _log(msg)\n return _write(req, msg)\n\ndef metadata_upload(req, metafile=None, mode=None, exec_date=None, exec_time=None, metafilename=None, ln=CFG_SITE_LANG):\n \"\"\"\n Metadata web upload service. Get upload parameters and exec bibupload for the given file.\n Finally, write upload history.\n @return: tuple (error code, message)\n error code: code that indicates if an error ocurred\n message: message describing the error\n \"\"\"\n # start output:\n req.content_type = \"text/html\"\n req.send_http_header()\n\n # write temporary file:\n metafile = metafile.value\n user_info = collect_user_info(req)\n tempfile.tempdir = CFG_TMPDIR\n filename = tempfile.mktemp(prefix=\"batchupload_\" + \\\n user_info['nickname'] + \"_\" + time.strftime(\"%Y%m%d%H%M%S\",\n time.localtime()) + \"_\" + metafilename + \"_\")\n filedesc = open(filename, 'w')\n filedesc.write(metafile)\n filedesc.close()\n\n # check if this client can run this file:\n allow = _check_client_can_submit_file(req=req, metafile=metafile, webupload=1, ln=ln)\n if allow[0] != 0:\n return (allow[0], allow[1])\n\n # run upload command:\n if exec_date:\n date = \"\\'\" + exec_date + ' ' + exec_time + \"\\'\"\n jobid = task_low_level_submission('bibupload', user_info['nickname'], mode, \"--name=\" + metafilename,\"-t\", date, filename)\n else:\n jobid = task_low_level_submission('bibupload', user_info['nickname'], mode, \"--name=\" + metafilename, filename)\n\n # write batch upload history\n run_sql(\"\"\"INSERT INTO hstBATCHUPLOAD (user, submitdate,\n filename, execdate, id_schTASK, batch_mode)\n VALUES (%s, NOW(), %s, %s, %s, \"metadata\")\"\"\",\n (user_info['nickname'], metafilename,\n exec_date != \"\" and (exec_date + ' ' + exec_time)\n or time.strftime(\"%Y-%m-%d %H:%M:%S\"), str(jobid), ))\n return (0, \"Task %s queued\" % str(jobid))\n\ndef document_upload(req=None, folder=\"\", matching=\"\", mode=\"\", exec_date=\"\", exec_time=\"\", ln=CFG_SITE_LANG):\n \"\"\" Take files from the given directory and upload them with the appropiate mode.\n @parameters:\n + folder: Folder where the files to upload are stored\n + matching: How to match file names with record fields (report number, barcode,...)\n + mode: Upload mode (append, revise, replace)\n @return: tuple (file, error code)\n file: file name causing the error to notify the user\n error code:\n 1 - More than one possible recID, ambiguous behaviour\n 2 - No records match that file name\n 3 - File already exists\n \"\"\"\n import sys\n if sys.hexversion < 0x2060000:\n from md5 import md5\n else:\n from hashlib import md5\n from invenio.bibdocfile import BibRecDocs, file_strip_ext\n import shutil\n from invenio.search_engine import perform_request_search, \\\n search_pattern, \\\n guess_collection_of_a_record\n _ = gettext_set_language(ln)\n errors = []\n info = [0, []] # Number of files read, name of the files\n try:\n files = os.listdir(folder)\n except OSError, error:\n errors.append((\"\", error))\n return errors, info\n err_desc = {1: _(\"More than one possible recID, ambiguous behaviour\"), 2: _(\"No records match that file name\"),\n 3: _(\"File already exists\"), 4: _(\"A file with the same name and format already exists\"),\n 5: _(\"No rights to upload to collection '%s'\")}\n # Create directory DONE/ if doesn't exist\n folder = (folder[-1] == \"/\") and folder or (folder + \"/\")\n files_done_dir = folder + \"DONE/\"\n try:\n os.mkdir(files_done_dir)\n except OSError:\n # Directory exists or no write permission\n pass\n for docfile in files:\n if os.path.isfile(os.path.join(folder, docfile)):\n info[0] += 1\n identifier = file_strip_ext(docfile)\n extension = docfile[len(identifier):]\n rec_id = None\n if identifier:\n rec_id = search_pattern(p=identifier, f=matching, m='e')\n if not rec_id:\n errors.append((docfile, err_desc[2]))\n continue\n elif len(rec_id) > 1:\n errors.append((docfile, err_desc[1]))\n continue\n else:\n rec_id = str(list(rec_id)[0])\n rec_info = BibRecDocs(rec_id)\n if rec_info.bibdocs:\n for bibdoc in rec_info.bibdocs:\n attached_files = bibdoc.list_all_files()\n file_md5 = md5(open(os.path.join(folder, docfile), \"rb\").read()).hexdigest()\n num_errors = len(errors)\n for attached_file in attached_files:\n if attached_file.checksum == file_md5:\n errors.append((docfile, err_desc[3]))\n break\n elif attached_file.fullname == docfile:\n errors.append((docfile, err_desc[4]))\n break\n if len(errors) > num_errors:\n continue\n # Check if user has rights to upload file\n file_collection = guess_collection_of_a_record(int(rec_id))\n auth_code, auth_message = acc_authorize_action(req, 'runbatchuploader', collection=file_collection)\n if auth_code != 0:\n error_msg = err_desc[5] % file_collection\n errors.append((docfile, error_msg))\n continue\n tempfile.tempdir = CFG_TMPDIR\n # Move document to be uploaded to temporary folder\n tmp_file = tempfile.mktemp(prefix=identifier + \"_\" + time.strftime(\"%Y%m%d%H%M%S\", time.localtime()) + \"_\", suffix=extension)\n shutil.copy(os.path.join(folder, docfile), tmp_file)\n # Create MARC temporary file with FFT tag and call bibupload\n filename = tempfile.mktemp(prefix=identifier + '_')\n filedesc = open(filename, 'w')\n marc_content = \"\"\" \n %(rec_id)s\n \n %(name)s\n %(path)s\n \n \"\"\" % {'rec_id': rec_id,\n 'name': encode_for_xml(identifier),\n 'path': encode_for_xml(tmp_file),\n }\n filedesc.write(marc_content)\n filedesc.close()\n info[1].append(docfile)\n user_info = collect_user_info(req)\n user = user_info['nickname']\n if not user:\n user = \"batchupload\"\n # Execute bibupload with the appropiate mode\n if exec_date:\n date = '--runtime=' + \"\\'\" + exec_date + ' ' + exec_time + \"\\'\"\n jobid = task_low_level_submission('bibupload', user, \"--\" + mode, \"--name=\" + docfile, date, filename)\n else:\n jobid = task_low_level_submission('bibupload', user, \"--\" + mode, \"--name=\" + docfile, filename)\n\n # write batch upload history\n run_sql(\"\"\"INSERT INTO hstBATCHUPLOAD (user, submitdate,\n filename, execdate, id_schTASK, batch_mode)\n VALUES (%s, NOW(), %s, %s, %s, \"document\")\"\"\",\n (user_info['nickname'], docfile,\n exec_date != \"\" and (exec_date + ' ' + exec_time)\n or time.strftime(\"%Y-%m-%d %H:%M:%S\"), str(jobid)))\n\n # Move file to DONE folder\n done_filename = docfile + \"_\" + time.strftime(\"%Y%m%d%H%M%S\", time.localtime()) + \"_\" + str(jobid)\n try:\n os.rename(os.path.join(folder, docfile), os.path.join(files_done_dir, done_filename))\n except OSError:\n errors.append('MoveError')\n return errors, info\n\ndef get_user_metadata_uploads(req):\n \"\"\"Retrieve all metadata upload history information for a given user\"\"\"\n user_info = collect_user_info(req)\n upload_list = run_sql(\"\"\"SELECT DATE_FORMAT(h.submitdate, '%%Y-%%m-%%d %%H:%%i:%%S'), \\\n h.filename, DATE_FORMAT(h.execdate, '%%Y-%%m-%%d %%H:%%i:%%S'), \\\n s.status \\\n FROM hstBATCHUPLOAD h INNER JOIN schTASK s \\\n ON h.id_schTASK = s.id \\\n WHERE h.user=%s and h.batch_mode=\"metadata\"\n ORDER BY h.submitdate DESC\"\"\", (user_info['nickname'],))\n return upload_list\n\ndef get_user_document_uploads(req):\n \"\"\"Retrieve all document upload history information for a given user\"\"\"\n user_info = collect_user_info(req)\n upload_list = run_sql(\"\"\"SELECT DATE_FORMAT(h.submitdate, '%%Y-%%m-%%d %%H:%%i:%%S'), \\\n h.filename, DATE_FORMAT(h.execdate, '%%Y-%%m-%%d %%H:%%i:%%S'), \\\n s.status \\\n FROM hstBATCHUPLOAD h INNER JOIN schTASK s \\\n ON h.id_schTASK = s.id \\\n WHERE h.user=%s and h.batch_mode=\"document\"\n ORDER BY h.submitdate DESC\"\"\", (user_info['nickname'],))\n return upload_list\n\ndef get_daemon_doc_files():\n \"\"\" Return all files found in batchuploader document folders \"\"\"\n files = {}\n for folder in ['/revise', '/append']:\n try:\n daemon_dir = CFG_BATCHUPLOADER_DAEMON_DIR[0] == '/' and CFG_BATCHUPLOADER_DAEMON_DIR \\\n or CFG_PREFIX + '/' + CFG_BATCHUPLOADER_DAEMON_DIR\n directory = daemon_dir + '/documents' + folder\n files[directory] = [(filename, []) for filename in os.listdir(directory) if os.path.isfile(os.path.join(directory, filename))]\n for file_instance, info in files[directory]:\n stat_info = os.lstat(os.path.join(directory, file_instance))\n info.append(\"%s\" % pwd.getpwuid(stat_info.st_uid)[0]) # Owner\n info.append(\"%s\" % grp.getgrgid(stat_info.st_gid)[0]) # Group\n info.append(\"%d\" % stat_info.st_size) # Size\n time_stat = stat_info.st_mtime\n time_fmt = \"%Y-%m-%d %R\"\n info.append(time.strftime(time_fmt, time.gmtime(time_stat))) # Last modified\n except OSError:\n pass\n return files\n\ndef get_daemon_meta_files():\n \"\"\" Return all files found in batchuploader metadata folders \"\"\"\n files = {}\n for folder in ['/correct', '/replace', '/insert', '/append']:\n try:\n daemon_dir = CFG_BATCHUPLOADER_DAEMON_DIR[0] == '/' and CFG_BATCHUPLOADER_DAEMON_DIR \\\n or CFG_PREFIX + '/' + CFG_BATCHUPLOADER_DAEMON_DIR\n directory = daemon_dir + '/metadata' + folder\n files[directory] = [(filename, []) for filename in os.listdir(directory) if os.path.isfile(os.path.join(directory, filename))]\n for file_instance, info in files[directory]:\n stat_info = os.lstat(os.path.join(directory, file_instance))\n info.append(\"%s\" % pwd.getpwuid(stat_info.st_uid)[0]) # Owner\n info.append(\"%s\" % grp.getgrgid(stat_info.st_gid)[0]) # Group\n info.append(\"%d\" % stat_info.st_size) # Size\n time_stat = stat_info.st_mtime\n time_fmt = \"%Y-%m-%d %R\"\n info.append(time.strftime(time_fmt, time.gmtime(time_stat))) # Last modified\n except OSError:\n pass\n return files\n\ndef _get_client_ip(req):\n \"\"\"Return client IP address from req object.\"\"\"\n return str(req.remote_ip)\n\ndef _check_client_ip(req):\n \"\"\"\n Is this client permitted to use the service?\n \"\"\"\n client_ip = _get_client_ip(req)\n if client_ip in CFG_BATCHUPLOADER_WEB_ROBOT_RIGHTS.keys():\n return True\n return False\n\ndef _check_client_useragent(req):\n \"\"\"\n Is this user agent permitted to use the service?\n \"\"\"\n user_info = collect_user_info(req)\n client_useragent = user_info['agent']\n if client_useragent in CFG_BATCHUPLOADER_WEB_ROBOT_AGENT:\n return True\n return False\n\ndef _check_client_can_submit_file(client_ip=\"\", metafile=\"\", req=None, webupload=0, ln=CFG_SITE_LANG):\n \"\"\"\n Is this client able to upload such a FILENAME?\n check 980 $a values and collection tags in the file to see if they are among the\n permitted ones as specified by CFG_BATCHUPLOADER_WEB_ROBOT_RIGHTS and ACC_AUTHORIZE_ACTION.\n Useful to make sure that the client does not override other records by\n mistake.\n \"\"\"\n from invenio.bibrecord import create_records\n\n _ = gettext_set_language(ln)\n recs = create_records(metafile, 0, 0)\n user_info = collect_user_info(req)\n\n filename_tag980_values = _detect_980_values_from_marcxml_file(recs)\n for filename_tag980_value in filename_tag980_values:\n if not filename_tag980_value:\n if not webupload:\n return False\n else:\n return(1, \"Invalid tag 980 value\")\n if not webupload:\n if not filename_tag980_value in CFG_BATCHUPLOADER_WEB_ROBOT_RIGHTS[client_ip]:\n return False\n else:\n auth_code, auth_message = acc_authorize_action(req, 'runbatchuploader', collection=filename_tag980_value)\n if auth_code != 0:\n error_msg = _(\"The user '%(x_user)s' is not authorized to modify collection '%(x_coll)s'\") % \\\n {'x_user': user_info['nickname'], 'x_coll': filename_tag980_value}\n return (auth_code, error_msg)\n\n filename_rec_id_collections = _detect_collections_from_marcxml_file(recs)\n\n for filename_rec_id_collection in filename_rec_id_collections:\n if not webupload:\n if not filename_rec_id_collection in CFG_BATCHUPLOADER_WEB_ROBOT_RIGHTS[client_ip]:\n return False\n else:\n auth_code, auth_message = acc_authorize_action(req, 'runbatchuploader', collection=filename_rec_id_collection)\n if auth_code != 0:\n error_msg = _(\"The user '%(x_user)s' is not authorized to modify collection '%(x_coll)s'\") % \\\n {'x_user': user_info['nickname'], 'x_coll': filename_rec_id_collection}\n return (auth_code, error_msg)\n if not webupload:\n return True\n else:\n return (0, \" \")\n\ndef _detect_980_values_from_marcxml_file(recs):\n \"\"\"\n Read MARCXML file and return list of 980 $a values found in that file.\n Useful for checking rights.\n \"\"\"\n from invenio.bibrecord import record_get_field_values\n\n collection_tag = run_sql(\"SELECT value FROM tag, field_tag, field \\\n WHERE tag.id=field_tag.id_tag AND \\\n field_tag.id_field=field.id AND \\\n field.code='collection'\")\n collection_tag = collection_tag[0][0]\n dbcollids = {}\n for rec, dummy1, dummy2 in recs:\n if rec:\n for tag980 in record_get_field_values(rec,\n tag=collection_tag[:3],\n ind1=collection_tag[3],\n ind2=collection_tag[4],\n code=collection_tag[5]):\n dbcollids[tag980] = 1\n return dbcollids.keys()\n\n\ndef _detect_collections_from_marcxml_file(recs):\n \"\"\"\n Extract all possible recIDs from MARCXML file and guess collections\n for these recIDs.\n \"\"\"\n from invenio.bibrecord import record_get_field_values\n from invenio.search_engine import guess_collection_of_a_record\n from invenio.bibupload import find_record_from_sysno, \\\n find_records_from_extoaiid, \\\n find_record_from_oaiid\n\n dbcollids = {}\n sysno_tag = CFG_BIBUPLOAD_EXTERNAL_SYSNO_TAG\n oaiid_tag = CFG_BIBUPLOAD_EXTERNAL_OAIID_TAG\n oai_tag = CFG_OAI_ID_FIELD\n for rec, dummy1, dummy2 in recs:\n if rec:\n for tag001 in record_get_field_values(rec, '001'):\n collection = guess_collection_of_a_record(int(tag001))\n dbcollids[collection] = 1\n for tag_sysno in record_get_field_values(rec, tag=sysno_tag[:3],\n ind1=sysno_tag[3],\n ind2=sysno_tag[4],\n code=sysno_tag[5]):\n record = find_record_from_sysno(tag_sysno)\n collection = guess_collection_of_a_record(int(record))\n dbcollids[collection] = 1\n for tag_oaiid in record_get_field_values(rec, tag=oaiid_tag[:3],\n ind1=oaiid_tag[3],\n ind2=oaiid_tag[4],\n code=oaiid_tag[5]):\n record = find_records_from_extoaiid(tag_oaiid)\n collection = guess_collection_of_a_record(int(record))\n dbcollids[collection] = 1\n for tag_oai in record_get_field_values(rec, tag=oai_tag[0:3],\n ind1=oai_tag[3],\n ind2=oai_tag[4],\n code=oai_tag[5]):\n record = find_record_from_oaiid(tag_oai)\n collection = guess_collection_of_a_record(int(record))\n dbcollids[collection] = 1\n return dbcollids.keys()\n\n\n\ndef _log(msg, logfile=\"webupload.log\"):\n \"\"\"\n Log MSG into LOGFILE with timestamp.\n \"\"\"\n filedesc = open(CFG_LOGDIR + \"/\" + logfile, \"a\")\n filedesc.write(time.strftime(\"%Y-%m-%d %H:%M:%S\") + \" --> \" + msg + \"\\n\")\n filedesc.close()\n return\n\ndef _write(req, msg):\n \"\"\"\n Write MSG to the output stream for the end user.\n \"\"\"\n req.write(msg + \"\\n\")\n return\n"},"license":{"kind":"string","value":"gpl-2.0"}}},{"rowIdx":475216,"cells":{"repo_name":{"kind":"string","value":"lo-co/atm-py"},"path":{"kind":"string","value":"atmPy/for_removal/LAS/LAS.py"},"copies":{"kind":"string","value":"6"},"size":{"kind":"string","value":"8188"},"content":{"kind":"string","value":"# -*- coding: utf-8 -*-\n\"\"\"\nCreated on Mon Nov 10 11:43:10 2014\n\n@author: htelg\n\"\"\"\n\nimport datetime\nimport warnings\n\nimport numpy as np\nimport pandas as pd\nimport pylab as plt\nfrom StringIO import StringIO as io\nfrom scipy.interpolate import UnivariateSpline\n\nfrom atmPy.aerosols.size_distr import sizedistribution\n\n\ndef read_csv(fname):\n las = _readFromFakeXLS(fname)\n sd,hk = _separate_sizedist_and_housekeep(las)\n bins = _get_bins(sd)\n dist = sizedistribution.SizeDist_TS(sd, bins, \"numberConcentration\")\n return dist\n\n\ndef _separate_sizedist_and_housekeep(las):\n \"\"\"Beside separating size distribution and housekeeping this\n function also converts the data to a numberconcentration (#/cc)\n\n Parameters\n ----------\n las: pandas.DataFrame\"\"\"\n\n sd = las.copy()\n hk = las.copy()\n k = sd.keys()\n where = np.argwhere(k == 'Flow sccm') + 1\n khk = k[: where]\n sd = sd.drop(khk, axis=1)\n hsd = k[where:]\n hk = hk.drop(hsd, axis=1)\n\n hk['Sample sccm'] = hk['Sample sccm'].astype(float)\n\n hk['Accum. Secs'] = hk['Accum. Secs'].astype(float)\n\n # normalize to time and flow\n sd = sd.mul(60./hk['Sample sccm'] / hk['Accum. Secs'], axis = 0 )\n return sd,hk\n\ndef _get_bins(frame, log=False):\n \"\"\"\n get the bins from the column labels of the size distribution DataFrame.\n \"\"\"\n frame = frame.copy()\n\n bins = np.zeros(frame.keys().shape[0]+1)\n for e, i in enumerate(frame.keys()):\n bin_s, bin_e = i.split(' ')\n bin_s = float(bin_s)\n bin_e = float(bin_e)\n bins[e] = bin_s\n bins[e+1] = bin_e\n return bins #binCenters\n\n\ndef _readFromFakeXLS(fname):\n \"\"\"reads and shapes a XLS file produced by the LAS instrument\"\"\"\n fr = pd.read_csv(fname, sep='\\t')\n newcolname = [fr.columns[e] + ' ' + str(fr.values[0][e]) for e, i in enumerate(fr.columns)]\n fr.columns = newcolname\n fr = fr.drop(fr.index[0])\n bla = pd.Series(fr['Date -'].values + ' ' + fr['Time -'].values)\n fr.index = bla.map(lambda x: datetime.datetime.strptime(x, '%m/%d/%Y %I:%M:%S.%f %p'))\n fr = fr.drop(['Date -', 'Time -'], axis=1)\n return fr\n\n\n\n\n# def _getBinCenters(frame, binedges=False, log=False):\n# \"\"\"\n# LAS gives the bin edges, this calculates the bin centers.\n# if log is True, the center will be with respect to the log10 ... log(d_{n+1})-log(d_{n})\n# if binedges is True, frame is not really a frame but the binedges (array with dtype=float)\n# Make sure you are running \"removeHousekeeping\" first\n# \"\"\"\n# frame = frame.copy()\n#\n# if binedges:\n# if log:\n# binCenters = 10**((np.log10(frame[:-1]) + np.log10(frame[1:]))/2.)\n# else:\n#\n# binCenters = (frame[:-1] + frame[1:])/2.\n# else:\n# binCenters = np.zeros(frame.keys().shape)\n# for e, i in enumerate(frame.keys()):\n# bin_s, bin_e = i.split(' ')\n# bin_s = float(bin_s)\n# bin_e = float(bin_e)\n# normTo = bin_e - bin_s\n# frame[i] = frame[i].divide(normTo)\n# if log:\n# binCenters[e] = 10**((np.log10(bin_e) + np.log10(bin_s))/2.)\n# else:\n# binCenters[e] = (bin_e + bin_s)/2.\n# return binCenters\n\n\n\n\n\n# def getTimeIntervalFromFrame(frame, start, end):\n# \"\"\"cutes out a particular time interval from frame.\n# e.g.: getTimeIntervalFromFrame(frame,'2014-10-31 18:10:00','2014-10-31 18:10:00')\"\"\"\n# frame = frame.copy()\n# if start:\n# frame = frame.truncate(before = start)\n#\n# if end:\n# frame = frame.truncate(after = end)\n#\n# return frame\n\n#\n# def frame2singleDistribution(frame):\n# frame = frame.copy()\n# singleHist = np.zeros(frame.shape[1])\n# for i in xrange(frame.shape[1]):\n# singleHist[i] = np.nansum(frame.values[:,i])\n# singleHist /= frame.shape[0]\n# return singleHist\n\n\ndef _string2Dataframe(data):\n sb = io(data)\n dataFrame = pd.read_csv(sb, sep=' ', names=('d', 'amp')).sort('d')\n return dataFrame\n\n\ndef read_Calibration_fromString(data):\n '''\n unit of diameter must be nm\ndata = \"\"\"140 88\n150 102\n173 175\n200 295\n233 480\n270 740\n315 880\n365 1130\n420 1350\n490 1930\n570 3050\n660 4200\n770 5100\n890 6300\n1040 8000\n1200 8300\n1400 10000\n1600 11500\n1880 16000\n2180 21000\n2500 28000\n3000 37000\"\"\"\n '''\n \n dataFrame = _string2Dataframe(data)\n calibrationInstance = calibration(dataFrame)\n return calibrationInstance\n\n\ndef save_Calibration(calibrationInstance, fname):\n \"\"\"should be saved hier cd ~/data/POPS_calibrations/\"\"\"\n calibrationInstance.data.to_csv(fname, index = False)\n return\n\n# def plot_distMap_LAS(fr_d,binEdgensLAS_d):\n# binCenters = getBinCenters(binEdgensLAS_d , binedges= True, log = True)\n# TIME_LAS,D_LAS,DNDP_LAS = frameToXYZ(fr_d, binCenters)\n# f,a = plt.subplots()\n# pcIm = a.pcolormesh(TIME_LAS,D_LAS,\n# DNDP_LAS,\n# norm = LogNorm(),#vmin = 3,vmax = distZoom.data.values.max()),#vmin = 1e-5),\n# # cmap=plt.cm.RdYlBu_r,\n# # cmap = plt.cm.terrain_r,\n# cmap = hm.get_colorMap_intensity(),#plt.cm.hot_r, #PuBuGn,\n# # shading='gouraud',\n# )\n# a.semilogy()\n# a.set_ylim((150,2500))\n# a.set_ylabel('Diameter (nm)')\n# a.set_xlabel('Time')\n# a.set_title('LAS')\n# cb = f.colorbar(pcIm)\n# cb.set_label(\"Particle number (cm$^{-3}\\,$s$^{-1}$)\")\n# f.autofmt_xdate()\n# # a.yaxis.set_minor_formatter(FormatStrFormatter(\"%i\"))\n# # a.yaxis.set_major_formatter(FormatStrFormatter(\"%i\"))\n\n \nclass calibration:\n def __init__(self,dataTabel):\n self.data = dataTabel\n self.calibrationFunction = self.get_calibrationFunctionSpline()\n\n def save_csv(self,fname):\n save_Calibration(self,fname)\n return\n \n def get_calibrationFunctionSpline(self, fitOrder=1):\n \"\"\"\n Performes a spline fit/smoothening (scipy.interpolate.UnivariateSpline) of d over amp (yes this way not the other way around).\n \n Returns (generates): creates a function self.spline which can later be used to calculate d from amp \n \n Optional Parameters:\n \\t s: int - oder of the spline function\n \\t noOfPts: int - length of generated graph\n \\t plot: boolean - if result is supposed to be plotted\n \"\"\"\n\n # The following two step method is necessary to get a smooth curve. \n #When I only do the second step on the cal_curve I get some wired whiggles\n ##### First Step\n if (self.data.amp.values[1:]-self.data.amp.values[:-1]).min() < 0:\n warnings.warn('The data represent a non injective function! This will not work. plot the calibration to see what I meen') \n\n sf = UnivariateSpline(self.data.d.values, self.data.amp.values, s=fitOrder)\n d = np.logspace(np.log10(self.data.d.values.min()), np.log10(self.data.d.values.max()), 500)\n amp = sf(d)\n \n # second step\n cal_function = UnivariateSpline(amp, d, s=fitOrder)\n return cal_function\n \n def plot_calibration(self):\n \"\"\"Plots the calibration function and data\n Arguments\n ------------\n cal: calibration instance\n \n Returns\n ------------\n figure\n axes\n calibration data graph\n calibration function graph\n \"\"\"\n cal_function = self.calibrationFunction\n amp = np.logspace(np.log10(self.data.amp.min()), np.log10(self.data.amp.max()), 500)\n d = cal_function(amp)\n \n f, a = plt.subplots()\n \n cal_data, = a.plot(self.data.d, self.data.amp, 'o', label='data',)\n cal_func, = a.plot(d, amp, label='function')\n \n a.loglog()\n \n a.set_xlim(0.9*self.data.d.min(), 1.1*self.data.d.max())\n a.set_xlabel('Diameter (nm)')\n \n a.set_ylim(0.9*self.data.amp.min(), 1.1*self.data.amp.max()) \n a.set_ylabel('Amplitude (digitizer bins)')\n \n a.set_title('Calibration curve')\n a.legend(loc = 2)\n return f, a, cal_data, cal_func"},"license":{"kind":"string","value":"mit"}}},{"rowIdx":475217,"cells":{"repo_name":{"kind":"string","value":"WhireCrow/openwrt-mt7620"},"path":{"kind":"string","value":"staging_dir/target-mipsel_r2_uClibc-0.9.33.2/root-ralink/usr/lib/python2.7/urlparse.py"},"copies":{"kind":"string","value":"32"},"size":{"kind":"string","value":"14414"},"content":{"kind":"string","value":"\"\"\"Parse (absolute and relative) URLs.\n\nurlparse module is based upon the following RFC specifications.\n\nRFC 3986 (STD66): \"Uniform Resource Identifiers\" by T. Berners-Lee, R. Fielding\nand L. Masinter, January 2005.\n\nRFC 2732 : \"Format for Literal IPv6 Addresses in URL's by R.Hinden, B.Carpenter\nand L.Masinter, December 1999.\n\nRFC 2396: \"Uniform Resource Identifiers (URI)\": Generic Syntax by T.\nBerners-Lee, R. Fielding, and L. Masinter, August 1998.\n\nRFC 2368: \"The mailto URL scheme\", by P.Hoffman , L Masinter, J. Zwinski, July 1998.\n\nRFC 1808: \"Relative Uniform Resource Locators\", by R. Fielding, UC Irvine, June\n1995.\n\nRFC 1738: \"Uniform Resource Locators (URL)\" by T. Berners-Lee, L. Masinter, M.\nMcCahill, December 1994\n\nRFC 3986 is considered the current standard and any future changes to\nurlparse module should conform with it. The urlparse module is\ncurrently not entirely compliant with this RFC due to defacto\nscenarios for parsing, and for backward compatibility purposes, some\nparsing quirks from older RFCs are retained. The testcases in\ntest_urlparse.py provides a good indicator of parsing behavior.\n\n\"\"\"\n\n__all__ = [\"urlparse\", \"urlunparse\", \"urljoin\", \"urldefrag\",\n \"urlsplit\", \"urlunsplit\", \"parse_qs\", \"parse_qsl\"]\n\n# A classification of schemes ('' means apply by default)\nuses_relative = ['ftp', 'http', 'gopher', 'nntp', 'imap',\n 'wais', 'file', 'https', 'shttp', 'mms',\n 'prospero', 'rtsp', 'rtspu', '', 'sftp',\n 'svn', 'svn+ssh']\nuses_netloc = ['ftp', 'http', 'gopher', 'nntp', 'telnet',\n 'imap', 'wais', 'file', 'mms', 'https', 'shttp',\n 'snews', 'prospero', 'rtsp', 'rtspu', 'rsync', '',\n 'svn', 'svn+ssh', 'sftp','nfs','git', 'git+ssh']\nnon_hierarchical = ['gopher', 'hdl', 'mailto', 'news',\n 'telnet', 'wais', 'imap', 'snews', 'sip', 'sips']\nuses_params = ['ftp', 'hdl', 'prospero', 'http', 'imap',\n 'https', 'shttp', 'rtsp', 'rtspu', 'sip', 'sips',\n 'mms', '', 'sftp']\nuses_query = ['http', 'wais', 'imap', 'https', 'shttp', 'mms',\n 'gopher', 'rtsp', 'rtspu', 'sip', 'sips', '']\nuses_fragment = ['ftp', 'hdl', 'http', 'gopher', 'news',\n 'nntp', 'wais', 'https', 'shttp', 'snews',\n 'file', 'prospero', '']\n\n# Characters valid in scheme names\nscheme_chars = ('abcdefghijklmnopqrstuvwxyz'\n 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'\n '0123456789'\n '+-.')\n\nMAX_CACHE_SIZE = 20\n_parse_cache = {}\n\ndef clear_cache():\n \"\"\"Clear the parse cache.\"\"\"\n _parse_cache.clear()\n\n\nclass ResultMixin(object):\n \"\"\"Shared methods for the parsed result objects.\"\"\"\n\n @property\n def username(self):\n netloc = self.netloc\n if \"@\" in netloc:\n userinfo = netloc.rsplit(\"@\", 1)[0]\n if \":\" in userinfo:\n userinfo = userinfo.split(\":\", 1)[0]\n return userinfo\n return None\n\n @property\n def password(self):\n netloc = self.netloc\n if \"@\" in netloc:\n userinfo = netloc.rsplit(\"@\", 1)[0]\n if \":\" in userinfo:\n return userinfo.split(\":\", 1)[1]\n return None\n\n @property\n def hostname(self):\n netloc = self.netloc.split('@')[-1]\n if '[' in netloc and ']' in netloc:\n return netloc.split(']')[0][1:].lower()\n elif ':' in netloc:\n return netloc.split(':')[0].lower()\n elif netloc == '':\n return None\n else:\n return netloc.lower()\n\n @property\n def port(self):\n netloc = self.netloc.split('@')[-1].split(']')[-1]\n if ':' in netloc:\n port = netloc.split(':')[1]\n return int(port, 10)\n else:\n return None\n\nfrom collections import namedtuple\n\nclass SplitResult(namedtuple('SplitResult', 'scheme netloc path query fragment'), ResultMixin):\n\n __slots__ = ()\n\n def geturl(self):\n return urlunsplit(self)\n\n\nclass ParseResult(namedtuple('ParseResult', 'scheme netloc path params query fragment'), ResultMixin):\n\n __slots__ = ()\n\n def geturl(self):\n return urlunparse(self)\n\n\ndef urlparse(url, scheme='', allow_fragments=True):\n \"\"\"Parse a URL into 6 components:\n :///;?#\n Return a 6-tuple: (scheme, netloc, path, params, query, fragment).\n Note that we don't break the components up in smaller bits\n (e.g. netloc is a single string) and we don't expand % escapes.\"\"\"\n tuple = urlsplit(url, scheme, allow_fragments)\n scheme, netloc, url, query, fragment = tuple\n if scheme in uses_params and ';' in url:\n url, params = _splitparams(url)\n else:\n params = ''\n return ParseResult(scheme, netloc, url, params, query, fragment)\n\ndef _splitparams(url):\n if '/' in url:\n i = url.find(';', url.rfind('/'))\n if i < 0:\n return url, ''\n else:\n i = url.find(';')\n return url[:i], url[i+1:]\n\ndef _splitnetloc(url, start=0):\n delim = len(url) # position of end of domain part of url, default is end\n for c in '/?#': # look for delimiters; the order is NOT important\n wdelim = url.find(c, start) # find first of this delim\n if wdelim >= 0: # if found\n delim = min(delim, wdelim) # use earliest delim position\n return url[start:delim], url[delim:] # return (domain, rest)\n\ndef urlsplit(url, scheme='', allow_fragments=True):\n \"\"\"Parse a URL into 5 components:\n :///?#\n Return a 5-tuple: (scheme, netloc, path, query, fragment).\n Note that we don't break the components up in smaller bits\n (e.g. netloc is a single string) and we don't expand % escapes.\"\"\"\n allow_fragments = bool(allow_fragments)\n key = url, scheme, allow_fragments, type(url), type(scheme)\n cached = _parse_cache.get(key, None)\n if cached:\n return cached\n if len(_parse_cache) >= MAX_CACHE_SIZE: # avoid runaway growth\n clear_cache()\n netloc = query = fragment = ''\n i = url.find(':')\n if i > 0:\n if url[:i] == 'http': # optimize the common case\n scheme = url[:i].lower()\n url = url[i+1:]\n if url[:2] == '//':\n netloc, url = _splitnetloc(url, 2)\n if (('[' in netloc and ']' not in netloc) or\n (']' in netloc and '[' not in netloc)):\n raise ValueError(\"Invalid IPv6 URL\")\n if allow_fragments and '#' in url:\n url, fragment = url.split('#', 1)\n if '?' in url:\n url, query = url.split('?', 1)\n v = SplitResult(scheme, netloc, url, query, fragment)\n _parse_cache[key] = v\n return v\n for c in url[:i]:\n if c not in scheme_chars:\n break\n else:\n try:\n # make sure \"url\" is not actually a port number (in which case\n # \"scheme\" is really part of the path\n _testportnum = int(url[i+1:])\n except ValueError:\n scheme, url = url[:i].lower(), url[i+1:]\n\n if url[:2] == '//':\n netloc, url = _splitnetloc(url, 2)\n if (('[' in netloc and ']' not in netloc) or\n (']' in netloc and '[' not in netloc)):\n raise ValueError(\"Invalid IPv6 URL\")\n if allow_fragments and scheme in uses_fragment and '#' in url:\n url, fragment = url.split('#', 1)\n if scheme in uses_query and '?' in url:\n url, query = url.split('?', 1)\n v = SplitResult(scheme, netloc, url, query, fragment)\n _parse_cache[key] = v\n return v\n\ndef urlunparse(data):\n \"\"\"Put a parsed URL back together again. This may result in a\n slightly different, but equivalent URL, if the URL that was parsed\n originally had redundant delimiters, e.g. a ? with an empty query\n (the draft states that these are equivalent).\"\"\"\n scheme, netloc, url, params, query, fragment = data\n if params:\n url = \"%s;%s\" % (url, params)\n return urlunsplit((scheme, netloc, url, query, fragment))\n\ndef urlunsplit(data):\n \"\"\"Combine the elements of a tuple as returned by urlsplit() into a\n complete URL as a string. The data argument can be any five-item iterable.\n This may result in a slightly different, but equivalent URL, if the URL that\n was parsed originally had unnecessary delimiters (for example, a ? with an\n empty query; the RFC states that these are equivalent).\"\"\"\n scheme, netloc, url, query, fragment = data\n if netloc or (scheme and scheme in uses_netloc and url[:2] != '//'):\n if url and url[:1] != '/': url = '/' + url\n url = '//' + (netloc or '') + url\n if scheme:\n url = scheme + ':' + url\n if query:\n url = url + '?' + query\n if fragment:\n url = url + '#' + fragment\n return url\n\ndef urljoin(base, url, allow_fragments=True):\n \"\"\"Join a base URL and a possibly relative URL to form an absolute\n interpretation of the latter.\"\"\"\n if not base:\n return url\n if not url:\n return base\n bscheme, bnetloc, bpath, bparams, bquery, bfragment = \\\n urlparse(base, '', allow_fragments)\n scheme, netloc, path, params, query, fragment = \\\n urlparse(url, bscheme, allow_fragments)\n if scheme != bscheme or scheme not in uses_relative:\n return url\n if scheme in uses_netloc:\n if netloc:\n return urlunparse((scheme, netloc, path,\n params, query, fragment))\n netloc = bnetloc\n if path[:1] == '/':\n return urlunparse((scheme, netloc, path,\n params, query, fragment))\n if not path and not params:\n path = bpath\n params = bparams\n if not query:\n query = bquery\n return urlunparse((scheme, netloc, path,\n params, query, fragment))\n segments = bpath.split('/')[:-1] + path.split('/')\n # XXX The stuff below is bogus in various ways...\n if segments[-1] == '.':\n segments[-1] = ''\n while '.' in segments:\n segments.remove('.')\n while 1:\n i = 1\n n = len(segments) - 1\n while i < n:\n if (segments[i] == '..'\n and segments[i-1] not in ('', '..')):\n del segments[i-1:i+1]\n break\n i = i+1\n else:\n break\n if segments == ['', '..']:\n segments[-1] = ''\n elif len(segments) >= 2 and segments[-1] == '..':\n segments[-2:] = ['']\n return urlunparse((scheme, netloc, '/'.join(segments),\n params, query, fragment))\n\ndef urldefrag(url):\n \"\"\"Removes any existing fragment from URL.\n\n Returns a tuple of the defragmented URL and the fragment. If\n the URL contained no fragments, the second element is the\n empty string.\n \"\"\"\n if '#' in url:\n s, n, p, a, q, frag = urlparse(url)\n defrag = urlunparse((s, n, p, a, q, ''))\n return defrag, frag\n else:\n return url, ''\n\n# unquote method for parse_qs and parse_qsl\n# Cannot use directly from urllib as it would create a circular reference\n# because urllib uses urlparse methods (urljoin). If you update this function,\n# update it also in urllib. This code duplication does not existin in Python3.\n\n_hexdig = '0123456789ABCDEFabcdef'\n_hextochr = dict((a+b, chr(int(a+b,16)))\n for a in _hexdig for b in _hexdig)\n\ndef unquote(s):\n \"\"\"unquote('abc%20def') -> 'abc def'.\"\"\"\n res = s.split('%')\n # fastpath\n if len(res) == 1:\n return s\n s = res[0]\n for item in res[1:]:\n try:\n s += _hextochr[item[:2]] + item[2:]\n except KeyError:\n s += '%' + item\n except UnicodeDecodeError:\n s += unichr(int(item[:2], 16)) + item[2:]\n return s\n\ndef parse_qs(qs, keep_blank_values=0, strict_parsing=0):\n \"\"\"Parse a query given as a string argument.\n\n Arguments:\n\n qs: percent-encoded query string to be parsed\n\n keep_blank_values: flag indicating whether blank values in\n percent-encoded queries should be treated as blank strings.\n A true value indicates that blanks should be retained as\n blank strings. The default false value indicates that\n blank values are to be ignored and treated as if they were\n not included.\n\n strict_parsing: flag indicating what to do with parsing errors.\n If false (the default), errors are silently ignored.\n If true, errors raise a ValueError exception.\n \"\"\"\n dict = {}\n for name, value in parse_qsl(qs, keep_blank_values, strict_parsing):\n if name in dict:\n dict[name].append(value)\n else:\n dict[name] = [value]\n return dict\n\ndef parse_qsl(qs, keep_blank_values=0, strict_parsing=0):\n \"\"\"Parse a query given as a string argument.\n\n Arguments:\n\n qs: percent-encoded query string to be parsed\n\n keep_blank_values: flag indicating whether blank values in\n percent-encoded queries should be treated as blank strings. A\n true value indicates that blanks should be retained as blank\n strings. The default false value indicates that blank values\n are to be ignored and treated as if they were not included.\n\n strict_parsing: flag indicating what to do with parsing errors. If\n false (the default), errors are silently ignored. If true,\n errors raise a ValueError exception.\n\n Returns a list, as G-d intended.\n \"\"\"\n pairs = [s2 for s1 in qs.split('&') for s2 in s1.split(';')]\n r = []\n for name_value in pairs:\n if not name_value and not strict_parsing:\n continue\n nv = name_value.split('=', 1)\n if len(nv) != 2:\n if strict_parsing:\n raise ValueError, \"bad query field: %r\" % (name_value,)\n # Handle case of a control-name with no equal sign\n if keep_blank_values:\n nv.append('')\n else:\n continue\n if len(nv[1]) or keep_blank_values:\n name = unquote(nv[0].replace('+', ' '))\n value = unquote(nv[1].replace('+', ' '))\n r.append((name, value))\n\n return r\n"},"license":{"kind":"string","value":"gpl-2.0"}}},{"rowIdx":475218,"cells":{"repo_name":{"kind":"string","value":"dpla/zen"},"path":{"kind":"string","value":"lib/akamod/__init__.py"},"copies":{"kind":"string","value":"2"},"size":{"kind":"string","value":"1845"},"content":{"kind":"string","value":"#zen.akamod\n\n#Some helper classes for accessing local Zen/Akara services\nimport urllib\n\nfrom amara.thirdparty import httplib2, json\nfrom akara import logger\nfrom akara import request\nfrom akara.caching import cache\nfrom akara import global_config\nfrom akara.util import find_peer_service\n\nclass geolookup_service(object):\n '''\n Convenience for calling the local/peer geolookup service.\n\n Can only be called from within an Akara module handler. E.g. the following sample module:\n \n -- %< --\nfrom akara.services import simple_service\nfrom zen.akamod import geolookup_service\n\ngeolookup = geolookup_service()\n\n@simple_service(\"GET\", \"http://testing/report.get\")\ndef s(place):\n return repr(geolookup('Superior,CO'))\n -- %< --\n\n Then test: curl -i \"http://localhost:8880/s?place=Superior,CO\"\n '''\n def __init__(self):\n self.GEOLOOKUP_URI = find_peer_service(u'http://purl.org/com/zepheira/services/geolookup.json')\n self.H = httplib2.Http('/tmp/.cache')\n return\n\n def __call__(self, place):\n if not place:\n return None\n if isinstance(place, unicode):\n place = place.encode('utf-8')\n\n if not self.GEOLOOKUP_URI: setup()\n logger.debug('geolookup' + repr((place, self.GEOLOOKUP_URI)))\n resp, body = self.H.request(self.GEOLOOKUP_URI + '?' + urllib.urlencode({'place': place}))\n logger.debug('geolookup result: {0}'.format(repr(body)))\n try:\n result = json.loads(body)\n return result\n #latlong = json.loads(body).itervalues().next()\n #return latlong\n except (ValueError, StopIteration), e:\n logger.debug(\"Not found: \" + repr(place))\n return None\n\n\n#GEOLOOKUP_CACHE = cache(\n# 'http://purl.org/com/zepheira/services/geolookup.json', expires=24*60*60)\n\n\n"},"license":{"kind":"string","value":"apache-2.0"}}},{"rowIdx":475219,"cells":{"repo_name":{"kind":"string","value":"geminy/aidear"},"path":{"kind":"string","value":"oss/qt/qt-everywhere-opensource-src-5.9.0/qtwebengine/src/3rdparty/chromium/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/views/printing_unittest.py"},"copies":{"kind":"string","value":"2"},"size":{"kind":"string","value":"11616"},"content":{"kind":"string","value":"# Copyright (C) 2010, 2012 Google Inc. All rights reserved.\n#\n# Redistribution and use in source and binary forms, with or without\n# modification, are permitted provided that the following conditions are\n# met:\n#\n# * Redistributions of source code must retain the above copyright\n# notice, this list of conditions and the following disclaimer.\n# * Redistributions in binary form must reproduce the above\n# copyright notice, this list of conditions and the following disclaimer\n# in the documentation and/or other materials provided with the\n# distribution.\n# * Neither the name of Google Inc. nor the names of its\n# contributors may be used to endorse or promote products derived from\n# this software without specific prior written permission.\n#\n# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n# \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\n\"\"\"Unit tests for printing.py.\"\"\"\n\nimport StringIO\nimport optparse\nimport sys\nimport unittest\n\nfrom webkitpy.common.host_mock import MockHost\n\nfrom webkitpy.common.system import logtesting\nfrom webkitpy.layout_tests import port\nfrom webkitpy.layout_tests.controllers import manager\nfrom webkitpy.layout_tests.models import test_expectations\nfrom webkitpy.layout_tests.models import test_failures\nfrom webkitpy.layout_tests.models import test_results\nfrom webkitpy.layout_tests.views import printing\n\n\ndef get_options(args):\n print_options = printing.print_options()\n option_parser = optparse.OptionParser(option_list=print_options)\n return option_parser.parse_args(args)\n\n\nclass TestUtilityFunctions(unittest.TestCase):\n\n def test_print_options(self):\n options, _ = get_options([])\n self.assertIsNotNone(options)\n\n\nclass FakeRunResults(object):\n\n def __init__(self, total=1, expected=1, unexpected=0, fake_results=None):\n fake_results = fake_results or []\n self.total = total\n self.expected = expected\n self.expected_failures = 0\n self.unexpected = unexpected\n self.expected_skips = 0\n self.results_by_name = {}\n total_run_time = 0\n for result in fake_results:\n self.results_by_name[result.shard_name] = result\n total_run_time += result.total_run_time\n self.run_time = total_run_time + 1\n\n\nclass FakeShard(object):\n\n def __init__(self, shard_name, total_run_time):\n self.shard_name = shard_name\n self.total_run_time = total_run_time\n\n\nclass Testprinter(unittest.TestCase):\n\n def assertEmpty(self, stream):\n self.assertFalse(stream.getvalue())\n\n def assertNotEmpty(self, stream):\n self.assertTrue(stream.getvalue())\n\n def assertWritten(self, stream, contents):\n self.assertEqual(stream.buflist, contents)\n\n def reset(self, stream):\n stream.buflist = []\n stream.buf = ''\n\n def get_printer(self, args=None):\n args = args or []\n printing_options = printing.print_options()\n option_parser = optparse.OptionParser(option_list=printing_options)\n options, args = option_parser.parse_args(args)\n host = MockHost()\n self._port = host.port_factory.get('test', options)\n\n regular_output = StringIO.StringIO()\n printer = printing.Printer(self._port, options, regular_output)\n return printer, regular_output\n\n def get_result(self, test_name, result_type=test_expectations.PASS, run_time=0):\n failures = []\n if result_type == test_expectations.TIMEOUT:\n failures = [test_failures.FailureTimeout()]\n elif result_type == test_expectations.CRASH:\n failures = [test_failures.FailureCrash()]\n return test_results.TestResult(test_name, failures=failures, test_run_time=run_time)\n\n def test_configure_and_cleanup(self):\n # This test verifies that calling cleanup repeatedly and deleting\n # the object is safe.\n printer, _ = self.get_printer()\n printer.cleanup()\n printer.cleanup()\n printer = None\n\n def test_print_config(self):\n printer, err = self.get_printer()\n # FIXME: Make it so these options don't have to be set directly.\n # pylint: disable=protected-access\n printer._options.pixel_tests = True\n printer._options.new_baseline = True\n printer._options.time_out_ms = 6000\n printer._options.slow_time_out_ms = 12000\n printer._options.order = 'random'\n printer._options.seed = 1234\n printer.print_config('/tmp')\n self.assertIn(\"Using port 'test-mac-mac10.10'\", err.getvalue())\n self.assertIn('Test configuration: ', err.getvalue())\n self.assertIn('View the test results at file:///tmp', err.getvalue())\n self.assertIn('View the archived results dashboard at file:///tmp', err.getvalue())\n self.assertIn('Baseline search path: test-mac-mac10.10 -> test-mac-mac10.11 -> generic', err.getvalue())\n self.assertIn('Using Release build', err.getvalue())\n self.assertIn('Pixel tests enabled', err.getvalue())\n self.assertIn('Command line:', err.getvalue())\n self.assertIn('Regular timeout: ', err.getvalue())\n self.assertIn('Using random order with seed: 1234', err.getvalue())\n\n self.reset(err)\n printer._options.quiet = True\n printer.print_config('/tmp')\n self.assertNotIn('Baseline search path: test-mac-mac10.10 -> test-mac-mac10.11 -> generic', err.getvalue())\n\n def test_print_directory_timings(self):\n printer, err = self.get_printer()\n printer._options.debug_rwt_logging = True\n\n run_results = FakeRunResults()\n run_results.results_by_name = {\n \"slowShard\": FakeShard(\"slowShard\", 16),\n \"borderlineShard\": FakeShard(\"borderlineShard\", 15),\n \"fastShard\": FakeShard(\"fastShard\", 1),\n }\n\n printer._print_directory_timings(run_results)\n self.assertWritten(err, ['Time to process slowest subdirectories:\\n',\n ' slowShard took 16.0 seconds to run 1 tests.\\n', '\\n'])\n\n printer, err = self.get_printer()\n printer._options.debug_rwt_logging = True\n\n run_results.results_by_name = {\n \"borderlineShard\": FakeShard(\"borderlineShard\", 15),\n \"fastShard\": FakeShard(\"fastShard\", 1),\n }\n\n printer._print_directory_timings(run_results)\n self.assertWritten(err, [])\n\n def test_print_one_line_summary(self):\n def run_test(total, exp, unexp, shards, result):\n printer, err = self.get_printer(['--timing'] if shards else None)\n fake_results = FakeRunResults(total, exp, unexp, shards)\n total_time = fake_results.run_time + 1\n printer._print_one_line_summary(total_time, fake_results)\n self.assertWritten(err, result)\n\n # Without times:\n run_test(1, 1, 0, [], [\"The test ran as expected.\\n\", \"\\n\"])\n run_test(2, 1, 1, [], [\"\\n\", \"1 test ran as expected, 1 didn't:\\n\", \"\\n\"])\n run_test(3, 2, 1, [], [\"\\n\", \"2 tests ran as expected, 1 didn't:\\n\", \"\\n\"])\n run_test(3, 2, 0, [], [\"\\n\", \"2 tests ran as expected (1 didn't run).\\n\", \"\\n\"])\n\n # With times:\n fake_shards = [FakeShard(\"foo\", 1), FakeShard(\"bar\", 2)]\n run_test(1, 1, 0, fake_shards, [\"The test ran as expected in 5.00s (2.00s in rwt, 1x).\\n\", \"\\n\"])\n run_test(2, 1, 1, fake_shards, [\"\\n\", \"1 test ran as expected, 1 didn't in 5.00s (2.00s in rwt, 1x):\\n\", \"\\n\"])\n run_test(3, 2, 1, fake_shards, [\"\\n\", \"2 tests ran as expected, 1 didn't in 5.00s (2.00s in rwt, 1x):\\n\", \"\\n\"])\n run_test(3, 2, 0, fake_shards, [\"\\n\", \"2 tests ran as expected (1 didn't run) in 5.00s (2.00s in rwt, 1x).\\n\", \"\\n\"])\n\n def test_test_status_line(self):\n printer, _ = self.get_printer()\n printer._meter.number_of_columns = lambda: 80\n actual = printer._test_status_line(\n 'fast/dom/HTMLFormElement/associated-elements-after-index-assertion-fail1.html', ' passed')\n self.assertEqual(80, len(actual))\n self.assertEqual(actual, '[0/0] fast/dom/HTMLFormElement/associa...after-index-assertion-fail1.html passed')\n\n printer._meter.number_of_columns = lambda: 89\n actual = printer._test_status_line(\n 'fast/dom/HTMLFormElement/associated-elements-after-index-assertion-fail1.html', ' passed')\n self.assertEqual(89, len(actual))\n self.assertEqual(actual, '[0/0] fast/dom/HTMLFormElement/associated-...ents-after-index-assertion-fail1.html passed')\n\n printer._meter.number_of_columns = lambda: sys.maxsize\n actual = printer._test_status_line(\n 'fast/dom/HTMLFormElement/associated-elements-after-index-assertion-fail1.html', ' passed')\n self.assertEqual(90, len(actual))\n self.assertEqual(actual, '[0/0] fast/dom/HTMLFormElement/associated-elements-after-index-assertion-fail1.html passed')\n\n printer._meter.number_of_columns = lambda: 18\n actual = printer._test_status_line(\n 'fast/dom/HTMLFormElement/associated-elements-after-index-assertion-fail1.html', ' passed')\n self.assertEqual(18, len(actual))\n self.assertEqual(actual, '[0/0] f...l passed')\n\n printer._meter.number_of_columns = lambda: 10\n actual = printer._test_status_line(\n 'fast/dom/HTMLFormElement/associated-elements-after-index-assertion-fail1.html', ' passed')\n self.assertEqual(actual, '[0/0] associated-elements-after-index-assertion-fail1.html passed')\n\n def test_details(self):\n printer, err = self.get_printer(['--details'])\n result = self.get_result('passes/image.html')\n printer.print_started_test('passes/image.html')\n printer.print_finished_test(result, expected=False, exp_str='', got_str='')\n self.assertNotEmpty(err)\n\n def test_print_found(self):\n printer, err = self.get_printer()\n\n printer.print_found(100, 10, 1, 1)\n self.assertWritten(err, [\"Found 100 tests; running 10, skipping 90.\\n\"])\n\n self.reset(err)\n printer.print_found(100, 10, 2, 3)\n self.assertWritten(err, [\"Found 100 tests; running 10 (6 times each: --repeat-each=2 --iterations=3), skipping 90.\\n\"])\n\n def test_debug_rwt_logging_is_throttled(self):\n printer, err = self.get_printer(['--debug-rwt-logging'])\n\n result = self.get_result('passes/image.html')\n printer.print_started_test('passes/image.html')\n printer.print_finished_test(result, expected=True, exp_str='', got_str='')\n\n printer.print_started_test('passes/text.html')\n result = self.get_result('passes/text.html')\n printer.print_finished_test(result, expected=True, exp_str='', got_str='')\n\n # Only the first test's start should be printed.\n lines = err.buflist\n self.assertEqual(len(lines), 1)\n self.assertTrue(lines[0].endswith('passes/image.html\\n'))\n"},"license":{"kind":"string","value":"gpl-3.0"}}},{"rowIdx":475220,"cells":{"repo_name":{"kind":"string","value":"lakshayg/tensorflow"},"path":{"kind":"string","value":"tensorflow/python/debug/cli/cli_config_test.py"},"copies":{"kind":"string","value":"68"},"size":{"kind":"string","value":"5541"},"content":{"kind":"string","value":"# Copyright 2017 The TensorFlow Authors. All Rights Reserved.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n# ==============================================================================\n\"\"\"Tests for cli_config.\"\"\"\nfrom __future__ import absolute_import\nfrom __future__ import division\nfrom __future__ import print_function\n\nimport json\nimport os\nimport shutil\nimport tempfile\n\nfrom tensorflow.python.debug.cli import cli_config\nfrom tensorflow.python.framework import test_util\nfrom tensorflow.python.platform import gfile\nfrom tensorflow.python.platform import googletest\n\n\nclass CLIConfigTest(test_util.TensorFlowTestCase):\n\n def setUp(self):\n self._tmp_dir = tempfile.mkdtemp()\n self._tmp_config_path = os.path.join(self._tmp_dir, \".tfdbg_config\")\n self.assertFalse(gfile.Exists(self._tmp_config_path))\n super(CLIConfigTest, self).setUp()\n\n def tearDown(self):\n shutil.rmtree(self._tmp_dir)\n super(CLIConfigTest, self).tearDown()\n\n def testConstructCLIConfigWithoutFile(self):\n config = cli_config.CLIConfig(config_file_path=self._tmp_config_path)\n self.assertEqual(20, config.get(\"graph_recursion_depth\"))\n self.assertEqual(True, config.get(\"mouse_mode\"))\n with self.assertRaises(KeyError):\n config.get(\"property_that_should_not_exist\")\n self.assertTrue(gfile.Exists(self._tmp_config_path))\n\n def testCLIConfigForwardCompatibilityTest(self):\n config = cli_config.CLIConfig(config_file_path=self._tmp_config_path)\n with open(self._tmp_config_path, \"rt\") as f:\n config_json = json.load(f)\n # Remove a field to simulate forward compatibility test.\n del config_json[\"graph_recursion_depth\"]\n with open(self._tmp_config_path, \"wt\") as f:\n json.dump(config_json, f)\n\n config = cli_config.CLIConfig(config_file_path=self._tmp_config_path)\n self.assertEqual(20, config.get(\"graph_recursion_depth\"))\n\n def testModifyConfigValue(self):\n config = cli_config.CLIConfig(config_file_path=self._tmp_config_path)\n config.set(\"graph_recursion_depth\", 9)\n config.set(\"mouse_mode\", False)\n self.assertEqual(9, config.get(\"graph_recursion_depth\"))\n self.assertEqual(False, config.get(\"mouse_mode\"))\n\n def testModifyConfigValueWithTypeCasting(self):\n config = cli_config.CLIConfig(config_file_path=self._tmp_config_path)\n config.set(\"graph_recursion_depth\", \"18\")\n config.set(\"mouse_mode\", \"false\")\n self.assertEqual(18, config.get(\"graph_recursion_depth\"))\n self.assertEqual(False, config.get(\"mouse_mode\"))\n\n def testModifyConfigValueWithTypeCastingFailure(self):\n config = cli_config.CLIConfig(config_file_path=self._tmp_config_path)\n with self.assertRaises(ValueError):\n config.set(\"mouse_mode\", \"maybe\")\n\n def testLoadFromModifiedConfigFile(self):\n config = cli_config.CLIConfig(config_file_path=self._tmp_config_path)\n config.set(\"graph_recursion_depth\", 9)\n config.set(\"mouse_mode\", False)\n config2 = cli_config.CLIConfig(config_file_path=self._tmp_config_path)\n self.assertEqual(9, config2.get(\"graph_recursion_depth\"))\n self.assertEqual(False, config2.get(\"mouse_mode\"))\n\n def testSummarizeFromConfig(self):\n config = cli_config.CLIConfig(config_file_path=self._tmp_config_path)\n output = config.summarize()\n self.assertEqual(\n [\"Command-line configuration:\",\n \"\",\n \" graph_recursion_depth: %d\" % config.get(\"graph_recursion_depth\"),\n \" mouse_mode: %s\" % config.get(\"mouse_mode\")], output.lines)\n\n def testSummarizeFromConfigWithHighlight(self):\n config = cli_config.CLIConfig(config_file_path=self._tmp_config_path)\n output = config.summarize(highlight=\"mouse_mode\")\n self.assertEqual(\n [\"Command-line configuration:\",\n \"\",\n \" graph_recursion_depth: %d\" % config.get(\"graph_recursion_depth\"),\n \" mouse_mode: %s\" % config.get(\"mouse_mode\")], output.lines)\n self.assertEqual((2, 12, [\"underline\", \"bold\"]),\n output.font_attr_segs[3][0])\n self.assertEqual((14, 18, \"bold\"), output.font_attr_segs[3][1])\n\n def testSetCallback(self):\n config = cli_config.CLIConfig(config_file_path=self._tmp_config_path)\n\n test_value = {\"graph_recursion_depth\": -1}\n def callback(config):\n test_value[\"graph_recursion_depth\"] = config.get(\"graph_recursion_depth\")\n config.set_callback(\"graph_recursion_depth\", callback)\n\n config.set(\"graph_recursion_depth\", config.get(\"graph_recursion_depth\") - 1)\n self.assertEqual(test_value[\"graph_recursion_depth\"],\n config.get(\"graph_recursion_depth\"))\n\n def testSetCallbackInvalidPropertyName(self):\n config = cli_config.CLIConfig(config_file_path=self._tmp_config_path)\n\n with self.assertRaises(KeyError):\n config.set_callback(\"nonexistent_property_name\", print)\n\n def testSetCallbackNotCallable(self):\n config = cli_config.CLIConfig(config_file_path=self._tmp_config_path)\n\n with self.assertRaises(TypeError):\n config.set_callback(\"graph_recursion_depth\", 1)\n\n\nif __name__ == \"__main__\":\n googletest.main()\n"},"license":{"kind":"string","value":"apache-2.0"}}},{"rowIdx":475221,"cells":{"repo_name":{"kind":"string","value":"caosmo/pip"},"path":{"kind":"string","value":"pip/_vendor/requests/packages/chardet/langgreekmodel.py"},"copies":{"kind":"string","value":"2763"},"size":{"kind":"string","value":"12628"},"content":{"kind":"string","value":"######################## BEGIN LICENSE BLOCK ########################\n# The Original Code is Mozilla Communicator client code.\n#\n# The Initial Developer of the Original Code is\n# Netscape Communications Corporation.\n# Portions created by the Initial Developer are Copyright (C) 1998\n# the Initial Developer. All Rights Reserved.\n#\n# Contributor(s):\n# Mark Pilgrim - port to Python\n#\n# This library is free software; you can redistribute it and/or\n# modify it under the terms of the GNU Lesser General Public\n# License as published by the Free Software Foundation; either\n# version 2.1 of the License, or (at your option) any later version.\n#\n# This library is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n# Lesser General Public License for more details.\n#\n# You should have received a copy of the GNU Lesser General Public\n# License along with this library; if not, write to the Free Software\n# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n# 02110-1301 USA\n######################### END LICENSE BLOCK #########################\n\n# 255: Control characters that usually does not exist in any text\n# 254: Carriage/Return\n# 253: symbol (punctuation) that does not belong to word\n# 252: 0 - 9\n\n# Character Mapping Table:\nLatin7_CharToOrderMap = (\n255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255, # 00\n255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255, # 10\n253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253, # 20\n252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253, # 30\n253, 82,100,104, 94, 98,101,116,102,111,187,117, 92, 88,113, 85, # 40\n 79,118,105, 83, 67,114,119, 95, 99,109,188,253,253,253,253,253, # 50\n253, 72, 70, 80, 81, 60, 96, 93, 89, 68,120, 97, 77, 86, 69, 55, # 60\n 78,115, 65, 66, 58, 76,106,103, 87,107,112,253,253,253,253,253, # 70\n255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255, # 80\n255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255, # 90\n253,233, 90,253,253,253,253,253,253,253,253,253,253, 74,253,253, # a0\n253,253,253,253,247,248, 61, 36, 46, 71, 73,253, 54,253,108,123, # b0\n110, 31, 51, 43, 41, 34, 91, 40, 52, 47, 44, 53, 38, 49, 59, 39, # c0\n 35, 48,250, 37, 33, 45, 56, 50, 84, 57,120,121, 17, 18, 22, 15, # d0\n124, 1, 29, 20, 21, 3, 32, 13, 25, 5, 11, 16, 10, 6, 30, 4, # e0\n 9, 8, 14, 7, 2, 12, 28, 23, 42, 24, 64, 75, 19, 26, 27,253, # f0\n)\n\nwin1253_CharToOrderMap = (\n255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255, # 00\n255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255, # 10\n253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253, # 20\n252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253, # 30\n253, 82,100,104, 94, 98,101,116,102,111,187,117, 92, 88,113, 85, # 40\n 79,118,105, 83, 67,114,119, 95, 99,109,188,253,253,253,253,253, # 50\n253, 72, 70, 80, 81, 60, 96, 93, 89, 68,120, 97, 77, 86, 69, 55, # 60\n 78,115, 65, 66, 58, 76,106,103, 87,107,112,253,253,253,253,253, # 70\n255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255, # 80\n255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255, # 90\n253,233, 61,253,253,253,253,253,253,253,253,253,253, 74,253,253, # a0\n253,253,253,253,247,253,253, 36, 46, 71, 73,253, 54,253,108,123, # b0\n110, 31, 51, 43, 41, 34, 91, 40, 52, 47, 44, 53, 38, 49, 59, 39, # c0\n 35, 48,250, 37, 33, 45, 56, 50, 84, 57,120,121, 17, 18, 22, 15, # d0\n124, 1, 29, 20, 21, 3, 32, 13, 25, 5, 11, 16, 10, 6, 30, 4, # e0\n 9, 8, 14, 7, 2, 12, 28, 23, 42, 24, 64, 75, 19, 26, 27,253, # f0\n)\n\n# Model Table:\n# total sequences: 100%\n# first 512 sequences: 98.2851%\n# first 1024 sequences:1.7001%\n# rest sequences: 0.0359%\n# negative sequences: 0.0148%\nGreekLangModel = (\n0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,\n0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,\n0,0,3,2,2,3,3,3,3,3,3,3,3,1,3,3,3,0,2,2,3,3,0,3,0,3,2,0,3,3,3,0,\n3,0,0,0,2,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,\n0,3,3,3,3,3,0,3,3,0,3,2,3,3,0,3,2,3,3,3,0,0,3,0,3,0,3,3,2,0,0,0,\n2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,\n0,2,3,2,2,3,3,3,3,3,3,3,3,0,3,3,3,3,0,2,3,3,0,3,3,3,3,2,3,3,3,0,\n2,0,0,0,2,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,\n0,2,3,3,2,3,3,3,3,3,3,3,3,3,3,3,3,0,2,1,3,3,3,3,2,3,3,2,3,3,2,0,\n0,0,0,0,2,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,\n0,3,3,3,3,0,3,3,3,3,3,3,0,3,3,0,3,3,3,3,3,3,3,3,3,3,0,3,2,3,3,0,\n2,0,1,0,2,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,\n0,3,3,3,3,3,2,3,0,0,0,0,3,3,0,3,1,3,3,3,0,3,3,0,3,3,3,3,0,0,0,0,\n2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,\n0,3,3,3,3,3,0,3,0,3,3,3,3,3,0,3,2,2,2,3,0,2,3,3,3,3,3,2,3,3,0,0,\n0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,\n0,3,3,3,3,3,3,2,2,2,3,3,3,3,0,3,1,3,3,3,3,2,3,3,3,3,3,3,3,2,2,0,\n0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,\n0,3,3,3,3,3,2,0,3,0,0,0,3,3,2,3,3,3,3,3,0,0,3,2,3,0,2,3,0,0,0,0,\n0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,\n0,3,0,3,3,3,3,0,0,3,3,0,2,3,0,3,0,3,3,3,0,0,3,0,3,0,2,2,3,3,0,0,\n0,0,1,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,\n0,3,3,3,3,3,2,0,3,2,3,3,3,3,0,3,3,3,3,3,0,3,3,2,3,2,3,3,2,0,0,0,\n0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,\n0,3,3,2,3,2,3,3,3,3,3,3,0,2,3,2,3,2,2,2,3,2,3,3,2,3,0,2,2,2,3,0,\n2,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,\n0,0,3,0,0,0,3,3,3,2,3,3,0,0,3,0,3,0,0,0,3,2,0,3,0,3,0,0,2,0,2,0,\n0,0,0,0,2,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,\n0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,\n0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,\n0,3,3,3,3,0,3,3,3,3,3,3,0,3,3,0,3,0,0,0,3,3,0,3,3,3,0,0,1,2,3,0,\n3,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,\n0,3,3,3,3,3,2,0,0,3,2,2,3,3,0,3,3,3,3,3,2,1,3,0,3,2,3,3,2,1,0,0,\n0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,\n0,0,3,3,0,2,3,3,3,3,3,3,0,0,3,0,3,0,0,0,3,3,0,3,2,3,0,0,3,3,3,0,\n3,0,0,0,2,0,0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,\n0,3,3,3,3,0,3,3,3,3,3,3,0,0,3,0,3,0,0,0,3,2,0,3,2,3,0,0,3,2,3,0,\n2,0,0,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,\n0,0,3,1,2,2,3,3,3,3,3,3,0,2,3,0,3,0,0,0,3,3,0,3,0,2,0,0,2,3,1,0,\n2,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,\n0,3,0,3,3,3,3,0,3,0,3,3,2,3,0,3,3,3,3,3,3,0,3,3,3,0,2,3,0,0,3,0,\n0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,\n0,3,0,3,3,3,0,0,3,0,0,0,3,3,0,3,0,2,3,3,0,0,3,0,3,0,3,3,0,0,0,0,\n0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,\n0,0,3,0,0,0,3,3,3,3,3,3,0,0,3,0,2,0,0,0,3,3,0,3,0,3,0,0,2,0,2,0,\n0,0,0,0,1,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,\n0,3,3,3,3,3,3,0,3,0,2,0,3,2,0,3,2,3,2,3,0,0,3,2,3,2,3,3,0,0,0,0,\n0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,\n0,0,3,0,0,2,3,3,3,3,3,0,0,0,3,0,2,1,0,0,3,2,2,2,0,3,0,0,2,2,0,0,\n0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,\n0,3,0,3,3,3,2,0,3,0,3,0,3,3,0,2,1,2,3,3,0,0,3,0,3,0,3,3,0,0,0,0,\n0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,\n0,2,3,3,3,0,3,3,3,3,3,3,0,2,3,0,3,0,0,0,2,1,0,2,2,3,0,0,2,2,2,0,\n0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,\n0,0,3,0,0,2,3,3,3,2,3,0,0,1,3,0,2,0,0,0,0,3,0,1,0,2,0,0,1,1,1,0,\n0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,\n0,3,3,3,3,3,1,0,3,0,0,0,3,2,0,3,2,3,3,3,0,0,3,0,3,2,2,2,1,0,0,0,\n0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,\n0,3,0,3,3,3,0,0,3,0,0,0,0,2,0,2,3,3,2,2,2,2,3,0,2,0,2,2,0,0,0,0,\n0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,\n0,3,3,3,3,2,0,0,0,0,0,0,2,3,0,2,0,2,3,2,0,0,3,0,3,0,3,1,0,0,0,0,\n0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,\n0,0,0,0,0,0,3,2,3,3,2,2,3,0,2,0,3,0,0,0,2,0,0,0,0,1,2,0,2,0,2,0,\n0,2,0,2,0,2,2,0,0,1,0,2,2,2,0,2,2,2,0,2,2,2,0,0,2,0,0,1,0,0,0,0,\n0,2,0,3,3,2,0,0,0,0,0,0,1,3,0,2,0,2,2,2,0,0,2,0,3,0,0,2,0,0,0,0,\n0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,\n0,3,0,2,3,2,0,2,2,0,2,0,2,2,0,2,0,2,2,2,0,0,0,0,0,0,2,3,0,0,0,2,\n0,1,2,0,0,0,0,2,2,0,0,0,2,1,0,2,2,0,0,0,0,0,0,1,0,2,0,0,0,0,0,0,\n0,0,2,1,0,2,3,2,2,3,2,3,2,0,0,3,3,3,0,0,3,2,0,0,0,1,1,0,2,0,2,2,\n0,2,0,2,0,2,2,0,0,2,0,2,2,2,0,2,2,2,2,0,0,2,0,0,0,2,0,1,0,0,0,0,\n0,3,0,3,3,2,2,0,3,0,0,0,2,2,0,2,2,2,1,2,0,0,1,2,2,0,0,3,0,0,0,2,\n0,1,2,0,0,0,1,2,0,0,0,0,0,0,0,2,2,0,1,0,0,2,0,0,0,2,0,0,0,0,0,0,\n0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,\n0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,\n0,2,3,3,2,2,0,0,0,2,0,2,3,3,0,2,0,0,0,0,0,0,2,2,2,0,2,2,0,2,0,2,\n0,2,2,0,0,2,2,2,2,1,0,0,2,2,0,2,0,0,2,0,0,0,0,0,0,2,0,0,0,0,0,0,\n0,2,0,3,2,3,0,0,0,3,0,0,2,2,0,2,0,2,2,2,0,0,2,0,0,0,0,0,0,0,0,2,\n0,0,2,2,0,0,2,2,2,0,0,0,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,\n0,0,2,0,0,3,2,0,2,2,2,2,2,0,0,0,2,0,0,0,0,2,0,1,0,0,2,0,1,0,0,0,\n0,2,2,2,0,2,2,0,1,2,0,2,2,2,0,2,2,2,2,1,2,2,0,0,2,0,0,0,0,0,0,0,\n0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,\n0,2,0,2,0,2,2,0,0,0,0,1,2,1,0,0,2,2,0,0,2,0,0,0,0,0,0,0,0,0,0,0,\n0,0,0,3,2,3,0,0,2,0,0,0,2,2,0,2,0,0,0,1,0,0,2,0,2,0,2,2,0,0,0,0,\n0,0,2,0,0,0,0,2,2,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,\n0,2,2,3,2,2,0,0,0,0,0,0,1,3,0,2,0,2,2,0,0,0,1,0,2,0,0,0,0,0,0,0,\n0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,\n0,2,0,2,0,3,2,0,2,0,0,0,0,0,0,2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,\n0,0,2,0,0,0,0,1,1,0,0,2,1,2,0,2,2,0,1,0,0,1,0,0,0,2,0,0,0,0,0,0,\n0,3,0,2,2,2,0,0,2,0,0,0,2,0,0,0,2,3,0,2,0,0,0,0,0,0,2,2,0,0,0,2,\n0,1,2,0,0,0,1,2,2,1,0,0,0,2,0,0,2,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,\n0,0,0,0,0,0,0,0,0,3,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,\n0,2,1,2,0,2,2,0,2,0,0,2,0,0,0,0,1,2,1,0,2,1,0,0,0,0,0,0,0,0,0,0,\n0,0,2,0,0,0,3,1,2,2,0,2,0,0,0,0,2,0,0,0,2,0,0,3,0,0,0,0,2,2,2,0,\n0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,\n0,2,1,0,2,0,1,2,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,1,0,0,0,0,0,0,2,\n0,2,2,0,0,2,2,2,2,2,0,1,2,0,0,0,2,2,0,1,0,2,0,0,2,2,0,0,0,0,0,0,\n0,0,0,0,1,0,0,0,0,0,0,0,3,0,0,2,0,0,0,0,0,0,0,0,2,0,2,0,0,0,0,2,\n0,1,2,0,0,0,0,2,2,1,0,1,0,1,0,2,2,2,1,0,0,0,0,0,0,1,0,0,0,0,0,0,\n0,2,0,1,2,0,0,0,0,0,0,0,0,0,0,2,0,0,2,2,0,0,0,0,1,0,0,0,0,0,0,2,\n0,2,2,0,0,0,0,2,2,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,2,0,0,2,0,0,0,\n0,2,2,2,2,0,0,0,3,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,2,0,0,0,0,0,0,1,\n0,0,2,0,0,0,0,1,2,0,0,0,0,0,0,2,2,1,1,0,0,0,0,0,0,1,0,0,0,0,0,0,\n0,2,0,2,2,2,0,0,2,0,0,0,0,0,0,0,2,2,2,0,0,0,2,0,0,0,0,0,0,0,0,2,\n0,0,1,0,0,0,0,2,1,0,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,\n0,3,0,2,0,0,0,0,0,0,0,0,2,0,0,0,0,0,2,0,0,0,0,0,0,0,2,0,0,0,0,2,\n0,0,2,0,0,0,0,2,2,0,0,0,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,\n0,2,0,2,2,1,0,0,0,0,0,0,2,0,0,2,0,2,2,2,0,0,0,0,0,0,2,0,0,0,0,2,\n0,0,2,0,0,2,0,2,2,0,0,0,0,2,0,2,0,0,0,0,0,2,0,0,0,2,0,0,0,0,0,0,\n0,0,3,0,0,0,2,2,0,2,2,0,0,0,0,0,2,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,\n0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,\n0,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,\n0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,2,0,0,0,0,0,\n0,2,2,2,2,2,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,1,\n0,0,0,0,0,0,0,2,1,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,\n0,0,0,0,0,0,0,2,2,0,0,0,0,0,2,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,\n0,2,0,0,0,2,0,0,0,0,0,1,0,0,0,0,2,2,0,0,0,1,0,0,0,0,0,0,0,0,0,0,\n0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,\n0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,2,0,0,0,\n0,2,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,\n0,0,1,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,\n0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,\n0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,0,0,2,0,2,0,0,0,\n0,0,0,0,0,0,0,0,2,1,0,0,0,0,0,0,2,0,0,0,1,2,0,0,0,0,0,0,0,0,0,0,\n0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,\n0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,\n0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,\n0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,\n0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,\n)\n\nLatin7GreekModel = {\n 'charToOrderMap': Latin7_CharToOrderMap,\n 'precedenceMatrix': GreekLangModel,\n 'mTypicalPositiveRatio': 0.982851,\n 'keepEnglishLetter': False,\n 'charsetName': \"ISO-8859-7\"\n}\n\nWin1253GreekModel = {\n 'charToOrderMap': win1253_CharToOrderMap,\n 'precedenceMatrix': GreekLangModel,\n 'mTypicalPositiveRatio': 0.982851,\n 'keepEnglishLetter': False,\n 'charsetName': \"windows-1253\"\n}\n\n# flake8: noqa\n"},"license":{"kind":"string","value":"mit"}}},{"rowIdx":475222,"cells":{"repo_name":{"kind":"string","value":"marrow/web.dispatch.route"},"path":{"kind":"string","value":"test/test_router.py"},"copies":{"kind":"string","value":"1"},"size":{"kind":"string","value":"1820"},"content":{"kind":"string","value":"# encoding: utf-8\n\nimport pytest\n\nfrom web.dispatch.route.router import __DYNAMIC__, Router\n\nfrom sample import Root\n\n\n@pytest.fixture\ndef router():\n\treturn Router.from_object(Root)\n\n\ndef test_dynamic_repr():\n\tassert repr(__DYNAMIC__) == ''\n\n\ndef test_router_singleton():\n\tassert Router.from_object(Root) is Router.from_object(Root)\n\n\ndef test_invalid_route():\n\trouter = Router()\n\t\n\twith pytest.raises(ValueError):\n\t\trouter.parse(\"{bad:/}\")\n\n\nclass TestRouterSample(object):\n\tdef test_single_static(self, router):\n\t\tassert len(router.routes) == 1 # There's only a single top-level element.\n\t\tassert 'user' in router.routes # It's \"user\".\n\t\tassert len(router.routes['user']) == 2 # Which has a terminus and dynamic continuation.\n\t\tassert router.routes['user'][None] == Root.root # The terminus is the \"root\" method.\n\t\tassert router.routes['user'][None](Root()) == \"I'm all people.\" # It really is.\n\t\n\tdef test_dynamic_username(self, router):\n\t\tassert __DYNAMIC__ in router.routes['user']\n\t\t\n\t\tdynamic = router.routes['user'][__DYNAMIC__]\n\t\tassert len(dynamic) == 1\n\t\t\n\t\tassert list(dynamic.keys())[0].match(\"GothAlice\") # The regular expression matches.\n\t\t\n\t\tassert len(list(dynamic.values())[0]) == 2\n\t\t\n\t\tassert list(dynamic.values())[0][None] == Root.user\n\t\tassert list(dynamic.values())[0][None](Root(), \"GothAlice\") == \"Hi, I'm GothAlice\"\n\t\n\tdef test_dynamic_username_action(self, router):\n\t\tassert __DYNAMIC__ in router.routes['user']\n\t\t\n\t\tdynamic = router.routes['user'][__DYNAMIC__]\n\t\tassert len(dynamic) == 1\n\t\t\n\t\tassert list(dynamic.keys())[0].match(\"GothAlice\") # The regular expression matches.\n\t\t\n\t\tassert len(list(dynamic.values())[0]) == 2\n\t\t\n\t\tassert list(dynamic.values())[0][None] == Root.user\n\t\tassert list(dynamic.values())[0][None](Root(), \"GothAlice\") == \"Hi, I'm GothAlice\"\n"},"license":{"kind":"string","value":"mit"}}},{"rowIdx":475223,"cells":{"repo_name":{"kind":"string","value":"saeschdivara/ArangoPy"},"path":{"kind":"string","value":"arangodb/tests/api/collection.py"},"copies":{"kind":"string","value":"1"},"size":{"kind":"string","value":"2502"},"content":{"kind":"string","value":"import unittest\n\nfrom arangodb.api import Database, Collection\n\n\nclass CollectionTestCase(unittest.TestCase):\n def setUp(self):\n self.database_name = 'testcase_collection_123'\n self.db = Database.create(name=self.database_name)\n\n def tearDown(self):\n Database.remove(name=self.database_name)\n\n def test_create_and_delete_collection_without_extra_db(self):\n\n collection_name = 'test_foo_123'\n\n col = Collection.create(name=collection_name)\n\n self.assertIsNotNone(col)\n\n Collection.remove(name=collection_name)\n\n def test_get_collection(self):\n\n collection_name = 'test_foo_123'\n\n col = Collection.create(name=collection_name)\n\n self.assertIsNotNone(col)\n\n retrieved_col = Collection.get_loaded_collection(name=collection_name)\n\n self.assertEqual(col.id, retrieved_col.id)\n self.assertEqual(col.name, retrieved_col.name)\n self.assertEqual(col.type, retrieved_col.type)\n\n Collection.remove(name=collection_name)\n\n def test_getting_new_info_for_collection(self):\n\n collection_name = 'test_foo_123'\n\n col = Collection.create(name=collection_name)\n\n retrieved_col = Collection.get_loaded_collection(name=collection_name)\n retrieved_col.set_data(waitForSync=True)\n retrieved_col.save()\n\n col.get()\n\n self.assertEqual(col.waitForSync, True)\n\n Collection.remove(name=collection_name)\n\n def test_different_document_revisions(self):\n\n collection_name = 'test_revision_documents'\n\n col = Collection.create(name=collection_name)\n doc1 = col.create_document()\n doc1.save()\n\n all_documents = col.documents()\n self.assertEqual(len(all_documents), 1)\n doc = all_documents[0]\n\n self.assertEqual(doc.revision, doc1.revision)\n\n doc.foo = 'bar'\n doc.save()\n\n self.assertNotEqual(doc.revision, doc1.revision)\n\n Collection.remove(name=collection_name)\n\n def test_remove_document_from_collection(self):\n\n collection_name = 'test_remove_document_from_collection'\n\n col = Collection.create(name=collection_name)\n doc1 = col.create_document()\n doc1.save()\n\n all_documents = col.documents()\n self.assertEqual(len(all_documents), 1)\n doc = all_documents[0]\n\n doc.delete()\n\n all_documents = col.documents()\n self.assertEqual(len(all_documents), 0)\n\n Collection.remove(name=collection_name)"},"license":{"kind":"string","value":"mit"}}},{"rowIdx":475224,"cells":{"repo_name":{"kind":"string","value":"mintar/ros-infrastructure-rosdistro"},"path":{"kind":"string","value":"src/rosdistro/source_repository_specification.py"},"copies":{"kind":"string","value":"1"},"size":{"kind":"string","value":"2465"},"content":{"kind":"string","value":"# Software License Agreement (BSD License)\n#\n# Copyright (c) 2014, Open Source Robotics Foundation, Inc.\n# All rights reserved.\n#\n# Redistribution and use in source and binary forms, with or without\n# modification, are permitted provided that the following conditions\n# are met:\n#\n# * Redistributions of source code must retain the above copyright\n# notice, this list of conditions and the following disclaimer.\n# * Redistributions in binary form must reproduce the above\n# copyright notice, this list of conditions and the following\n# disclaimer in the documentation and/or other materials provided\n# with the distribution.\n# * Neither the name of Open Source Robotics Foundation, Inc. nor\n# the names of its contributors may be used to endorse or promote\n# products derived from this software without specific prior\n# written permission.\n#\n# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n# \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\n# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\n# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\n# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN\n# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\n# POSSIBILITY OF SUCH DAMAGE.\n\nfrom .repository_specification import RepositorySpecification\n\n\nclass SourceRepositorySpecification(RepositorySpecification):\n\n def __init__(self, name, data):\n super(SourceRepositorySpecification, self).__init__(name, data)\n\n self.test_commits = None\n if 'test_commits' in data:\n self.test_commits = bool(data['test_commits'])\n\n self.test_pull_requests = None\n if 'test_pull_requests' in data:\n self.test_pull_requests = bool(data['test_pull_requests'])\n\n def get_data(self):\n data = self._get_data(skip_git_type=False)\n if self.test_commits is not None:\n data['test_commits'] = self.test_commits\n if self.test_pull_requests is not None:\n data['test_pull_requests'] = self.test_pull_requests\n return data\n"},"license":{"kind":"string","value":"bsd-3-clause"}}},{"rowIdx":475225,"cells":{"repo_name":{"kind":"string","value":"mgagne/nova"},"path":{"kind":"string","value":"nova/baserpc.py"},"copies":{"kind":"string","value":"10"},"size":{"kind":"string","value":"2562"},"content":{"kind":"string","value":"#\n# Copyright 2013 Red Hat, Inc.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\"); you may\n# not use this file except in compliance with the License. You may obtain\n# a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the\n# License for the specific language governing permissions and limitations\n# under the License.\n#\n\n\"\"\"\nBase RPC client and server common to all services.\n\"\"\"\n\nfrom oslo.config import cfg\nfrom oslo import messaging\nfrom oslo.serialization import jsonutils\n\nfrom nova import rpc\n\n\nCONF = cfg.CONF\nrpcapi_cap_opt = cfg.StrOpt('baseapi',\n help='Set a version cap for messages sent to the base api in any '\n 'service')\nCONF.register_opt(rpcapi_cap_opt, 'upgrade_levels')\n\n_NAMESPACE = 'baseapi'\n\n\nclass BaseAPI(object):\n \"\"\"Client side of the base rpc API.\n\n API version history:\n\n 1.0 - Initial version.\n 1.1 - Add get_backdoor_port\n \"\"\"\n\n VERSION_ALIASES = {\n # baseapi was added in havana\n }\n\n def __init__(self, topic):\n super(BaseAPI, self).__init__()\n target = messaging.Target(topic=topic,\n namespace=_NAMESPACE,\n version='1.0')\n version_cap = self.VERSION_ALIASES.get(CONF.upgrade_levels.baseapi,\n CONF.upgrade_levels.baseapi)\n self.client = rpc.get_client(target, version_cap=version_cap)\n\n def ping(self, context, arg, timeout=None):\n arg_p = jsonutils.to_primitive(arg)\n cctxt = self.client.prepare(timeout=timeout)\n return cctxt.call(context, 'ping', arg=arg_p)\n\n def get_backdoor_port(self, context, host):\n cctxt = self.client.prepare(server=host, version='1.1')\n return cctxt.call(context, 'get_backdoor_port')\n\n\nclass BaseRPCAPI(object):\n \"\"\"Server side of the base RPC API.\"\"\"\n\n target = messaging.Target(namespace=_NAMESPACE, version='1.1')\n\n def __init__(self, service_name, backdoor_port):\n self.service_name = service_name\n self.backdoor_port = backdoor_port\n\n def ping(self, context, arg):\n resp = {'service': self.service_name, 'arg': arg}\n return jsonutils.to_primitive(resp)\n\n def get_backdoor_port(self, context):\n return self.backdoor_port\n"},"license":{"kind":"string","value":"apache-2.0"}}},{"rowIdx":475226,"cells":{"repo_name":{"kind":"string","value":"CatsAndDogsbvba/odoo"},"path":{"kind":"string","value":"addons/l10n_tr/__openerp__.py"},"copies":{"kind":"string","value":"259"},"size":{"kind":"string","value":"2056"},"content":{"kind":"string","value":"# -*- coding: utf-8 -*-\n##############################################################################\n#\n# OpenERP, Open Source Management Solution\n# Copyright (C) 2004-2010 Tiny SPRL ().\n#\n# This program is free software: you can redistribute it and/or modify\n# it under the terms of the GNU Affero General Public License as\n# published by the Free Software Foundation, either version 3 of the\n# License, or (at your option) any later version.\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n#\n# You should have received a copy of the GNU Affero General Public License\n# along with this program. If not, see .\n#\n##############################################################################\n{\n 'name': 'Turkey - Accounting',\n 'version': '1.beta',\n 'category': 'Localization/Account Charts',\n 'description': \"\"\"\nTürkiye için Tek düzen hesap planı şablonu OpenERP Modülü.\n==========================================================\n\nBu modül kurulduktan sonra, Muhasebe yapılandırma sihirbazı çalışır\n * Sihirbaz sizden hesap planı şablonu, planın kurulacağı şirket, banka hesap\n bilgileriniz, ilgili para birimi gibi bilgiler isteyecek.\n \"\"\",\n 'author': 'Ahmet Altınışık',\n 'maintainer':'https://launchpad.net/~openerp-turkey',\n 'website':'https://launchpad.net/openerp-turkey',\n 'depends': [\n 'account',\n 'base_vat',\n 'account_chart',\n ],\n 'data': [\n 'account_code_template.xml',\n 'account_tdhp_turkey.xml',\n 'account_tax_code_template.xml',\n 'account_chart_template.xml',\n 'account_tax_template.xml',\n 'l10n_tr_wizard.xml',\n ],\n 'demo': [],\n 'installable': True,\n}\n# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:\n"},"license":{"kind":"string","value":"agpl-3.0"}}},{"rowIdx":475227,"cells":{"repo_name":{"kind":"string","value":"abdulla-alali/CRE-NS3"},"path":{"kind":"string","value":"src/fd-net-device/bindings/modulegen__gcc_LP64.py"},"copies":{"kind":"string","value":"6"},"size":{"kind":"string","value":"300516"},"content":{"kind":"string","value":"from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers\n\n\nimport pybindgen.settings\nimport warnings\n\nclass ErrorHandler(pybindgen.settings.ErrorHandler):\n def handle_error(self, wrapper, exception, traceback_):\n warnings.warn(\"exception %r in wrapper %s\" % (exception, wrapper))\n return True\npybindgen.settings.error_handler = ErrorHandler()\n\n\nimport sys\n\ndef module_init():\n root_module = Module('ns.fd_net_device', cpp_namespace='::ns3')\n return root_module\n\ndef register_types(module):\n root_module = module.get_root()\n \n ## address.h (module 'network'): ns3::Address [class]\n module.add_class('Address', import_from_module='ns.network')\n ## address.h (module 'network'): ns3::Address::MaxSize_e [enumeration]\n module.add_enum('MaxSize_e', ['MAX_SIZE'], outer_class=root_module['ns3::Address'], import_from_module='ns.network')\n ## trace-helper.h (module 'network'): ns3::AsciiTraceHelper [class]\n module.add_class('AsciiTraceHelper', import_from_module='ns.network')\n ## trace-helper.h (module 'network'): ns3::AsciiTraceHelperForDevice [class]\n module.add_class('AsciiTraceHelperForDevice', allow_subclassing=True, import_from_module='ns.network')\n ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class]\n module.add_class('AttributeConstructionList', import_from_module='ns.core')\n ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct]\n module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList'])\n ## buffer.h (module 'network'): ns3::Buffer [class]\n module.add_class('Buffer', import_from_module='ns.network')\n ## buffer.h (module 'network'): ns3::Buffer::Iterator [class]\n module.add_class('Iterator', import_from_module='ns.network', outer_class=root_module['ns3::Buffer'])\n ## packet.h (module 'network'): ns3::ByteTagIterator [class]\n module.add_class('ByteTagIterator', import_from_module='ns.network')\n ## packet.h (module 'network'): ns3::ByteTagIterator::Item [class]\n module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::ByteTagIterator'])\n ## byte-tag-list.h (module 'network'): ns3::ByteTagList [class]\n module.add_class('ByteTagList', import_from_module='ns.network')\n ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator [class]\n module.add_class('Iterator', import_from_module='ns.network', outer_class=root_module['ns3::ByteTagList'])\n ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item [struct]\n module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::ByteTagList::Iterator'])\n ## callback.h (module 'core'): ns3::CallbackBase [class]\n module.add_class('CallbackBase', import_from_module='ns.core')\n ## system-mutex.h (module 'core'): ns3::CriticalSection [class]\n module.add_class('CriticalSection', import_from_module='ns.core')\n ## data-rate.h (module 'network'): ns3::DataRate [class]\n module.add_class('DataRate', import_from_module='ns.network')\n ## event-id.h (module 'core'): ns3::EventId [class]\n module.add_class('EventId', import_from_module='ns.core')\n ## ipv4-address.h (module 'network'): ns3::Ipv4Address [class]\n module.add_class('Ipv4Address', import_from_module='ns.network')\n ## ipv4-address.h (module 'network'): ns3::Ipv4Address [class]\n root_module['ns3::Ipv4Address'].implicitly_converts_to(root_module['ns3::Address'])\n ## ipv4-address.h (module 'network'): ns3::Ipv4Mask [class]\n module.add_class('Ipv4Mask', import_from_module='ns.network')\n ## ipv6-address.h (module 'network'): ns3::Ipv6Address [class]\n module.add_class('Ipv6Address', import_from_module='ns.network')\n ## ipv6-address.h (module 'network'): ns3::Ipv6Address [class]\n root_module['ns3::Ipv6Address'].implicitly_converts_to(root_module['ns3::Address'])\n ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix [class]\n module.add_class('Ipv6Prefix', import_from_module='ns.network')\n ## mac48-address.h (module 'network'): ns3::Mac48Address [class]\n module.add_class('Mac48Address', import_from_module='ns.network')\n ## mac48-address.h (module 'network'): ns3::Mac48Address [class]\n root_module['ns3::Mac48Address'].implicitly_converts_to(root_module['ns3::Address'])\n ## net-device-container.h (module 'network'): ns3::NetDeviceContainer [class]\n module.add_class('NetDeviceContainer', import_from_module='ns.network')\n ## node-container.h (module 'network'): ns3::NodeContainer [class]\n module.add_class('NodeContainer', import_from_module='ns.network')\n ## object-base.h (module 'core'): ns3::ObjectBase [class]\n module.add_class('ObjectBase', allow_subclassing=True, import_from_module='ns.core')\n ## object.h (module 'core'): ns3::ObjectDeleter [struct]\n module.add_class('ObjectDeleter', import_from_module='ns.core')\n ## object-factory.h (module 'core'): ns3::ObjectFactory [class]\n module.add_class('ObjectFactory', import_from_module='ns.core')\n ## packet-metadata.h (module 'network'): ns3::PacketMetadata [class]\n module.add_class('PacketMetadata', import_from_module='ns.network')\n ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item [struct]\n module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::PacketMetadata'])\n ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item [enumeration]\n module.add_enum('', ['PAYLOAD', 'HEADER', 'TRAILER'], outer_class=root_module['ns3::PacketMetadata::Item'], import_from_module='ns.network')\n ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator [class]\n module.add_class('ItemIterator', import_from_module='ns.network', outer_class=root_module['ns3::PacketMetadata'])\n ## packet.h (module 'network'): ns3::PacketTagIterator [class]\n module.add_class('PacketTagIterator', import_from_module='ns.network')\n ## packet.h (module 'network'): ns3::PacketTagIterator::Item [class]\n module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::PacketTagIterator'])\n ## packet-tag-list.h (module 'network'): ns3::PacketTagList [class]\n module.add_class('PacketTagList', import_from_module='ns.network')\n ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData [struct]\n module.add_class('TagData', import_from_module='ns.network', outer_class=root_module['ns3::PacketTagList'])\n ## pcap-file.h (module 'network'): ns3::PcapFile [class]\n module.add_class('PcapFile', import_from_module='ns.network')\n ## trace-helper.h (module 'network'): ns3::PcapHelper [class]\n module.add_class('PcapHelper', import_from_module='ns.network')\n ## trace-helper.h (module 'network'): ns3::PcapHelper [enumeration]\n module.add_enum('', ['DLT_NULL', 'DLT_EN10MB', 'DLT_PPP', 'DLT_RAW', 'DLT_IEEE802_11', 'DLT_PRISM_HEADER', 'DLT_IEEE802_11_RADIO'], outer_class=root_module['ns3::PcapHelper'], import_from_module='ns.network')\n ## trace-helper.h (module 'network'): ns3::PcapHelperForDevice [class]\n module.add_class('PcapHelperForDevice', allow_subclassing=True, import_from_module='ns.network')\n ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount [class]\n module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Object', 'ns3::ObjectBase', 'ns3::ObjectDeleter'], parent=root_module['ns3::ObjectBase'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))\n ## simulator.h (module 'core'): ns3::Simulator [class]\n module.add_class('Simulator', destructor_visibility='private', import_from_module='ns.core')\n ## system-condition.h (module 'core'): ns3::SystemCondition [class]\n module.add_class('SystemCondition', import_from_module='ns.core')\n ## system-mutex.h (module 'core'): ns3::SystemMutex [class]\n module.add_class('SystemMutex', import_from_module='ns.core')\n ## tag.h (module 'network'): ns3::Tag [class]\n module.add_class('Tag', import_from_module='ns.network', parent=root_module['ns3::ObjectBase'])\n ## tag-buffer.h (module 'network'): ns3::TagBuffer [class]\n module.add_class('TagBuffer', import_from_module='ns.network')\n ## type-id.h (module 'core'): ns3::TypeId [class]\n module.add_class('TypeId', import_from_module='ns.core')\n ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration]\n module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core')\n ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct]\n module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId'])\n ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct]\n module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId'])\n ## empty.h (module 'core'): ns3::empty [class]\n module.add_class('empty', import_from_module='ns.core')\n ## int64x64-double.h (module 'core'): ns3::int64x64_t [class]\n module.add_class('int64x64_t', import_from_module='ns.core')\n ## chunk.h (module 'network'): ns3::Chunk [class]\n module.add_class('Chunk', import_from_module='ns.network', parent=root_module['ns3::ObjectBase'])\n ## fd-net-device-helper.h (module 'fd-net-device'): ns3::FdNetDeviceHelper [class]\n module.add_class('FdNetDeviceHelper', parent=[root_module['ns3::PcapHelperForDevice'], root_module['ns3::AsciiTraceHelperForDevice']])\n ## header.h (module 'network'): ns3::Header [class]\n module.add_class('Header', import_from_module='ns.network', parent=root_module['ns3::Chunk'])\n ## object.h (module 'core'): ns3::Object [class]\n module.add_class('Object', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >'])\n ## object.h (module 'core'): ns3::Object::AggregateIterator [class]\n module.add_class('AggregateIterator', import_from_module='ns.core', outer_class=root_module['ns3::Object'])\n ## pcap-file-wrapper.h (module 'network'): ns3::PcapFileWrapper [class]\n module.add_class('PcapFileWrapper', import_from_module='ns.network', parent=root_module['ns3::Object'])\n ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount > [class]\n module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::AttributeAccessor', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))\n ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount > [class]\n module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::AttributeChecker', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))\n ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount > [class]\n module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::AttributeValue', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))\n ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount > [class]\n module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::CallbackImplBase', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))\n ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount > [class]\n module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::EventImpl', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))\n ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount > [class]\n module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::FdReader', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))\n ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount > [class]\n module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::NixVector', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))\n ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount > [class]\n module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::OutputStreamWrapper', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))\n ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount > [class]\n module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Packet', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))\n ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount > [class]\n module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::SystemThread', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))\n ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount > [class]\n module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::TraceSourceAccessor', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))\n ## system-thread.h (module 'core'): ns3::SystemThread [class]\n module.add_class('SystemThread', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::SystemThread, ns3::empty, ns3::DefaultDeleter >'])\n ## nstime.h (module 'core'): ns3::Time [class]\n module.add_class('Time', import_from_module='ns.core')\n ## nstime.h (module 'core'): ns3::Time::Unit [enumeration]\n module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core')\n ## nstime.h (module 'core'): ns3::Time [class]\n root_module['ns3::Time'].implicitly_converts_to(root_module['ns3::int64x64_t'])\n ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor [class]\n module.add_class('TraceSourceAccessor', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter >'])\n ## trailer.h (module 'network'): ns3::Trailer [class]\n module.add_class('Trailer', import_from_module='ns.network', parent=root_module['ns3::Chunk'])\n ## attribute.h (module 'core'): ns3::AttributeAccessor [class]\n module.add_class('AttributeAccessor', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter >'])\n ## attribute.h (module 'core'): ns3::AttributeChecker [class]\n module.add_class('AttributeChecker', allow_subclassing=False, automatic_type_narrowing=True, import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter >'])\n ## attribute.h (module 'core'): ns3::AttributeValue [class]\n module.add_class('AttributeValue', allow_subclassing=False, automatic_type_narrowing=True, import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter >'])\n ## callback.h (module 'core'): ns3::CallbackChecker [class]\n module.add_class('CallbackChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])\n ## callback.h (module 'core'): ns3::CallbackImplBase [class]\n module.add_class('CallbackImplBase', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter >'])\n ## callback.h (module 'core'): ns3::CallbackValue [class]\n module.add_class('CallbackValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])\n ## data-rate.h (module 'network'): ns3::DataRateChecker [class]\n module.add_class('DataRateChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])\n ## data-rate.h (module 'network'): ns3::DataRateValue [class]\n module.add_class('DataRateValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])\n ## attribute.h (module 'core'): ns3::EmptyAttributeValue [class]\n module.add_class('EmptyAttributeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])\n ## emu-fd-net-device-helper.h (module 'fd-net-device'): ns3::EmuFdNetDeviceHelper [class]\n module.add_class('EmuFdNetDeviceHelper', parent=root_module['ns3::FdNetDeviceHelper'])\n ## event-impl.h (module 'core'): ns3::EventImpl [class]\n module.add_class('EventImpl', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter >'])\n ## unix-fd-reader.h (module 'core'): ns3::FdReader [class]\n module.add_class('FdReader', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::FdReader, ns3::empty, ns3::DefaultDeleter >'])\n ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker [class]\n module.add_class('Ipv4AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])\n ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue [class]\n module.add_class('Ipv4AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])\n ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker [class]\n module.add_class('Ipv4MaskChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])\n ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue [class]\n module.add_class('Ipv4MaskValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])\n ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker [class]\n module.add_class('Ipv6AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])\n ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue [class]\n module.add_class('Ipv6AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])\n ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker [class]\n module.add_class('Ipv6PrefixChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])\n ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue [class]\n module.add_class('Ipv6PrefixValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])\n ## mac48-address.h (module 'network'): ns3::Mac48AddressChecker [class]\n module.add_class('Mac48AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])\n ## mac48-address.h (module 'network'): ns3::Mac48AddressValue [class]\n module.add_class('Mac48AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])\n ## net-device.h (module 'network'): ns3::NetDevice [class]\n module.add_class('NetDevice', import_from_module='ns.network', parent=root_module['ns3::Object'])\n ## net-device.h (module 'network'): ns3::NetDevice::PacketType [enumeration]\n module.add_enum('PacketType', ['PACKET_HOST', 'NS3_PACKET_HOST', 'PACKET_BROADCAST', 'NS3_PACKET_BROADCAST', 'PACKET_MULTICAST', 'NS3_PACKET_MULTICAST', 'PACKET_OTHERHOST', 'NS3_PACKET_OTHERHOST'], outer_class=root_module['ns3::NetDevice'], import_from_module='ns.network')\n ## nix-vector.h (module 'network'): ns3::NixVector [class]\n module.add_class('NixVector', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter >'])\n ## node.h (module 'network'): ns3::Node [class]\n module.add_class('Node', import_from_module='ns.network', parent=root_module['ns3::Object'])\n ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker [class]\n module.add_class('ObjectFactoryChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])\n ## object-factory.h (module 'core'): ns3::ObjectFactoryValue [class]\n module.add_class('ObjectFactoryValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])\n ## output-stream-wrapper.h (module 'network'): ns3::OutputStreamWrapper [class]\n module.add_class('OutputStreamWrapper', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter >'])\n ## packet.h (module 'network'): ns3::Packet [class]\n module.add_class('Packet', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter >'])\n ## planetlab-fd-net-device-helper.h (module 'fd-net-device'): ns3::PlanetLabFdNetDeviceHelper [class]\n module.add_class('PlanetLabFdNetDeviceHelper', parent=root_module['ns3::EmuFdNetDeviceHelper'])\n ## tap-fd-net-device-helper.h (module 'fd-net-device'): ns3::TapFdNetDeviceHelper [class]\n module.add_class('TapFdNetDeviceHelper', parent=root_module['ns3::EmuFdNetDeviceHelper'])\n ## nstime.h (module 'core'): ns3::TimeChecker [class]\n module.add_class('TimeChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])\n ## nstime.h (module 'core'): ns3::TimeValue [class]\n module.add_class('TimeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])\n ## type-id.h (module 'core'): ns3::TypeIdChecker [class]\n module.add_class('TypeIdChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])\n ## type-id.h (module 'core'): ns3::TypeIdValue [class]\n module.add_class('TypeIdValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])\n ## address.h (module 'network'): ns3::AddressChecker [class]\n module.add_class('AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])\n ## address.h (module 'network'): ns3::AddressValue [class]\n module.add_class('AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])\n ## fd-net-device.h (module 'fd-net-device'): ns3::FdNetDevice [class]\n module.add_class('FdNetDevice', parent=root_module['ns3::NetDevice'])\n ## fd-net-device.h (module 'fd-net-device'): ns3::FdNetDevice::EncapsulationMode [enumeration]\n module.add_enum('EncapsulationMode', ['DIX', 'LLC', 'DIXPI'], outer_class=root_module['ns3::FdNetDevice'])\n ## fd-net-device.h (module 'fd-net-device'): ns3::FdNetDeviceFdReader [class]\n module.add_class('FdNetDeviceFdReader', parent=root_module['ns3::FdReader'])\n \n ## Register a nested module for the namespace FatalImpl\n \n nested_module = module.add_cpp_namespace('FatalImpl')\n register_types_ns3_FatalImpl(nested_module)\n \n\ndef register_types_ns3_FatalImpl(module):\n root_module = module.get_root()\n \n\ndef register_methods(root_module):\n register_Ns3Address_methods(root_module, root_module['ns3::Address'])\n register_Ns3AsciiTraceHelper_methods(root_module, root_module['ns3::AsciiTraceHelper'])\n register_Ns3AsciiTraceHelperForDevice_methods(root_module, root_module['ns3::AsciiTraceHelperForDevice'])\n register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList'])\n register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item'])\n register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer'])\n register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator'])\n register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator'])\n register_Ns3ByteTagIteratorItem_methods(root_module, root_module['ns3::ByteTagIterator::Item'])\n register_Ns3ByteTagList_methods(root_module, root_module['ns3::ByteTagList'])\n register_Ns3ByteTagListIterator_methods(root_module, root_module['ns3::ByteTagList::Iterator'])\n register_Ns3ByteTagListIteratorItem_methods(root_module, root_module['ns3::ByteTagList::Iterator::Item'])\n register_Ns3CallbackBase_methods(root_module, root_module['ns3::CallbackBase'])\n register_Ns3CriticalSection_methods(root_module, root_module['ns3::CriticalSection'])\n register_Ns3DataRate_methods(root_module, root_module['ns3::DataRate'])\n register_Ns3EventId_methods(root_module, root_module['ns3::EventId'])\n register_Ns3Ipv4Address_methods(root_module, root_module['ns3::Ipv4Address'])\n register_Ns3Ipv4Mask_methods(root_module, root_module['ns3::Ipv4Mask'])\n register_Ns3Ipv6Address_methods(root_module, root_module['ns3::Ipv6Address'])\n register_Ns3Ipv6Prefix_methods(root_module, root_module['ns3::Ipv6Prefix'])\n register_Ns3Mac48Address_methods(root_module, root_module['ns3::Mac48Address'])\n register_Ns3NetDeviceContainer_methods(root_module, root_module['ns3::NetDeviceContainer'])\n register_Ns3NodeContainer_methods(root_module, root_module['ns3::NodeContainer'])\n register_Ns3ObjectBase_methods(root_module, root_module['ns3::ObjectBase'])\n register_Ns3ObjectDeleter_methods(root_module, root_module['ns3::ObjectDeleter'])\n register_Ns3ObjectFactory_methods(root_module, root_module['ns3::ObjectFactory'])\n register_Ns3PacketMetadata_methods(root_module, root_module['ns3::PacketMetadata'])\n register_Ns3PacketMetadataItem_methods(root_module, root_module['ns3::PacketMetadata::Item'])\n register_Ns3PacketMetadataItemIterator_methods(root_module, root_module['ns3::PacketMetadata::ItemIterator'])\n register_Ns3PacketTagIterator_methods(root_module, root_module['ns3::PacketTagIterator'])\n register_Ns3PacketTagIteratorItem_methods(root_module, root_module['ns3::PacketTagIterator::Item'])\n register_Ns3PacketTagList_methods(root_module, root_module['ns3::PacketTagList'])\n register_Ns3PacketTagListTagData_methods(root_module, root_module['ns3::PacketTagList::TagData'])\n register_Ns3PcapFile_methods(root_module, root_module['ns3::PcapFile'])\n register_Ns3PcapHelper_methods(root_module, root_module['ns3::PcapHelper'])\n register_Ns3PcapHelperForDevice_methods(root_module, root_module['ns3::PcapHelperForDevice'])\n register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >'])\n register_Ns3Simulator_methods(root_module, root_module['ns3::Simulator'])\n register_Ns3SystemCondition_methods(root_module, root_module['ns3::SystemCondition'])\n register_Ns3SystemMutex_methods(root_module, root_module['ns3::SystemMutex'])\n register_Ns3Tag_methods(root_module, root_module['ns3::Tag'])\n register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer'])\n register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId'])\n register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation'])\n register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation'])\n register_Ns3Empty_methods(root_module, root_module['ns3::empty'])\n register_Ns3Int64x64_t_methods(root_module, root_module['ns3::int64x64_t'])\n register_Ns3Chunk_methods(root_module, root_module['ns3::Chunk'])\n register_Ns3FdNetDeviceHelper_methods(root_module, root_module['ns3::FdNetDeviceHelper'])\n register_Ns3Header_methods(root_module, root_module['ns3::Header'])\n register_Ns3Object_methods(root_module, root_module['ns3::Object'])\n register_Ns3ObjectAggregateIterator_methods(root_module, root_module['ns3::Object::AggregateIterator'])\n register_Ns3PcapFileWrapper_methods(root_module, root_module['ns3::PcapFileWrapper'])\n register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter >'])\n register_Ns3SimpleRefCount__Ns3AttributeChecker_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeChecker__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter >'])\n register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeValue__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter >'])\n register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__lt__ns3CallbackImplBase__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter >'])\n register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter >'])\n register_Ns3SimpleRefCount__Ns3FdReader_Ns3Empty_Ns3DefaultDeleter__lt__ns3FdReader__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::FdReader, ns3::empty, ns3::DefaultDeleter >'])\n register_Ns3SimpleRefCount__Ns3NixVector_Ns3Empty_Ns3DefaultDeleter__lt__ns3NixVector__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter >'])\n register_Ns3SimpleRefCount__Ns3OutputStreamWrapper_Ns3Empty_Ns3DefaultDeleter__lt__ns3OutputStreamWrapper__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter >'])\n register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter >'])\n register_Ns3SimpleRefCount__Ns3SystemThread_Ns3Empty_Ns3DefaultDeleter__lt__ns3SystemThread__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::SystemThread, ns3::empty, ns3::DefaultDeleter >'])\n register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter >'])\n register_Ns3SystemThread_methods(root_module, root_module['ns3::SystemThread'])\n register_Ns3Time_methods(root_module, root_module['ns3::Time'])\n register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor'])\n register_Ns3Trailer_methods(root_module, root_module['ns3::Trailer'])\n register_Ns3AttributeAccessor_methods(root_module, root_module['ns3::AttributeAccessor'])\n register_Ns3AttributeChecker_methods(root_module, root_module['ns3::AttributeChecker'])\n register_Ns3AttributeValue_methods(root_module, root_module['ns3::AttributeValue'])\n register_Ns3CallbackChecker_methods(root_module, root_module['ns3::CallbackChecker'])\n register_Ns3CallbackImplBase_methods(root_module, root_module['ns3::CallbackImplBase'])\n register_Ns3CallbackValue_methods(root_module, root_module['ns3::CallbackValue'])\n register_Ns3DataRateChecker_methods(root_module, root_module['ns3::DataRateChecker'])\n register_Ns3DataRateValue_methods(root_module, root_module['ns3::DataRateValue'])\n register_Ns3EmptyAttributeValue_methods(root_module, root_module['ns3::EmptyAttributeValue'])\n register_Ns3EmuFdNetDeviceHelper_methods(root_module, root_module['ns3::EmuFdNetDeviceHelper'])\n register_Ns3EventImpl_methods(root_module, root_module['ns3::EventImpl'])\n register_Ns3FdReader_methods(root_module, root_module['ns3::FdReader'])\n register_Ns3Ipv4AddressChecker_methods(root_module, root_module['ns3::Ipv4AddressChecker'])\n register_Ns3Ipv4AddressValue_methods(root_module, root_module['ns3::Ipv4AddressValue'])\n register_Ns3Ipv4MaskChecker_methods(root_module, root_module['ns3::Ipv4MaskChecker'])\n register_Ns3Ipv4MaskValue_methods(root_module, root_module['ns3::Ipv4MaskValue'])\n register_Ns3Ipv6AddressChecker_methods(root_module, root_module['ns3::Ipv6AddressChecker'])\n register_Ns3Ipv6AddressValue_methods(root_module, root_module['ns3::Ipv6AddressValue'])\n register_Ns3Ipv6PrefixChecker_methods(root_module, root_module['ns3::Ipv6PrefixChecker'])\n register_Ns3Ipv6PrefixValue_methods(root_module, root_module['ns3::Ipv6PrefixValue'])\n register_Ns3Mac48AddressChecker_methods(root_module, root_module['ns3::Mac48AddressChecker'])\n register_Ns3Mac48AddressValue_methods(root_module, root_module['ns3::Mac48AddressValue'])\n register_Ns3NetDevice_methods(root_module, root_module['ns3::NetDevice'])\n register_Ns3NixVector_methods(root_module, root_module['ns3::NixVector'])\n register_Ns3Node_methods(root_module, root_module['ns3::Node'])\n register_Ns3ObjectFactoryChecker_methods(root_module, root_module['ns3::ObjectFactoryChecker'])\n register_Ns3ObjectFactoryValue_methods(root_module, root_module['ns3::ObjectFactoryValue'])\n register_Ns3OutputStreamWrapper_methods(root_module, root_module['ns3::OutputStreamWrapper'])\n register_Ns3Packet_methods(root_module, root_module['ns3::Packet'])\n register_Ns3PlanetLabFdNetDeviceHelper_methods(root_module, root_module['ns3::PlanetLabFdNetDeviceHelper'])\n register_Ns3TapFdNetDeviceHelper_methods(root_module, root_module['ns3::TapFdNetDeviceHelper'])\n register_Ns3TimeChecker_methods(root_module, root_module['ns3::TimeChecker'])\n register_Ns3TimeValue_methods(root_module, root_module['ns3::TimeValue'])\n register_Ns3TypeIdChecker_methods(root_module, root_module['ns3::TypeIdChecker'])\n register_Ns3TypeIdValue_methods(root_module, root_module['ns3::TypeIdValue'])\n register_Ns3AddressChecker_methods(root_module, root_module['ns3::AddressChecker'])\n register_Ns3AddressValue_methods(root_module, root_module['ns3::AddressValue'])\n register_Ns3FdNetDevice_methods(root_module, root_module['ns3::FdNetDevice'])\n register_Ns3FdNetDeviceFdReader_methods(root_module, root_module['ns3::FdNetDeviceFdReader'])\n return\n\ndef register_Ns3Address_methods(root_module, cls):\n cls.add_binary_comparison_operator('<')\n cls.add_binary_comparison_operator('!=')\n cls.add_output_stream_operator()\n cls.add_binary_comparison_operator('==')\n ## address.h (module 'network'): ns3::Address::Address() [constructor]\n cls.add_constructor([])\n ## address.h (module 'network'): ns3::Address::Address(uint8_t type, uint8_t const * buffer, uint8_t len) [constructor]\n cls.add_constructor([param('uint8_t', 'type'), param('uint8_t const *', 'buffer'), param('uint8_t', 'len')])\n ## address.h (module 'network'): ns3::Address::Address(ns3::Address const & address) [copy constructor]\n cls.add_constructor([param('ns3::Address const &', 'address')])\n ## address.h (module 'network'): bool ns3::Address::CheckCompatible(uint8_t type, uint8_t len) const [member function]\n cls.add_method('CheckCompatible', \n 'bool', \n [param('uint8_t', 'type'), param('uint8_t', 'len')], \n is_const=True)\n ## address.h (module 'network'): uint32_t ns3::Address::CopyAllFrom(uint8_t const * buffer, uint8_t len) [member function]\n cls.add_method('CopyAllFrom', \n 'uint32_t', \n [param('uint8_t const *', 'buffer'), param('uint8_t', 'len')])\n ## address.h (module 'network'): uint32_t ns3::Address::CopyAllTo(uint8_t * buffer, uint8_t len) const [member function]\n cls.add_method('CopyAllTo', \n 'uint32_t', \n [param('uint8_t *', 'buffer'), param('uint8_t', 'len')], \n is_const=True)\n ## address.h (module 'network'): uint32_t ns3::Address::CopyFrom(uint8_t const * buffer, uint8_t len) [member function]\n cls.add_method('CopyFrom', \n 'uint32_t', \n [param('uint8_t const *', 'buffer'), param('uint8_t', 'len')])\n ## address.h (module 'network'): uint32_t ns3::Address::CopyTo(uint8_t * buffer) const [member function]\n cls.add_method('CopyTo', \n 'uint32_t', \n [param('uint8_t *', 'buffer')], \n is_const=True)\n ## address.h (module 'network'): void ns3::Address::Deserialize(ns3::TagBuffer buffer) [member function]\n cls.add_method('Deserialize', \n 'void', \n [param('ns3::TagBuffer', 'buffer')])\n ## address.h (module 'network'): uint8_t ns3::Address::GetLength() const [member function]\n cls.add_method('GetLength', \n 'uint8_t', \n [], \n is_const=True)\n ## address.h (module 'network'): uint32_t ns3::Address::GetSerializedSize() const [member function]\n cls.add_method('GetSerializedSize', \n 'uint32_t', \n [], \n is_const=True)\n ## address.h (module 'network'): bool ns3::Address::IsInvalid() const [member function]\n cls.add_method('IsInvalid', \n 'bool', \n [], \n is_const=True)\n ## address.h (module 'network'): bool ns3::Address::IsMatchingType(uint8_t type) const [member function]\n cls.add_method('IsMatchingType', \n 'bool', \n [param('uint8_t', 'type')], \n is_const=True)\n ## address.h (module 'network'): static uint8_t ns3::Address::Register() [member function]\n cls.add_method('Register', \n 'uint8_t', \n [], \n is_static=True)\n ## address.h (module 'network'): void ns3::Address::Serialize(ns3::TagBuffer buffer) const [member function]\n cls.add_method('Serialize', \n 'void', \n [param('ns3::TagBuffer', 'buffer')], \n is_const=True)\n return\n\ndef register_Ns3AsciiTraceHelper_methods(root_module, cls):\n ## trace-helper.h (module 'network'): ns3::AsciiTraceHelper::AsciiTraceHelper(ns3::AsciiTraceHelper const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::AsciiTraceHelper const &', 'arg0')])\n ## trace-helper.h (module 'network'): ns3::AsciiTraceHelper::AsciiTraceHelper() [constructor]\n cls.add_constructor([])\n ## trace-helper.h (module 'network'): ns3::Ptr ns3::AsciiTraceHelper::CreateFileStream(std::string filename, std::_Ios_Openmode filemode=std::ios_base::out) [member function]\n cls.add_method('CreateFileStream', \n 'ns3::Ptr< ns3::OutputStreamWrapper >', \n [param('std::string', 'filename'), param('std::_Ios_Openmode', 'filemode', default_value='std::ios_base::out')])\n ## trace-helper.h (module 'network'): static void ns3::AsciiTraceHelper::DefaultDequeueSinkWithContext(ns3::Ptr file, std::string context, ns3::Ptr p) [member function]\n cls.add_method('DefaultDequeueSinkWithContext', \n 'void', \n [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')], \n is_static=True)\n ## trace-helper.h (module 'network'): static void ns3::AsciiTraceHelper::DefaultDequeueSinkWithoutContext(ns3::Ptr file, ns3::Ptr p) [member function]\n cls.add_method('DefaultDequeueSinkWithoutContext', \n 'void', \n [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('ns3::Ptr< ns3::Packet const >', 'p')], \n is_static=True)\n ## trace-helper.h (module 'network'): static void ns3::AsciiTraceHelper::DefaultDropSinkWithContext(ns3::Ptr file, std::string context, ns3::Ptr p) [member function]\n cls.add_method('DefaultDropSinkWithContext', \n 'void', \n [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')], \n is_static=True)\n ## trace-helper.h (module 'network'): static void ns3::AsciiTraceHelper::DefaultDropSinkWithoutContext(ns3::Ptr file, ns3::Ptr p) [member function]\n cls.add_method('DefaultDropSinkWithoutContext', \n 'void', \n [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('ns3::Ptr< ns3::Packet const >', 'p')], \n is_static=True)\n ## trace-helper.h (module 'network'): static void ns3::AsciiTraceHelper::DefaultEnqueueSinkWithContext(ns3::Ptr file, std::string context, ns3::Ptr p) [member function]\n cls.add_method('DefaultEnqueueSinkWithContext', \n 'void', \n [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')], \n is_static=True)\n ## trace-helper.h (module 'network'): static void ns3::AsciiTraceHelper::DefaultEnqueueSinkWithoutContext(ns3::Ptr file, ns3::Ptr p) [member function]\n cls.add_method('DefaultEnqueueSinkWithoutContext', \n 'void', \n [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('ns3::Ptr< ns3::Packet const >', 'p')], \n is_static=True)\n ## trace-helper.h (module 'network'): static void ns3::AsciiTraceHelper::DefaultReceiveSinkWithContext(ns3::Ptr file, std::string context, ns3::Ptr p) [member function]\n cls.add_method('DefaultReceiveSinkWithContext', \n 'void', \n [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')], \n is_static=True)\n ## trace-helper.h (module 'network'): static void ns3::AsciiTraceHelper::DefaultReceiveSinkWithoutContext(ns3::Ptr file, ns3::Ptr p) [member function]\n cls.add_method('DefaultReceiveSinkWithoutContext', \n 'void', \n [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('ns3::Ptr< ns3::Packet const >', 'p')], \n is_static=True)\n ## trace-helper.h (module 'network'): std::string ns3::AsciiTraceHelper::GetFilenameFromDevice(std::string prefix, ns3::Ptr device, bool useObjectNames=true) [member function]\n cls.add_method('GetFilenameFromDevice', \n 'std::string', \n [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'device'), param('bool', 'useObjectNames', default_value='true')])\n ## trace-helper.h (module 'network'): std::string ns3::AsciiTraceHelper::GetFilenameFromInterfacePair(std::string prefix, ns3::Ptr object, uint32_t interface, bool useObjectNames=true) [member function]\n cls.add_method('GetFilenameFromInterfacePair', \n 'std::string', \n [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Object >', 'object'), param('uint32_t', 'interface'), param('bool', 'useObjectNames', default_value='true')])\n return\n\ndef register_Ns3AsciiTraceHelperForDevice_methods(root_module, cls):\n ## trace-helper.h (module 'network'): ns3::AsciiTraceHelperForDevice::AsciiTraceHelperForDevice(ns3::AsciiTraceHelperForDevice const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::AsciiTraceHelperForDevice const &', 'arg0')])\n ## trace-helper.h (module 'network'): ns3::AsciiTraceHelperForDevice::AsciiTraceHelperForDevice() [constructor]\n cls.add_constructor([])\n ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, ns3::Ptr nd, bool explicitFilename=false) [member function]\n cls.add_method('EnableAscii', \n 'void', \n [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'explicitFilename', default_value='false')])\n ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr stream, ns3::Ptr nd) [member function]\n cls.add_method('EnableAscii', \n 'void', \n [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::Ptr< ns3::NetDevice >', 'nd')])\n ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, std::string ndName, bool explicitFilename=false) [member function]\n cls.add_method('EnableAscii', \n 'void', \n [param('std::string', 'prefix'), param('std::string', 'ndName'), param('bool', 'explicitFilename', default_value='false')])\n ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr stream, std::string ndName) [member function]\n cls.add_method('EnableAscii', \n 'void', \n [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'ndName')])\n ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, ns3::NetDeviceContainer d) [member function]\n cls.add_method('EnableAscii', \n 'void', \n [param('std::string', 'prefix'), param('ns3::NetDeviceContainer', 'd')])\n ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr stream, ns3::NetDeviceContainer d) [member function]\n cls.add_method('EnableAscii', \n 'void', \n [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::NetDeviceContainer', 'd')])\n ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, ns3::NodeContainer n) [member function]\n cls.add_method('EnableAscii', \n 'void', \n [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')])\n ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr stream, ns3::NodeContainer n) [member function]\n cls.add_method('EnableAscii', \n 'void', \n [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::NodeContainer', 'n')])\n ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, uint32_t nodeid, uint32_t deviceid, bool explicitFilename) [member function]\n cls.add_method('EnableAscii', \n 'void', \n [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid'), param('bool', 'explicitFilename')])\n ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr stream, uint32_t nodeid, uint32_t deviceid) [member function]\n cls.add_method('EnableAscii', \n 'void', \n [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid')])\n ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAsciiAll(std::string prefix) [member function]\n cls.add_method('EnableAsciiAll', \n 'void', \n [param('std::string', 'prefix')])\n ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAsciiAll(ns3::Ptr stream) [member function]\n cls.add_method('EnableAsciiAll', \n 'void', \n [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')])\n ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAsciiInternal(ns3::Ptr stream, std::string prefix, ns3::Ptr nd, bool explicitFilename) [member function]\n cls.add_method('EnableAsciiInternal', \n 'void', \n [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'explicitFilename')], \n is_pure_virtual=True, is_virtual=True)\n return\n\ndef register_Ns3AttributeConstructionList_methods(root_module, cls):\n ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')])\n ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor]\n cls.add_constructor([])\n ## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr checker, ns3::Ptr value) [member function]\n cls.add_method('Add', \n 'void', \n [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')])\n ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::Begin() const [member function]\n cls.add_method('Begin', \n 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', \n [], \n is_const=True)\n ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::End() const [member function]\n cls.add_method('End', \n 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', \n [], \n is_const=True)\n ## attribute-construction-list.h (module 'core'): ns3::Ptr ns3::AttributeConstructionList::Find(ns3::Ptr checker) const [member function]\n cls.add_method('Find', \n 'ns3::Ptr< ns3::AttributeValue >', \n [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], \n is_const=True)\n return\n\ndef register_Ns3AttributeConstructionListItem_methods(root_module, cls):\n ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor]\n cls.add_constructor([])\n ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')])\n ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable]\n cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False)\n ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable]\n cls.add_instance_attribute('name', 'std::string', is_const=False)\n ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable]\n cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False)\n return\n\ndef register_Ns3Buffer_methods(root_module, cls):\n ## buffer.h (module 'network'): ns3::Buffer::Buffer() [constructor]\n cls.add_constructor([])\n ## buffer.h (module 'network'): ns3::Buffer::Buffer(uint32_t dataSize) [constructor]\n cls.add_constructor([param('uint32_t', 'dataSize')])\n ## buffer.h (module 'network'): ns3::Buffer::Buffer(uint32_t dataSize, bool initialize) [constructor]\n cls.add_constructor([param('uint32_t', 'dataSize'), param('bool', 'initialize')])\n ## buffer.h (module 'network'): ns3::Buffer::Buffer(ns3::Buffer const & o) [copy constructor]\n cls.add_constructor([param('ns3::Buffer const &', 'o')])\n ## buffer.h (module 'network'): bool ns3::Buffer::AddAtEnd(uint32_t end) [member function]\n cls.add_method('AddAtEnd', \n 'bool', \n [param('uint32_t', 'end')])\n ## buffer.h (module 'network'): void ns3::Buffer::AddAtEnd(ns3::Buffer const & o) [member function]\n cls.add_method('AddAtEnd', \n 'void', \n [param('ns3::Buffer const &', 'o')])\n ## buffer.h (module 'network'): bool ns3::Buffer::AddAtStart(uint32_t start) [member function]\n cls.add_method('AddAtStart', \n 'bool', \n [param('uint32_t', 'start')])\n ## buffer.h (module 'network'): ns3::Buffer::Iterator ns3::Buffer::Begin() const [member function]\n cls.add_method('Begin', \n 'ns3::Buffer::Iterator', \n [], \n is_const=True)\n ## buffer.h (module 'network'): void ns3::Buffer::CopyData(std::ostream * os, uint32_t size) const [member function]\n cls.add_method('CopyData', \n 'void', \n [param('std::ostream *', 'os'), param('uint32_t', 'size')], \n is_const=True)\n ## buffer.h (module 'network'): uint32_t ns3::Buffer::CopyData(uint8_t * buffer, uint32_t size) const [member function]\n cls.add_method('CopyData', \n 'uint32_t', \n [param('uint8_t *', 'buffer'), param('uint32_t', 'size')], \n is_const=True)\n ## buffer.h (module 'network'): ns3::Buffer ns3::Buffer::CreateFragment(uint32_t start, uint32_t length) const [member function]\n cls.add_method('CreateFragment', \n 'ns3::Buffer', \n [param('uint32_t', 'start'), param('uint32_t', 'length')], \n is_const=True)\n ## buffer.h (module 'network'): ns3::Buffer ns3::Buffer::CreateFullCopy() const [member function]\n cls.add_method('CreateFullCopy', \n 'ns3::Buffer', \n [], \n is_const=True)\n ## buffer.h (module 'network'): uint32_t ns3::Buffer::Deserialize(uint8_t const * buffer, uint32_t size) [member function]\n cls.add_method('Deserialize', \n 'uint32_t', \n [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])\n ## buffer.h (module 'network'): ns3::Buffer::Iterator ns3::Buffer::End() const [member function]\n cls.add_method('End', \n 'ns3::Buffer::Iterator', \n [], \n is_const=True)\n ## buffer.h (module 'network'): int32_t ns3::Buffer::GetCurrentEndOffset() const [member function]\n cls.add_method('GetCurrentEndOffset', \n 'int32_t', \n [], \n is_const=True)\n ## buffer.h (module 'network'): int32_t ns3::Buffer::GetCurrentStartOffset() const [member function]\n cls.add_method('GetCurrentStartOffset', \n 'int32_t', \n [], \n is_const=True)\n ## buffer.h (module 'network'): uint32_t ns3::Buffer::GetSerializedSize() const [member function]\n cls.add_method('GetSerializedSize', \n 'uint32_t', \n [], \n is_const=True)\n ## buffer.h (module 'network'): uint32_t ns3::Buffer::GetSize() const [member function]\n cls.add_method('GetSize', \n 'uint32_t', \n [], \n is_const=True)\n ## buffer.h (module 'network'): uint8_t const * ns3::Buffer::PeekData() const [member function]\n cls.add_method('PeekData', \n 'uint8_t const *', \n [], \n is_const=True)\n ## buffer.h (module 'network'): void ns3::Buffer::RemoveAtEnd(uint32_t end) [member function]\n cls.add_method('RemoveAtEnd', \n 'void', \n [param('uint32_t', 'end')])\n ## buffer.h (module 'network'): void ns3::Buffer::RemoveAtStart(uint32_t start) [member function]\n cls.add_method('RemoveAtStart', \n 'void', \n [param('uint32_t', 'start')])\n ## buffer.h (module 'network'): uint32_t ns3::Buffer::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]\n cls.add_method('Serialize', \n 'uint32_t', \n [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')], \n is_const=True)\n return\n\ndef register_Ns3BufferIterator_methods(root_module, cls):\n ## buffer.h (module 'network'): ns3::Buffer::Iterator::Iterator(ns3::Buffer::Iterator const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::Buffer::Iterator const &', 'arg0')])\n ## buffer.h (module 'network'): ns3::Buffer::Iterator::Iterator() [constructor]\n cls.add_constructor([])\n ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::CalculateIpChecksum(uint16_t size) [member function]\n cls.add_method('CalculateIpChecksum', \n 'uint16_t', \n [param('uint16_t', 'size')])\n ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::CalculateIpChecksum(uint16_t size, uint32_t initialChecksum) [member function]\n cls.add_method('CalculateIpChecksum', \n 'uint16_t', \n [param('uint16_t', 'size'), param('uint32_t', 'initialChecksum')])\n ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::GetDistanceFrom(ns3::Buffer::Iterator const & o) const [member function]\n cls.add_method('GetDistanceFrom', \n 'uint32_t', \n [param('ns3::Buffer::Iterator const &', 'o')], \n is_const=True)\n ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::GetSize() const [member function]\n cls.add_method('GetSize', \n 'uint32_t', \n [], \n is_const=True)\n ## buffer.h (module 'network'): bool ns3::Buffer::Iterator::IsEnd() const [member function]\n cls.add_method('IsEnd', \n 'bool', \n [], \n is_const=True)\n ## buffer.h (module 'network'): bool ns3::Buffer::Iterator::IsStart() const [member function]\n cls.add_method('IsStart', \n 'bool', \n [], \n is_const=True)\n ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Next() [member function]\n cls.add_method('Next', \n 'void', \n [])\n ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Next(uint32_t delta) [member function]\n cls.add_method('Next', \n 'void', \n [param('uint32_t', 'delta')])\n ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Prev() [member function]\n cls.add_method('Prev', \n 'void', \n [])\n ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Prev(uint32_t delta) [member function]\n cls.add_method('Prev', \n 'void', \n [param('uint32_t', 'delta')])\n ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Read(uint8_t * buffer, uint32_t size) [member function]\n cls.add_method('Read', \n 'void', \n [param('uint8_t *', 'buffer'), param('uint32_t', 'size')])\n ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadLsbtohU16() [member function]\n cls.add_method('ReadLsbtohU16', \n 'uint16_t', \n [])\n ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadLsbtohU32() [member function]\n cls.add_method('ReadLsbtohU32', \n 'uint32_t', \n [])\n ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadLsbtohU64() [member function]\n cls.add_method('ReadLsbtohU64', \n 'uint64_t', \n [])\n ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadNtohU16() [member function]\n cls.add_method('ReadNtohU16', \n 'uint16_t', \n [])\n ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadNtohU32() [member function]\n cls.add_method('ReadNtohU32', \n 'uint32_t', \n [])\n ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadNtohU64() [member function]\n cls.add_method('ReadNtohU64', \n 'uint64_t', \n [])\n ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadU16() [member function]\n cls.add_method('ReadU16', \n 'uint16_t', \n [])\n ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadU32() [member function]\n cls.add_method('ReadU32', \n 'uint32_t', \n [])\n ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadU64() [member function]\n cls.add_method('ReadU64', \n 'uint64_t', \n [])\n ## buffer.h (module 'network'): uint8_t ns3::Buffer::Iterator::ReadU8() [member function]\n cls.add_method('ReadU8', \n 'uint8_t', \n [])\n ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Write(uint8_t const * buffer, uint32_t size) [member function]\n cls.add_method('Write', \n 'void', \n [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])\n ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Write(ns3::Buffer::Iterator start, ns3::Buffer::Iterator end) [member function]\n cls.add_method('Write', \n 'void', \n [param('ns3::Buffer::Iterator', 'start'), param('ns3::Buffer::Iterator', 'end')])\n ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU16(uint16_t data) [member function]\n cls.add_method('WriteHtolsbU16', \n 'void', \n [param('uint16_t', 'data')])\n ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU32(uint32_t data) [member function]\n cls.add_method('WriteHtolsbU32', \n 'void', \n [param('uint32_t', 'data')])\n ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU64(uint64_t data) [member function]\n cls.add_method('WriteHtolsbU64', \n 'void', \n [param('uint64_t', 'data')])\n ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU16(uint16_t data) [member function]\n cls.add_method('WriteHtonU16', \n 'void', \n [param('uint16_t', 'data')])\n ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU32(uint32_t data) [member function]\n cls.add_method('WriteHtonU32', \n 'void', \n [param('uint32_t', 'data')])\n ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU64(uint64_t data) [member function]\n cls.add_method('WriteHtonU64', \n 'void', \n [param('uint64_t', 'data')])\n ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU16(uint16_t data) [member function]\n cls.add_method('WriteU16', \n 'void', \n [param('uint16_t', 'data')])\n ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU32(uint32_t data) [member function]\n cls.add_method('WriteU32', \n 'void', \n [param('uint32_t', 'data')])\n ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU64(uint64_t data) [member function]\n cls.add_method('WriteU64', \n 'void', \n [param('uint64_t', 'data')])\n ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU8(uint8_t data) [member function]\n cls.add_method('WriteU8', \n 'void', \n [param('uint8_t', 'data')])\n ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU8(uint8_t data, uint32_t len) [member function]\n cls.add_method('WriteU8', \n 'void', \n [param('uint8_t', 'data'), param('uint32_t', 'len')])\n return\n\ndef register_Ns3ByteTagIterator_methods(root_module, cls):\n ## packet.h (module 'network'): ns3::ByteTagIterator::ByteTagIterator(ns3::ByteTagIterator const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::ByteTagIterator const &', 'arg0')])\n ## packet.h (module 'network'): bool ns3::ByteTagIterator::HasNext() const [member function]\n cls.add_method('HasNext', \n 'bool', \n [], \n is_const=True)\n ## packet.h (module 'network'): ns3::ByteTagIterator::Item ns3::ByteTagIterator::Next() [member function]\n cls.add_method('Next', \n 'ns3::ByteTagIterator::Item', \n [])\n return\n\ndef register_Ns3ByteTagIteratorItem_methods(root_module, cls):\n ## packet.h (module 'network'): ns3::ByteTagIterator::Item::Item(ns3::ByteTagIterator::Item const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::ByteTagIterator::Item const &', 'arg0')])\n ## packet.h (module 'network'): uint32_t ns3::ByteTagIterator::Item::GetEnd() const [member function]\n cls.add_method('GetEnd', \n 'uint32_t', \n [], \n is_const=True)\n ## packet.h (module 'network'): uint32_t ns3::ByteTagIterator::Item::GetStart() const [member function]\n cls.add_method('GetStart', \n 'uint32_t', \n [], \n is_const=True)\n ## packet.h (module 'network'): void ns3::ByteTagIterator::Item::GetTag(ns3::Tag & tag) const [member function]\n cls.add_method('GetTag', \n 'void', \n [param('ns3::Tag &', 'tag')], \n is_const=True)\n ## packet.h (module 'network'): ns3::TypeId ns3::ByteTagIterator::Item::GetTypeId() const [member function]\n cls.add_method('GetTypeId', \n 'ns3::TypeId', \n [], \n is_const=True)\n return\n\ndef register_Ns3ByteTagList_methods(root_module, cls):\n ## byte-tag-list.h (module 'network'): ns3::ByteTagList::ByteTagList() [constructor]\n cls.add_constructor([])\n ## byte-tag-list.h (module 'network'): ns3::ByteTagList::ByteTagList(ns3::ByteTagList const & o) [copy constructor]\n cls.add_constructor([param('ns3::ByteTagList const &', 'o')])\n ## byte-tag-list.h (module 'network'): ns3::TagBuffer ns3::ByteTagList::Add(ns3::TypeId tid, uint32_t bufferSize, int32_t start, int32_t end) [member function]\n cls.add_method('Add', \n 'ns3::TagBuffer', \n [param('ns3::TypeId', 'tid'), param('uint32_t', 'bufferSize'), param('int32_t', 'start'), param('int32_t', 'end')])\n ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::Add(ns3::ByteTagList const & o) [member function]\n cls.add_method('Add', \n 'void', \n [param('ns3::ByteTagList const &', 'o')])\n ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::AddAtEnd(int32_t adjustment, int32_t appendOffset) [member function]\n cls.add_method('AddAtEnd', \n 'void', \n [param('int32_t', 'adjustment'), param('int32_t', 'appendOffset')])\n ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::AddAtStart(int32_t adjustment, int32_t prependOffset) [member function]\n cls.add_method('AddAtStart', \n 'void', \n [param('int32_t', 'adjustment'), param('int32_t', 'prependOffset')])\n ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator ns3::ByteTagList::Begin(int32_t offsetStart, int32_t offsetEnd) const [member function]\n cls.add_method('Begin', \n 'ns3::ByteTagList::Iterator', \n [param('int32_t', 'offsetStart'), param('int32_t', 'offsetEnd')], \n is_const=True)\n ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::RemoveAll() [member function]\n cls.add_method('RemoveAll', \n 'void', \n [])\n return\n\ndef register_Ns3ByteTagListIterator_methods(root_module, cls):\n ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Iterator(ns3::ByteTagList::Iterator const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::ByteTagList::Iterator const &', 'arg0')])\n ## byte-tag-list.h (module 'network'): uint32_t ns3::ByteTagList::Iterator::GetOffsetStart() const [member function]\n cls.add_method('GetOffsetStart', \n 'uint32_t', \n [], \n is_const=True)\n ## byte-tag-list.h (module 'network'): bool ns3::ByteTagList::Iterator::HasNext() const [member function]\n cls.add_method('HasNext', \n 'bool', \n [], \n is_const=True)\n ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item ns3::ByteTagList::Iterator::Next() [member function]\n cls.add_method('Next', \n 'ns3::ByteTagList::Iterator::Item', \n [])\n return\n\ndef register_Ns3ByteTagListIteratorItem_methods(root_module, cls):\n ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::Item(ns3::ByteTagList::Iterator::Item const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::ByteTagList::Iterator::Item const &', 'arg0')])\n ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::Item(ns3::TagBuffer buf) [constructor]\n cls.add_constructor([param('ns3::TagBuffer', 'buf')])\n ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::buf [variable]\n cls.add_instance_attribute('buf', 'ns3::TagBuffer', is_const=False)\n ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::end [variable]\n cls.add_instance_attribute('end', 'int32_t', is_const=False)\n ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::size [variable]\n cls.add_instance_attribute('size', 'uint32_t', is_const=False)\n ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::start [variable]\n cls.add_instance_attribute('start', 'int32_t', is_const=False)\n ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::tid [variable]\n cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)\n return\n\ndef register_Ns3CallbackBase_methods(root_module, cls):\n ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase(ns3::CallbackBase const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::CallbackBase const &', 'arg0')])\n ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase() [constructor]\n cls.add_constructor([])\n ## callback.h (module 'core'): ns3::Ptr ns3::CallbackBase::GetImpl() const [member function]\n cls.add_method('GetImpl', \n 'ns3::Ptr< ns3::CallbackImplBase >', \n [], \n is_const=True)\n ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase(ns3::Ptr impl) [constructor]\n cls.add_constructor([param('ns3::Ptr< ns3::CallbackImplBase >', 'impl')], \n visibility='protected')\n ## callback.h (module 'core'): static std::string ns3::CallbackBase::Demangle(std::string const & mangled) [member function]\n cls.add_method('Demangle', \n 'std::string', \n [param('std::string const &', 'mangled')], \n is_static=True, visibility='protected')\n return\n\ndef register_Ns3CriticalSection_methods(root_module, cls):\n ## system-mutex.h (module 'core'): ns3::CriticalSection::CriticalSection(ns3::CriticalSection const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::CriticalSection const &', 'arg0')])\n ## system-mutex.h (module 'core'): ns3::CriticalSection::CriticalSection(ns3::SystemMutex & mutex) [constructor]\n cls.add_constructor([param('ns3::SystemMutex &', 'mutex')])\n return\n\ndef register_Ns3DataRate_methods(root_module, cls):\n cls.add_output_stream_operator()\n cls.add_binary_comparison_operator('!=')\n cls.add_binary_comparison_operator('<')\n cls.add_binary_comparison_operator('<=')\n cls.add_binary_comparison_operator('==')\n cls.add_binary_comparison_operator('>')\n cls.add_binary_comparison_operator('>=')\n ## data-rate.h (module 'network'): ns3::DataRate::DataRate(ns3::DataRate const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::DataRate const &', 'arg0')])\n ## data-rate.h (module 'network'): ns3::DataRate::DataRate() [constructor]\n cls.add_constructor([])\n ## data-rate.h (module 'network'): ns3::DataRate::DataRate(uint64_t bps) [constructor]\n cls.add_constructor([param('uint64_t', 'bps')])\n ## data-rate.h (module 'network'): ns3::DataRate::DataRate(std::string rate) [constructor]\n cls.add_constructor([param('std::string', 'rate')])\n ## data-rate.h (module 'network'): double ns3::DataRate::CalculateTxTime(uint32_t bytes) const [member function]\n cls.add_method('CalculateTxTime', \n 'double', \n [param('uint32_t', 'bytes')], \n is_const=True)\n ## data-rate.h (module 'network'): uint64_t ns3::DataRate::GetBitRate() const [member function]\n cls.add_method('GetBitRate', \n 'uint64_t', \n [], \n is_const=True)\n return\n\ndef register_Ns3EventId_methods(root_module, cls):\n cls.add_binary_comparison_operator('!=')\n cls.add_binary_comparison_operator('==')\n ## event-id.h (module 'core'): ns3::EventId::EventId(ns3::EventId const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::EventId const &', 'arg0')])\n ## event-id.h (module 'core'): ns3::EventId::EventId() [constructor]\n cls.add_constructor([])\n ## event-id.h (module 'core'): ns3::EventId::EventId(ns3::Ptr const & impl, uint64_t ts, uint32_t context, uint32_t uid) [constructor]\n cls.add_constructor([param('ns3::Ptr< ns3::EventImpl > const &', 'impl'), param('uint64_t', 'ts'), param('uint32_t', 'context'), param('uint32_t', 'uid')])\n ## event-id.h (module 'core'): void ns3::EventId::Cancel() [member function]\n cls.add_method('Cancel', \n 'void', \n [])\n ## event-id.h (module 'core'): uint32_t ns3::EventId::GetContext() const [member function]\n cls.add_method('GetContext', \n 'uint32_t', \n [], \n is_const=True)\n ## event-id.h (module 'core'): uint64_t ns3::EventId::GetTs() const [member function]\n cls.add_method('GetTs', \n 'uint64_t', \n [], \n is_const=True)\n ## event-id.h (module 'core'): uint32_t ns3::EventId::GetUid() const [member function]\n cls.add_method('GetUid', \n 'uint32_t', \n [], \n is_const=True)\n ## event-id.h (module 'core'): bool ns3::EventId::IsExpired() const [member function]\n cls.add_method('IsExpired', \n 'bool', \n [], \n is_const=True)\n ## event-id.h (module 'core'): bool ns3::EventId::IsRunning() const [member function]\n cls.add_method('IsRunning', \n 'bool', \n [], \n is_const=True)\n ## event-id.h (module 'core'): ns3::EventImpl * ns3::EventId::PeekEventImpl() const [member function]\n cls.add_method('PeekEventImpl', \n 'ns3::EventImpl *', \n [], \n is_const=True)\n return\n\ndef register_Ns3Ipv4Address_methods(root_module, cls):\n cls.add_binary_comparison_operator('<')\n cls.add_binary_comparison_operator('!=')\n cls.add_output_stream_operator()\n cls.add_binary_comparison_operator('==')\n ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address(ns3::Ipv4Address const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::Ipv4Address const &', 'arg0')])\n ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address() [constructor]\n cls.add_constructor([])\n ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address(uint32_t address) [constructor]\n cls.add_constructor([param('uint32_t', 'address')])\n ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address(char const * address) [constructor]\n cls.add_constructor([param('char const *', 'address')])\n ## ipv4-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv4Address::CombineMask(ns3::Ipv4Mask const & mask) const [member function]\n cls.add_method('CombineMask', \n 'ns3::Ipv4Address', \n [param('ns3::Ipv4Mask const &', 'mask')], \n is_const=True)\n ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::ConvertFrom(ns3::Address const & address) [member function]\n cls.add_method('ConvertFrom', \n 'ns3::Ipv4Address', \n [param('ns3::Address const &', 'address')], \n is_static=True)\n ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::Deserialize(uint8_t const * buf) [member function]\n cls.add_method('Deserialize', \n 'ns3::Ipv4Address', \n [param('uint8_t const *', 'buf')], \n is_static=True)\n ## ipv4-address.h (module 'network'): uint32_t ns3::Ipv4Address::Get() const [member function]\n cls.add_method('Get', \n 'uint32_t', \n [], \n is_const=True)\n ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetAny() [member function]\n cls.add_method('GetAny', \n 'ns3::Ipv4Address', \n [], \n is_static=True)\n ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetBroadcast() [member function]\n cls.add_method('GetBroadcast', \n 'ns3::Ipv4Address', \n [], \n is_static=True)\n ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetLoopback() [member function]\n cls.add_method('GetLoopback', \n 'ns3::Ipv4Address', \n [], \n is_static=True)\n ## ipv4-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv4Address::GetSubnetDirectedBroadcast(ns3::Ipv4Mask const & mask) const [member function]\n cls.add_method('GetSubnetDirectedBroadcast', \n 'ns3::Ipv4Address', \n [param('ns3::Ipv4Mask const &', 'mask')], \n is_const=True)\n ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetZero() [member function]\n cls.add_method('GetZero', \n 'ns3::Ipv4Address', \n [], \n is_static=True)\n ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsBroadcast() const [member function]\n cls.add_method('IsBroadcast', \n 'bool', \n [], \n is_const=True)\n ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsEqual(ns3::Ipv4Address const & other) const [member function]\n cls.add_method('IsEqual', \n 'bool', \n [param('ns3::Ipv4Address const &', 'other')], \n is_const=True)\n ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsLocalMulticast() const [member function]\n cls.add_method('IsLocalMulticast', \n 'bool', \n [], \n is_const=True)\n ## ipv4-address.h (module 'network'): static bool ns3::Ipv4Address::IsMatchingType(ns3::Address const & address) [member function]\n cls.add_method('IsMatchingType', \n 'bool', \n [param('ns3::Address const &', 'address')], \n is_static=True)\n ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsMulticast() const [member function]\n cls.add_method('IsMulticast', \n 'bool', \n [], \n is_const=True)\n ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsSubnetDirectedBroadcast(ns3::Ipv4Mask const & mask) const [member function]\n cls.add_method('IsSubnetDirectedBroadcast', \n 'bool', \n [param('ns3::Ipv4Mask const &', 'mask')], \n is_const=True)\n ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Print(std::ostream & os) const [member function]\n cls.add_method('Print', \n 'void', \n [param('std::ostream &', 'os')], \n is_const=True)\n ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Serialize(uint8_t * buf) const [member function]\n cls.add_method('Serialize', \n 'void', \n [param('uint8_t *', 'buf')], \n is_const=True)\n ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Set(uint32_t address) [member function]\n cls.add_method('Set', \n 'void', \n [param('uint32_t', 'address')])\n ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Set(char const * address) [member function]\n cls.add_method('Set', \n 'void', \n [param('char const *', 'address')])\n return\n\ndef register_Ns3Ipv4Mask_methods(root_module, cls):\n cls.add_binary_comparison_operator('!=')\n cls.add_output_stream_operator()\n cls.add_binary_comparison_operator('==')\n ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask(ns3::Ipv4Mask const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::Ipv4Mask const &', 'arg0')])\n ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask() [constructor]\n cls.add_constructor([])\n ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask(uint32_t mask) [constructor]\n cls.add_constructor([param('uint32_t', 'mask')])\n ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask(char const * mask) [constructor]\n cls.add_constructor([param('char const *', 'mask')])\n ## ipv4-address.h (module 'network'): uint32_t ns3::Ipv4Mask::Get() const [member function]\n cls.add_method('Get', \n 'uint32_t', \n [], \n is_const=True)\n ## ipv4-address.h (module 'network'): uint32_t ns3::Ipv4Mask::GetInverse() const [member function]\n cls.add_method('GetInverse', \n 'uint32_t', \n [], \n is_const=True)\n ## ipv4-address.h (module 'network'): static ns3::Ipv4Mask ns3::Ipv4Mask::GetLoopback() [member function]\n cls.add_method('GetLoopback', \n 'ns3::Ipv4Mask', \n [], \n is_static=True)\n ## ipv4-address.h (module 'network'): static ns3::Ipv4Mask ns3::Ipv4Mask::GetOnes() [member function]\n cls.add_method('GetOnes', \n 'ns3::Ipv4Mask', \n [], \n is_static=True)\n ## ipv4-address.h (module 'network'): uint16_t ns3::Ipv4Mask::GetPrefixLength() const [member function]\n cls.add_method('GetPrefixLength', \n 'uint16_t', \n [], \n is_const=True)\n ## ipv4-address.h (module 'network'): static ns3::Ipv4Mask ns3::Ipv4Mask::GetZero() [member function]\n cls.add_method('GetZero', \n 'ns3::Ipv4Mask', \n [], \n is_static=True)\n ## ipv4-address.h (module 'network'): bool ns3::Ipv4Mask::IsEqual(ns3::Ipv4Mask other) const [member function]\n cls.add_method('IsEqual', \n 'bool', \n [param('ns3::Ipv4Mask', 'other')], \n is_const=True)\n ## ipv4-address.h (module 'network'): bool ns3::Ipv4Mask::IsMatch(ns3::Ipv4Address a, ns3::Ipv4Address b) const [member function]\n cls.add_method('IsMatch', \n 'bool', \n [param('ns3::Ipv4Address', 'a'), param('ns3::Ipv4Address', 'b')], \n is_const=True)\n ## ipv4-address.h (module 'network'): void ns3::Ipv4Mask::Print(std::ostream & os) const [member function]\n cls.add_method('Print', \n 'void', \n [param('std::ostream &', 'os')], \n is_const=True)\n ## ipv4-address.h (module 'network'): void ns3::Ipv4Mask::Set(uint32_t mask) [member function]\n cls.add_method('Set', \n 'void', \n [param('uint32_t', 'mask')])\n return\n\ndef register_Ns3Ipv6Address_methods(root_module, cls):\n cls.add_binary_comparison_operator('<')\n cls.add_binary_comparison_operator('!=')\n cls.add_output_stream_operator()\n cls.add_binary_comparison_operator('==')\n ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address() [constructor]\n cls.add_constructor([])\n ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(char const * address) [constructor]\n cls.add_constructor([param('char const *', 'address')])\n ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(uint8_t * address) [constructor]\n cls.add_constructor([param('uint8_t *', 'address')])\n ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(ns3::Ipv6Address const & addr) [copy constructor]\n cls.add_constructor([param('ns3::Ipv6Address const &', 'addr')])\n ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(ns3::Ipv6Address const * addr) [constructor]\n cls.add_constructor([param('ns3::Ipv6Address const *', 'addr')])\n ## ipv6-address.h (module 'network'): ns3::Ipv6Address ns3::Ipv6Address::CombinePrefix(ns3::Ipv6Prefix const & prefix) [member function]\n cls.add_method('CombinePrefix', \n 'ns3::Ipv6Address', \n [param('ns3::Ipv6Prefix const &', 'prefix')])\n ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::ConvertFrom(ns3::Address const & address) [member function]\n cls.add_method('ConvertFrom', \n 'ns3::Ipv6Address', \n [param('ns3::Address const &', 'address')], \n is_static=True)\n ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::Deserialize(uint8_t const * buf) [member function]\n cls.add_method('Deserialize', \n 'ns3::Ipv6Address', \n [param('uint8_t const *', 'buf')], \n is_static=True)\n ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAllHostsMulticast() [member function]\n cls.add_method('GetAllHostsMulticast', \n 'ns3::Ipv6Address', \n [], \n is_static=True)\n ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAllNodesMulticast() [member function]\n cls.add_method('GetAllNodesMulticast', \n 'ns3::Ipv6Address', \n [], \n is_static=True)\n ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAllRoutersMulticast() [member function]\n cls.add_method('GetAllRoutersMulticast', \n 'ns3::Ipv6Address', \n [], \n is_static=True)\n ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAny() [member function]\n cls.add_method('GetAny', \n 'ns3::Ipv6Address', \n [], \n is_static=True)\n ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::GetBytes(uint8_t * buf) const [member function]\n cls.add_method('GetBytes', \n 'void', \n [param('uint8_t *', 'buf')], \n is_const=True)\n ## ipv6-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv6Address::GetIpv4MappedAddress() const [member function]\n cls.add_method('GetIpv4MappedAddress', \n 'ns3::Ipv4Address', \n [], \n is_const=True)\n ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetLoopback() [member function]\n cls.add_method('GetLoopback', \n 'ns3::Ipv6Address', \n [], \n is_static=True)\n ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetOnes() [member function]\n cls.add_method('GetOnes', \n 'ns3::Ipv6Address', \n [], \n is_static=True)\n ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetZero() [member function]\n cls.add_method('GetZero', \n 'ns3::Ipv6Address', \n [], \n is_static=True)\n ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAllHostsMulticast() const [member function]\n cls.add_method('IsAllHostsMulticast', \n 'bool', \n [], \n is_const=True)\n ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAllNodesMulticast() const [member function]\n cls.add_method('IsAllNodesMulticast', \n 'bool', \n [], \n is_const=True)\n ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAllRoutersMulticast() const [member function]\n cls.add_method('IsAllRoutersMulticast', \n 'bool', \n [], \n is_const=True)\n ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAny() const [member function]\n cls.add_method('IsAny', \n 'bool', \n [], \n is_const=True)\n ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsEqual(ns3::Ipv6Address const & other) const [member function]\n cls.add_method('IsEqual', \n 'bool', \n [param('ns3::Ipv6Address const &', 'other')], \n is_const=True)\n ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsIpv4MappedAddress() [member function]\n cls.add_method('IsIpv4MappedAddress', \n 'bool', \n [])\n ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsLinkLocal() const [member function]\n cls.add_method('IsLinkLocal', \n 'bool', \n [], \n is_const=True)\n ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsLinkLocalMulticast() const [member function]\n cls.add_method('IsLinkLocalMulticast', \n 'bool', \n [], \n is_const=True)\n ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsLocalhost() const [member function]\n cls.add_method('IsLocalhost', \n 'bool', \n [], \n is_const=True)\n ## ipv6-address.h (module 'network'): static bool ns3::Ipv6Address::IsMatchingType(ns3::Address const & address) [member function]\n cls.add_method('IsMatchingType', \n 'bool', \n [param('ns3::Address const &', 'address')], \n is_static=True)\n ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsMulticast() const [member function]\n cls.add_method('IsMulticast', \n 'bool', \n [], \n is_const=True)\n ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsSolicitedMulticast() const [member function]\n cls.add_method('IsSolicitedMulticast', \n 'bool', \n [], \n is_const=True)\n ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeAutoconfiguredAddress(ns3::Mac48Address addr, ns3::Ipv6Address prefix) [member function]\n cls.add_method('MakeAutoconfiguredAddress', \n 'ns3::Ipv6Address', \n [param('ns3::Mac48Address', 'addr'), param('ns3::Ipv6Address', 'prefix')], \n is_static=True)\n ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeAutoconfiguredLinkLocalAddress(ns3::Mac48Address mac) [member function]\n cls.add_method('MakeAutoconfiguredLinkLocalAddress', \n 'ns3::Ipv6Address', \n [param('ns3::Mac48Address', 'mac')], \n is_static=True)\n ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeIpv4MappedAddress(ns3::Ipv4Address addr) [member function]\n cls.add_method('MakeIpv4MappedAddress', \n 'ns3::Ipv6Address', \n [param('ns3::Ipv4Address', 'addr')], \n is_static=True)\n ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeSolicitedAddress(ns3::Ipv6Address addr) [member function]\n cls.add_method('MakeSolicitedAddress', \n 'ns3::Ipv6Address', \n [param('ns3::Ipv6Address', 'addr')], \n is_static=True)\n ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Print(std::ostream & os) const [member function]\n cls.add_method('Print', \n 'void', \n [param('std::ostream &', 'os')], \n is_const=True)\n ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Serialize(uint8_t * buf) const [member function]\n cls.add_method('Serialize', \n 'void', \n [param('uint8_t *', 'buf')], \n is_const=True)\n ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Set(char const * address) [member function]\n cls.add_method('Set', \n 'void', \n [param('char const *', 'address')])\n ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Set(uint8_t * address) [member function]\n cls.add_method('Set', \n 'void', \n [param('uint8_t *', 'address')])\n return\n\ndef register_Ns3Ipv6Prefix_methods(root_module, cls):\n cls.add_binary_comparison_operator('!=')\n cls.add_output_stream_operator()\n cls.add_binary_comparison_operator('==')\n ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix() [constructor]\n cls.add_constructor([])\n ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(uint8_t * prefix) [constructor]\n cls.add_constructor([param('uint8_t *', 'prefix')])\n ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(char const * prefix) [constructor]\n cls.add_constructor([param('char const *', 'prefix')])\n ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(uint8_t prefix) [constructor]\n cls.add_constructor([param('uint8_t', 'prefix')])\n ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(ns3::Ipv6Prefix const & prefix) [copy constructor]\n cls.add_constructor([param('ns3::Ipv6Prefix const &', 'prefix')])\n ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(ns3::Ipv6Prefix const * prefix) [constructor]\n cls.add_constructor([param('ns3::Ipv6Prefix const *', 'prefix')])\n ## ipv6-address.h (module 'network'): void ns3::Ipv6Prefix::GetBytes(uint8_t * buf) const [member function]\n cls.add_method('GetBytes', \n 'void', \n [param('uint8_t *', 'buf')], \n is_const=True)\n ## ipv6-address.h (module 'network'): static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetLoopback() [member function]\n cls.add_method('GetLoopback', \n 'ns3::Ipv6Prefix', \n [], \n is_static=True)\n ## ipv6-address.h (module 'network'): static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetOnes() [member function]\n cls.add_method('GetOnes', \n 'ns3::Ipv6Prefix', \n [], \n is_static=True)\n ## ipv6-address.h (module 'network'): uint8_t ns3::Ipv6Prefix::GetPrefixLength() const [member function]\n cls.add_method('GetPrefixLength', \n 'uint8_t', \n [], \n is_const=True)\n ## ipv6-address.h (module 'network'): static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetZero() [member function]\n cls.add_method('GetZero', \n 'ns3::Ipv6Prefix', \n [], \n is_static=True)\n ## ipv6-address.h (module 'network'): bool ns3::Ipv6Prefix::IsEqual(ns3::Ipv6Prefix const & other) const [member function]\n cls.add_method('IsEqual', \n 'bool', \n [param('ns3::Ipv6Prefix const &', 'other')], \n is_const=True)\n ## ipv6-address.h (module 'network'): bool ns3::Ipv6Prefix::IsMatch(ns3::Ipv6Address a, ns3::Ipv6Address b) const [member function]\n cls.add_method('IsMatch', \n 'bool', \n [param('ns3::Ipv6Address', 'a'), param('ns3::Ipv6Address', 'b')], \n is_const=True)\n ## ipv6-address.h (module 'network'): void ns3::Ipv6Prefix::Print(std::ostream & os) const [member function]\n cls.add_method('Print', \n 'void', \n [param('std::ostream &', 'os')], \n is_const=True)\n return\n\ndef register_Ns3Mac48Address_methods(root_module, cls):\n cls.add_binary_comparison_operator('<')\n cls.add_binary_comparison_operator('!=')\n cls.add_output_stream_operator()\n cls.add_binary_comparison_operator('==')\n ## mac48-address.h (module 'network'): ns3::Mac48Address::Mac48Address(ns3::Mac48Address const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::Mac48Address const &', 'arg0')])\n ## mac48-address.h (module 'network'): ns3::Mac48Address::Mac48Address() [constructor]\n cls.add_constructor([])\n ## mac48-address.h (module 'network'): ns3::Mac48Address::Mac48Address(char const * str) [constructor]\n cls.add_constructor([param('char const *', 'str')])\n ## mac48-address.h (module 'network'): static ns3::Mac48Address ns3::Mac48Address::Allocate() [member function]\n cls.add_method('Allocate', \n 'ns3::Mac48Address', \n [], \n is_static=True)\n ## mac48-address.h (module 'network'): static ns3::Mac48Address ns3::Mac48Address::ConvertFrom(ns3::Address const & address) [member function]\n cls.add_method('ConvertFrom', \n 'ns3::Mac48Address', \n [param('ns3::Address const &', 'address')], \n is_static=True)\n ## mac48-address.h (module 'network'): void ns3::Mac48Address::CopyFrom(uint8_t const * buffer) [member function]\n cls.add_method('CopyFrom', \n 'void', \n [param('uint8_t const *', 'buffer')])\n ## mac48-address.h (module 'network'): void ns3::Mac48Address::CopyTo(uint8_t * buffer) const [member function]\n cls.add_method('CopyTo', \n 'void', \n [param('uint8_t *', 'buffer')], \n is_const=True)\n ## mac48-address.h (module 'network'): static ns3::Mac48Address ns3::Mac48Address::GetBroadcast() [member function]\n cls.add_method('GetBroadcast', \n 'ns3::Mac48Address', \n [], \n is_static=True)\n ## mac48-address.h (module 'network'): static ns3::Mac48Address ns3::Mac48Address::GetMulticast(ns3::Ipv4Address address) [member function]\n cls.add_method('GetMulticast', \n 'ns3::Mac48Address', \n [param('ns3::Ipv4Address', 'address')], \n is_static=True)\n ## mac48-address.h (module 'network'): static ns3::Mac48Address ns3::Mac48Address::GetMulticast(ns3::Ipv6Address address) [member function]\n cls.add_method('GetMulticast', \n 'ns3::Mac48Address', \n [param('ns3::Ipv6Address', 'address')], \n is_static=True)\n ## mac48-address.h (module 'network'): static ns3::Mac48Address ns3::Mac48Address::GetMulticast6Prefix() [member function]\n cls.add_method('GetMulticast6Prefix', \n 'ns3::Mac48Address', \n [], \n is_static=True)\n ## mac48-address.h (module 'network'): static ns3::Mac48Address ns3::Mac48Address::GetMulticastPrefix() [member function]\n cls.add_method('GetMulticastPrefix', \n 'ns3::Mac48Address', \n [], \n is_static=True)\n ## mac48-address.h (module 'network'): bool ns3::Mac48Address::IsBroadcast() const [member function]\n cls.add_method('IsBroadcast', \n 'bool', \n [], \n is_const=True)\n ## mac48-address.h (module 'network'): bool ns3::Mac48Address::IsGroup() const [member function]\n cls.add_method('IsGroup', \n 'bool', \n [], \n is_const=True)\n ## mac48-address.h (module 'network'): static bool ns3::Mac48Address::IsMatchingType(ns3::Address const & address) [member function]\n cls.add_method('IsMatchingType', \n 'bool', \n [param('ns3::Address const &', 'address')], \n is_static=True)\n return\n\ndef register_Ns3NetDeviceContainer_methods(root_module, cls):\n ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(ns3::NetDeviceContainer const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::NetDeviceContainer const &', 'arg0')])\n ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer() [constructor]\n cls.add_constructor([])\n ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(ns3::Ptr dev) [constructor]\n cls.add_constructor([param('ns3::Ptr< ns3::NetDevice >', 'dev')])\n ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(std::string devName) [constructor]\n cls.add_constructor([param('std::string', 'devName')])\n ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(ns3::NetDeviceContainer const & a, ns3::NetDeviceContainer const & b) [constructor]\n cls.add_constructor([param('ns3::NetDeviceContainer const &', 'a'), param('ns3::NetDeviceContainer const &', 'b')])\n ## net-device-container.h (module 'network'): void ns3::NetDeviceContainer::Add(ns3::NetDeviceContainer other) [member function]\n cls.add_method('Add', \n 'void', \n [param('ns3::NetDeviceContainer', 'other')])\n ## net-device-container.h (module 'network'): void ns3::NetDeviceContainer::Add(ns3::Ptr device) [member function]\n cls.add_method('Add', \n 'void', \n [param('ns3::Ptr< ns3::NetDevice >', 'device')])\n ## net-device-container.h (module 'network'): void ns3::NetDeviceContainer::Add(std::string deviceName) [member function]\n cls.add_method('Add', \n 'void', \n [param('std::string', 'deviceName')])\n ## net-device-container.h (module 'network'): __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::NetDeviceContainer::Begin() const [member function]\n cls.add_method('Begin', \n '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::NetDevice > const, std::vector< ns3::Ptr< ns3::NetDevice > > >', \n [], \n is_const=True)\n ## net-device-container.h (module 'network'): __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::NetDeviceContainer::End() const [member function]\n cls.add_method('End', \n '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::NetDevice > const, std::vector< ns3::Ptr< ns3::NetDevice > > >', \n [], \n is_const=True)\n ## net-device-container.h (module 'network'): ns3::Ptr ns3::NetDeviceContainer::Get(uint32_t i) const [member function]\n cls.add_method('Get', \n 'ns3::Ptr< ns3::NetDevice >', \n [param('uint32_t', 'i')], \n is_const=True)\n ## net-device-container.h (module 'network'): uint32_t ns3::NetDeviceContainer::GetN() const [member function]\n cls.add_method('GetN', \n 'uint32_t', \n [], \n is_const=True)\n return\n\ndef register_Ns3NodeContainer_methods(root_module, cls):\n ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::NodeContainer const &', 'arg0')])\n ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer() [constructor]\n cls.add_constructor([])\n ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::Ptr node) [constructor]\n cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node')])\n ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(std::string nodeName) [constructor]\n cls.add_constructor([param('std::string', 'nodeName')])\n ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b) [constructor]\n cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b')])\n ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b, ns3::NodeContainer const & c) [constructor]\n cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b'), param('ns3::NodeContainer const &', 'c')])\n ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b, ns3::NodeContainer const & c, ns3::NodeContainer const & d) [constructor]\n cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b'), param('ns3::NodeContainer const &', 'c'), param('ns3::NodeContainer const &', 'd')])\n ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b, ns3::NodeContainer const & c, ns3::NodeContainer const & d, ns3::NodeContainer const & e) [constructor]\n cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b'), param('ns3::NodeContainer const &', 'c'), param('ns3::NodeContainer const &', 'd'), param('ns3::NodeContainer const &', 'e')])\n ## node-container.h (module 'network'): void ns3::NodeContainer::Add(ns3::NodeContainer other) [member function]\n cls.add_method('Add', \n 'void', \n [param('ns3::NodeContainer', 'other')])\n ## node-container.h (module 'network'): void ns3::NodeContainer::Add(ns3::Ptr node) [member function]\n cls.add_method('Add', \n 'void', \n [param('ns3::Ptr< ns3::Node >', 'node')])\n ## node-container.h (module 'network'): void ns3::NodeContainer::Add(std::string nodeName) [member function]\n cls.add_method('Add', \n 'void', \n [param('std::string', 'nodeName')])\n ## node-container.h (module 'network'): __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::NodeContainer::Begin() const [member function]\n cls.add_method('Begin', \n '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > >', \n [], \n is_const=True)\n ## node-container.h (module 'network'): void ns3::NodeContainer::Create(uint32_t n) [member function]\n cls.add_method('Create', \n 'void', \n [param('uint32_t', 'n')])\n ## node-container.h (module 'network'): void ns3::NodeContainer::Create(uint32_t n, uint32_t systemId) [member function]\n cls.add_method('Create', \n 'void', \n [param('uint32_t', 'n'), param('uint32_t', 'systemId')])\n ## node-container.h (module 'network'): __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::NodeContainer::End() const [member function]\n cls.add_method('End', \n '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > >', \n [], \n is_const=True)\n ## node-container.h (module 'network'): ns3::Ptr ns3::NodeContainer::Get(uint32_t i) const [member function]\n cls.add_method('Get', \n 'ns3::Ptr< ns3::Node >', \n [param('uint32_t', 'i')], \n is_const=True)\n ## node-container.h (module 'network'): static ns3::NodeContainer ns3::NodeContainer::GetGlobal() [member function]\n cls.add_method('GetGlobal', \n 'ns3::NodeContainer', \n [], \n is_static=True)\n ## node-container.h (module 'network'): uint32_t ns3::NodeContainer::GetN() const [member function]\n cls.add_method('GetN', \n 'uint32_t', \n [], \n is_const=True)\n return\n\ndef register_Ns3ObjectBase_methods(root_module, cls):\n ## object-base.h (module 'core'): ns3::ObjectBase::ObjectBase() [constructor]\n cls.add_constructor([])\n ## object-base.h (module 'core'): ns3::ObjectBase::ObjectBase(ns3::ObjectBase const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::ObjectBase const &', 'arg0')])\n ## object-base.h (module 'core'): void ns3::ObjectBase::GetAttribute(std::string name, ns3::AttributeValue & value) const [member function]\n cls.add_method('GetAttribute', \n 'void', \n [param('std::string', 'name'), param('ns3::AttributeValue &', 'value')], \n is_const=True)\n ## object-base.h (module 'core'): bool ns3::ObjectBase::GetAttributeFailSafe(std::string name, ns3::AttributeValue & attribute) const [member function]\n cls.add_method('GetAttributeFailSafe', \n 'bool', \n [param('std::string', 'name'), param('ns3::AttributeValue &', 'attribute')], \n is_const=True)\n ## object-base.h (module 'core'): ns3::TypeId ns3::ObjectBase::GetInstanceTypeId() const [member function]\n cls.add_method('GetInstanceTypeId', \n 'ns3::TypeId', \n [], \n is_pure_virtual=True, is_const=True, is_virtual=True)\n ## object-base.h (module 'core'): static ns3::TypeId ns3::ObjectBase::GetTypeId() [member function]\n cls.add_method('GetTypeId', \n 'ns3::TypeId', \n [], \n is_static=True)\n ## object-base.h (module 'core'): void ns3::ObjectBase::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function]\n cls.add_method('SetAttribute', \n 'void', \n [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])\n ## object-base.h (module 'core'): bool ns3::ObjectBase::SetAttributeFailSafe(std::string name, ns3::AttributeValue const & value) [member function]\n cls.add_method('SetAttributeFailSafe', \n 'bool', \n [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])\n ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceConnect(std::string name, std::string context, ns3::CallbackBase const & cb) [member function]\n cls.add_method('TraceConnect', \n 'bool', \n [param('std::string', 'name'), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')])\n ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceConnectWithoutContext(std::string name, ns3::CallbackBase const & cb) [member function]\n cls.add_method('TraceConnectWithoutContext', \n 'bool', \n [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')])\n ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceDisconnect(std::string name, std::string context, ns3::CallbackBase const & cb) [member function]\n cls.add_method('TraceDisconnect', \n 'bool', \n [param('std::string', 'name'), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')])\n ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceDisconnectWithoutContext(std::string name, ns3::CallbackBase const & cb) [member function]\n cls.add_method('TraceDisconnectWithoutContext', \n 'bool', \n [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')])\n ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function]\n cls.add_method('ConstructSelf', \n 'void', \n [param('ns3::AttributeConstructionList const &', 'attributes')], \n visibility='protected')\n ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function]\n cls.add_method('NotifyConstructionCompleted', \n 'void', \n [], \n visibility='protected', is_virtual=True)\n return\n\ndef register_Ns3ObjectDeleter_methods(root_module, cls):\n ## object.h (module 'core'): ns3::ObjectDeleter::ObjectDeleter() [constructor]\n cls.add_constructor([])\n ## object.h (module 'core'): ns3::ObjectDeleter::ObjectDeleter(ns3::ObjectDeleter const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::ObjectDeleter const &', 'arg0')])\n ## object.h (module 'core'): static void ns3::ObjectDeleter::Delete(ns3::Object * object) [member function]\n cls.add_method('Delete', \n 'void', \n [param('ns3::Object *', 'object')], \n is_static=True)\n return\n\ndef register_Ns3ObjectFactory_methods(root_module, cls):\n cls.add_output_stream_operator()\n ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(ns3::ObjectFactory const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')])\n ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor]\n cls.add_constructor([])\n ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor]\n cls.add_constructor([param('std::string', 'typeId')])\n ## object-factory.h (module 'core'): ns3::Ptr ns3::ObjectFactory::Create() const [member function]\n cls.add_method('Create', \n 'ns3::Ptr< ns3::Object >', \n [], \n is_const=True)\n ## object-factory.h (module 'core'): ns3::TypeId ns3::ObjectFactory::GetTypeId() const [member function]\n cls.add_method('GetTypeId', \n 'ns3::TypeId', \n [], \n is_const=True)\n ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(std::string name, ns3::AttributeValue const & value) [member function]\n cls.add_method('Set', \n 'void', \n [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])\n ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function]\n cls.add_method('SetTypeId', \n 'void', \n [param('ns3::TypeId', 'tid')])\n ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(char const * tid) [member function]\n cls.add_method('SetTypeId', \n 'void', \n [param('char const *', 'tid')])\n ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(std::string tid) [member function]\n cls.add_method('SetTypeId', \n 'void', \n [param('std::string', 'tid')])\n return\n\ndef register_Ns3PacketMetadata_methods(root_module, cls):\n ## packet-metadata.h (module 'network'): ns3::PacketMetadata::PacketMetadata(uint64_t uid, uint32_t size) [constructor]\n cls.add_constructor([param('uint64_t', 'uid'), param('uint32_t', 'size')])\n ## packet-metadata.h (module 'network'): ns3::PacketMetadata::PacketMetadata(ns3::PacketMetadata const & o) [copy constructor]\n cls.add_constructor([param('ns3::PacketMetadata const &', 'o')])\n ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddAtEnd(ns3::PacketMetadata const & o) [member function]\n cls.add_method('AddAtEnd', \n 'void', \n [param('ns3::PacketMetadata const &', 'o')])\n ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddHeader(ns3::Header const & header, uint32_t size) [member function]\n cls.add_method('AddHeader', \n 'void', \n [param('ns3::Header const &', 'header'), param('uint32_t', 'size')])\n ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddPaddingAtEnd(uint32_t end) [member function]\n cls.add_method('AddPaddingAtEnd', \n 'void', \n [param('uint32_t', 'end')])\n ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddTrailer(ns3::Trailer const & trailer, uint32_t size) [member function]\n cls.add_method('AddTrailer', \n 'void', \n [param('ns3::Trailer const &', 'trailer'), param('uint32_t', 'size')])\n ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator ns3::PacketMetadata::BeginItem(ns3::Buffer buffer) const [member function]\n cls.add_method('BeginItem', \n 'ns3::PacketMetadata::ItemIterator', \n [param('ns3::Buffer', 'buffer')], \n is_const=True)\n ## packet-metadata.h (module 'network'): ns3::PacketMetadata ns3::PacketMetadata::CreateFragment(uint32_t start, uint32_t end) const [member function]\n cls.add_method('CreateFragment', \n 'ns3::PacketMetadata', \n [param('uint32_t', 'start'), param('uint32_t', 'end')], \n is_const=True)\n ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::Deserialize(uint8_t const * buffer, uint32_t size) [member function]\n cls.add_method('Deserialize', \n 'uint32_t', \n [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])\n ## packet-metadata.h (module 'network'): static void ns3::PacketMetadata::Enable() [member function]\n cls.add_method('Enable', \n 'void', \n [], \n is_static=True)\n ## packet-metadata.h (module 'network'): static void ns3::PacketMetadata::EnableChecking() [member function]\n cls.add_method('EnableChecking', \n 'void', \n [], \n is_static=True)\n ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::GetSerializedSize() const [member function]\n cls.add_method('GetSerializedSize', \n 'uint32_t', \n [], \n is_const=True)\n ## packet-metadata.h (module 'network'): uint64_t ns3::PacketMetadata::GetUid() const [member function]\n cls.add_method('GetUid', \n 'uint64_t', \n [], \n is_const=True)\n ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveAtEnd(uint32_t end) [member function]\n cls.add_method('RemoveAtEnd', \n 'void', \n [param('uint32_t', 'end')])\n ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveAtStart(uint32_t start) [member function]\n cls.add_method('RemoveAtStart', \n 'void', \n [param('uint32_t', 'start')])\n ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveHeader(ns3::Header const & header, uint32_t size) [member function]\n cls.add_method('RemoveHeader', \n 'void', \n [param('ns3::Header const &', 'header'), param('uint32_t', 'size')])\n ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveTrailer(ns3::Trailer const & trailer, uint32_t size) [member function]\n cls.add_method('RemoveTrailer', \n 'void', \n [param('ns3::Trailer const &', 'trailer'), param('uint32_t', 'size')])\n ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]\n cls.add_method('Serialize', \n 'uint32_t', \n [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')], \n is_const=True)\n return\n\ndef register_Ns3PacketMetadataItem_methods(root_module, cls):\n ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::Item() [constructor]\n cls.add_constructor([])\n ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::Item(ns3::PacketMetadata::Item const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::PacketMetadata::Item const &', 'arg0')])\n ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::current [variable]\n cls.add_instance_attribute('current', 'ns3::Buffer::Iterator', is_const=False)\n ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentSize [variable]\n cls.add_instance_attribute('currentSize', 'uint32_t', is_const=False)\n ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentTrimedFromEnd [variable]\n cls.add_instance_attribute('currentTrimedFromEnd', 'uint32_t', is_const=False)\n ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentTrimedFromStart [variable]\n cls.add_instance_attribute('currentTrimedFromStart', 'uint32_t', is_const=False)\n ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::isFragment [variable]\n cls.add_instance_attribute('isFragment', 'bool', is_const=False)\n ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::tid [variable]\n cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)\n return\n\ndef register_Ns3PacketMetadataItemIterator_methods(root_module, cls):\n ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator::ItemIterator(ns3::PacketMetadata::ItemIterator const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::PacketMetadata::ItemIterator const &', 'arg0')])\n ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator::ItemIterator(ns3::PacketMetadata const * metadata, ns3::Buffer buffer) [constructor]\n cls.add_constructor([param('ns3::PacketMetadata const *', 'metadata'), param('ns3::Buffer', 'buffer')])\n ## packet-metadata.h (module 'network'): bool ns3::PacketMetadata::ItemIterator::HasNext() const [member function]\n cls.add_method('HasNext', \n 'bool', \n [], \n is_const=True)\n ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item ns3::PacketMetadata::ItemIterator::Next() [member function]\n cls.add_method('Next', \n 'ns3::PacketMetadata::Item', \n [])\n return\n\ndef register_Ns3PacketTagIterator_methods(root_module, cls):\n ## packet.h (module 'network'): ns3::PacketTagIterator::PacketTagIterator(ns3::PacketTagIterator const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::PacketTagIterator const &', 'arg0')])\n ## packet.h (module 'network'): bool ns3::PacketTagIterator::HasNext() const [member function]\n cls.add_method('HasNext', \n 'bool', \n [], \n is_const=True)\n ## packet.h (module 'network'): ns3::PacketTagIterator::Item ns3::PacketTagIterator::Next() [member function]\n cls.add_method('Next', \n 'ns3::PacketTagIterator::Item', \n [])\n return\n\ndef register_Ns3PacketTagIteratorItem_methods(root_module, cls):\n ## packet.h (module 'network'): ns3::PacketTagIterator::Item::Item(ns3::PacketTagIterator::Item const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::PacketTagIterator::Item const &', 'arg0')])\n ## packet.h (module 'network'): void ns3::PacketTagIterator::Item::GetTag(ns3::Tag & tag) const [member function]\n cls.add_method('GetTag', \n 'void', \n [param('ns3::Tag &', 'tag')], \n is_const=True)\n ## packet.h (module 'network'): ns3::TypeId ns3::PacketTagIterator::Item::GetTypeId() const [member function]\n cls.add_method('GetTypeId', \n 'ns3::TypeId', \n [], \n is_const=True)\n return\n\ndef register_Ns3PacketTagList_methods(root_module, cls):\n ## packet-tag-list.h (module 'network'): ns3::PacketTagList::PacketTagList() [constructor]\n cls.add_constructor([])\n ## packet-tag-list.h (module 'network'): ns3::PacketTagList::PacketTagList(ns3::PacketTagList const & o) [copy constructor]\n cls.add_constructor([param('ns3::PacketTagList const &', 'o')])\n ## packet-tag-list.h (module 'network'): void ns3::PacketTagList::Add(ns3::Tag const & tag) const [member function]\n cls.add_method('Add', \n 'void', \n [param('ns3::Tag const &', 'tag')], \n is_const=True)\n ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData const * ns3::PacketTagList::Head() const [member function]\n cls.add_method('Head', \n 'ns3::PacketTagList::TagData const *', \n [], \n is_const=True)\n ## packet-tag-list.h (module 'network'): bool ns3::PacketTagList::Peek(ns3::Tag & tag) const [member function]\n cls.add_method('Peek', \n 'bool', \n [param('ns3::Tag &', 'tag')], \n is_const=True)\n ## packet-tag-list.h (module 'network'): bool ns3::PacketTagList::Remove(ns3::Tag & tag) [member function]\n cls.add_method('Remove', \n 'bool', \n [param('ns3::Tag &', 'tag')])\n ## packet-tag-list.h (module 'network'): void ns3::PacketTagList::RemoveAll() [member function]\n cls.add_method('RemoveAll', \n 'void', \n [])\n return\n\ndef register_Ns3PacketTagListTagData_methods(root_module, cls):\n ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::TagData() [constructor]\n cls.add_constructor([])\n ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::TagData(ns3::PacketTagList::TagData const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::PacketTagList::TagData const &', 'arg0')])\n ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::count [variable]\n cls.add_instance_attribute('count', 'uint32_t', is_const=False)\n ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::data [variable]\n cls.add_instance_attribute('data', 'uint8_t [ 20 ]', is_const=False)\n ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::next [variable]\n cls.add_instance_attribute('next', 'ns3::PacketTagList::TagData *', is_const=False)\n ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::tid [variable]\n cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)\n return\n\ndef register_Ns3PcapFile_methods(root_module, cls):\n ## pcap-file.h (module 'network'): ns3::PcapFile::PcapFile() [constructor]\n cls.add_constructor([])\n ## pcap-file.h (module 'network'): void ns3::PcapFile::Clear() [member function]\n cls.add_method('Clear', \n 'void', \n [])\n ## pcap-file.h (module 'network'): void ns3::PcapFile::Close() [member function]\n cls.add_method('Close', \n 'void', \n [])\n ## pcap-file.h (module 'network'): static bool ns3::PcapFile::Diff(std::string const & f1, std::string const & f2, uint32_t & sec, uint32_t & usec, uint32_t snapLen=ns3::PcapFile::SNAPLEN_DEFAULT) [member function]\n cls.add_method('Diff', \n 'bool', \n [param('std::string const &', 'f1'), param('std::string const &', 'f2'), param('uint32_t &', 'sec'), param('uint32_t &', 'usec'), param('uint32_t', 'snapLen', default_value='ns3::PcapFile::SNAPLEN_DEFAULT')], \n is_static=True)\n ## pcap-file.h (module 'network'): bool ns3::PcapFile::Eof() const [member function]\n cls.add_method('Eof', \n 'bool', \n [], \n is_const=True)\n ## pcap-file.h (module 'network'): bool ns3::PcapFile::Fail() const [member function]\n cls.add_method('Fail', \n 'bool', \n [], \n is_const=True)\n ## pcap-file.h (module 'network'): uint32_t ns3::PcapFile::GetDataLinkType() [member function]\n cls.add_method('GetDataLinkType', \n 'uint32_t', \n [])\n ## pcap-file.h (module 'network'): uint32_t ns3::PcapFile::GetMagic() [member function]\n cls.add_method('GetMagic', \n 'uint32_t', \n [])\n ## pcap-file.h (module 'network'): uint32_t ns3::PcapFile::GetSigFigs() [member function]\n cls.add_method('GetSigFigs', \n 'uint32_t', \n [])\n ## pcap-file.h (module 'network'): uint32_t ns3::PcapFile::GetSnapLen() [member function]\n cls.add_method('GetSnapLen', \n 'uint32_t', \n [])\n ## pcap-file.h (module 'network'): bool ns3::PcapFile::GetSwapMode() [member function]\n cls.add_method('GetSwapMode', \n 'bool', \n [])\n ## pcap-file.h (module 'network'): int32_t ns3::PcapFile::GetTimeZoneOffset() [member function]\n cls.add_method('GetTimeZoneOffset', \n 'int32_t', \n [])\n ## pcap-file.h (module 'network'): uint16_t ns3::PcapFile::GetVersionMajor() [member function]\n cls.add_method('GetVersionMajor', \n 'uint16_t', \n [])\n ## pcap-file.h (module 'network'): uint16_t ns3::PcapFile::GetVersionMinor() [member function]\n cls.add_method('GetVersionMinor', \n 'uint16_t', \n [])\n ## pcap-file.h (module 'network'): void ns3::PcapFile::Init(uint32_t dataLinkType, uint32_t snapLen=ns3::PcapFile::SNAPLEN_DEFAULT, int32_t timeZoneCorrection=ns3::PcapFile::ZONE_DEFAULT, bool swapMode=false) [member function]\n cls.add_method('Init', \n 'void', \n [param('uint32_t', 'dataLinkType'), param('uint32_t', 'snapLen', default_value='ns3::PcapFile::SNAPLEN_DEFAULT'), param('int32_t', 'timeZoneCorrection', default_value='ns3::PcapFile::ZONE_DEFAULT'), param('bool', 'swapMode', default_value='false')])\n ## pcap-file.h (module 'network'): void ns3::PcapFile::Open(std::string const & filename, std::_Ios_Openmode mode) [member function]\n cls.add_method('Open', \n 'void', \n [param('std::string const &', 'filename'), param('std::_Ios_Openmode', 'mode')])\n ## pcap-file.h (module 'network'): void ns3::PcapFile::Read(uint8_t * const data, uint32_t maxBytes, uint32_t & tsSec, uint32_t & tsUsec, uint32_t & inclLen, uint32_t & origLen, uint32_t & readLen) [member function]\n cls.add_method('Read', \n 'void', \n [param('uint8_t * const', 'data'), param('uint32_t', 'maxBytes'), param('uint32_t &', 'tsSec'), param('uint32_t &', 'tsUsec'), param('uint32_t &', 'inclLen'), param('uint32_t &', 'origLen'), param('uint32_t &', 'readLen')])\n ## pcap-file.h (module 'network'): void ns3::PcapFile::Write(uint32_t tsSec, uint32_t tsUsec, uint8_t const * const data, uint32_t totalLen) [member function]\n cls.add_method('Write', \n 'void', \n [param('uint32_t', 'tsSec'), param('uint32_t', 'tsUsec'), param('uint8_t const * const', 'data'), param('uint32_t', 'totalLen')])\n ## pcap-file.h (module 'network'): void ns3::PcapFile::Write(uint32_t tsSec, uint32_t tsUsec, ns3::Ptr p) [member function]\n cls.add_method('Write', \n 'void', \n [param('uint32_t', 'tsSec'), param('uint32_t', 'tsUsec'), param('ns3::Ptr< ns3::Packet const >', 'p')])\n ## pcap-file.h (module 'network'): void ns3::PcapFile::Write(uint32_t tsSec, uint32_t tsUsec, ns3::Header & header, ns3::Ptr p) [member function]\n cls.add_method('Write', \n 'void', \n [param('uint32_t', 'tsSec'), param('uint32_t', 'tsUsec'), param('ns3::Header &', 'header'), param('ns3::Ptr< ns3::Packet const >', 'p')])\n ## pcap-file.h (module 'network'): ns3::PcapFile::SNAPLEN_DEFAULT [variable]\n cls.add_static_attribute('SNAPLEN_DEFAULT', 'uint32_t const', is_const=True)\n ## pcap-file.h (module 'network'): ns3::PcapFile::ZONE_DEFAULT [variable]\n cls.add_static_attribute('ZONE_DEFAULT', 'int32_t const', is_const=True)\n return\n\ndef register_Ns3PcapHelper_methods(root_module, cls):\n ## trace-helper.h (module 'network'): ns3::PcapHelper::PcapHelper(ns3::PcapHelper const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::PcapHelper const &', 'arg0')])\n ## trace-helper.h (module 'network'): ns3::PcapHelper::PcapHelper() [constructor]\n cls.add_constructor([])\n ## trace-helper.h (module 'network'): ns3::Ptr ns3::PcapHelper::CreateFile(std::string filename, std::_Ios_Openmode filemode, uint32_t dataLinkType, uint32_t snapLen=65535, int32_t tzCorrection=0) [member function]\n cls.add_method('CreateFile', \n 'ns3::Ptr< ns3::PcapFileWrapper >', \n [param('std::string', 'filename'), param('std::_Ios_Openmode', 'filemode'), param('uint32_t', 'dataLinkType'), param('uint32_t', 'snapLen', default_value='65535'), param('int32_t', 'tzCorrection', default_value='0')])\n ## trace-helper.h (module 'network'): std::string ns3::PcapHelper::GetFilenameFromDevice(std::string prefix, ns3::Ptr device, bool useObjectNames=true) [member function]\n cls.add_method('GetFilenameFromDevice', \n 'std::string', \n [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'device'), param('bool', 'useObjectNames', default_value='true')])\n ## trace-helper.h (module 'network'): std::string ns3::PcapHelper::GetFilenameFromInterfacePair(std::string prefix, ns3::Ptr object, uint32_t interface, bool useObjectNames=true) [member function]\n cls.add_method('GetFilenameFromInterfacePair', \n 'std::string', \n [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Object >', 'object'), param('uint32_t', 'interface'), param('bool', 'useObjectNames', default_value='true')])\n return\n\ndef register_Ns3PcapHelperForDevice_methods(root_module, cls):\n ## trace-helper.h (module 'network'): ns3::PcapHelperForDevice::PcapHelperForDevice(ns3::PcapHelperForDevice const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::PcapHelperForDevice const &', 'arg0')])\n ## trace-helper.h (module 'network'): ns3::PcapHelperForDevice::PcapHelperForDevice() [constructor]\n cls.add_constructor([])\n ## trace-helper.h (module 'network'): void ns3::PcapHelperForDevice::EnablePcap(std::string prefix, ns3::Ptr nd, bool promiscuous=false, bool explicitFilename=false) [member function]\n cls.add_method('EnablePcap', \n 'void', \n [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'promiscuous', default_value='false'), param('bool', 'explicitFilename', default_value='false')])\n ## trace-helper.h (module 'network'): void ns3::PcapHelperForDevice::EnablePcap(std::string prefix, std::string ndName, bool promiscuous=false, bool explicitFilename=false) [member function]\n cls.add_method('EnablePcap', \n 'void', \n [param('std::string', 'prefix'), param('std::string', 'ndName'), param('bool', 'promiscuous', default_value='false'), param('bool', 'explicitFilename', default_value='false')])\n ## trace-helper.h (module 'network'): void ns3::PcapHelperForDevice::EnablePcap(std::string prefix, ns3::NetDeviceContainer d, bool promiscuous=false) [member function]\n cls.add_method('EnablePcap', \n 'void', \n [param('std::string', 'prefix'), param('ns3::NetDeviceContainer', 'd'), param('bool', 'promiscuous', default_value='false')])\n ## trace-helper.h (module 'network'): void ns3::PcapHelperForDevice::EnablePcap(std::string prefix, ns3::NodeContainer n, bool promiscuous=false) [member function]\n cls.add_method('EnablePcap', \n 'void', \n [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n'), param('bool', 'promiscuous', default_value='false')])\n ## trace-helper.h (module 'network'): void ns3::PcapHelperForDevice::EnablePcap(std::string prefix, uint32_t nodeid, uint32_t deviceid, bool promiscuous=false) [member function]\n cls.add_method('EnablePcap', \n 'void', \n [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid'), param('bool', 'promiscuous', default_value='false')])\n ## trace-helper.h (module 'network'): void ns3::PcapHelperForDevice::EnablePcapAll(std::string prefix, bool promiscuous=false) [member function]\n cls.add_method('EnablePcapAll', \n 'void', \n [param('std::string', 'prefix'), param('bool', 'promiscuous', default_value='false')])\n ## trace-helper.h (module 'network'): void ns3::PcapHelperForDevice::EnablePcapInternal(std::string prefix, ns3::Ptr nd, bool promiscuous, bool explicitFilename) [member function]\n cls.add_method('EnablePcapInternal', \n 'void', \n [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'promiscuous'), param('bool', 'explicitFilename')], \n is_pure_virtual=True, is_virtual=True)\n return\n\ndef register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, cls):\n ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount::SimpleRefCount() [constructor]\n cls.add_constructor([])\n ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount::SimpleRefCount(ns3::SimpleRefCount const & o) [copy constructor]\n cls.add_constructor([param('ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter > const &', 'o')])\n ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount::Cleanup() [member function]\n cls.add_method('Cleanup', \n 'void', \n [], \n is_static=True)\n return\n\ndef register_Ns3Simulator_methods(root_module, cls):\n ## simulator.h (module 'core'): ns3::Simulator::Simulator(ns3::Simulator const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::Simulator const &', 'arg0')])\n ## simulator.h (module 'core'): static void ns3::Simulator::Cancel(ns3::EventId const & id) [member function]\n cls.add_method('Cancel', \n 'void', \n [param('ns3::EventId const &', 'id')], \n is_static=True)\n ## simulator.h (module 'core'): static void ns3::Simulator::Destroy() [member function]\n cls.add_method('Destroy', \n 'void', \n [], \n is_static=True)\n ## simulator.h (module 'core'): static uint32_t ns3::Simulator::GetContext() [member function]\n cls.add_method('GetContext', \n 'uint32_t', \n [], \n is_static=True)\n ## simulator.h (module 'core'): static ns3::Time ns3::Simulator::GetDelayLeft(ns3::EventId const & id) [member function]\n cls.add_method('GetDelayLeft', \n 'ns3::Time', \n [param('ns3::EventId const &', 'id')], \n is_static=True)\n ## simulator.h (module 'core'): static ns3::Ptr ns3::Simulator::GetImplementation() [member function]\n cls.add_method('GetImplementation', \n 'ns3::Ptr< ns3::SimulatorImpl >', \n [], \n is_static=True)\n ## simulator.h (module 'core'): static ns3::Time ns3::Simulator::GetMaximumSimulationTime() [member function]\n cls.add_method('GetMaximumSimulationTime', \n 'ns3::Time', \n [], \n is_static=True)\n ## simulator.h (module 'core'): static uint32_t ns3::Simulator::GetSystemId() [member function]\n cls.add_method('GetSystemId', \n 'uint32_t', \n [], \n is_static=True)\n ## simulator.h (module 'core'): static bool ns3::Simulator::IsExpired(ns3::EventId const & id) [member function]\n cls.add_method('IsExpired', \n 'bool', \n [param('ns3::EventId const &', 'id')], \n is_static=True)\n ## simulator.h (module 'core'): static bool ns3::Simulator::IsFinished() [member function]\n cls.add_method('IsFinished', \n 'bool', \n [], \n is_static=True)\n ## simulator.h (module 'core'): static ns3::Time ns3::Simulator::Now() [member function]\n cls.add_method('Now', \n 'ns3::Time', \n [], \n is_static=True)\n ## simulator.h (module 'core'): static void ns3::Simulator::Remove(ns3::EventId const & id) [member function]\n cls.add_method('Remove', \n 'void', \n [param('ns3::EventId const &', 'id')], \n is_static=True)\n ## simulator.h (module 'core'): static void ns3::Simulator::SetImplementation(ns3::Ptr impl) [member function]\n cls.add_method('SetImplementation', \n 'void', \n [param('ns3::Ptr< ns3::SimulatorImpl >', 'impl')], \n is_static=True)\n ## simulator.h (module 'core'): static void ns3::Simulator::SetScheduler(ns3::ObjectFactory schedulerFactory) [member function]\n cls.add_method('SetScheduler', \n 'void', \n [param('ns3::ObjectFactory', 'schedulerFactory')], \n is_static=True)\n ## simulator.h (module 'core'): static void ns3::Simulator::Stop() [member function]\n cls.add_method('Stop', \n 'void', \n [], \n is_static=True)\n ## simulator.h (module 'core'): static void ns3::Simulator::Stop(ns3::Time const & time) [member function]\n cls.add_method('Stop', \n 'void', \n [param('ns3::Time const &', 'time')], \n is_static=True)\n return\n\ndef register_Ns3SystemCondition_methods(root_module, cls):\n ## system-condition.h (module 'core'): ns3::SystemCondition::SystemCondition(ns3::SystemCondition const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::SystemCondition const &', 'arg0')])\n ## system-condition.h (module 'core'): ns3::SystemCondition::SystemCondition() [constructor]\n cls.add_constructor([])\n ## system-condition.h (module 'core'): void ns3::SystemCondition::Broadcast() [member function]\n cls.add_method('Broadcast', \n 'void', \n [])\n ## system-condition.h (module 'core'): bool ns3::SystemCondition::GetCondition() [member function]\n cls.add_method('GetCondition', \n 'bool', \n [])\n ## system-condition.h (module 'core'): void ns3::SystemCondition::SetCondition(bool condition) [member function]\n cls.add_method('SetCondition', \n 'void', \n [param('bool', 'condition')])\n ## system-condition.h (module 'core'): void ns3::SystemCondition::Signal() [member function]\n cls.add_method('Signal', \n 'void', \n [])\n ## system-condition.h (module 'core'): bool ns3::SystemCondition::TimedWait(uint64_t ns) [member function]\n cls.add_method('TimedWait', \n 'bool', \n [param('uint64_t', 'ns')])\n ## system-condition.h (module 'core'): void ns3::SystemCondition::Wait() [member function]\n cls.add_method('Wait', \n 'void', \n [])\n return\n\ndef register_Ns3SystemMutex_methods(root_module, cls):\n ## system-mutex.h (module 'core'): ns3::SystemMutex::SystemMutex(ns3::SystemMutex const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::SystemMutex const &', 'arg0')])\n ## system-mutex.h (module 'core'): ns3::SystemMutex::SystemMutex() [constructor]\n cls.add_constructor([])\n ## system-mutex.h (module 'core'): void ns3::SystemMutex::Lock() [member function]\n cls.add_method('Lock', \n 'void', \n [])\n ## system-mutex.h (module 'core'): void ns3::SystemMutex::Unlock() [member function]\n cls.add_method('Unlock', \n 'void', \n [])\n return\n\ndef register_Ns3Tag_methods(root_module, cls):\n ## tag.h (module 'network'): ns3::Tag::Tag() [constructor]\n cls.add_constructor([])\n ## tag.h (module 'network'): ns3::Tag::Tag(ns3::Tag const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::Tag const &', 'arg0')])\n ## tag.h (module 'network'): void ns3::Tag::Deserialize(ns3::TagBuffer i) [member function]\n cls.add_method('Deserialize', \n 'void', \n [param('ns3::TagBuffer', 'i')], \n is_pure_virtual=True, is_virtual=True)\n ## tag.h (module 'network'): uint32_t ns3::Tag::GetSerializedSize() const [member function]\n cls.add_method('GetSerializedSize', \n 'uint32_t', \n [], \n is_pure_virtual=True, is_const=True, is_virtual=True)\n ## tag.h (module 'network'): static ns3::TypeId ns3::Tag::GetTypeId() [member function]\n cls.add_method('GetTypeId', \n 'ns3::TypeId', \n [], \n is_static=True)\n ## tag.h (module 'network'): void ns3::Tag::Print(std::ostream & os) const [member function]\n cls.add_method('Print', \n 'void', \n [param('std::ostream &', 'os')], \n is_pure_virtual=True, is_const=True, is_virtual=True)\n ## tag.h (module 'network'): void ns3::Tag::Serialize(ns3::TagBuffer i) const [member function]\n cls.add_method('Serialize', \n 'void', \n [param('ns3::TagBuffer', 'i')], \n is_pure_virtual=True, is_const=True, is_virtual=True)\n return\n\ndef register_Ns3TagBuffer_methods(root_module, cls):\n ## tag-buffer.h (module 'network'): ns3::TagBuffer::TagBuffer(ns3::TagBuffer const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::TagBuffer const &', 'arg0')])\n ## tag-buffer.h (module 'network'): ns3::TagBuffer::TagBuffer(uint8_t * start, uint8_t * end) [constructor]\n cls.add_constructor([param('uint8_t *', 'start'), param('uint8_t *', 'end')])\n ## tag-buffer.h (module 'network'): void ns3::TagBuffer::CopyFrom(ns3::TagBuffer o) [member function]\n cls.add_method('CopyFrom', \n 'void', \n [param('ns3::TagBuffer', 'o')])\n ## tag-buffer.h (module 'network'): void ns3::TagBuffer::Read(uint8_t * buffer, uint32_t size) [member function]\n cls.add_method('Read', \n 'void', \n [param('uint8_t *', 'buffer'), param('uint32_t', 'size')])\n ## tag-buffer.h (module 'network'): double ns3::TagBuffer::ReadDouble() [member function]\n cls.add_method('ReadDouble', \n 'double', \n [])\n ## tag-buffer.h (module 'network'): uint16_t ns3::TagBuffer::ReadU16() [member function]\n cls.add_method('ReadU16', \n 'uint16_t', \n [])\n ## tag-buffer.h (module 'network'): uint32_t ns3::TagBuffer::ReadU32() [member function]\n cls.add_method('ReadU32', \n 'uint32_t', \n [])\n ## tag-buffer.h (module 'network'): uint64_t ns3::TagBuffer::ReadU64() [member function]\n cls.add_method('ReadU64', \n 'uint64_t', \n [])\n ## tag-buffer.h (module 'network'): uint8_t ns3::TagBuffer::ReadU8() [member function]\n cls.add_method('ReadU8', \n 'uint8_t', \n [])\n ## tag-buffer.h (module 'network'): void ns3::TagBuffer::TrimAtEnd(uint32_t trim) [member function]\n cls.add_method('TrimAtEnd', \n 'void', \n [param('uint32_t', 'trim')])\n ## tag-buffer.h (module 'network'): void ns3::TagBuffer::Write(uint8_t const * buffer, uint32_t size) [member function]\n cls.add_method('Write', \n 'void', \n [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])\n ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteDouble(double v) [member function]\n cls.add_method('WriteDouble', \n 'void', \n [param('double', 'v')])\n ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU16(uint16_t data) [member function]\n cls.add_method('WriteU16', \n 'void', \n [param('uint16_t', 'data')])\n ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU32(uint32_t data) [member function]\n cls.add_method('WriteU32', \n 'void', \n [param('uint32_t', 'data')])\n ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU64(uint64_t v) [member function]\n cls.add_method('WriteU64', \n 'void', \n [param('uint64_t', 'v')])\n ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU8(uint8_t v) [member function]\n cls.add_method('WriteU8', \n 'void', \n [param('uint8_t', 'v')])\n return\n\ndef register_Ns3TypeId_methods(root_module, cls):\n cls.add_binary_comparison_operator('<')\n cls.add_binary_comparison_operator('!=')\n cls.add_output_stream_operator()\n cls.add_binary_comparison_operator('==')\n ## type-id.h (module 'core'): ns3::TypeId::TypeId(char const * name) [constructor]\n cls.add_constructor([param('char const *', 'name')])\n ## type-id.h (module 'core'): ns3::TypeId::TypeId() [constructor]\n cls.add_constructor([])\n ## type-id.h (module 'core'): ns3::TypeId::TypeId(ns3::TypeId const & o) [copy constructor]\n cls.add_constructor([param('ns3::TypeId const &', 'o')])\n ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddAttribute(std::string name, std::string help, ns3::AttributeValue const & initialValue, ns3::Ptr accessor, ns3::Ptr checker) [member function]\n cls.add_method('AddAttribute', \n 'ns3::TypeId', \n [param('std::string', 'name'), param('std::string', 'help'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')])\n ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddAttribute(std::string name, std::string help, uint32_t flags, ns3::AttributeValue const & initialValue, ns3::Ptr accessor, ns3::Ptr checker) [member function]\n cls.add_method('AddAttribute', \n 'ns3::TypeId', \n [param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')])\n ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function]\n cls.add_method('AddTraceSource', \n 'ns3::TypeId', \n [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')])\n ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function]\n cls.add_method('GetAttribute', \n 'ns3::TypeId::AttributeInformation', \n [param('uint32_t', 'i')], \n is_const=True)\n ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function]\n cls.add_method('GetAttributeFullName', \n 'std::string', \n [param('uint32_t', 'i')], \n is_const=True)\n ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function]\n cls.add_method('GetAttributeN', \n 'uint32_t', \n [], \n is_const=True)\n ## type-id.h (module 'core'): ns3::Callback ns3::TypeId::GetConstructor() const [member function]\n cls.add_method('GetConstructor', \n 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', \n [], \n is_const=True)\n ## type-id.h (module 'core'): std::string ns3::TypeId::GetGroupName() const [member function]\n cls.add_method('GetGroupName', \n 'std::string', \n [], \n is_const=True)\n ## type-id.h (module 'core'): std::string ns3::TypeId::GetName() const [member function]\n cls.add_method('GetName', \n 'std::string', \n [], \n is_const=True)\n ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::GetParent() const [member function]\n cls.add_method('GetParent', \n 'ns3::TypeId', \n [], \n is_const=True)\n ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::GetRegistered(uint32_t i) [member function]\n cls.add_method('GetRegistered', \n 'ns3::TypeId', \n [param('uint32_t', 'i')], \n is_static=True)\n ## type-id.h (module 'core'): static uint32_t ns3::TypeId::GetRegisteredN() [member function]\n cls.add_method('GetRegisteredN', \n 'uint32_t', \n [], \n is_static=True)\n ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function]\n cls.add_method('GetTraceSource', \n 'ns3::TypeId::TraceSourceInformation', \n [param('uint32_t', 'i')], \n is_const=True)\n ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function]\n cls.add_method('GetTraceSourceN', \n 'uint32_t', \n [], \n is_const=True)\n ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function]\n cls.add_method('GetUid', \n 'uint16_t', \n [], \n is_const=True)\n ## type-id.h (module 'core'): bool ns3::TypeId::HasConstructor() const [member function]\n cls.add_method('HasConstructor', \n 'bool', \n [], \n is_const=True)\n ## type-id.h (module 'core'): bool ns3::TypeId::HasParent() const [member function]\n cls.add_method('HasParent', \n 'bool', \n [], \n is_const=True)\n ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::HideFromDocumentation() [member function]\n cls.add_method('HideFromDocumentation', \n 'ns3::TypeId', \n [])\n ## type-id.h (module 'core'): bool ns3::TypeId::IsChildOf(ns3::TypeId other) const [member function]\n cls.add_method('IsChildOf', \n 'bool', \n [param('ns3::TypeId', 'other')], \n is_const=True)\n ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function]\n cls.add_method('LookupAttributeByName', \n 'bool', \n [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info', transfer_ownership=False)], \n is_const=True)\n ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function]\n cls.add_method('LookupByName', \n 'ns3::TypeId', \n [param('std::string', 'name')], \n is_static=True)\n ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function]\n cls.add_method('LookupTraceSourceByName', \n 'ns3::Ptr< ns3::TraceSourceAccessor const >', \n [param('std::string', 'name')], \n is_const=True)\n ## type-id.h (module 'core'): bool ns3::TypeId::MustHideFromDocumentation() const [member function]\n cls.add_method('MustHideFromDocumentation', \n 'bool', \n [], \n is_const=True)\n ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr initialValue) [member function]\n cls.add_method('SetAttributeInitialValue', \n 'bool', \n [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')])\n ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function]\n cls.add_method('SetGroupName', \n 'ns3::TypeId', \n [param('std::string', 'groupName')])\n ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetParent(ns3::TypeId tid) [member function]\n cls.add_method('SetParent', \n 'ns3::TypeId', \n [param('ns3::TypeId', 'tid')])\n ## type-id.h (module 'core'): void ns3::TypeId::SetUid(uint16_t tid) [member function]\n cls.add_method('SetUid', \n 'void', \n [param('uint16_t', 'tid')])\n return\n\ndef register_Ns3TypeIdAttributeInformation_methods(root_module, cls):\n ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor]\n cls.add_constructor([])\n ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')])\n ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable]\n cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False)\n ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable]\n cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False)\n ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable]\n cls.add_instance_attribute('flags', 'uint32_t', is_const=False)\n ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable]\n cls.add_instance_attribute('help', 'std::string', is_const=False)\n ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable]\n cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False)\n ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable]\n cls.add_instance_attribute('name', 'std::string', is_const=False)\n ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable]\n cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False)\n return\n\ndef register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls):\n ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor]\n cls.add_constructor([])\n ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')])\n ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable]\n cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False)\n ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable]\n cls.add_instance_attribute('help', 'std::string', is_const=False)\n ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable]\n cls.add_instance_attribute('name', 'std::string', is_const=False)\n return\n\ndef register_Ns3Empty_methods(root_module, cls):\n ## empty.h (module 'core'): ns3::empty::empty() [constructor]\n cls.add_constructor([])\n ## empty.h (module 'core'): ns3::empty::empty(ns3::empty const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::empty const &', 'arg0')])\n return\n\ndef register_Ns3Int64x64_t_methods(root_module, cls):\n cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))\n cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))\n cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))\n cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))\n cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))\n cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))\n cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))\n cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))\n cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))\n cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))\n cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))\n cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))\n cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))\n cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))\n cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))\n cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))\n cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))\n cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))\n cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))\n cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))\n cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))\n cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))\n cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))\n cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))\n cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))\n cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))\n cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))\n cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))\n cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))\n cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))\n cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))\n cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))\n cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))\n cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))\n cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))\n cls.add_unary_numeric_operator('-')\n cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))\n cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))\n cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))\n cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))\n cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))\n cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))\n cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))\n cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))\n cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))\n cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))\n cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))\n cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))\n cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))\n cls.add_binary_comparison_operator('<')\n cls.add_binary_comparison_operator('>')\n cls.add_binary_comparison_operator('!=')\n cls.add_inplace_numeric_operator('*=', param('ns3::int64x64_t const &', 'right'))\n cls.add_inplace_numeric_operator('+=', param('ns3::int64x64_t const &', 'right'))\n cls.add_inplace_numeric_operator('-=', param('ns3::int64x64_t const &', 'right'))\n cls.add_inplace_numeric_operator('/=', param('ns3::int64x64_t const &', 'right'))\n cls.add_output_stream_operator()\n cls.add_binary_comparison_operator('<=')\n cls.add_binary_comparison_operator('==')\n cls.add_binary_comparison_operator('>=')\n ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t() [constructor]\n cls.add_constructor([])\n ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(double v) [constructor]\n cls.add_constructor([param('double', 'v')])\n ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(int v) [constructor]\n cls.add_constructor([param('int', 'v')])\n ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long int v) [constructor]\n cls.add_constructor([param('long int', 'v')])\n ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long long int v) [constructor]\n cls.add_constructor([param('long long int', 'v')])\n ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(unsigned int v) [constructor]\n cls.add_constructor([param('unsigned int', 'v')])\n ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long unsigned int v) [constructor]\n cls.add_constructor([param('long unsigned int', 'v')])\n ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long long unsigned int v) [constructor]\n cls.add_constructor([param('long long unsigned int', 'v')])\n ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(int64_t hi, uint64_t lo) [constructor]\n cls.add_constructor([param('int64_t', 'hi'), param('uint64_t', 'lo')])\n ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(ns3::int64x64_t const & o) [copy constructor]\n cls.add_constructor([param('ns3::int64x64_t const &', 'o')])\n ## int64x64-double.h (module 'core'): double ns3::int64x64_t::GetDouble() const [member function]\n cls.add_method('GetDouble', \n 'double', \n [], \n is_const=True)\n ## int64x64-double.h (module 'core'): int64_t ns3::int64x64_t::GetHigh() const [member function]\n cls.add_method('GetHigh', \n 'int64_t', \n [], \n is_const=True)\n ## int64x64-double.h (module 'core'): uint64_t ns3::int64x64_t::GetLow() const [member function]\n cls.add_method('GetLow', \n 'uint64_t', \n [], \n is_const=True)\n ## int64x64-double.h (module 'core'): static ns3::int64x64_t ns3::int64x64_t::Invert(uint64_t v) [member function]\n cls.add_method('Invert', \n 'ns3::int64x64_t', \n [param('uint64_t', 'v')], \n is_static=True)\n ## int64x64-double.h (module 'core'): void ns3::int64x64_t::MulByInvert(ns3::int64x64_t const & o) [member function]\n cls.add_method('MulByInvert', \n 'void', \n [param('ns3::int64x64_t const &', 'o')])\n return\n\ndef register_Ns3Chunk_methods(root_module, cls):\n ## chunk.h (module 'network'): ns3::Chunk::Chunk() [constructor]\n cls.add_constructor([])\n ## chunk.h (module 'network'): ns3::Chunk::Chunk(ns3::Chunk const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::Chunk const &', 'arg0')])\n ## chunk.h (module 'network'): uint32_t ns3::Chunk::Deserialize(ns3::Buffer::Iterator start) [member function]\n cls.add_method('Deserialize', \n 'uint32_t', \n [param('ns3::Buffer::Iterator', 'start')], \n is_pure_virtual=True, is_virtual=True)\n ## chunk.h (module 'network'): static ns3::TypeId ns3::Chunk::GetTypeId() [member function]\n cls.add_method('GetTypeId', \n 'ns3::TypeId', \n [], \n is_static=True)\n ## chunk.h (module 'network'): void ns3::Chunk::Print(std::ostream & os) const [member function]\n cls.add_method('Print', \n 'void', \n [param('std::ostream &', 'os')], \n is_pure_virtual=True, is_const=True, is_virtual=True)\n return\n\ndef register_Ns3FdNetDeviceHelper_methods(root_module, cls):\n ## fd-net-device-helper.h (module 'fd-net-device'): ns3::FdNetDeviceHelper::FdNetDeviceHelper(ns3::FdNetDeviceHelper const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::FdNetDeviceHelper const &', 'arg0')])\n ## fd-net-device-helper.h (module 'fd-net-device'): ns3::FdNetDeviceHelper::FdNetDeviceHelper() [constructor]\n cls.add_constructor([])\n ## fd-net-device-helper.h (module 'fd-net-device'): ns3::NetDeviceContainer ns3::FdNetDeviceHelper::Install(ns3::Ptr node) const [member function]\n cls.add_method('Install', \n 'ns3::NetDeviceContainer', \n [param('ns3::Ptr< ns3::Node >', 'node')], \n is_const=True, is_virtual=True)\n ## fd-net-device-helper.h (module 'fd-net-device'): ns3::NetDeviceContainer ns3::FdNetDeviceHelper::Install(std::string name) const [member function]\n cls.add_method('Install', \n 'ns3::NetDeviceContainer', \n [param('std::string', 'name')], \n is_const=True, is_virtual=True)\n ## fd-net-device-helper.h (module 'fd-net-device'): ns3::NetDeviceContainer ns3::FdNetDeviceHelper::Install(ns3::NodeContainer const & c) const [member function]\n cls.add_method('Install', \n 'ns3::NetDeviceContainer', \n [param('ns3::NodeContainer const &', 'c')], \n is_const=True, is_virtual=True)\n ## fd-net-device-helper.h (module 'fd-net-device'): void ns3::FdNetDeviceHelper::SetAttribute(std::string n1, ns3::AttributeValue const & v1) [member function]\n cls.add_method('SetAttribute', \n 'void', \n [param('std::string', 'n1'), param('ns3::AttributeValue const &', 'v1')])\n ## fd-net-device-helper.h (module 'fd-net-device'): ns3::Ptr ns3::FdNetDeviceHelper::InstallPriv(ns3::Ptr node) const [member function]\n cls.add_method('InstallPriv', \n 'ns3::Ptr< ns3::NetDevice >', \n [param('ns3::Ptr< ns3::Node >', 'node')], \n is_const=True, visibility='protected', is_virtual=True)\n ## fd-net-device-helper.h (module 'fd-net-device'): void ns3::FdNetDeviceHelper::EnableAsciiInternal(ns3::Ptr stream, std::string prefix, ns3::Ptr nd, bool explicitFilename) [member function]\n cls.add_method('EnableAsciiInternal', \n 'void', \n [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'explicitFilename')], \n visibility='private', is_virtual=True)\n ## fd-net-device-helper.h (module 'fd-net-device'): void ns3::FdNetDeviceHelper::EnablePcapInternal(std::string prefix, ns3::Ptr nd, bool promiscuous, bool explicitFilename) [member function]\n cls.add_method('EnablePcapInternal', \n 'void', \n [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'promiscuous'), param('bool', 'explicitFilename')], \n visibility='private', is_virtual=True)\n return\n\ndef register_Ns3Header_methods(root_module, cls):\n cls.add_output_stream_operator()\n ## header.h (module 'network'): ns3::Header::Header() [constructor]\n cls.add_constructor([])\n ## header.h (module 'network'): ns3::Header::Header(ns3::Header const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::Header const &', 'arg0')])\n ## header.h (module 'network'): uint32_t ns3::Header::Deserialize(ns3::Buffer::Iterator start) [member function]\n cls.add_method('Deserialize', \n 'uint32_t', \n [param('ns3::Buffer::Iterator', 'start')], \n is_pure_virtual=True, is_virtual=True)\n ## header.h (module 'network'): uint32_t ns3::Header::GetSerializedSize() const [member function]\n cls.add_method('GetSerializedSize', \n 'uint32_t', \n [], \n is_pure_virtual=True, is_const=True, is_virtual=True)\n ## header.h (module 'network'): static ns3::TypeId ns3::Header::GetTypeId() [member function]\n cls.add_method('GetTypeId', \n 'ns3::TypeId', \n [], \n is_static=True)\n ## header.h (module 'network'): void ns3::Header::Print(std::ostream & os) const [member function]\n cls.add_method('Print', \n 'void', \n [param('std::ostream &', 'os')], \n is_pure_virtual=True, is_const=True, is_virtual=True)\n ## header.h (module 'network'): void ns3::Header::Serialize(ns3::Buffer::Iterator start) const [member function]\n cls.add_method('Serialize', \n 'void', \n [param('ns3::Buffer::Iterator', 'start')], \n is_pure_virtual=True, is_const=True, is_virtual=True)\n return\n\ndef register_Ns3Object_methods(root_module, cls):\n ## object.h (module 'core'): ns3::Object::Object() [constructor]\n cls.add_constructor([])\n ## object.h (module 'core'): void ns3::Object::AggregateObject(ns3::Ptr other) [member function]\n cls.add_method('AggregateObject', \n 'void', \n [param('ns3::Ptr< ns3::Object >', 'other')])\n ## object.h (module 'core'): void ns3::Object::Dispose() [member function]\n cls.add_method('Dispose', \n 'void', \n [])\n ## object.h (module 'core'): ns3::Object::AggregateIterator ns3::Object::GetAggregateIterator() const [member function]\n cls.add_method('GetAggregateIterator', \n 'ns3::Object::AggregateIterator', \n [], \n is_const=True)\n ## object.h (module 'core'): ns3::TypeId ns3::Object::GetInstanceTypeId() const [member function]\n cls.add_method('GetInstanceTypeId', \n 'ns3::TypeId', \n [], \n is_const=True, is_virtual=True)\n ## object.h (module 'core'): static ns3::TypeId ns3::Object::GetTypeId() [member function]\n cls.add_method('GetTypeId', \n 'ns3::TypeId', \n [], \n is_static=True)\n ## object.h (module 'core'): void ns3::Object::Initialize() [member function]\n cls.add_method('Initialize', \n 'void', \n [])\n ## object.h (module 'core'): ns3::Object::Object(ns3::Object const & o) [copy constructor]\n cls.add_constructor([param('ns3::Object const &', 'o')], \n visibility='protected')\n ## object.h (module 'core'): void ns3::Object::DoDispose() [member function]\n cls.add_method('DoDispose', \n 'void', \n [], \n visibility='protected', is_virtual=True)\n ## object.h (module 'core'): void ns3::Object::DoInitialize() [member function]\n cls.add_method('DoInitialize', \n 'void', \n [], \n visibility='protected', is_virtual=True)\n ## object.h (module 'core'): void ns3::Object::NotifyNewAggregate() [member function]\n cls.add_method('NotifyNewAggregate', \n 'void', \n [], \n visibility='protected', is_virtual=True)\n return\n\ndef register_Ns3ObjectAggregateIterator_methods(root_module, cls):\n ## object.h (module 'core'): ns3::Object::AggregateIterator::AggregateIterator(ns3::Object::AggregateIterator const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::Object::AggregateIterator const &', 'arg0')])\n ## object.h (module 'core'): ns3::Object::AggregateIterator::AggregateIterator() [constructor]\n cls.add_constructor([])\n ## object.h (module 'core'): bool ns3::Object::AggregateIterator::HasNext() const [member function]\n cls.add_method('HasNext', \n 'bool', \n [], \n is_const=True)\n ## object.h (module 'core'): ns3::Ptr ns3::Object::AggregateIterator::Next() [member function]\n cls.add_method('Next', \n 'ns3::Ptr< ns3::Object const >', \n [])\n return\n\ndef register_Ns3PcapFileWrapper_methods(root_module, cls):\n ## pcap-file-wrapper.h (module 'network'): static ns3::TypeId ns3::PcapFileWrapper::GetTypeId() [member function]\n cls.add_method('GetTypeId', \n 'ns3::TypeId', \n [], \n is_static=True)\n ## pcap-file-wrapper.h (module 'network'): ns3::PcapFileWrapper::PcapFileWrapper() [constructor]\n cls.add_constructor([])\n ## pcap-file-wrapper.h (module 'network'): bool ns3::PcapFileWrapper::Fail() const [member function]\n cls.add_method('Fail', \n 'bool', \n [], \n is_const=True)\n ## pcap-file-wrapper.h (module 'network'): bool ns3::PcapFileWrapper::Eof() const [member function]\n cls.add_method('Eof', \n 'bool', \n [], \n is_const=True)\n ## pcap-file-wrapper.h (module 'network'): void ns3::PcapFileWrapper::Clear() [member function]\n cls.add_method('Clear', \n 'void', \n [])\n ## pcap-file-wrapper.h (module 'network'): void ns3::PcapFileWrapper::Open(std::string const & filename, std::_Ios_Openmode mode) [member function]\n cls.add_method('Open', \n 'void', \n [param('std::string const &', 'filename'), param('std::_Ios_Openmode', 'mode')])\n ## pcap-file-wrapper.h (module 'network'): void ns3::PcapFileWrapper::Close() [member function]\n cls.add_method('Close', \n 'void', \n [])\n ## pcap-file-wrapper.h (module 'network'): void ns3::PcapFileWrapper::Init(uint32_t dataLinkType, uint32_t snapLen=std::numeric_limits::max(), int32_t tzCorrection=ns3::PcapFile::ZONE_DEFAULT) [member function]\n cls.add_method('Init', \n 'void', \n [param('uint32_t', 'dataLinkType'), param('uint32_t', 'snapLen', default_value='std::numeric_limits::max()'), param('int32_t', 'tzCorrection', default_value='ns3::PcapFile::ZONE_DEFAULT')])\n ## pcap-file-wrapper.h (module 'network'): void ns3::PcapFileWrapper::Write(ns3::Time t, ns3::Ptr p) [member function]\n cls.add_method('Write', \n 'void', \n [param('ns3::Time', 't'), param('ns3::Ptr< ns3::Packet const >', 'p')])\n ## pcap-file-wrapper.h (module 'network'): void ns3::PcapFileWrapper::Write(ns3::Time t, ns3::Header & header, ns3::Ptr p) [member function]\n cls.add_method('Write', \n 'void', \n [param('ns3::Time', 't'), param('ns3::Header &', 'header'), param('ns3::Ptr< ns3::Packet const >', 'p')])\n ## pcap-file-wrapper.h (module 'network'): void ns3::PcapFileWrapper::Write(ns3::Time t, uint8_t const * buffer, uint32_t length) [member function]\n cls.add_method('Write', \n 'void', \n [param('ns3::Time', 't'), param('uint8_t const *', 'buffer'), param('uint32_t', 'length')])\n ## pcap-file-wrapper.h (module 'network'): uint32_t ns3::PcapFileWrapper::GetMagic() [member function]\n cls.add_method('GetMagic', \n 'uint32_t', \n [])\n ## pcap-file-wrapper.h (module 'network'): uint16_t ns3::PcapFileWrapper::GetVersionMajor() [member function]\n cls.add_method('GetVersionMajor', \n 'uint16_t', \n [])\n ## pcap-file-wrapper.h (module 'network'): uint16_t ns3::PcapFileWrapper::GetVersionMinor() [member function]\n cls.add_method('GetVersionMinor', \n 'uint16_t', \n [])\n ## pcap-file-wrapper.h (module 'network'): int32_t ns3::PcapFileWrapper::GetTimeZoneOffset() [member function]\n cls.add_method('GetTimeZoneOffset', \n 'int32_t', \n [])\n ## pcap-file-wrapper.h (module 'network'): uint32_t ns3::PcapFileWrapper::GetSigFigs() [member function]\n cls.add_method('GetSigFigs', \n 'uint32_t', \n [])\n ## pcap-file-wrapper.h (module 'network'): uint32_t ns3::PcapFileWrapper::GetSnapLen() [member function]\n cls.add_method('GetSnapLen', \n 'uint32_t', \n [])\n ## pcap-file-wrapper.h (module 'network'): uint32_t ns3::PcapFileWrapper::GetDataLinkType() [member function]\n cls.add_method('GetDataLinkType', \n 'uint32_t', \n [])\n return\n\ndef register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, cls):\n ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount() [constructor]\n cls.add_constructor([])\n ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor]\n cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter< ns3::AttributeAccessor > > const &', 'o')])\n ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount >::Cleanup() [member function]\n cls.add_method('Cleanup', \n 'void', \n [], \n is_static=True)\n return\n\ndef register_Ns3SimpleRefCount__Ns3AttributeChecker_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeChecker__gt___methods(root_module, cls):\n ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount() [constructor]\n cls.add_constructor([])\n ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor]\n cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter< ns3::AttributeChecker > > const &', 'o')])\n ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount >::Cleanup() [member function]\n cls.add_method('Cleanup', \n 'void', \n [], \n is_static=True)\n return\n\ndef register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeValue__gt___methods(root_module, cls):\n ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount() [constructor]\n cls.add_constructor([])\n ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor]\n cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter< ns3::AttributeValue > > const &', 'o')])\n ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount >::Cleanup() [member function]\n cls.add_method('Cleanup', \n 'void', \n [], \n is_static=True)\n return\n\ndef register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__lt__ns3CallbackImplBase__gt___methods(root_module, cls):\n ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount() [constructor]\n cls.add_constructor([])\n ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor]\n cls.add_constructor([param('ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter< ns3::CallbackImplBase > > const &', 'o')])\n ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount >::Cleanup() [member function]\n cls.add_method('Cleanup', \n 'void', \n [], \n is_static=True)\n return\n\ndef register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, cls):\n ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount() [constructor]\n cls.add_constructor([])\n ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor]\n cls.add_constructor([param('ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter< ns3::EventImpl > > const &', 'o')])\n ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount >::Cleanup() [member function]\n cls.add_method('Cleanup', \n 'void', \n [], \n is_static=True)\n return\n\ndef register_Ns3SimpleRefCount__Ns3FdReader_Ns3Empty_Ns3DefaultDeleter__lt__ns3FdReader__gt___methods(root_module, cls):\n ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount() [constructor]\n cls.add_constructor([])\n ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor]\n cls.add_constructor([param('ns3::SimpleRefCount< ns3::FdReader, ns3::empty, ns3::DefaultDeleter< ns3::FdReader > > const &', 'o')])\n ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount >::Cleanup() [member function]\n cls.add_method('Cleanup', \n 'void', \n [], \n is_static=True)\n return\n\ndef register_Ns3SimpleRefCount__Ns3NixVector_Ns3Empty_Ns3DefaultDeleter__lt__ns3NixVector__gt___methods(root_module, cls):\n ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount() [constructor]\n cls.add_constructor([])\n ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor]\n cls.add_constructor([param('ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter< ns3::NixVector > > const &', 'o')])\n ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount >::Cleanup() [member function]\n cls.add_method('Cleanup', \n 'void', \n [], \n is_static=True)\n return\n\ndef register_Ns3SimpleRefCount__Ns3OutputStreamWrapper_Ns3Empty_Ns3DefaultDeleter__lt__ns3OutputStreamWrapper__gt___methods(root_module, cls):\n ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount() [constructor]\n cls.add_constructor([])\n ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor]\n cls.add_constructor([param('ns3::SimpleRefCount< ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter< ns3::OutputStreamWrapper > > const &', 'o')])\n ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount >::Cleanup() [member function]\n cls.add_method('Cleanup', \n 'void', \n [], \n is_static=True)\n return\n\ndef register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, cls):\n ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount() [constructor]\n cls.add_constructor([])\n ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor]\n cls.add_constructor([param('ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter< ns3::Packet > > const &', 'o')])\n ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount >::Cleanup() [member function]\n cls.add_method('Cleanup', \n 'void', \n [], \n is_static=True)\n return\n\ndef register_Ns3SimpleRefCount__Ns3SystemThread_Ns3Empty_Ns3DefaultDeleter__lt__ns3SystemThread__gt___methods(root_module, cls):\n ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount() [constructor]\n cls.add_constructor([])\n ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor]\n cls.add_constructor([param('ns3::SimpleRefCount< ns3::SystemThread, ns3::empty, ns3::DefaultDeleter< ns3::SystemThread > > const &', 'o')])\n ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount >::Cleanup() [member function]\n cls.add_method('Cleanup', \n 'void', \n [], \n is_static=True)\n return\n\ndef register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, cls):\n ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount() [constructor]\n cls.add_constructor([])\n ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor]\n cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > const &', 'o')])\n ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount >::Cleanup() [member function]\n cls.add_method('Cleanup', \n 'void', \n [], \n is_static=True)\n return\n\ndef register_Ns3SystemThread_methods(root_module, cls):\n ## system-thread.h (module 'core'): ns3::SystemThread::SystemThread(ns3::SystemThread const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::SystemThread const &', 'arg0')])\n ## system-thread.h (module 'core'): ns3::SystemThread::SystemThread(ns3::Callback callback) [constructor]\n cls.add_constructor([param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')])\n ## system-thread.h (module 'core'): static bool ns3::SystemThread::Equals(pthread_t id) [member function]\n cls.add_method('Equals', \n 'bool', \n [param('pthread_t', 'id')], \n is_static=True)\n ## system-thread.h (module 'core'): void ns3::SystemThread::Join() [member function]\n cls.add_method('Join', \n 'void', \n [])\n ## system-thread.h (module 'core'): static pthread_t ns3::SystemThread::Self() [member function]\n cls.add_method('Self', \n 'pthread_t', \n [], \n is_static=True)\n ## system-thread.h (module 'core'): void ns3::SystemThread::Start() [member function]\n cls.add_method('Start', \n 'void', \n [])\n return\n\ndef register_Ns3Time_methods(root_module, cls):\n cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right'))\n cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right'))\n cls.add_binary_comparison_operator('<')\n cls.add_binary_comparison_operator('>')\n cls.add_binary_comparison_operator('!=')\n cls.add_inplace_numeric_operator('+=', param('ns3::Time const &', 'right'))\n cls.add_inplace_numeric_operator('-=', param('ns3::Time const &', 'right'))\n cls.add_output_stream_operator()\n cls.add_binary_comparison_operator('<=')\n cls.add_binary_comparison_operator('==')\n cls.add_binary_comparison_operator('>=')\n ## nstime.h (module 'core'): ns3::Time::Time() [constructor]\n cls.add_constructor([])\n ## nstime.h (module 'core'): ns3::Time::Time(ns3::Time const & o) [copy constructor]\n cls.add_constructor([param('ns3::Time const &', 'o')])\n ## nstime.h (module 'core'): ns3::Time::Time(double v) [constructor]\n cls.add_constructor([param('double', 'v')])\n ## nstime.h (module 'core'): ns3::Time::Time(int v) [constructor]\n cls.add_constructor([param('int', 'v')])\n ## nstime.h (module 'core'): ns3::Time::Time(long int v) [constructor]\n cls.add_constructor([param('long int', 'v')])\n ## nstime.h (module 'core'): ns3::Time::Time(long long int v) [constructor]\n cls.add_constructor([param('long long int', 'v')])\n ## nstime.h (module 'core'): ns3::Time::Time(unsigned int v) [constructor]\n cls.add_constructor([param('unsigned int', 'v')])\n ## nstime.h (module 'core'): ns3::Time::Time(long unsigned int v) [constructor]\n cls.add_constructor([param('long unsigned int', 'v')])\n ## nstime.h (module 'core'): ns3::Time::Time(long long unsigned int v) [constructor]\n cls.add_constructor([param('long long unsigned int', 'v')])\n ## nstime.h (module 'core'): ns3::Time::Time(std::string const & s) [constructor]\n cls.add_constructor([param('std::string const &', 's')])\n ## nstime.h (module 'core'): ns3::Time::Time(ns3::int64x64_t const & value) [constructor]\n cls.add_constructor([param('ns3::int64x64_t const &', 'value')])\n ## nstime.h (module 'core'): int ns3::Time::Compare(ns3::Time const & o) const [member function]\n cls.add_method('Compare', \n 'int', \n [param('ns3::Time const &', 'o')], \n is_const=True)\n ## nstime.h (module 'core'): static ns3::Time ns3::Time::From(ns3::int64x64_t const & from, ns3::Time::Unit timeUnit) [member function]\n cls.add_method('From', \n 'ns3::Time', \n [param('ns3::int64x64_t const &', 'from'), param('ns3::Time::Unit', 'timeUnit')], \n is_static=True)\n ## nstime.h (module 'core'): static ns3::Time ns3::Time::From(ns3::int64x64_t const & value) [member function]\n cls.add_method('From', \n 'ns3::Time', \n [param('ns3::int64x64_t const &', 'value')], \n is_static=True)\n ## nstime.h (module 'core'): static ns3::Time ns3::Time::FromDouble(double value, ns3::Time::Unit timeUnit) [member function]\n cls.add_method('FromDouble', \n 'ns3::Time', \n [param('double', 'value'), param('ns3::Time::Unit', 'timeUnit')], \n is_static=True)\n ## nstime.h (module 'core'): static ns3::Time ns3::Time::FromInteger(uint64_t value, ns3::Time::Unit timeUnit) [member function]\n cls.add_method('FromInteger', \n 'ns3::Time', \n [param('uint64_t', 'value'), param('ns3::Time::Unit', 'timeUnit')], \n is_static=True)\n ## nstime.h (module 'core'): double ns3::Time::GetDouble() const [member function]\n cls.add_method('GetDouble', \n 'double', \n [], \n is_const=True)\n ## nstime.h (module 'core'): int64_t ns3::Time::GetFemtoSeconds() const [member function]\n cls.add_method('GetFemtoSeconds', \n 'int64_t', \n [], \n is_const=True)\n ## nstime.h (module 'core'): int64_t ns3::Time::GetInteger() const [member function]\n cls.add_method('GetInteger', \n 'int64_t', \n [], \n is_const=True)\n ## nstime.h (module 'core'): int64_t ns3::Time::GetMicroSeconds() const [member function]\n cls.add_method('GetMicroSeconds', \n 'int64_t', \n [], \n is_const=True)\n ## nstime.h (module 'core'): int64_t ns3::Time::GetMilliSeconds() const [member function]\n cls.add_method('GetMilliSeconds', \n 'int64_t', \n [], \n is_const=True)\n ## nstime.h (module 'core'): int64_t ns3::Time::GetNanoSeconds() const [member function]\n cls.add_method('GetNanoSeconds', \n 'int64_t', \n [], \n is_const=True)\n ## nstime.h (module 'core'): int64_t ns3::Time::GetPicoSeconds() const [member function]\n cls.add_method('GetPicoSeconds', \n 'int64_t', \n [], \n is_const=True)\n ## nstime.h (module 'core'): static ns3::Time::Unit ns3::Time::GetResolution() [member function]\n cls.add_method('GetResolution', \n 'ns3::Time::Unit', \n [], \n is_static=True)\n ## nstime.h (module 'core'): double ns3::Time::GetSeconds() const [member function]\n cls.add_method('GetSeconds', \n 'double', \n [], \n is_const=True)\n ## nstime.h (module 'core'): int64_t ns3::Time::GetTimeStep() const [member function]\n cls.add_method('GetTimeStep', \n 'int64_t', \n [], \n is_const=True)\n ## nstime.h (module 'core'): bool ns3::Time::IsNegative() const [member function]\n cls.add_method('IsNegative', \n 'bool', \n [], \n is_const=True)\n ## nstime.h (module 'core'): bool ns3::Time::IsPositive() const [member function]\n cls.add_method('IsPositive', \n 'bool', \n [], \n is_const=True)\n ## nstime.h (module 'core'): bool ns3::Time::IsStrictlyNegative() const [member function]\n cls.add_method('IsStrictlyNegative', \n 'bool', \n [], \n is_const=True)\n ## nstime.h (module 'core'): bool ns3::Time::IsStrictlyPositive() const [member function]\n cls.add_method('IsStrictlyPositive', \n 'bool', \n [], \n is_const=True)\n ## nstime.h (module 'core'): bool ns3::Time::IsZero() const [member function]\n cls.add_method('IsZero', \n 'bool', \n [], \n is_const=True)\n ## nstime.h (module 'core'): static void ns3::Time::SetResolution(ns3::Time::Unit resolution) [member function]\n cls.add_method('SetResolution', \n 'void', \n [param('ns3::Time::Unit', 'resolution')], \n is_static=True)\n ## nstime.h (module 'core'): ns3::int64x64_t ns3::Time::To(ns3::Time::Unit timeUnit) const [member function]\n cls.add_method('To', \n 'ns3::int64x64_t', \n [param('ns3::Time::Unit', 'timeUnit')], \n is_const=True)\n ## nstime.h (module 'core'): double ns3::Time::ToDouble(ns3::Time::Unit timeUnit) const [member function]\n cls.add_method('ToDouble', \n 'double', \n [param('ns3::Time::Unit', 'timeUnit')], \n is_const=True)\n ## nstime.h (module 'core'): int64_t ns3::Time::ToInteger(ns3::Time::Unit timeUnit) const [member function]\n cls.add_method('ToInteger', \n 'int64_t', \n [param('ns3::Time::Unit', 'timeUnit')], \n is_const=True)\n return\n\ndef register_Ns3TraceSourceAccessor_methods(root_module, cls):\n ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')])\n ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor]\n cls.add_constructor([])\n ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function]\n cls.add_method('Connect', \n 'bool', \n [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], \n is_pure_virtual=True, is_const=True, is_virtual=True)\n ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function]\n cls.add_method('ConnectWithoutContext', \n 'bool', \n [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], \n is_pure_virtual=True, is_const=True, is_virtual=True)\n ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function]\n cls.add_method('Disconnect', \n 'bool', \n [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], \n is_pure_virtual=True, is_const=True, is_virtual=True)\n ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function]\n cls.add_method('DisconnectWithoutContext', \n 'bool', \n [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], \n is_pure_virtual=True, is_const=True, is_virtual=True)\n return\n\ndef register_Ns3Trailer_methods(root_module, cls):\n cls.add_output_stream_operator()\n ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor]\n cls.add_constructor([])\n ## trailer.h (module 'network'): ns3::Trailer::Trailer(ns3::Trailer const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::Trailer const &', 'arg0')])\n ## trailer.h (module 'network'): uint32_t ns3::Trailer::Deserialize(ns3::Buffer::Iterator end) [member function]\n cls.add_method('Deserialize', \n 'uint32_t', \n [param('ns3::Buffer::Iterator', 'end')], \n is_pure_virtual=True, is_virtual=True)\n ## trailer.h (module 'network'): uint32_t ns3::Trailer::GetSerializedSize() const [member function]\n cls.add_method('GetSerializedSize', \n 'uint32_t', \n [], \n is_pure_virtual=True, is_const=True, is_virtual=True)\n ## trailer.h (module 'network'): static ns3::TypeId ns3::Trailer::GetTypeId() [member function]\n cls.add_method('GetTypeId', \n 'ns3::TypeId', \n [], \n is_static=True)\n ## trailer.h (module 'network'): void ns3::Trailer::Print(std::ostream & os) const [member function]\n cls.add_method('Print', \n 'void', \n [param('std::ostream &', 'os')], \n is_pure_virtual=True, is_const=True, is_virtual=True)\n ## trailer.h (module 'network'): void ns3::Trailer::Serialize(ns3::Buffer::Iterator start) const [member function]\n cls.add_method('Serialize', \n 'void', \n [param('ns3::Buffer::Iterator', 'start')], \n is_pure_virtual=True, is_const=True, is_virtual=True)\n return\n\ndef register_Ns3AttributeAccessor_methods(root_module, cls):\n ## attribute.h (module 'core'): ns3::AttributeAccessor::AttributeAccessor(ns3::AttributeAccessor const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::AttributeAccessor const &', 'arg0')])\n ## attribute.h (module 'core'): ns3::AttributeAccessor::AttributeAccessor() [constructor]\n cls.add_constructor([])\n ## attribute.h (module 'core'): bool ns3::AttributeAccessor::Get(ns3::ObjectBase const * object, ns3::AttributeValue & attribute) const [member function]\n cls.add_method('Get', \n 'bool', \n [param('ns3::ObjectBase const *', 'object'), param('ns3::AttributeValue &', 'attribute')], \n is_pure_virtual=True, is_const=True, is_virtual=True)\n ## attribute.h (module 'core'): bool ns3::AttributeAccessor::HasGetter() const [member function]\n cls.add_method('HasGetter', \n 'bool', \n [], \n is_pure_virtual=True, is_const=True, is_virtual=True)\n ## attribute.h (module 'core'): bool ns3::AttributeAccessor::HasSetter() const [member function]\n cls.add_method('HasSetter', \n 'bool', \n [], \n is_pure_virtual=True, is_const=True, is_virtual=True)\n ## attribute.h (module 'core'): bool ns3::AttributeAccessor::Set(ns3::ObjectBase * object, ns3::AttributeValue const & value) const [member function]\n cls.add_method('Set', \n 'bool', \n [param('ns3::ObjectBase *', 'object', transfer_ownership=False), param('ns3::AttributeValue const &', 'value')], \n is_pure_virtual=True, is_const=True, is_virtual=True)\n return\n\ndef register_Ns3AttributeChecker_methods(root_module, cls):\n ## attribute.h (module 'core'): ns3::AttributeChecker::AttributeChecker(ns3::AttributeChecker const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::AttributeChecker const &', 'arg0')])\n ## attribute.h (module 'core'): ns3::AttributeChecker::AttributeChecker() [constructor]\n cls.add_constructor([])\n ## attribute.h (module 'core'): bool ns3::AttributeChecker::Check(ns3::AttributeValue const & value) const [member function]\n cls.add_method('Check', \n 'bool', \n [param('ns3::AttributeValue const &', 'value')], \n is_pure_virtual=True, is_const=True, is_virtual=True)\n ## attribute.h (module 'core'): bool ns3::AttributeChecker::Copy(ns3::AttributeValue const & source, ns3::AttributeValue & destination) const [member function]\n cls.add_method('Copy', \n 'bool', \n [param('ns3::AttributeValue const &', 'source'), param('ns3::AttributeValue &', 'destination')], \n is_pure_virtual=True, is_const=True, is_virtual=True)\n ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeChecker::Create() const [member function]\n cls.add_method('Create', \n 'ns3::Ptr< ns3::AttributeValue >', \n [], \n is_pure_virtual=True, is_const=True, is_virtual=True)\n ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function]\n cls.add_method('CreateValidValue', \n 'ns3::Ptr< ns3::AttributeValue >', \n [param('ns3::AttributeValue const &', 'value')], \n is_const=True)\n ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function]\n cls.add_method('GetUnderlyingTypeInformation', \n 'std::string', \n [], \n is_pure_virtual=True, is_const=True, is_virtual=True)\n ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetValueTypeName() const [member function]\n cls.add_method('GetValueTypeName', \n 'std::string', \n [], \n is_pure_virtual=True, is_const=True, is_virtual=True)\n ## attribute.h (module 'core'): bool ns3::AttributeChecker::HasUnderlyingTypeInformation() const [member function]\n cls.add_method('HasUnderlyingTypeInformation', \n 'bool', \n [], \n is_pure_virtual=True, is_const=True, is_virtual=True)\n return\n\ndef register_Ns3AttributeValue_methods(root_module, cls):\n ## attribute.h (module 'core'): ns3::AttributeValue::AttributeValue(ns3::AttributeValue const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::AttributeValue const &', 'arg0')])\n ## attribute.h (module 'core'): ns3::AttributeValue::AttributeValue() [constructor]\n cls.add_constructor([])\n ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeValue::Copy() const [member function]\n cls.add_method('Copy', \n 'ns3::Ptr< ns3::AttributeValue >', \n [], \n is_pure_virtual=True, is_const=True, is_virtual=True)\n ## attribute.h (module 'core'): bool ns3::AttributeValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function]\n cls.add_method('DeserializeFromString', \n 'bool', \n [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], \n is_pure_virtual=True, is_virtual=True)\n ## attribute.h (module 'core'): std::string ns3::AttributeValue::SerializeToString(ns3::Ptr checker) const [member function]\n cls.add_method('SerializeToString', \n 'std::string', \n [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], \n is_pure_virtual=True, is_const=True, is_virtual=True)\n return\n\ndef register_Ns3CallbackChecker_methods(root_module, cls):\n ## callback.h (module 'core'): ns3::CallbackChecker::CallbackChecker() [constructor]\n cls.add_constructor([])\n ## callback.h (module 'core'): ns3::CallbackChecker::CallbackChecker(ns3::CallbackChecker const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::CallbackChecker const &', 'arg0')])\n return\n\ndef register_Ns3CallbackImplBase_methods(root_module, cls):\n ## callback.h (module 'core'): ns3::CallbackImplBase::CallbackImplBase() [constructor]\n cls.add_constructor([])\n ## callback.h (module 'core'): ns3::CallbackImplBase::CallbackImplBase(ns3::CallbackImplBase const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::CallbackImplBase const &', 'arg0')])\n ## callback.h (module 'core'): bool ns3::CallbackImplBase::IsEqual(ns3::Ptr other) const [member function]\n cls.add_method('IsEqual', \n 'bool', \n [param('ns3::Ptr< ns3::CallbackImplBase const >', 'other')], \n is_pure_virtual=True, is_const=True, is_virtual=True)\n return\n\ndef register_Ns3CallbackValue_methods(root_module, cls):\n ## callback.h (module 'core'): ns3::CallbackValue::CallbackValue(ns3::CallbackValue const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::CallbackValue const &', 'arg0')])\n ## callback.h (module 'core'): ns3::CallbackValue::CallbackValue() [constructor]\n cls.add_constructor([])\n ## callback.h (module 'core'): ns3::CallbackValue::CallbackValue(ns3::CallbackBase const & base) [constructor]\n cls.add_constructor([param('ns3::CallbackBase const &', 'base')])\n ## callback.h (module 'core'): ns3::Ptr ns3::CallbackValue::Copy() const [member function]\n cls.add_method('Copy', \n 'ns3::Ptr< ns3::AttributeValue >', \n [], \n is_const=True, is_virtual=True)\n ## callback.h (module 'core'): bool ns3::CallbackValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function]\n cls.add_method('DeserializeFromString', \n 'bool', \n [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], \n is_virtual=True)\n ## callback.h (module 'core'): std::string ns3::CallbackValue::SerializeToString(ns3::Ptr checker) const [member function]\n cls.add_method('SerializeToString', \n 'std::string', \n [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], \n is_const=True, is_virtual=True)\n ## callback.h (module 'core'): void ns3::CallbackValue::Set(ns3::CallbackBase base) [member function]\n cls.add_method('Set', \n 'void', \n [param('ns3::CallbackBase', 'base')])\n return\n\ndef register_Ns3DataRateChecker_methods(root_module, cls):\n ## data-rate.h (module 'network'): ns3::DataRateChecker::DataRateChecker() [constructor]\n cls.add_constructor([])\n ## data-rate.h (module 'network'): ns3::DataRateChecker::DataRateChecker(ns3::DataRateChecker const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::DataRateChecker const &', 'arg0')])\n return\n\ndef register_Ns3DataRateValue_methods(root_module, cls):\n ## data-rate.h (module 'network'): ns3::DataRateValue::DataRateValue() [constructor]\n cls.add_constructor([])\n ## data-rate.h (module 'network'): ns3::DataRateValue::DataRateValue(ns3::DataRateValue const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::DataRateValue const &', 'arg0')])\n ## data-rate.h (module 'network'): ns3::DataRateValue::DataRateValue(ns3::DataRate const & value) [constructor]\n cls.add_constructor([param('ns3::DataRate const &', 'value')])\n ## data-rate.h (module 'network'): ns3::Ptr ns3::DataRateValue::Copy() const [member function]\n cls.add_method('Copy', \n 'ns3::Ptr< ns3::AttributeValue >', \n [], \n is_const=True, is_virtual=True)\n ## data-rate.h (module 'network'): bool ns3::DataRateValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function]\n cls.add_method('DeserializeFromString', \n 'bool', \n [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], \n is_virtual=True)\n ## data-rate.h (module 'network'): ns3::DataRate ns3::DataRateValue::Get() const [member function]\n cls.add_method('Get', \n 'ns3::DataRate', \n [], \n is_const=True)\n ## data-rate.h (module 'network'): std::string ns3::DataRateValue::SerializeToString(ns3::Ptr checker) const [member function]\n cls.add_method('SerializeToString', \n 'std::string', \n [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], \n is_const=True, is_virtual=True)\n ## data-rate.h (module 'network'): void ns3::DataRateValue::Set(ns3::DataRate const & value) [member function]\n cls.add_method('Set', \n 'void', \n [param('ns3::DataRate const &', 'value')])\n return\n\ndef register_Ns3EmptyAttributeValue_methods(root_module, cls):\n ## attribute.h (module 'core'): ns3::EmptyAttributeValue::EmptyAttributeValue(ns3::EmptyAttributeValue const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::EmptyAttributeValue const &', 'arg0')])\n ## attribute.h (module 'core'): ns3::EmptyAttributeValue::EmptyAttributeValue() [constructor]\n cls.add_constructor([])\n ## attribute.h (module 'core'): ns3::Ptr ns3::EmptyAttributeValue::Copy() const [member function]\n cls.add_method('Copy', \n 'ns3::Ptr< ns3::AttributeValue >', \n [], \n is_const=True, visibility='private', is_virtual=True)\n ## attribute.h (module 'core'): bool ns3::EmptyAttributeValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function]\n cls.add_method('DeserializeFromString', \n 'bool', \n [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], \n visibility='private', is_virtual=True)\n ## attribute.h (module 'core'): std::string ns3::EmptyAttributeValue::SerializeToString(ns3::Ptr checker) const [member function]\n cls.add_method('SerializeToString', \n 'std::string', \n [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], \n is_const=True, visibility='private', is_virtual=True)\n return\n\ndef register_Ns3EmuFdNetDeviceHelper_methods(root_module, cls):\n ## emu-fd-net-device-helper.h (module 'fd-net-device'): ns3::EmuFdNetDeviceHelper::EmuFdNetDeviceHelper(ns3::EmuFdNetDeviceHelper const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::EmuFdNetDeviceHelper const &', 'arg0')])\n ## emu-fd-net-device-helper.h (module 'fd-net-device'): ns3::EmuFdNetDeviceHelper::EmuFdNetDeviceHelper() [constructor]\n cls.add_constructor([])\n ## emu-fd-net-device-helper.h (module 'fd-net-device'): std::string ns3::EmuFdNetDeviceHelper::GetDeviceName() [member function]\n cls.add_method('GetDeviceName', \n 'std::string', \n [])\n ## emu-fd-net-device-helper.h (module 'fd-net-device'): void ns3::EmuFdNetDeviceHelper::SetDeviceName(std::string deviceName) [member function]\n cls.add_method('SetDeviceName', \n 'void', \n [param('std::string', 'deviceName')])\n ## emu-fd-net-device-helper.h (module 'fd-net-device'): int ns3::EmuFdNetDeviceHelper::CreateFileDescriptor() const [member function]\n cls.add_method('CreateFileDescriptor', \n 'int', \n [], \n is_const=True, visibility='protected', is_virtual=True)\n ## emu-fd-net-device-helper.h (module 'fd-net-device'): ns3::Ptr ns3::EmuFdNetDeviceHelper::InstallPriv(ns3::Ptr node) const [member function]\n cls.add_method('InstallPriv', \n 'ns3::Ptr< ns3::NetDevice >', \n [param('ns3::Ptr< ns3::Node >', 'node')], \n is_const=True, visibility='protected', is_virtual=True)\n ## emu-fd-net-device-helper.h (module 'fd-net-device'): void ns3::EmuFdNetDeviceHelper::SetFileDescriptor(ns3::Ptr device) const [member function]\n cls.add_method('SetFileDescriptor', \n 'void', \n [param('ns3::Ptr< ns3::FdNetDevice >', 'device')], \n is_const=True, visibility='protected', is_virtual=True)\n return\n\ndef register_Ns3EventImpl_methods(root_module, cls):\n ## event-impl.h (module 'core'): ns3::EventImpl::EventImpl(ns3::EventImpl const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::EventImpl const &', 'arg0')])\n ## event-impl.h (module 'core'): ns3::EventImpl::EventImpl() [constructor]\n cls.add_constructor([])\n ## event-impl.h (module 'core'): void ns3::EventImpl::Cancel() [member function]\n cls.add_method('Cancel', \n 'void', \n [])\n ## event-impl.h (module 'core'): void ns3::EventImpl::Invoke() [member function]\n cls.add_method('Invoke', \n 'void', \n [])\n ## event-impl.h (module 'core'): bool ns3::EventImpl::IsCancelled() [member function]\n cls.add_method('IsCancelled', \n 'bool', \n [])\n ## event-impl.h (module 'core'): void ns3::EventImpl::Notify() [member function]\n cls.add_method('Notify', \n 'void', \n [], \n is_pure_virtual=True, visibility='protected', is_virtual=True)\n return\n\ndef register_Ns3FdReader_methods(root_module, cls):\n ## unix-fd-reader.h (module 'core'): ns3::FdReader::FdReader(ns3::FdReader const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::FdReader const &', 'arg0')])\n ## unix-fd-reader.h (module 'core'): ns3::FdReader::FdReader() [constructor]\n cls.add_constructor([])\n ## unix-fd-reader.h (module 'core'): void ns3::FdReader::Start(int fd, ns3::Callback readCallback) [member function]\n cls.add_method('Start', \n 'void', \n [param('int', 'fd'), param('ns3::Callback< void, unsigned char *, long, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'readCallback')])\n ## unix-fd-reader.h (module 'core'): void ns3::FdReader::Stop() [member function]\n cls.add_method('Stop', \n 'void', \n [])\n ## unix-fd-reader.h (module 'core'): ns3::FdReader::Data ns3::FdReader::DoRead() [member function]\n cls.add_method('DoRead', \n 'ns3::FdReader::Data', \n [], \n is_pure_virtual=True, visibility='protected', is_virtual=True)\n return\n\ndef register_Ns3Ipv4AddressChecker_methods(root_module, cls):\n ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker::Ipv4AddressChecker() [constructor]\n cls.add_constructor([])\n ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker::Ipv4AddressChecker(ns3::Ipv4AddressChecker const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::Ipv4AddressChecker const &', 'arg0')])\n return\n\ndef register_Ns3Ipv4AddressValue_methods(root_module, cls):\n ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue::Ipv4AddressValue() [constructor]\n cls.add_constructor([])\n ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue::Ipv4AddressValue(ns3::Ipv4AddressValue const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::Ipv4AddressValue const &', 'arg0')])\n ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue::Ipv4AddressValue(ns3::Ipv4Address const & value) [constructor]\n cls.add_constructor([param('ns3::Ipv4Address const &', 'value')])\n ## ipv4-address.h (module 'network'): ns3::Ptr ns3::Ipv4AddressValue::Copy() const [member function]\n cls.add_method('Copy', \n 'ns3::Ptr< ns3::AttributeValue >', \n [], \n is_const=True, is_virtual=True)\n ## ipv4-address.h (module 'network'): bool ns3::Ipv4AddressValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function]\n cls.add_method('DeserializeFromString', \n 'bool', \n [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], \n is_virtual=True)\n ## ipv4-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv4AddressValue::Get() const [member function]\n cls.add_method('Get', \n 'ns3::Ipv4Address', \n [], \n is_const=True)\n ## ipv4-address.h (module 'network'): std::string ns3::Ipv4AddressValue::SerializeToString(ns3::Ptr checker) const [member function]\n cls.add_method('SerializeToString', \n 'std::string', \n [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], \n is_const=True, is_virtual=True)\n ## ipv4-address.h (module 'network'): void ns3::Ipv4AddressValue::Set(ns3::Ipv4Address const & value) [member function]\n cls.add_method('Set', \n 'void', \n [param('ns3::Ipv4Address const &', 'value')])\n return\n\ndef register_Ns3Ipv4MaskChecker_methods(root_module, cls):\n ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker::Ipv4MaskChecker() [constructor]\n cls.add_constructor([])\n ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker::Ipv4MaskChecker(ns3::Ipv4MaskChecker const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::Ipv4MaskChecker const &', 'arg0')])\n return\n\ndef register_Ns3Ipv4MaskValue_methods(root_module, cls):\n ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue::Ipv4MaskValue() [constructor]\n cls.add_constructor([])\n ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue::Ipv4MaskValue(ns3::Ipv4MaskValue const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::Ipv4MaskValue const &', 'arg0')])\n ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue::Ipv4MaskValue(ns3::Ipv4Mask const & value) [constructor]\n cls.add_constructor([param('ns3::Ipv4Mask const &', 'value')])\n ## ipv4-address.h (module 'network'): ns3::Ptr ns3::Ipv4MaskValue::Copy() const [member function]\n cls.add_method('Copy', \n 'ns3::Ptr< ns3::AttributeValue >', \n [], \n is_const=True, is_virtual=True)\n ## ipv4-address.h (module 'network'): bool ns3::Ipv4MaskValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function]\n cls.add_method('DeserializeFromString', \n 'bool', \n [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], \n is_virtual=True)\n ## ipv4-address.h (module 'network'): ns3::Ipv4Mask ns3::Ipv4MaskValue::Get() const [member function]\n cls.add_method('Get', \n 'ns3::Ipv4Mask', \n [], \n is_const=True)\n ## ipv4-address.h (module 'network'): std::string ns3::Ipv4MaskValue::SerializeToString(ns3::Ptr checker) const [member function]\n cls.add_method('SerializeToString', \n 'std::string', \n [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], \n is_const=True, is_virtual=True)\n ## ipv4-address.h (module 'network'): void ns3::Ipv4MaskValue::Set(ns3::Ipv4Mask const & value) [member function]\n cls.add_method('Set', \n 'void', \n [param('ns3::Ipv4Mask const &', 'value')])\n return\n\ndef register_Ns3Ipv6AddressChecker_methods(root_module, cls):\n ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker::Ipv6AddressChecker() [constructor]\n cls.add_constructor([])\n ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker::Ipv6AddressChecker(ns3::Ipv6AddressChecker const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::Ipv6AddressChecker const &', 'arg0')])\n return\n\ndef register_Ns3Ipv6AddressValue_methods(root_module, cls):\n ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue::Ipv6AddressValue() [constructor]\n cls.add_constructor([])\n ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue::Ipv6AddressValue(ns3::Ipv6AddressValue const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::Ipv6AddressValue const &', 'arg0')])\n ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue::Ipv6AddressValue(ns3::Ipv6Address const & value) [constructor]\n cls.add_constructor([param('ns3::Ipv6Address const &', 'value')])\n ## ipv6-address.h (module 'network'): ns3::Ptr ns3::Ipv6AddressValue::Copy() const [member function]\n cls.add_method('Copy', \n 'ns3::Ptr< ns3::AttributeValue >', \n [], \n is_const=True, is_virtual=True)\n ## ipv6-address.h (module 'network'): bool ns3::Ipv6AddressValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function]\n cls.add_method('DeserializeFromString', \n 'bool', \n [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], \n is_virtual=True)\n ## ipv6-address.h (module 'network'): ns3::Ipv6Address ns3::Ipv6AddressValue::Get() const [member function]\n cls.add_method('Get', \n 'ns3::Ipv6Address', \n [], \n is_const=True)\n ## ipv6-address.h (module 'network'): std::string ns3::Ipv6AddressValue::SerializeToString(ns3::Ptr checker) const [member function]\n cls.add_method('SerializeToString', \n 'std::string', \n [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], \n is_const=True, is_virtual=True)\n ## ipv6-address.h (module 'network'): void ns3::Ipv6AddressValue::Set(ns3::Ipv6Address const & value) [member function]\n cls.add_method('Set', \n 'void', \n [param('ns3::Ipv6Address const &', 'value')])\n return\n\ndef register_Ns3Ipv6PrefixChecker_methods(root_module, cls):\n ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker::Ipv6PrefixChecker() [constructor]\n cls.add_constructor([])\n ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker::Ipv6PrefixChecker(ns3::Ipv6PrefixChecker const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::Ipv6PrefixChecker const &', 'arg0')])\n return\n\ndef register_Ns3Ipv6PrefixValue_methods(root_module, cls):\n ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue::Ipv6PrefixValue() [constructor]\n cls.add_constructor([])\n ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue::Ipv6PrefixValue(ns3::Ipv6PrefixValue const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::Ipv6PrefixValue const &', 'arg0')])\n ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue::Ipv6PrefixValue(ns3::Ipv6Prefix const & value) [constructor]\n cls.add_constructor([param('ns3::Ipv6Prefix const &', 'value')])\n ## ipv6-address.h (module 'network'): ns3::Ptr ns3::Ipv6PrefixValue::Copy() const [member function]\n cls.add_method('Copy', \n 'ns3::Ptr< ns3::AttributeValue >', \n [], \n is_const=True, is_virtual=True)\n ## ipv6-address.h (module 'network'): bool ns3::Ipv6PrefixValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function]\n cls.add_method('DeserializeFromString', \n 'bool', \n [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], \n is_virtual=True)\n ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix ns3::Ipv6PrefixValue::Get() const [member function]\n cls.add_method('Get', \n 'ns3::Ipv6Prefix', \n [], \n is_const=True)\n ## ipv6-address.h (module 'network'): std::string ns3::Ipv6PrefixValue::SerializeToString(ns3::Ptr checker) const [member function]\n cls.add_method('SerializeToString', \n 'std::string', \n [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], \n is_const=True, is_virtual=True)\n ## ipv6-address.h (module 'network'): void ns3::Ipv6PrefixValue::Set(ns3::Ipv6Prefix const & value) [member function]\n cls.add_method('Set', \n 'void', \n [param('ns3::Ipv6Prefix const &', 'value')])\n return\n\ndef register_Ns3Mac48AddressChecker_methods(root_module, cls):\n ## mac48-address.h (module 'network'): ns3::Mac48AddressChecker::Mac48AddressChecker() [constructor]\n cls.add_constructor([])\n ## mac48-address.h (module 'network'): ns3::Mac48AddressChecker::Mac48AddressChecker(ns3::Mac48AddressChecker const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::Mac48AddressChecker const &', 'arg0')])\n return\n\ndef register_Ns3Mac48AddressValue_methods(root_module, cls):\n ## mac48-address.h (module 'network'): ns3::Mac48AddressValue::Mac48AddressValue() [constructor]\n cls.add_constructor([])\n ## mac48-address.h (module 'network'): ns3::Mac48AddressValue::Mac48AddressValue(ns3::Mac48AddressValue const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::Mac48AddressValue const &', 'arg0')])\n ## mac48-address.h (module 'network'): ns3::Mac48AddressValue::Mac48AddressValue(ns3::Mac48Address const & value) [constructor]\n cls.add_constructor([param('ns3::Mac48Address const &', 'value')])\n ## mac48-address.h (module 'network'): ns3::Ptr ns3::Mac48AddressValue::Copy() const [member function]\n cls.add_method('Copy', \n 'ns3::Ptr< ns3::AttributeValue >', \n [], \n is_const=True, is_virtual=True)\n ## mac48-address.h (module 'network'): bool ns3::Mac48AddressValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function]\n cls.add_method('DeserializeFromString', \n 'bool', \n [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], \n is_virtual=True)\n ## mac48-address.h (module 'network'): ns3::Mac48Address ns3::Mac48AddressValue::Get() const [member function]\n cls.add_method('Get', \n 'ns3::Mac48Address', \n [], \n is_const=True)\n ## mac48-address.h (module 'network'): std::string ns3::Mac48AddressValue::SerializeToString(ns3::Ptr checker) const [member function]\n cls.add_method('SerializeToString', \n 'std::string', \n [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], \n is_const=True, is_virtual=True)\n ## mac48-address.h (module 'network'): void ns3::Mac48AddressValue::Set(ns3::Mac48Address const & value) [member function]\n cls.add_method('Set', \n 'void', \n [param('ns3::Mac48Address const &', 'value')])\n return\n\ndef register_Ns3NetDevice_methods(root_module, cls):\n ## net-device.h (module 'network'): ns3::NetDevice::NetDevice() [constructor]\n cls.add_constructor([])\n ## net-device.h (module 'network'): ns3::NetDevice::NetDevice(ns3::NetDevice const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::NetDevice const &', 'arg0')])\n ## net-device.h (module 'network'): void ns3::NetDevice::AddLinkChangeCallback(ns3::Callback callback) [member function]\n cls.add_method('AddLinkChangeCallback', \n 'void', \n [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')], \n is_pure_virtual=True, is_virtual=True)\n ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetAddress() const [member function]\n cls.add_method('GetAddress', \n 'ns3::Address', \n [], \n is_pure_virtual=True, is_const=True, is_virtual=True)\n ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetBroadcast() const [member function]\n cls.add_method('GetBroadcast', \n 'ns3::Address', \n [], \n is_pure_virtual=True, is_const=True, is_virtual=True)\n ## net-device.h (module 'network'): ns3::Ptr ns3::NetDevice::GetChannel() const [member function]\n cls.add_method('GetChannel', \n 'ns3::Ptr< ns3::Channel >', \n [], \n is_pure_virtual=True, is_const=True, is_virtual=True)\n ## net-device.h (module 'network'): uint32_t ns3::NetDevice::GetIfIndex() const [member function]\n cls.add_method('GetIfIndex', \n 'uint32_t', \n [], \n is_pure_virtual=True, is_const=True, is_virtual=True)\n ## net-device.h (module 'network'): uint16_t ns3::NetDevice::GetMtu() const [member function]\n cls.add_method('GetMtu', \n 'uint16_t', \n [], \n is_pure_virtual=True, is_const=True, is_virtual=True)\n ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetMulticast(ns3::Ipv4Address multicastGroup) const [member function]\n cls.add_method('GetMulticast', \n 'ns3::Address', \n [param('ns3::Ipv4Address', 'multicastGroup')], \n is_pure_virtual=True, is_const=True, is_virtual=True)\n ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetMulticast(ns3::Ipv6Address addr) const [member function]\n cls.add_method('GetMulticast', \n 'ns3::Address', \n [param('ns3::Ipv6Address', 'addr')], \n is_pure_virtual=True, is_const=True, is_virtual=True)\n ## net-device.h (module 'network'): ns3::Ptr ns3::NetDevice::GetNode() const [member function]\n cls.add_method('GetNode', \n 'ns3::Ptr< ns3::Node >', \n [], \n is_pure_virtual=True, is_const=True, is_virtual=True)\n ## net-device.h (module 'network'): static ns3::TypeId ns3::NetDevice::GetTypeId() [member function]\n cls.add_method('GetTypeId', \n 'ns3::TypeId', \n [], \n is_static=True)\n ## net-device.h (module 'network'): bool ns3::NetDevice::IsBridge() const [member function]\n cls.add_method('IsBridge', \n 'bool', \n [], \n is_pure_virtual=True, is_const=True, is_virtual=True)\n ## net-device.h (module 'network'): bool ns3::NetDevice::IsBroadcast() const [member function]\n cls.add_method('IsBroadcast', \n 'bool', \n [], \n is_pure_virtual=True, is_const=True, is_virtual=True)\n ## net-device.h (module 'network'): bool ns3::NetDevice::IsLinkUp() const [member function]\n cls.add_method('IsLinkUp', \n 'bool', \n [], \n is_pure_virtual=True, is_const=True, is_virtual=True)\n ## net-device.h (module 'network'): bool ns3::NetDevice::IsMulticast() const [member function]\n cls.add_method('IsMulticast', \n 'bool', \n [], \n is_pure_virtual=True, is_const=True, is_virtual=True)\n ## net-device.h (module 'network'): bool ns3::NetDevice::IsPointToPoint() const [member function]\n cls.add_method('IsPointToPoint', \n 'bool', \n [], \n is_pure_virtual=True, is_const=True, is_virtual=True)\n ## net-device.h (module 'network'): bool ns3::NetDevice::NeedsArp() const [member function]\n cls.add_method('NeedsArp', \n 'bool', \n [], \n is_pure_virtual=True, is_const=True, is_virtual=True)\n ## net-device.h (module 'network'): bool ns3::NetDevice::Send(ns3::Ptr packet, ns3::Address const & dest, uint16_t protocolNumber) [member function]\n cls.add_method('Send', \n 'bool', \n [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], \n is_pure_virtual=True, is_virtual=True)\n ## net-device.h (module 'network'): bool ns3::NetDevice::SendFrom(ns3::Ptr packet, ns3::Address const & source, ns3::Address const & dest, uint16_t protocolNumber) [member function]\n cls.add_method('SendFrom', \n 'bool', \n [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'source'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], \n is_pure_virtual=True, is_virtual=True)\n ## net-device.h (module 'network'): void ns3::NetDevice::SetAddress(ns3::Address address) [member function]\n cls.add_method('SetAddress', \n 'void', \n [param('ns3::Address', 'address')], \n is_pure_virtual=True, is_virtual=True)\n ## net-device.h (module 'network'): void ns3::NetDevice::SetIfIndex(uint32_t const index) [member function]\n cls.add_method('SetIfIndex', \n 'void', \n [param('uint32_t const', 'index')], \n is_pure_virtual=True, is_virtual=True)\n ## net-device.h (module 'network'): bool ns3::NetDevice::SetMtu(uint16_t const mtu) [member function]\n cls.add_method('SetMtu', \n 'bool', \n [param('uint16_t const', 'mtu')], \n is_pure_virtual=True, is_virtual=True)\n ## net-device.h (module 'network'): void ns3::NetDevice::SetNode(ns3::Ptr node) [member function]\n cls.add_method('SetNode', \n 'void', \n [param('ns3::Ptr< ns3::Node >', 'node')], \n is_pure_virtual=True, is_virtual=True)\n ## net-device.h (module 'network'): void ns3::NetDevice::SetPromiscReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> cb) [member function]\n cls.add_method('SetPromiscReceiveCallback', \n 'void', \n [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::Address const &, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty >', 'cb')], \n is_pure_virtual=True, is_virtual=True)\n ## net-device.h (module 'network'): void ns3::NetDevice::SetReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]\n cls.add_method('SetReceiveCallback', \n 'void', \n [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], \n is_pure_virtual=True, is_virtual=True)\n ## net-device.h (module 'network'): bool ns3::NetDevice::SupportsSendFrom() const [member function]\n cls.add_method('SupportsSendFrom', \n 'bool', \n [], \n is_pure_virtual=True, is_const=True, is_virtual=True)\n return\n\ndef register_Ns3NixVector_methods(root_module, cls):\n cls.add_output_stream_operator()\n ## nix-vector.h (module 'network'): ns3::NixVector::NixVector() [constructor]\n cls.add_constructor([])\n ## nix-vector.h (module 'network'): ns3::NixVector::NixVector(ns3::NixVector const & o) [copy constructor]\n cls.add_constructor([param('ns3::NixVector const &', 'o')])\n ## nix-vector.h (module 'network'): void ns3::NixVector::AddNeighborIndex(uint32_t newBits, uint32_t numberOfBits) [member function]\n cls.add_method('AddNeighborIndex', \n 'void', \n [param('uint32_t', 'newBits'), param('uint32_t', 'numberOfBits')])\n ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::BitCount(uint32_t numberOfNeighbors) const [member function]\n cls.add_method('BitCount', \n 'uint32_t', \n [param('uint32_t', 'numberOfNeighbors')], \n is_const=True)\n ## nix-vector.h (module 'network'): ns3::Ptr ns3::NixVector::Copy() const [member function]\n cls.add_method('Copy', \n 'ns3::Ptr< ns3::NixVector >', \n [], \n is_const=True)\n ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::Deserialize(uint32_t const * buffer, uint32_t size) [member function]\n cls.add_method('Deserialize', \n 'uint32_t', \n [param('uint32_t const *', 'buffer'), param('uint32_t', 'size')])\n ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::ExtractNeighborIndex(uint32_t numberOfBits) [member function]\n cls.add_method('ExtractNeighborIndex', \n 'uint32_t', \n [param('uint32_t', 'numberOfBits')])\n ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::GetRemainingBits() [member function]\n cls.add_method('GetRemainingBits', \n 'uint32_t', \n [])\n ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::GetSerializedSize() const [member function]\n cls.add_method('GetSerializedSize', \n 'uint32_t', \n [], \n is_const=True)\n ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::Serialize(uint32_t * buffer, uint32_t maxSize) const [member function]\n cls.add_method('Serialize', \n 'uint32_t', \n [param('uint32_t *', 'buffer'), param('uint32_t', 'maxSize')], \n is_const=True)\n return\n\ndef register_Ns3Node_methods(root_module, cls):\n ## node.h (module 'network'): ns3::Node::Node(ns3::Node const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::Node const &', 'arg0')])\n ## node.h (module 'network'): ns3::Node::Node() [constructor]\n cls.add_constructor([])\n ## node.h (module 'network'): ns3::Node::Node(uint32_t systemId) [constructor]\n cls.add_constructor([param('uint32_t', 'systemId')])\n ## node.h (module 'network'): uint32_t ns3::Node::AddApplication(ns3::Ptr application) [member function]\n cls.add_method('AddApplication', \n 'uint32_t', \n [param('ns3::Ptr< ns3::Application >', 'application')])\n ## node.h (module 'network'): uint32_t ns3::Node::AddDevice(ns3::Ptr device) [member function]\n cls.add_method('AddDevice', \n 'uint32_t', \n [param('ns3::Ptr< ns3::NetDevice >', 'device')])\n ## node.h (module 'network'): static bool ns3::Node::ChecksumEnabled() [member function]\n cls.add_method('ChecksumEnabled', \n 'bool', \n [], \n is_static=True)\n ## node.h (module 'network'): ns3::Ptr ns3::Node::GetApplication(uint32_t index) const [member function]\n cls.add_method('GetApplication', \n 'ns3::Ptr< ns3::Application >', \n [param('uint32_t', 'index')], \n is_const=True)\n ## node.h (module 'network'): ns3::Ptr ns3::Node::GetDevice(uint32_t index) const [member function]\n cls.add_method('GetDevice', \n 'ns3::Ptr< ns3::NetDevice >', \n [param('uint32_t', 'index')], \n is_const=True)\n ## node.h (module 'network'): uint32_t ns3::Node::GetId() const [member function]\n cls.add_method('GetId', \n 'uint32_t', \n [], \n is_const=True)\n ## node.h (module 'network'): uint32_t ns3::Node::GetNApplications() const [member function]\n cls.add_method('GetNApplications', \n 'uint32_t', \n [], \n is_const=True)\n ## node.h (module 'network'): uint32_t ns3::Node::GetNDevices() const [member function]\n cls.add_method('GetNDevices', \n 'uint32_t', \n [], \n is_const=True)\n ## node.h (module 'network'): uint32_t ns3::Node::GetSystemId() const [member function]\n cls.add_method('GetSystemId', \n 'uint32_t', \n [], \n is_const=True)\n ## node.h (module 'network'): static ns3::TypeId ns3::Node::GetTypeId() [member function]\n cls.add_method('GetTypeId', \n 'ns3::TypeId', \n [], \n is_static=True)\n ## node.h (module 'network'): void ns3::Node::RegisterDeviceAdditionListener(ns3::Callback,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> listener) [member function]\n cls.add_method('RegisterDeviceAdditionListener', \n 'void', \n [param('ns3::Callback< void, ns3::Ptr< ns3::NetDevice >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'listener')])\n ## node.h (module 'network'): void ns3::Node::RegisterProtocolHandler(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> handler, uint16_t protocolType, ns3::Ptr device, bool promiscuous=false) [member function]\n cls.add_method('RegisterProtocolHandler', \n 'void', \n [param('ns3::Callback< void, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::Address const &, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty >', 'handler'), param('uint16_t', 'protocolType'), param('ns3::Ptr< ns3::NetDevice >', 'device'), param('bool', 'promiscuous', default_value='false')])\n ## node.h (module 'network'): void ns3::Node::UnregisterDeviceAdditionListener(ns3::Callback,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> listener) [member function]\n cls.add_method('UnregisterDeviceAdditionListener', \n 'void', \n [param('ns3::Callback< void, ns3::Ptr< ns3::NetDevice >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'listener')])\n ## node.h (module 'network'): void ns3::Node::UnregisterProtocolHandler(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> handler) [member function]\n cls.add_method('UnregisterProtocolHandler', \n 'void', \n [param('ns3::Callback< void, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::Address const &, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty >', 'handler')])\n ## node.h (module 'network'): void ns3::Node::DoDispose() [member function]\n cls.add_method('DoDispose', \n 'void', \n [], \n visibility='protected', is_virtual=True)\n ## node.h (module 'network'): void ns3::Node::DoInitialize() [member function]\n cls.add_method('DoInitialize', \n 'void', \n [], \n visibility='protected', is_virtual=True)\n return\n\ndef register_Ns3ObjectFactoryChecker_methods(root_module, cls):\n ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker::ObjectFactoryChecker() [constructor]\n cls.add_constructor([])\n ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker::ObjectFactoryChecker(ns3::ObjectFactoryChecker const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::ObjectFactoryChecker const &', 'arg0')])\n return\n\ndef register_Ns3ObjectFactoryValue_methods(root_module, cls):\n ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue() [constructor]\n cls.add_constructor([])\n ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue(ns3::ObjectFactoryValue const & arg0) [copy constructor]\n cls.add_constructor([param('ns3::ObjectFactoryValue const &', 'arg0')])\n ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue(ns3::ObjectFactory const & value) [constructor]\n cls.add_constructor([param('ns3::ObjectFactory const &', 'value')])\n ## object-factory.h (module 'core'): ns3::Ptr ns3::ObjectFactoryValue::Copy() const [member function]\n cls.add_method('Copy', \n 'ns3::Ptr< ns3::AttributeValue >', \n [], \n is_const=True, is_virtual=True)\n ## object-factory.h (module 'core'): bool ns3::ObjectFactoryValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function]\n cls.add_method('DeserializeFromString', \n 'bool', \n [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], \n is_virtual=True)\n ## object-factory.h (module 'core'): ns3::ObjectFactory ns3::ObjectFactoryValue::Get() const [member function]\n cls.add_method('Get', \n 'ns3::ObjectFactory', \n [], \n is_const=True)\n ## object-factory.h (module 'core'): std::string ns3::ObjectFactoryValue::SerializeToString(ns3::Ptr