src/spectrum/bindings/modulegen__gcc_ILP32.py
changeset 7403 423566595b8a
parent 7375 5ccbfab63589
child 7449 c9d877350d13
equal deleted inserted replaced
7402:bc7a8279defe 7403:423566595b8a
    26     module.add_class('Address', import_from_module='ns.network')
    26     module.add_class('Address', import_from_module='ns.network')
    27     ## address.h (module 'network'): ns3::Address::MaxSize_e [enumeration]
    27     ## address.h (module 'network'): ns3::Address::MaxSize_e [enumeration]
    28     module.add_enum('MaxSize_e', ['MAX_SIZE'], outer_class=root_module['ns3::Address'], import_from_module='ns.network')
    28     module.add_enum('MaxSize_e', ['MAX_SIZE'], outer_class=root_module['ns3::Address'], import_from_module='ns.network')
    29     ## adhoc-aloha-noack-ideal-phy-helper.h (module 'spectrum'): ns3::AdhocAlohaNoackIdealPhyHelper [class]
    29     ## adhoc-aloha-noack-ideal-phy-helper.h (module 'spectrum'): ns3::AdhocAlohaNoackIdealPhyHelper [class]
    30     module.add_class('AdhocAlohaNoackIdealPhyHelper')
    30     module.add_class('AdhocAlohaNoackIdealPhyHelper')
    31     ## attribute-list.h (module 'core'): ns3::AttributeList [class]
    31     ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class]
    32     module.add_class('AttributeList', import_from_module='ns.core')
    32     module.add_class('AttributeConstructionList', import_from_module='ns.core')
       
    33     ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct]
       
    34     module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList'])
    33     ## spectrum-model.h (module 'spectrum'): ns3::BandInfo [struct]
    35     ## spectrum-model.h (module 'spectrum'): ns3::BandInfo [struct]
    34     module.add_class('BandInfo')
    36     module.add_class('BandInfo')
    35     ## buffer.h (module 'network'): ns3::Buffer [class]
    37     ## buffer.h (module 'network'): ns3::Buffer [class]
    36     module.add_class('Buffer', import_from_module='ns.network')
    38     module.add_class('Buffer', import_from_module='ns.network')
    37     ## buffer.h (module 'network'): ns3::Buffer::Iterator [class]
    39     ## buffer.h (module 'network'): ns3::Buffer::Iterator [class]
   130     module.add_class('TxSpectrumModelInfo')
   132     module.add_class('TxSpectrumModelInfo')
   131     ## type-id.h (module 'core'): ns3::TypeId [class]
   133     ## type-id.h (module 'core'): ns3::TypeId [class]
   132     module.add_class('TypeId', import_from_module='ns.core')
   134     module.add_class('TypeId', import_from_module='ns.core')
   133     ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration]
   135     ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration]
   134     module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core')
   136     module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core')
   135     ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct]
   137     ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct]
   136     module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId'])
   138     module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId'])
       
   139     ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct]
       
   140     module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId'])
   137     ## random-variable.h (module 'core'): ns3::UniformVariable [class]
   141     ## random-variable.h (module 'core'): ns3::UniformVariable [class]
   138     module.add_class('UniformVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
   142     module.add_class('UniformVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
   139     ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class]
       
   140     module.add_class('UnsafeAttributeList', import_from_module='ns.core')
       
   141     ## vector.h (module 'core'): ns3::Vector2D [class]
   143     ## vector.h (module 'core'): ns3::Vector2D [class]
   142     module.add_class('Vector2D', import_from_module='ns.core')
   144     module.add_class('Vector2D', import_from_module='ns.core')
   143     ## vector.h (module 'core'): ns3::Vector3D [class]
   145     ## vector.h (module 'core'): ns3::Vector3D [class]
   144     module.add_class('Vector3D', import_from_module='ns.core')
   146     module.add_class('Vector3D', import_from_module='ns.core')
   145     ## waveform-generator-helper.h (module 'spectrum'): ns3::WaveformGeneratorHelper [class]
   147     ## waveform-generator-helper.h (module 'spectrum'): ns3::WaveformGeneratorHelper [class]
   446     
   448     
   447 
   449 
   448 def register_methods(root_module):
   450 def register_methods(root_module):
   449     register_Ns3Address_methods(root_module, root_module['ns3::Address'])
   451     register_Ns3Address_methods(root_module, root_module['ns3::Address'])
   450     register_Ns3AdhocAlohaNoackIdealPhyHelper_methods(root_module, root_module['ns3::AdhocAlohaNoackIdealPhyHelper'])
   452     register_Ns3AdhocAlohaNoackIdealPhyHelper_methods(root_module, root_module['ns3::AdhocAlohaNoackIdealPhyHelper'])
   451     register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList'])
   453     register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList'])
       
   454     register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item'])
   452     register_Ns3BandInfo_methods(root_module, root_module['ns3::BandInfo'])
   455     register_Ns3BandInfo_methods(root_module, root_module['ns3::BandInfo'])
   453     register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer'])
   456     register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer'])
   454     register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator'])
   457     register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator'])
   455     register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator'])
   458     register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator'])
   456     register_Ns3ByteTagIteratorItem_methods(root_module, root_module['ns3::ByteTagIterator::Item'])
   459     register_Ns3ByteTagIteratorItem_methods(root_module, root_module['ns3::ByteTagIterator::Item'])
   493     register_Ns3Tag_methods(root_module, root_module['ns3::Tag'])
   496     register_Ns3Tag_methods(root_module, root_module['ns3::Tag'])
   494     register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer'])
   497     register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer'])
   495     register_Ns3TriangularVariable_methods(root_module, root_module['ns3::TriangularVariable'])
   498     register_Ns3TriangularVariable_methods(root_module, root_module['ns3::TriangularVariable'])
   496     register_Ns3TxSpectrumModelInfo_methods(root_module, root_module['ns3::TxSpectrumModelInfo'])
   499     register_Ns3TxSpectrumModelInfo_methods(root_module, root_module['ns3::TxSpectrumModelInfo'])
   497     register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId'])
   500     register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId'])
   498     register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo'])
   501     register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation'])
       
   502     register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation'])
   499     register_Ns3UniformVariable_methods(root_module, root_module['ns3::UniformVariable'])
   503     register_Ns3UniformVariable_methods(root_module, root_module['ns3::UniformVariable'])
   500     register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList'])
       
   501     register_Ns3Vector2D_methods(root_module, root_module['ns3::Vector2D'])
   504     register_Ns3Vector2D_methods(root_module, root_module['ns3::Vector2D'])
   502     register_Ns3Vector3D_methods(root_module, root_module['ns3::Vector3D'])
   505     register_Ns3Vector3D_methods(root_module, root_module['ns3::Vector3D'])
   503     register_Ns3WaveformGeneratorHelper_methods(root_module, root_module['ns3::WaveformGeneratorHelper'])
   506     register_Ns3WaveformGeneratorHelper_methods(root_module, root_module['ns3::WaveformGeneratorHelper'])
   504     register_Ns3WeibullVariable_methods(root_module, root_module['ns3::WeibullVariable'])
   507     register_Ns3WeibullVariable_methods(root_module, root_module['ns3::WeibullVariable'])
   505     register_Ns3WifiSpectrumValue5MhzFactory_methods(root_module, root_module['ns3::WifiSpectrumValue5MhzFactory'])
   508     register_Ns3WifiSpectrumValue5MhzFactory_methods(root_module, root_module['ns3::WifiSpectrumValue5MhzFactory'])
   724     cls.add_method('SetTxPowerSpectralDensity', 
   727     cls.add_method('SetTxPowerSpectralDensity', 
   725                    'void', 
   728                    'void', 
   726                    [param('ns3::Ptr< ns3::SpectrumValue >', 'txPsd')])
   729                    [param('ns3::Ptr< ns3::SpectrumValue >', 'txPsd')])
   727     return
   730     return
   728 
   731 
   729 def register_Ns3AttributeList_methods(root_module, cls):
   732 def register_Ns3AttributeConstructionList_methods(root_module, cls):
   730     ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor]
   733     ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor]
   731     cls.add_constructor([])
   734     cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')])
   732     ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor]
   735     ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor]
   733     cls.add_constructor([param('ns3::AttributeList const &', 'o')])
   736     cls.add_constructor([])
   734     ## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function]
   737     ## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr<ns3::AttributeChecker const> checker, ns3::Ptr<ns3::AttributeValue> value) [member function]
   735     cls.add_method('DeserializeFromString', 
   738     cls.add_method('Add', 
   736                    'bool', 
   739                    'void', 
   737                    [param('std::string', 'value')])
   740                    [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')])
   738     ## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function]
   741     ## attribute-construction-list.h (module 'core'): std::_List_const_iterator<ns3::AttributeConstructionList::Item> ns3::AttributeConstructionList::Begin() const [member function]
   739     cls.add_method('GetGlobal', 
   742     cls.add_method('Begin', 
   740                    'ns3::AttributeList *', 
   743                    'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', 
   741                    [], 
   744                    [], 
   742                    is_static=True)
   745                    is_const=True)
   743     ## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function]
   746     ## attribute-construction-list.h (module 'core'): std::_List_const_iterator<ns3::AttributeConstructionList::Item> ns3::AttributeConstructionList::End() const [member function]
   744     cls.add_method('Reset', 
   747     cls.add_method('End', 
   745                    'void', 
   748                    'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', 
   746                    [])
   749                    [], 
   747     ## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function]
   750                    is_const=True)
   748     cls.add_method('SerializeToString', 
   751     ## attribute-construction-list.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeConstructionList::Find(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
   749                    'std::string', 
   752     cls.add_method('Find', 
   750                    [], 
   753                    'ns3::Ptr< ns3::AttributeValue >', 
   751                    is_const=True)
   754                    [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
   752     ## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function]
   755                    is_const=True)
   753     cls.add_method('Set', 
   756     return
   754                    'void', 
   757 
   755                    [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
   758 def register_Ns3AttributeConstructionListItem_methods(root_module, cls):
   756     ## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function]
   759     ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor]
   757     cls.add_method('SetFailSafe', 
   760     cls.add_constructor([])
   758                    'bool', 
   761     ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor]
   759                    [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
   762     cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')])
   760     ## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function]
   763     ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable]
   761     cls.add_method('SetWithTid', 
   764     cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False)
   762                    'void', 
   765     ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable]
   763                    [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
   766     cls.add_instance_attribute('name', 'std::string', is_const=False)
       
   767     ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable]
       
   768     cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False)
   764     return
   769     return
   765 
   770 
   766 def register_Ns3BandInfo_methods(root_module, cls):
   771 def register_Ns3BandInfo_methods(root_module, cls):
   767     ## spectrum-model.h (module 'spectrum'): ns3::BandInfo::BandInfo() [constructor]
   772     ## spectrum-model.h (module 'spectrum'): ns3::BandInfo::BandInfo() [constructor]
   768     cls.add_constructor([])
   773     cls.add_constructor([])
  1880                    [param('std::string', 'name'), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')])
  1885                    [param('std::string', 'name'), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')])
  1881     ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceDisconnectWithoutContext(std::string name, ns3::CallbackBase const & cb) [member function]
  1886     ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceDisconnectWithoutContext(std::string name, ns3::CallbackBase const & cb) [member function]
  1882     cls.add_method('TraceDisconnectWithoutContext', 
  1887     cls.add_method('TraceDisconnectWithoutContext', 
  1883                    'bool', 
  1888                    'bool', 
  1884                    [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')])
  1889                    [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')])
  1885     ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function]
  1890     ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function]
  1886     cls.add_method('ConstructSelf', 
  1891     cls.add_method('ConstructSelf', 
  1887                    'void', 
  1892                    'void', 
  1888                    [param('ns3::AttributeList const &', 'attributes')], 
  1893                    [param('ns3::AttributeConstructionList const &', 'attributes')], 
  1889                    visibility='protected')
  1894                    visibility='protected')
  1890     ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function]
  1895     ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function]
  1891     cls.add_method('NotifyConstructionCompleted', 
  1896     cls.add_method('NotifyConstructionCompleted', 
  1892                    'void', 
  1897                    'void', 
  1893                    [], 
  1898                    [], 
  1910     cls.add_output_stream_operator()
  1915     cls.add_output_stream_operator()
  1911     ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(ns3::ObjectFactory const & arg0) [copy constructor]
  1916     ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(ns3::ObjectFactory const & arg0) [copy constructor]
  1912     cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')])
  1917     cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')])
  1913     ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor]
  1918     ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor]
  1914     cls.add_constructor([])
  1919     cls.add_constructor([])
       
  1920     ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor]
       
  1921     cls.add_constructor([param('std::string', 'typeId')])
  1915     ## object-factory.h (module 'core'): ns3::Ptr<ns3::Object> ns3::ObjectFactory::Create() const [member function]
  1922     ## object-factory.h (module 'core'): ns3::Ptr<ns3::Object> ns3::ObjectFactory::Create() const [member function]
  1916     cls.add_method('Create', 
  1923     cls.add_method('Create', 
  1917                    'ns3::Ptr< ns3::Object >', 
  1924                    'ns3::Ptr< ns3::Object >', 
  1918                    [], 
  1925                    [], 
  1919                    is_const=True)
  1926                    is_const=True)
  1924                    is_const=True)
  1931                    is_const=True)
  1925     ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(std::string name, ns3::AttributeValue const & value) [member function]
  1932     ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(std::string name, ns3::AttributeValue const & value) [member function]
  1926     cls.add_method('Set', 
  1933     cls.add_method('Set', 
  1927                    'void', 
  1934                    'void', 
  1928                    [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
  1935                    [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
  1929     ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(ns3::AttributeList const & list) [member function]
       
  1930     cls.add_method('Set', 
       
  1931                    'void', 
       
  1932                    [param('ns3::AttributeList const &', 'list')])
       
  1933     ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function]
  1936     ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function]
  1934     cls.add_method('SetTypeId', 
  1937     cls.add_method('SetTypeId', 
  1935                    'void', 
  1938                    'void', 
  1936                    [param('ns3::TypeId', 'tid')])
  1939                    [param('ns3::TypeId', 'tid')])
  1937     ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(char const * tid) [member function]
  1940     ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(char const * tid) [member function]
  2529                    [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')])
  2532                    [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')])
  2530     ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr<ns3::TraceSourceAccessor const> accessor) [member function]
  2533     ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr<ns3::TraceSourceAccessor const> accessor) [member function]
  2531     cls.add_method('AddTraceSource', 
  2534     cls.add_method('AddTraceSource', 
  2532                    'ns3::TypeId', 
  2535                    'ns3::TypeId', 
  2533                    [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')])
  2536                    [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')])
  2534     ## type-id.h (module 'core'): ns3::Ptr<ns3::AttributeAccessor const> ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function]
  2537     ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function]
  2535     cls.add_method('GetAttributeAccessor', 
  2538     cls.add_method('GetAttribute', 
  2536                    'ns3::Ptr< ns3::AttributeAccessor const >', 
  2539                    'ns3::TypeId::AttributeInformation', 
  2537                    [param('uint32_t', 'i')], 
       
  2538                    is_const=True)
       
  2539     ## type-id.h (module 'core'): ns3::Ptr<ns3::AttributeChecker const> ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function]
       
  2540     cls.add_method('GetAttributeChecker', 
       
  2541                    'ns3::Ptr< ns3::AttributeChecker const >', 
       
  2542                    [param('uint32_t', 'i')], 
       
  2543                    is_const=True)
       
  2544     ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function]
       
  2545     cls.add_method('GetAttributeFlags', 
       
  2546                    'uint32_t', 
       
  2547                    [param('uint32_t', 'i')], 
  2540                    [param('uint32_t', 'i')], 
  2548                    is_const=True)
  2541                    is_const=True)
  2549     ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function]
  2542     ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function]
  2550     cls.add_method('GetAttributeFullName', 
  2543     cls.add_method('GetAttributeFullName', 
  2551                    'std::string', 
  2544                    'std::string', 
  2552                    [param('uint32_t', 'i')], 
  2545                    [param('uint32_t', 'i')], 
  2553                    is_const=True)
  2546                    is_const=True)
  2554     ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function]
       
  2555     cls.add_method('GetAttributeHelp', 
       
  2556                    'std::string', 
       
  2557                    [param('uint32_t', 'i')], 
       
  2558                    is_const=True)
       
  2559     ## type-id.h (module 'core'): ns3::Ptr<ns3::AttributeValue const> ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function]
       
  2560     cls.add_method('GetAttributeInitialValue', 
       
  2561                    'ns3::Ptr< ns3::AttributeValue const >', 
       
  2562                    [param('uint32_t', 'i')], 
       
  2563                    is_const=True)
       
  2564     ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function]
  2547     ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function]
  2565     cls.add_method('GetAttributeN', 
  2548     cls.add_method('GetAttributeN', 
  2566                    'uint32_t', 
  2549                    'uint32_t', 
  2567                    [], 
  2550                    [], 
  2568                    is_const=True)
       
  2569     ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function]
       
  2570     cls.add_method('GetAttributeName', 
       
  2571                    'std::string', 
       
  2572                    [param('uint32_t', 'i')], 
       
  2573                    is_const=True)
  2551                    is_const=True)
  2574     ## type-id.h (module 'core'): ns3::Callback<ns3::ObjectBase*,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ns3::TypeId::GetConstructor() const [member function]
  2552     ## type-id.h (module 'core'): ns3::Callback<ns3::ObjectBase*,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ns3::TypeId::GetConstructor() const [member function]
  2575     cls.add_method('GetConstructor', 
  2553     cls.add_method('GetConstructor', 
  2576                    'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 
  2554                    'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 
  2577                    [], 
  2555                    [], 
  2599     ## type-id.h (module 'core'): static uint32_t ns3::TypeId::GetRegisteredN() [member function]
  2577     ## type-id.h (module 'core'): static uint32_t ns3::TypeId::GetRegisteredN() [member function]
  2600     cls.add_method('GetRegisteredN', 
  2578     cls.add_method('GetRegisteredN', 
  2601                    'uint32_t', 
  2579                    'uint32_t', 
  2602                    [], 
  2580                    [], 
  2603                    is_static=True)
  2581                    is_static=True)
  2604     ## type-id.h (module 'core'): ns3::Ptr<ns3::TraceSourceAccessor const> ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function]
  2582     ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function]
  2605     cls.add_method('GetTraceSourceAccessor', 
  2583     cls.add_method('GetTraceSource', 
  2606                    'ns3::Ptr< ns3::TraceSourceAccessor const >', 
  2584                    'ns3::TypeId::TraceSourceInformation', 
  2607                    [param('uint32_t', 'i')], 
       
  2608                    is_const=True)
       
  2609     ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function]
       
  2610     cls.add_method('GetTraceSourceHelp', 
       
  2611                    'std::string', 
       
  2612                    [param('uint32_t', 'i')], 
  2585                    [param('uint32_t', 'i')], 
  2613                    is_const=True)
  2586                    is_const=True)
  2614     ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function]
  2587     ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function]
  2615     cls.add_method('GetTraceSourceN', 
  2588     cls.add_method('GetTraceSourceN', 
  2616                    'uint32_t', 
  2589                    'uint32_t', 
  2617                    [], 
  2590                    [], 
  2618                    is_const=True)
       
  2619     ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function]
       
  2620     cls.add_method('GetTraceSourceName', 
       
  2621                    'std::string', 
       
  2622                    [param('uint32_t', 'i')], 
       
  2623                    is_const=True)
  2591                    is_const=True)
  2624     ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function]
  2592     ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function]
  2625     cls.add_method('GetUid', 
  2593     cls.add_method('GetUid', 
  2626                    'uint16_t', 
  2594                    'uint16_t', 
  2627                    [], 
  2595                    [], 
  2643     ## type-id.h (module 'core'): bool ns3::TypeId::IsChildOf(ns3::TypeId other) const [member function]
  2611     ## type-id.h (module 'core'): bool ns3::TypeId::IsChildOf(ns3::TypeId other) const [member function]
  2644     cls.add_method('IsChildOf', 
  2612     cls.add_method('IsChildOf', 
  2645                    'bool', 
  2613                    'bool', 
  2646                    [param('ns3::TypeId', 'other')], 
  2614                    [param('ns3::TypeId', 'other')], 
  2647                    is_const=True)
  2615                    is_const=True)
  2648     ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function]
  2616     ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function]
  2649     cls.add_method('LookupAttributeByFullName', 
       
  2650                    'bool', 
       
  2651                    [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], 
       
  2652                    is_static=True)
       
  2653     ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function]
       
  2654     cls.add_method('LookupAttributeByName', 
  2617     cls.add_method('LookupAttributeByName', 
  2655                    'bool', 
  2618                    'bool', 
  2656                    [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], 
  2619                    [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')], 
  2657                    is_const=True)
  2620                    is_const=True)
  2658     ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function]
  2621     ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function]
  2659     cls.add_method('LookupByName', 
  2622     cls.add_method('LookupByName', 
  2660                    'ns3::TypeId', 
  2623                    'ns3::TypeId', 
  2661                    [param('std::string', 'name')], 
  2624                    [param('std::string', 'name')], 
  2668     ## type-id.h (module 'core'): bool ns3::TypeId::MustHideFromDocumentation() const [member function]
  2631     ## type-id.h (module 'core'): bool ns3::TypeId::MustHideFromDocumentation() const [member function]
  2669     cls.add_method('MustHideFromDocumentation', 
  2632     cls.add_method('MustHideFromDocumentation', 
  2670                    'bool', 
  2633                    'bool', 
  2671                    [], 
  2634                    [], 
  2672                    is_const=True)
  2635                    is_const=True)
       
  2636     ## type-id.h (module 'core'): static void ns3::TypeId::ResetInitialValues() [member function]
       
  2637     cls.add_method('ResetInitialValues', 
       
  2638                    'void', 
       
  2639                    [], 
       
  2640                    is_static=True)
       
  2641     ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr<ns3::AttributeValue const> initialValue) [member function]
       
  2642     cls.add_method('SetAttributeInitialValue', 
       
  2643                    'bool', 
       
  2644                    [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')])
  2673     ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function]
  2645     ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function]
  2674     cls.add_method('SetGroupName', 
  2646     cls.add_method('SetGroupName', 
  2675                    'ns3::TypeId', 
  2647                    'ns3::TypeId', 
  2676                    [param('std::string', 'groupName')])
  2648                    [param('std::string', 'groupName')])
  2677     ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetParent(ns3::TypeId tid) [member function]
  2649     ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetParent(ns3::TypeId tid) [member function]
  2682     cls.add_method('SetUid', 
  2654     cls.add_method('SetUid', 
  2683                    'void', 
  2655                    'void', 
  2684                    [param('uint16_t', 'tid')])
  2656                    [param('uint16_t', 'tid')])
  2685     return
  2657     return
  2686 
  2658 
  2687 def register_Ns3TypeIdAttributeInfo_methods(root_module, cls):
  2659 def register_Ns3TypeIdAttributeInformation_methods(root_module, cls):
  2688     ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor]
  2660     ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor]
  2689     cls.add_constructor([])
  2661     cls.add_constructor([])
  2690     ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor]
  2662     ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor]
  2691     cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')])
  2663     cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')])
  2692     ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable]
  2664     ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable]
  2693     cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False)
  2665     cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False)
  2694     ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable]
  2666     ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable]
  2695     cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False)
  2667     cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False)
  2696     ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable]
  2668     ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable]
  2697     cls.add_instance_attribute('flags', 'uint32_t', is_const=False)
  2669     cls.add_instance_attribute('flags', 'uint32_t', is_const=False)
  2698     ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable]
  2670     ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable]
       
  2671     cls.add_instance_attribute('help', 'std::string', is_const=False)
       
  2672     ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable]
  2699     cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False)
  2673     cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False)
       
  2674     ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable]
       
  2675     cls.add_instance_attribute('name', 'std::string', is_const=False)
       
  2676     ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable]
       
  2677     cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False)
       
  2678     return
       
  2679 
       
  2680 def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls):
       
  2681     ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor]
       
  2682     cls.add_constructor([])
       
  2683     ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor]
       
  2684     cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')])
       
  2685     ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable]
       
  2686     cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False)
       
  2687     ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable]
       
  2688     cls.add_instance_attribute('help', 'std::string', is_const=False)
       
  2689     ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable]
       
  2690     cls.add_instance_attribute('name', 'std::string', is_const=False)
  2700     return
  2691     return
  2701 
  2692 
  2702 def register_Ns3UniformVariable_methods(root_module, cls):
  2693 def register_Ns3UniformVariable_methods(root_module, cls):
  2703     ## random-variable.h (module 'core'): ns3::UniformVariable::UniformVariable(ns3::UniformVariable const & arg0) [copy constructor]
  2694     ## random-variable.h (module 'core'): ns3::UniformVariable::UniformVariable(ns3::UniformVariable const & arg0) [copy constructor]
  2704     cls.add_constructor([param('ns3::UniformVariable const &', 'arg0')])
  2695     cls.add_constructor([param('ns3::UniformVariable const &', 'arg0')])
  2717                    is_const=True)
  2708                    is_const=True)
  2718     ## random-variable.h (module 'core'): double ns3::UniformVariable::GetValue(double s, double l) [member function]
  2709     ## random-variable.h (module 'core'): double ns3::UniformVariable::GetValue(double s, double l) [member function]
  2719     cls.add_method('GetValue', 
  2710     cls.add_method('GetValue', 
  2720                    'double', 
  2711                    'double', 
  2721                    [param('double', 's'), param('double', 'l')])
  2712                    [param('double', 's'), param('double', 'l')])
  2722     return
       
  2723 
       
  2724 def register_Ns3UnsafeAttributeList_methods(root_module, cls):
       
  2725     ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor]
       
  2726     cls.add_constructor([])
       
  2727     ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor]
       
  2728     cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')])
       
  2729     ## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function]
       
  2730     cls.add_method('GetSafe', 
       
  2731                    'ns3::AttributeList', 
       
  2732                    [param('std::string', 'name')], 
       
  2733                    is_const=True)
       
  2734     ## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function]
       
  2735     cls.add_method('Set', 
       
  2736                    'void', 
       
  2737                    [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')])
       
  2738     return
  2713     return
  2739 
  2714 
  2740 def register_Ns3Vector2D_methods(root_module, cls):
  2715 def register_Ns3Vector2D_methods(root_module, cls):
  2741     cls.add_output_stream_operator()
  2716     cls.add_output_stream_operator()
  2742     ## vector.h (module 'core'): ns3::Vector2D::Vector2D(ns3::Vector2D const & arg0) [copy constructor]
  2717     ## vector.h (module 'core'): ns3::Vector2D::Vector2D(ns3::Vector2D const & arg0) [copy constructor]
  4269     ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeChecker::Create() const [member function]
  4244     ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeChecker::Create() const [member function]
  4270     cls.add_method('Create', 
  4245     cls.add_method('Create', 
  4271                    'ns3::Ptr< ns3::AttributeValue >', 
  4246                    'ns3::Ptr< ns3::AttributeValue >', 
  4272                    [], 
  4247                    [], 
  4273                    is_pure_virtual=True, is_const=True, is_virtual=True)
  4248                    is_pure_virtual=True, is_const=True, is_virtual=True)
       
  4249     ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function]
       
  4250     cls.add_method('CreateValidValue', 
       
  4251                    'ns3::Ptr< ns3::AttributeValue >', 
       
  4252                    [param('ns3::AttributeValue const &', 'value')], 
       
  4253                    is_const=True)
  4274     ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function]
  4254     ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function]
  4275     cls.add_method('GetUnderlyingTypeInformation', 
  4255     cls.add_method('GetUnderlyingTypeInformation', 
  4276                    'std::string', 
  4256                    'std::string', 
  4277                    [], 
  4257                    [], 
  4278                    is_pure_virtual=True, is_const=True, is_virtual=True)
  4258                    is_pure_virtual=True, is_const=True, is_virtual=True)