2008-07-21 15:30:15 +01:00
from pybindgen import Module , FileCodeSink , param , retval , cppclass
2008-07-08 10:43:58 -07:00
def register_types ( module ) :
root_module = module . get_root ( )
2008-07-23 11:48:17 +01:00
## log.h: ns3::LogLevel [enumeration]
module . add_enum ( ' LogLevel ' , [ ' LOG_NONE ' , ' LOG_ERROR ' , ' LOG_LEVEL_ERROR ' , ' LOG_WARN ' , ' LOG_LEVEL_WARN ' , ' LOG_DEBUG ' , ' LOG_LEVEL_DEBUG ' , ' LOG_INFO ' , ' LOG_LEVEL_INFO ' , ' LOG_FUNCTION ' , ' LOG_LEVEL_FUNCTION ' , ' LOG_LOGIC ' , ' LOG_LEVEL_LOGIC ' , ' LOG_ALL ' , ' LOG_LEVEL_ALL ' , ' LOG_PREFIX_FUNC ' , ' LOG_PREFIX_TIME ' ] )
2008-10-06 17:39:35 +01:00
## attribute-list.h: ns3::AttributeList [class]
module . add_class ( ' AttributeList ' )
## callback.h: ns3::CallbackBase [class]
module . add_class ( ' CallbackBase ' )
## callback.h: ns3::CallbackImplBase [class]
module . add_class ( ' CallbackImplBase ' , allow_subclassing = True , memory_policy = cppclass . ReferenceCountingMethodsPolicy ( incref_method = ' Ref ' , decref_method = ' Unref ' , peekref_method = ' GetReferenceCount ' ) )
## command-line.h: ns3::CommandLine [class]
2008-11-26 12:11:11 +00:00
module . add_class ( ' CommandLine ' , allow_subclassing = True )
2008-10-06 17:39:35 +01:00
## system-mutex.h: ns3::CriticalSection [class]
module . add_class ( ' CriticalSection ' )
2008-07-08 10:43:58 -07:00
## global-value.h: ns3::GlobalValue [class]
module . add_class ( ' GlobalValue ' )
2008-10-06 17:39:35 +01:00
## int-to-type.h: ns3::IntToType<0> [struct]
module . add_class ( ' IntToType ' , template_parameters = [ ' 0 ' ] )
## int-to-type.h: ns3::IntToType<0>::v_e [enumeration]
module . add_enum ( ' v_e ' , [ ' value ' ] , outer_class = root_module [ ' ns3::IntToType< 0 > ' ] )
## int-to-type.h: ns3::IntToType<1> [struct]
module . add_class ( ' IntToType ' , template_parameters = [ ' 1 ' ] )
## int-to-type.h: ns3::IntToType<1>::v_e [enumeration]
module . add_enum ( ' v_e ' , [ ' value ' ] , outer_class = root_module [ ' ns3::IntToType< 1 > ' ] )
## int-to-type.h: ns3::IntToType<2> [struct]
module . add_class ( ' IntToType ' , template_parameters = [ ' 2 ' ] )
## int-to-type.h: ns3::IntToType<2>::v_e [enumeration]
module . add_enum ( ' v_e ' , [ ' value ' ] , outer_class = root_module [ ' ns3::IntToType< 2 > ' ] )
## int-to-type.h: ns3::IntToType<3> [struct]
module . add_class ( ' IntToType ' , template_parameters = [ ' 3 ' ] )
## int-to-type.h: ns3::IntToType<3>::v_e [enumeration]
module . add_enum ( ' v_e ' , [ ' value ' ] , outer_class = root_module [ ' ns3::IntToType< 3 > ' ] )
## int-to-type.h: ns3::IntToType<4> [struct]
module . add_class ( ' IntToType ' , template_parameters = [ ' 4 ' ] )
## int-to-type.h: ns3::IntToType<4>::v_e [enumeration]
module . add_enum ( ' v_e ' , [ ' value ' ] , outer_class = root_module [ ' ns3::IntToType< 4 > ' ] )
## int-to-type.h: ns3::IntToType<5> [struct]
module . add_class ( ' IntToType ' , template_parameters = [ ' 5 ' ] )
## int-to-type.h: ns3::IntToType<5>::v_e [enumeration]
module . add_enum ( ' v_e ' , [ ' value ' ] , outer_class = root_module [ ' ns3::IntToType< 5 > ' ] )
## int-to-type.h: ns3::IntToType<6> [struct]
module . add_class ( ' IntToType ' , template_parameters = [ ' 6 ' ] )
## int-to-type.h: ns3::IntToType<6>::v_e [enumeration]
module . add_enum ( ' v_e ' , [ ' value ' ] , outer_class = root_module [ ' ns3::IntToType< 6 > ' ] )
## object-base.h: ns3::ObjectBase [class]
module . add_class ( ' ObjectBase ' , allow_subclassing = True )
## object-factory.h: ns3::ObjectFactory [class]
module . add_class ( ' ObjectFactory ' )
## random-variable.h: ns3::RandomVariable [class]
module . add_class ( ' RandomVariable ' )
2008-07-08 10:43:58 -07:00
## ref-count-base.h: ns3::RefCountBase [class]
2008-07-21 15:30:15 +01:00
module . add_class ( ' RefCountBase ' , automatic_type_narrowing = True , memory_policy = cppclass . ReferenceCountingMethodsPolicy ( incref_method = ' Ref ' , decref_method = ' Unref ' , peekref_method = ' GetReferenceCount ' ) )
2008-10-06 17:39:35 +01:00
## rng-stream.h: ns3::RngStream [class]
module . add_class ( ' RngStream ' )
## random-variable.h: ns3::SequentialVariable [class]
module . add_class ( ' SequentialVariable ' , parent = root_module [ ' ns3::RandomVariable ' ] )
## system-condition.h: ns3::SystemCondition [class]
module . add_class ( ' SystemCondition ' )
## system-mutex.h: ns3::SystemMutex [class]
module . add_class ( ' SystemMutex ' )
## system-thread.h: ns3::SystemThread [class]
module . add_class ( ' SystemThread ' )
## system-wall-clock-ms.h: ns3::SystemWallClockMs [class]
module . add_class ( ' SystemWallClockMs ' )
## trace-source-accessor.h: ns3::TraceSourceAccessor [class]
module . add_class ( ' TraceSourceAccessor ' , allow_subclassing = True )
## random-variable.h: ns3::TriangularVariable [class]
module . add_class ( ' TriangularVariable ' , parent = root_module [ ' ns3::RandomVariable ' ] )
2008-07-08 10:43:58 -07:00
## type-id.h: ns3::TypeId [class]
module . add_class ( ' TypeId ' )
## type-id.h: ns3::TypeId::AttributeFlag [enumeration]
module . add_enum ( ' AttributeFlag ' , [ ' ATTR_GET ' , ' ATTR_SET ' , ' ATTR_CONSTRUCT ' , ' ATTR_SGC ' ] , outer_class = root_module [ ' ns3::TypeId ' ] )
## type-id.h: ns3::TypeId::AttributeInfo [struct]
module . add_class ( ' AttributeInfo ' , outer_class = root_module [ ' ns3::TypeId ' ] )
2008-10-06 17:39:35 +01:00
## random-variable.h: ns3::UniformVariable [class]
module . add_class ( ' UniformVariable ' , parent = root_module [ ' ns3::RandomVariable ' ] )
2008-10-28 11:26:58 +01:00
## attribute-list.h: ns3::UnsafeAttributeList [class]
module . add_class ( ' UnsafeAttributeList ' )
2008-10-06 17:39:35 +01:00
## random-variable.h: ns3::WeibullVariable [class]
module . add_class ( ' WeibullVariable ' , parent = root_module [ ' ns3::RandomVariable ' ] )
## empty.h: ns3::empty [class]
module . add_class ( ' empty ' )
2008-07-08 10:43:58 -07:00
## attribute.h: ns3::AttributeAccessor [class]
2008-07-14 11:42:49 +01:00
module . add_class ( ' AttributeAccessor ' , parent = root_module [ ' ns3::RefCountBase ' ] )
2008-10-06 17:39:35 +01:00
## attribute.h: ns3::AttributeChecker [class]
module . add_class ( ' AttributeChecker ' , allow_subclassing = False , automatic_type_narrowing = True , parent = root_module [ ' ns3::RefCountBase ' ] )
## attribute.h: ns3::AttributeValue [class]
module . add_class ( ' AttributeValue ' , allow_subclassing = False , automatic_type_narrowing = True , parent = root_module [ ' ns3::RefCountBase ' ] )
## boolean.h: ns3::BooleanChecker [class]
module . add_class ( ' BooleanChecker ' , parent = root_module [ ' ns3::AttributeChecker ' ] )
## boolean.h: ns3::BooleanValue [class]
module . add_class ( ' BooleanValue ' , parent = root_module [ ' ns3::AttributeValue ' ] )
2008-10-23 10:57:26 -07:00
## callback.h: ns3::CallbackChecker [class]
module . add_class ( ' CallbackChecker ' , parent = root_module [ ' ns3::AttributeChecker ' ] )
## callback.h: ns3::CallbackValue [class]
module . add_class ( ' CallbackValue ' , parent = root_module [ ' ns3::AttributeValue ' ] )
2008-07-08 10:43:58 -07:00
## random-variable.h: ns3::ConstantVariable [class]
module . add_class ( ' ConstantVariable ' , parent = root_module [ ' ns3::RandomVariable ' ] )
2008-10-06 17:39:35 +01:00
## random-variable.h: ns3::DeterministicVariable [class]
module . add_class ( ' DeterministicVariable ' , parent = root_module [ ' ns3::RandomVariable ' ] )
## double.h: ns3::DoubleValue [class]
module . add_class ( ' DoubleValue ' , parent = root_module [ ' ns3::AttributeValue ' ] )
2008-07-08 10:43:58 -07:00
## random-variable.h: ns3::EmpiricalVariable [class]
module . add_class ( ' EmpiricalVariable ' , parent = root_module [ ' ns3::RandomVariable ' ] )
2008-10-06 17:39:35 +01:00
## attribute.h: ns3::EmptyAttributeValue [class]
module . add_class ( ' EmptyAttributeValue ' , parent = root_module [ ' ns3::AttributeValue ' ] )
2008-07-08 10:43:58 -07:00
## enum.h: ns3::EnumChecker [class]
2008-07-14 11:42:49 +01:00
module . add_class ( ' EnumChecker ' , parent = root_module [ ' ns3::AttributeChecker ' ] )
2008-10-06 17:39:35 +01:00
## enum.h: ns3::EnumValue [class]
module . add_class ( ' EnumValue ' , parent = root_module [ ' ns3::AttributeValue ' ] )
2008-07-08 10:43:58 -07:00
## random-variable.h: ns3::ExponentialVariable [class]
module . add_class ( ' ExponentialVariable ' , parent = root_module [ ' ns3::RandomVariable ' ] )
2008-10-06 17:39:35 +01:00
## random-variable.h: ns3::IntEmpiricalVariable [class]
module . add_class ( ' IntEmpiricalVariable ' , parent = root_module [ ' ns3::EmpiricalVariable ' ] )
## integer.h: ns3::IntegerValue [class]
module . add_class ( ' IntegerValue ' , parent = root_module [ ' ns3::AttributeValue ' ] )
## random-variable.h: ns3::LogNormalVariable [class]
module . add_class ( ' LogNormalVariable ' , parent = root_module [ ' ns3::RandomVariable ' ] )
## random-variable.h: ns3::NormalVariable [class]
module . add_class ( ' NormalVariable ' , parent = root_module [ ' ns3::RandomVariable ' ] )
2008-07-08 10:43:58 -07:00
## object.h: ns3::Object [class]
2008-07-21 15:30:15 +01:00
module . add_class ( ' Object ' , automatic_type_narrowing = True , parent = root_module [ ' ns3::ObjectBase ' ] , memory_policy = cppclass . ReferenceCountingMethodsPolicy ( incref_method = ' Ref ' , decref_method = ' Unref ' , peekref_method = ' GetReferenceCount ' ) )
2008-07-08 10:43:58 -07:00
## object.h: ns3::Object::AggregateIterator [class]
module . add_class ( ' AggregateIterator ' , outer_class = root_module [ ' ns3::Object ' ] )
2008-10-06 17:39:35 +01:00
## object-factory.h: ns3::ObjectFactoryChecker [class]
module . add_class ( ' ObjectFactoryChecker ' , parent = root_module [ ' ns3::AttributeChecker ' ] )
## object-factory.h: ns3::ObjectFactoryValue [class]
module . add_class ( ' ObjectFactoryValue ' , parent = root_module [ ' ns3::AttributeValue ' ] )
## object-vector.h: ns3::ObjectVectorAccessor [class]
module . add_class ( ' ObjectVectorAccessor ' , parent = root_module [ ' ns3::AttributeAccessor ' ] )
2008-07-08 10:43:58 -07:00
## object-vector.h: ns3::ObjectVectorChecker [class]
2008-07-14 11:42:49 +01:00
module . add_class ( ' ObjectVectorChecker ' , parent = root_module [ ' ns3::AttributeChecker ' ] )
2008-07-08 10:43:58 -07:00
## object-vector.h: ns3::ObjectVectorValue [class]
2008-07-14 11:42:49 +01:00
module . add_class ( ' ObjectVectorValue ' , parent = root_module [ ' ns3::AttributeValue ' ] )
2008-10-06 17:39:35 +01:00
## random-variable.h: ns3::ParetoVariable [class]
module . add_class ( ' ParetoVariable ' , parent = root_module [ ' ns3::RandomVariable ' ] )
## pointer.h: ns3::PointerChecker [class]
module . add_class ( ' PointerChecker ' , parent = root_module [ ' ns3::AttributeChecker ' ] )
2008-07-08 10:43:58 -07:00
## pointer.h: ns3::PointerValue [class]
2008-07-14 11:42:49 +01:00
module . add_class ( ' PointerValue ' , parent = root_module [ ' ns3::AttributeValue ' ] )
2008-10-06 17:39:35 +01:00
## random-variable.h: ns3::RandomVariableChecker [class]
module . add_class ( ' RandomVariableChecker ' , parent = root_module [ ' ns3::AttributeChecker ' ] )
2008-07-08 10:43:58 -07:00
## random-variable.h: ns3::RandomVariableValue [class]
2008-07-14 11:42:49 +01:00
module . add_class ( ' RandomVariableValue ' , parent = root_module [ ' ns3::AttributeValue ' ] )
2008-10-06 17:39:35 +01:00
## string.h: ns3::StringChecker [class]
module . add_class ( ' StringChecker ' , parent = root_module [ ' ns3::AttributeChecker ' ] )
2008-07-14 11:42:49 +01:00
## string.h: ns3::StringValue [class]
module . add_class ( ' StringValue ' , parent = root_module [ ' ns3::AttributeValue ' ] )
2008-10-06 17:39:35 +01:00
## type-id.h: ns3::TypeIdChecker [class]
module . add_class ( ' TypeIdChecker ' , parent = root_module [ ' ns3::AttributeChecker ' ] )
## type-id.h: ns3::TypeIdValue [class]
module . add_class ( ' TypeIdValue ' , parent = root_module [ ' ns3::AttributeValue ' ] )
## uinteger.h: ns3::UintegerValue [class]
module . add_class ( ' UintegerValue ' , parent = root_module [ ' ns3::AttributeValue ' ] )
2008-07-08 10:43:58 -07:00
## traced-value.h: ns3::TracedValue<unsigned int> [class]
module . add_class ( ' TracedValue ' , template_parameters = [ ' unsigned int ' ] )
## traced-value.h: ns3::TracedValue<unsigned int> [class]
root_module [ ' ns3::TracedValue< unsigned int > ' ] . implicitly_converts_to ( root_module [ ' ns3::IntegerValue ' ] )
## traced-value.h: ns3::TracedValue<unsigned int> [class]
root_module [ ' ns3::TracedValue< unsigned int > ' ] . implicitly_converts_to ( root_module [ ' ns3::UintegerValue ' ] )
## traced-value.h: ns3::TracedValue<unsigned int> [class]
root_module [ ' ns3::TracedValue< unsigned int > ' ] . implicitly_converts_to ( root_module [ ' ns3::BooleanValue ' ] )
## traced-value.h: ns3::TracedValue<unsigned int> [class]
root_module [ ' ns3::TracedValue< unsigned int > ' ] . implicitly_converts_to ( root_module [ ' ns3::EnumValue ' ] )
2008-11-08 15:00:28 +00:00
## Register a nested module for the namespace Config
2008-07-08 10:43:58 -07:00
2008-11-08 15:00:28 +00:00
nested_module = module . add_cpp_namespace ( ' Config ' )
register_types_ns3_Config ( nested_module )
2008-07-08 10:43:58 -07:00
## Register a nested module for the namespace TimeStepPrecision
nested_module = module . add_cpp_namespace ( ' TimeStepPrecision ' )
register_types_ns3_TimeStepPrecision ( nested_module )
2008-11-08 15:00:28 +00:00
## Register a nested module for the namespace internal
2008-07-08 10:43:58 -07:00
2008-11-08 15:00:28 +00:00
nested_module = module . add_cpp_namespace ( ' internal ' )
register_types_ns3_internal ( nested_module )
2008-07-08 10:43:58 -07:00
## Register a nested module for the namespace olsr
nested_module = module . add_cpp_namespace ( ' olsr ' )
register_types_ns3_olsr ( nested_module )
2008-11-08 15:00:28 +00:00
def register_types_ns3_Config ( module ) :
2008-07-08 10:43:58 -07:00
root_module = module . get_root ( )
2008-11-08 15:00:28 +00:00
## config.h: ns3::Config::MatchContainer [class]
module . add_class ( ' MatchContainer ' )
module . add_container ( ' std::vector< ns3::Ptr< ns3::Object > > ' , ' ns3::Ptr< ns3::Object > ' , container_type = ' vector ' )
2008-07-08 10:43:58 -07:00
def register_types_ns3_TimeStepPrecision ( module ) :
root_module = module . get_root ( )
2008-11-08 15:00:28 +00:00
def register_types_ns3_internal ( module ) :
2008-07-08 10:43:58 -07:00
root_module = module . get_root ( )
def register_types_ns3_olsr ( module ) :
root_module = module . get_root ( )
def register_methods ( root_module ) :
2008-10-06 17:39:35 +01:00
register_Ns3AttributeList_methods ( root_module , root_module [ ' ns3::AttributeList ' ] )
register_Ns3CallbackBase_methods ( root_module , root_module [ ' ns3::CallbackBase ' ] )
register_Ns3CallbackImplBase_methods ( root_module , root_module [ ' ns3::CallbackImplBase ' ] )
register_Ns3CommandLine_methods ( root_module , root_module [ ' ns3::CommandLine ' ] )
register_Ns3CriticalSection_methods ( root_module , root_module [ ' ns3::CriticalSection ' ] )
2008-07-08 10:43:58 -07:00
register_Ns3GlobalValue_methods ( root_module , root_module [ ' ns3::GlobalValue ' ] )
2008-10-06 17:39:35 +01:00
register_Ns3IntToType__0_methods ( root_module , root_module [ ' ns3::IntToType< 0 > ' ] )
register_Ns3IntToType__1_methods ( root_module , root_module [ ' ns3::IntToType< 1 > ' ] )
register_Ns3IntToType__2_methods ( root_module , root_module [ ' ns3::IntToType< 2 > ' ] )
register_Ns3IntToType__3_methods ( root_module , root_module [ ' ns3::IntToType< 3 > ' ] )
register_Ns3IntToType__4_methods ( root_module , root_module [ ' ns3::IntToType< 4 > ' ] )
register_Ns3IntToType__5_methods ( root_module , root_module [ ' ns3::IntToType< 5 > ' ] )
register_Ns3IntToType__6_methods ( root_module , root_module [ ' ns3::IntToType< 6 > ' ] )
register_Ns3ObjectBase_methods ( root_module , root_module [ ' ns3::ObjectBase ' ] )
register_Ns3ObjectFactory_methods ( root_module , root_module [ ' ns3::ObjectFactory ' ] )
register_Ns3RandomVariable_methods ( root_module , root_module [ ' ns3::RandomVariable ' ] )
2008-07-08 10:43:58 -07:00
register_Ns3RefCountBase_methods ( root_module , root_module [ ' ns3::RefCountBase ' ] )
2008-10-06 17:39:35 +01:00
register_Ns3RngStream_methods ( root_module , root_module [ ' ns3::RngStream ' ] )
register_Ns3SequentialVariable_methods ( root_module , root_module [ ' ns3::SequentialVariable ' ] )
register_Ns3SystemCondition_methods ( root_module , root_module [ ' ns3::SystemCondition ' ] )
register_Ns3SystemMutex_methods ( root_module , root_module [ ' ns3::SystemMutex ' ] )
register_Ns3SystemThread_methods ( root_module , root_module [ ' ns3::SystemThread ' ] )
2008-07-08 10:43:58 -07:00
register_Ns3SystemWallClockMs_methods ( root_module , root_module [ ' ns3::SystemWallClockMs ' ] )
register_Ns3TraceSourceAccessor_methods ( root_module , root_module [ ' ns3::TraceSourceAccessor ' ] )
2008-10-06 17:39:35 +01:00
register_Ns3TriangularVariable_methods ( root_module , root_module [ ' ns3::TriangularVariable ' ] )
register_Ns3TypeId_methods ( root_module , root_module [ ' ns3::TypeId ' ] )
register_Ns3TypeIdAttributeInfo_methods ( root_module , root_module [ ' ns3::TypeId::AttributeInfo ' ] )
register_Ns3UniformVariable_methods ( root_module , root_module [ ' ns3::UniformVariable ' ] )
2008-10-28 11:26:58 +01:00
register_Ns3UnsafeAttributeList_methods ( root_module , root_module [ ' ns3::UnsafeAttributeList ' ] )
2008-10-06 17:39:35 +01:00
register_Ns3WeibullVariable_methods ( root_module , root_module [ ' ns3::WeibullVariable ' ] )
register_Ns3Empty_methods ( root_module , root_module [ ' ns3::empty ' ] )
register_Ns3AttributeAccessor_methods ( root_module , root_module [ ' ns3::AttributeAccessor ' ] )
2008-07-08 10:43:58 -07:00
register_Ns3AttributeChecker_methods ( root_module , root_module [ ' ns3::AttributeChecker ' ] )
2008-10-06 17:39:35 +01:00
register_Ns3AttributeValue_methods ( root_module , root_module [ ' ns3::AttributeValue ' ] )
register_Ns3BooleanChecker_methods ( root_module , root_module [ ' ns3::BooleanChecker ' ] )
register_Ns3BooleanValue_methods ( root_module , root_module [ ' ns3::BooleanValue ' ] )
2008-10-23 10:57:26 -07:00
register_Ns3CallbackChecker_methods ( root_module , root_module [ ' ns3::CallbackChecker ' ] )
register_Ns3CallbackValue_methods ( root_module , root_module [ ' ns3::CallbackValue ' ] )
2008-07-08 10:43:58 -07:00
register_Ns3ConstantVariable_methods ( root_module , root_module [ ' ns3::ConstantVariable ' ] )
2008-10-06 17:39:35 +01:00
register_Ns3DeterministicVariable_methods ( root_module , root_module [ ' ns3::DeterministicVariable ' ] )
register_Ns3DoubleValue_methods ( root_module , root_module [ ' ns3::DoubleValue ' ] )
2008-07-08 10:43:58 -07:00
register_Ns3EmpiricalVariable_methods ( root_module , root_module [ ' ns3::EmpiricalVariable ' ] )
2008-10-06 17:39:35 +01:00
register_Ns3EmptyAttributeValue_methods ( root_module , root_module [ ' ns3::EmptyAttributeValue ' ] )
2008-07-08 10:43:58 -07:00
register_Ns3EnumChecker_methods ( root_module , root_module [ ' ns3::EnumChecker ' ] )
2008-10-06 17:39:35 +01:00
register_Ns3EnumValue_methods ( root_module , root_module [ ' ns3::EnumValue ' ] )
2008-07-08 10:43:58 -07:00
register_Ns3ExponentialVariable_methods ( root_module , root_module [ ' ns3::ExponentialVariable ' ] )
2008-10-06 17:39:35 +01:00
register_Ns3IntEmpiricalVariable_methods ( root_module , root_module [ ' ns3::IntEmpiricalVariable ' ] )
register_Ns3IntegerValue_methods ( root_module , root_module [ ' ns3::IntegerValue ' ] )
register_Ns3LogNormalVariable_methods ( root_module , root_module [ ' ns3::LogNormalVariable ' ] )
register_Ns3NormalVariable_methods ( root_module , root_module [ ' ns3::NormalVariable ' ] )
2008-07-08 10:43:58 -07:00
register_Ns3Object_methods ( root_module , root_module [ ' ns3::Object ' ] )
register_Ns3ObjectAggregateIterator_methods ( root_module , root_module [ ' ns3::Object::AggregateIterator ' ] )
2008-10-06 17:39:35 +01:00
register_Ns3ObjectFactoryChecker_methods ( root_module , root_module [ ' ns3::ObjectFactoryChecker ' ] )
register_Ns3ObjectFactoryValue_methods ( root_module , root_module [ ' ns3::ObjectFactoryValue ' ] )
register_Ns3ObjectVectorAccessor_methods ( root_module , root_module [ ' ns3::ObjectVectorAccessor ' ] )
2008-07-08 10:43:58 -07:00
register_Ns3ObjectVectorChecker_methods ( root_module , root_module [ ' ns3::ObjectVectorChecker ' ] )
register_Ns3ObjectVectorValue_methods ( root_module , root_module [ ' ns3::ObjectVectorValue ' ] )
2008-10-06 17:39:35 +01:00
register_Ns3ParetoVariable_methods ( root_module , root_module [ ' ns3::ParetoVariable ' ] )
register_Ns3PointerChecker_methods ( root_module , root_module [ ' ns3::PointerChecker ' ] )
2008-07-08 10:43:58 -07:00
register_Ns3PointerValue_methods ( root_module , root_module [ ' ns3::PointerValue ' ] )
2008-10-06 17:39:35 +01:00
register_Ns3RandomVariableChecker_methods ( root_module , root_module [ ' ns3::RandomVariableChecker ' ] )
2008-07-08 10:43:58 -07:00
register_Ns3RandomVariableValue_methods ( root_module , root_module [ ' ns3::RandomVariableValue ' ] )
2008-10-06 17:39:35 +01:00
register_Ns3StringChecker_methods ( root_module , root_module [ ' ns3::StringChecker ' ] )
2008-07-14 11:42:49 +01:00
register_Ns3StringValue_methods ( root_module , root_module [ ' ns3::StringValue ' ] )
2008-10-06 17:39:35 +01:00
register_Ns3TypeIdChecker_methods ( root_module , root_module [ ' ns3::TypeIdChecker ' ] )
register_Ns3TypeIdValue_methods ( root_module , root_module [ ' ns3::TypeIdValue ' ] )
register_Ns3UintegerValue_methods ( root_module , root_module [ ' ns3::UintegerValue ' ] )
2008-07-08 10:43:58 -07:00
register_Ns3TracedValue__Unsigned_int_methods ( root_module , root_module [ ' ns3::TracedValue< unsigned int > ' ] )
2008-10-27 12:47:33 +01:00
register_Ns3ConfigMatchContainer_methods ( root_module , root_module [ ' ns3::Config::MatchContainer ' ] )
2008-07-08 10:43:58 -07:00
return
2008-10-06 17:39:35 +01:00
def register_Ns3AttributeList_methods ( root_module , cls ) :
## attribute-list.h: ns3::AttributeList::AttributeList() [constructor]
2008-07-21 15:30:15 +01:00
cls . add_constructor ( [ ] )
2008-10-06 17:39:35 +01:00
## attribute-list.h: ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::AttributeList const & ' , ' o ' ) ] )
## attribute-list.h: void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function]
cls . add_method ( ' Set ' ,
2008-07-21 15:30:15 +01:00
' void ' ,
2008-10-06 17:39:35 +01:00
[ param ( ' std::string ' , ' name ' ) , param ( ' ns3::AttributeValue const & ' , ' value ' ) ] )
## attribute-list.h: bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function]
cls . add_method ( ' SetFailSafe ' ,
' bool ' ,
[ param ( ' std::string ' , ' name ' ) , param ( ' ns3::AttributeValue const & ' , ' value ' ) ] )
## attribute-list.h: void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function]
cls . add_method ( ' SetWithTid ' ,
2008-07-21 15:30:15 +01:00
' void ' ,
2008-10-06 17:39:35 +01:00
[ param ( ' ns3::TypeId ' , ' tid ' ) , param ( ' std::string ' , ' name ' ) , param ( ' ns3::AttributeValue const & ' , ' value ' ) ] )
## attribute-list.h: void ns3::AttributeList::Reset() [member function]
cls . add_method ( ' Reset ' ,
2008-07-21 15:30:15 +01:00
' void ' ,
2008-10-06 17:39:35 +01:00
[ ] )
## attribute-list.h: static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function]
cls . add_method ( ' GetGlobal ' ,
' ns3::AttributeList * ' ,
[ ] ,
2008-07-21 15:30:15 +01:00
is_static = True )
2008-10-06 17:39:35 +01:00
## attribute-list.h: std::string ns3::AttributeList::SerializeToString() const [member function]
cls . add_method ( ' SerializeToString ' ,
' std::string ' ,
[ ] ,
is_const = True )
## attribute-list.h: bool ns3::AttributeList::DeserializeFromString(std::string value) [member function]
cls . add_method ( ' DeserializeFromString ' ,
' bool ' ,
[ param ( ' std::string ' , ' value ' ) ] )
2008-07-08 10:43:58 -07:00
return
2008-10-06 17:39:35 +01:00
def register_Ns3CallbackBase_methods ( root_module , cls ) :
## callback.h: ns3::CallbackBase::CallbackBase() [constructor]
2008-07-21 15:30:15 +01:00
cls . add_constructor ( [ ] )
2008-10-06 17:39:35 +01:00
## callback.h: ns3::Ptr<ns3::CallbackImplBase> ns3::CallbackBase::GetImpl() const [member function]
cls . add_method ( ' GetImpl ' ,
' ns3::Ptr< ns3::CallbackImplBase > ' ,
[ ] ,
is_const = True )
## callback.h: ns3::CallbackBase::CallbackBase(ns3::Ptr<ns3::CallbackImplBase> impl) [constructor]
cls . add_constructor ( [ param ( ' ns3::Ptr< ns3::CallbackImplBase > ' , ' impl ' ) ] ,
visibility = ' protected ' )
2008-11-28 14:45:48 +00:00
cls . add_copy_constructor ( )
2008-10-06 17:39:35 +01:00
return
def register_Ns3CallbackImplBase_methods ( root_module , cls ) :
## callback.h: ns3::CallbackImplBase::CallbackImplBase() [constructor]
cls . add_constructor ( [ ] )
## callback.h: bool ns3::CallbackImplBase::IsEqual(ns3::Ptr<ns3::CallbackImplBase const> other) const [member function]
cls . add_method ( ' IsEqual ' ,
' bool ' ,
[ param ( ' ns3::Ptr< ns3::CallbackImplBase const > ' , ' other ' ) ] ,
is_pure_virtual = True , is_const = True , is_virtual = True )
2008-11-28 14:45:48 +00:00
cls . add_copy_constructor ( )
2008-10-06 17:39:35 +01:00
return
def register_Ns3CommandLine_methods ( root_module , cls ) :
2008-11-26 12:11:11 +00:00
## command-line.h: void ns3::CommandLine::AddValue(std::string const & name, std::string const & help, ns3::Callback<bool, std::string, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> callback) [member function]
cls . add_method ( ' AddValue ' ,
' void ' ,
[ param ( ' std::string const & ' , ' name ' ) , param ( ' std::string const & ' , ' help ' ) , param ( ' ns3::Callback< bool, std::string, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty > ' , ' callback ' ) ] )
2008-11-28 14:45:48 +00:00
cls . add_constructor ( [ ] )
cls . add_copy_constructor ( )
2008-10-06 17:39:35 +01:00
return
def register_Ns3CriticalSection_methods ( root_module , cls ) :
## system-mutex.h: ns3::CriticalSection::CriticalSection(ns3::SystemMutex & mutex) [constructor]
cls . add_constructor ( [ param ( ' ns3::SystemMutex & ' , ' mutex ' ) ] )
2008-11-28 14:45:48 +00:00
cls . add_copy_constructor ( )
2008-07-08 10:43:58 -07:00
return
def register_Ns3GlobalValue_methods ( root_module , cls ) :
## global-value.h: ns3::GlobalValue::GlobalValue(std::string name, std::string help, ns3::AttributeValue const & initialValue, ns3::Ptr<ns3::AttributeChecker const> checker) [constructor]
2008-09-02 11:12:42 +01:00
cls . add_constructor ( [ param ( ' std::string ' , ' name ' ) , param ( ' std::string ' , ' help ' ) , param ( ' ns3::AttributeValue const & ' , ' initialValue ' ) , param ( ' ns3::Ptr< ns3::AttributeChecker const > ' , ' checker ' ) ] )
2008-07-08 10:43:58 -07:00
## global-value.h: std::string ns3::GlobalValue::GetName() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetName ' ,
' std::string ' ,
[ ] ,
is_const = True )
2008-07-08 10:43:58 -07:00
## global-value.h: std::string ns3::GlobalValue::GetHelp() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetHelp ' ,
' std::string ' ,
[ ] ,
is_const = True )
2008-07-08 10:43:58 -07:00
## global-value.h: void ns3::GlobalValue::GetValue(ns3::AttributeValue & value) const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetValue ' ,
' void ' ,
2008-09-02 11:12:42 +01:00
[ param ( ' ns3::AttributeValue & ' , ' value ' ) ] ,
2008-07-21 15:30:15 +01:00
is_const = True )
2008-07-08 10:43:58 -07:00
## global-value.h: ns3::Ptr<ns3::AttributeChecker const> ns3::GlobalValue::GetChecker() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetChecker ' ,
' ns3::Ptr< ns3::AttributeChecker const > ' ,
[ ] ,
is_const = True )
2008-07-08 10:43:58 -07:00
## global-value.h: bool ns3::GlobalValue::SetValue(ns3::AttributeValue const & value) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' SetValue ' ,
' bool ' ,
2008-09-02 11:12:42 +01:00
[ param ( ' ns3::AttributeValue const & ' , ' value ' ) ] )
2008-07-08 10:43:58 -07:00
## global-value.h: static void ns3::GlobalValue::Bind(std::string name, ns3::AttributeValue const & value) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Bind ' ,
' void ' ,
2008-09-02 11:12:42 +01:00
[ param ( ' std::string ' , ' name ' ) , param ( ' ns3::AttributeValue const & ' , ' value ' ) ] ,
2008-07-21 15:30:15 +01:00
is_static = True )
2008-07-08 10:43:58 -07:00
## global-value.h: static bool ns3::GlobalValue::BindFailSafe(std::string name, ns3::AttributeValue const & value) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' BindFailSafe ' ,
' bool ' ,
2008-09-02 11:12:42 +01:00
[ param ( ' std::string ' , ' name ' ) , param ( ' ns3::AttributeValue const & ' , ' value ' ) ] ,
2008-07-21 15:30:15 +01:00
is_static = True )
2008-07-08 10:43:58 -07:00
## global-value.h: static __gnu_cxx::__normal_iterator<ns3::GlobalValue* const*,std::vector<ns3::GlobalValue*, std::allocator<ns3::GlobalValue*> > > ns3::GlobalValue::Begin() [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Begin ' ,
2008-10-06 17:39:35 +01:00
' __gnu_cxx::__normal_iterator< ns3::GlobalValue * const *, std::vector< ns3::GlobalValue * > > ' ,
2008-07-21 15:30:15 +01:00
[ ] ,
is_static = True )
2008-07-08 10:43:58 -07:00
## global-value.h: static __gnu_cxx::__normal_iterator<ns3::GlobalValue* const*,std::vector<ns3::GlobalValue*, std::allocator<ns3::GlobalValue*> > > ns3::GlobalValue::End() [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' End ' ,
2008-10-06 17:39:35 +01:00
' __gnu_cxx::__normal_iterator< ns3::GlobalValue * const *, std::vector< ns3::GlobalValue * > > ' ,
2008-07-21 15:30:15 +01:00
[ ] ,
is_static = True )
2008-11-28 14:45:48 +00:00
cls . add_copy_constructor ( )
2008-07-08 10:43:58 -07:00
return
2008-10-06 17:39:35 +01:00
def register_Ns3IntToType__0_methods ( root_module , cls ) :
2008-07-21 15:30:15 +01:00
cls . add_constructor ( [ ] )
2008-11-28 14:45:48 +00:00
cls . add_copy_constructor ( )
2008-07-08 10:43:58 -07:00
return
2008-10-06 17:39:35 +01:00
def register_Ns3IntToType__1_methods ( root_module , cls ) :
2008-07-21 15:30:15 +01:00
cls . add_constructor ( [ ] )
2008-11-28 14:45:48 +00:00
cls . add_copy_constructor ( )
2008-10-06 17:39:35 +01:00
return
def register_Ns3IntToType__2_methods ( root_module , cls ) :
cls . add_constructor ( [ ] )
2008-11-28 14:45:48 +00:00
cls . add_copy_constructor ( )
2008-10-06 17:39:35 +01:00
return
def register_Ns3IntToType__3_methods ( root_module , cls ) :
cls . add_constructor ( [ ] )
2008-11-28 14:45:48 +00:00
cls . add_copy_constructor ( )
2008-10-06 17:39:35 +01:00
return
def register_Ns3IntToType__4_methods ( root_module , cls ) :
cls . add_constructor ( [ ] )
2008-11-28 14:45:48 +00:00
cls . add_copy_constructor ( )
2008-10-06 17:39:35 +01:00
return
def register_Ns3IntToType__5_methods ( root_module , cls ) :
cls . add_constructor ( [ ] )
2008-11-28 14:45:48 +00:00
cls . add_copy_constructor ( )
2008-10-06 17:39:35 +01:00
return
def register_Ns3IntToType__6_methods ( root_module , cls ) :
cls . add_constructor ( [ ] )
2008-11-28 14:45:48 +00:00
cls . add_copy_constructor ( )
2008-10-06 17:39:35 +01:00
return
def register_Ns3ObjectBase_methods ( root_module , cls ) :
## object-base.h: ns3::ObjectBase::ObjectBase() [constructor]
cls . add_constructor ( [ ] )
2008-11-28 14:45:48 +00:00
## object-base.h: ns3::ObjectBase::ObjectBase(ns3::ObjectBase const & arg0) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::ObjectBase const & ' , ' arg0 ' ) ] )
2008-10-06 17:39:35 +01:00
## object-base.h: static ns3::TypeId ns3::ObjectBase::GetTypeId() [member function]
cls . add_method ( ' GetTypeId ' ,
2008-07-21 15:30:15 +01:00
' ns3::TypeId ' ,
2008-10-06 17:39:35 +01:00
[ ] ,
is_static = True )
## object-base.h: ns3::TypeId ns3::ObjectBase::GetInstanceTypeId() const [member function]
cls . add_method ( ' GetInstanceTypeId ' ,
2008-07-21 15:30:15 +01:00
' ns3::TypeId ' ,
2008-10-06 17:39:35 +01:00
[ ] ,
is_pure_virtual = True , is_const = True , is_virtual = True )
## object-base.h: void ns3::ObjectBase::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function]
cls . add_method ( ' SetAttribute ' ,
' void ' ,
[ param ( ' std::string ' , ' name ' ) , param ( ' ns3::AttributeValue const & ' , ' value ' ) ] )
## object-base.h: bool ns3::ObjectBase::SetAttributeFailSafe(std::string name, ns3::AttributeValue const & value) [member function]
cls . add_method ( ' SetAttributeFailSafe ' ,
' bool ' ,
[ param ( ' std::string ' , ' name ' ) , param ( ' ns3::AttributeValue const & ' , ' value ' ) ] )
## object-base.h: void ns3::ObjectBase::GetAttribute(std::string name, ns3::AttributeValue & value) const [member function]
cls . add_method ( ' GetAttribute ' ,
' void ' ,
[ param ( ' std::string ' , ' name ' ) , param ( ' ns3::AttributeValue & ' , ' value ' ) ] ,
is_const = True )
## object-base.h: bool ns3::ObjectBase::GetAttributeFailSafe(std::string name, ns3::AttributeValue & attribute) const [member function]
cls . add_method ( ' GetAttributeFailSafe ' ,
' bool ' ,
[ param ( ' std::string ' , ' name ' ) , param ( ' ns3::AttributeValue & ' , ' attribute ' ) ] ,
is_const = True )
## object-base.h: bool ns3::ObjectBase::TraceConnect(std::string name, std::string context, ns3::CallbackBase const & cb) [member function]
cls . add_method ( ' TraceConnect ' ,
' bool ' ,
[ param ( ' std::string ' , ' name ' ) , param ( ' std::string ' , ' context ' ) , param ( ' ns3::CallbackBase const & ' , ' cb ' ) ] )
## object-base.h: bool ns3::ObjectBase::TraceConnectWithoutContext(std::string name, ns3::CallbackBase const & cb) [member function]
cls . add_method ( ' TraceConnectWithoutContext ' ,
' bool ' ,
[ param ( ' std::string ' , ' name ' ) , param ( ' ns3::CallbackBase const & ' , ' cb ' ) ] )
## object-base.h: bool ns3::ObjectBase::TraceDisconnect(std::string name, std::string context, ns3::CallbackBase const & cb) [member function]
cls . add_method ( ' TraceDisconnect ' ,
' bool ' ,
[ param ( ' std::string ' , ' name ' ) , param ( ' std::string ' , ' context ' ) , param ( ' ns3::CallbackBase const & ' , ' cb ' ) ] )
## object-base.h: bool ns3::ObjectBase::TraceDisconnectWithoutContext(std::string name, ns3::CallbackBase const & cb) [member function]
cls . add_method ( ' TraceDisconnectWithoutContext ' ,
' bool ' ,
[ param ( ' std::string ' , ' name ' ) , param ( ' ns3::CallbackBase const & ' , ' cb ' ) ] )
## object-base.h: void ns3::ObjectBase::NotifyConstructionCompleted() [member function]
cls . add_method ( ' NotifyConstructionCompleted ' ,
' void ' ,
[ ] ,
visibility = ' protected ' , is_virtual = True )
## object-base.h: void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function]
cls . add_method ( ' ConstructSelf ' ,
' void ' ,
[ param ( ' ns3::AttributeList const & ' , ' attributes ' ) ] ,
visibility = ' protected ' )
return
def register_Ns3ObjectFactory_methods ( root_module , cls ) :
cls . add_output_stream_operator ( )
## object-factory.h: ns3::ObjectFactory::ObjectFactory(ns3::ObjectFactory const & arg0) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::ObjectFactory const & ' , ' arg0 ' ) ] )
## object-factory.h: ns3::ObjectFactory::ObjectFactory() [constructor]
cls . add_constructor ( [ ] )
## object-factory.h: ns3::Ptr<ns3::Object> ns3::ObjectFactory::Create() const [member function]
cls . add_method ( ' Create ' ,
' ns3::Ptr< ns3::Object > ' ,
[ ] ,
is_const = True )
## object-factory.h: ns3::TypeId ns3::ObjectFactory::GetTypeId() const [member function]
cls . add_method ( ' GetTypeId ' ,
' ns3::TypeId ' ,
[ ] ,
is_const = True )
## object-factory.h: void ns3::ObjectFactory::Set(std::string name, ns3::AttributeValue const & value) [member function]
cls . add_method ( ' Set ' ,
' void ' ,
[ param ( ' std::string ' , ' name ' ) , param ( ' ns3::AttributeValue const & ' , ' value ' ) ] )
2008-10-28 11:26:58 +01:00
## object-factory.h: void ns3::ObjectFactory::Set(ns3::AttributeList const & list) [member function]
cls . add_method ( ' Set ' ,
' void ' ,
[ param ( ' ns3::AttributeList const & ' , ' list ' ) ] )
2008-10-06 17:39:35 +01:00
## object-factory.h: void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function]
cls . add_method ( ' SetTypeId ' ,
' void ' ,
[ param ( ' ns3::TypeId ' , ' tid ' ) ] )
## object-factory.h: void ns3::ObjectFactory::SetTypeId(char const * tid) [member function]
cls . add_method ( ' SetTypeId ' ,
' void ' ,
[ param ( ' char const * ' , ' tid ' ) ] )
## object-factory.h: void ns3::ObjectFactory::SetTypeId(std::string tid) [member function]
cls . add_method ( ' SetTypeId ' ,
' void ' ,
[ param ( ' std::string ' , ' tid ' ) ] )
return
def register_Ns3RandomVariable_methods ( root_module , cls ) :
cls . add_output_stream_operator ( )
## random-variable.h: ns3::RandomVariable::RandomVariable() [constructor]
cls . add_constructor ( [ ] )
## random-variable.h: ns3::RandomVariable::RandomVariable(ns3::RandomVariable const & o) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::RandomVariable const & ' , ' o ' ) ] )
## random-variable.h: uint32_t ns3::RandomVariable::GetInteger() const [member function]
cls . add_method ( ' GetInteger ' ,
' uint32_t ' ,
[ ] ,
is_const = True )
## random-variable.h: void ns3::RandomVariable::GetSeed(uint32_t * seed) const [member function]
cls . add_method ( ' GetSeed ' ,
' void ' ,
[ param ( ' uint32_t * ' , ' seed ' , direction = 2 , array_length = 6 ) ] ,
is_const = True )
## random-variable.h: double ns3::RandomVariable::GetValue() const [member function]
cls . add_method ( ' GetValue ' ,
' double ' ,
[ ] ,
is_const = True )
## random-variable.h: static void ns3::RandomVariable::SetRunNumber(uint32_t n) [member function]
cls . add_method ( ' SetRunNumber ' ,
' void ' ,
[ param ( ' uint32_t ' , ' n ' ) ] ,
is_static = True )
## random-variable.h: static void ns3::RandomVariable::UseDevRandom(bool udr=true) [member function]
cls . add_method ( ' UseDevRandom ' ,
' void ' ,
[ param ( ' bool ' , ' udr ' , default_value = ' true ' ) ] ,
is_static = True )
## random-variable.h: static void ns3::RandomVariable::UseGlobalSeed(uint32_t s0, uint32_t s1, uint32_t s2, uint32_t s3, uint32_t s4, uint32_t s5) [member function]
cls . add_method ( ' UseGlobalSeed ' ,
' void ' ,
[ param ( ' uint32_t ' , ' s0 ' ) , param ( ' uint32_t ' , ' s1 ' ) , param ( ' uint32_t ' , ' s2 ' ) , param ( ' uint32_t ' , ' s3 ' ) , param ( ' uint32_t ' , ' s4 ' ) , param ( ' uint32_t ' , ' s5 ' ) ] ,
is_static = True )
return
def register_Ns3RefCountBase_methods ( root_module , cls ) :
## ref-count-base.h: ns3::RefCountBase::RefCountBase() [constructor]
cls . add_constructor ( [ ] )
## ref-count-base.h: ns3::RefCountBase::RefCountBase(ns3::RefCountBase const & o) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::RefCountBase const & ' , ' o ' ) ] )
return
def register_Ns3RngStream_methods ( root_module , cls ) :
## rng-stream.h: ns3::RngStream::RngStream() [constructor]
cls . add_constructor ( [ ] )
## rng-stream.h: ns3::RngStream::RngStream(ns3::RngStream const & arg0) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::RngStream const & ' , ' arg0 ' ) ] )
## rng-stream.h: void ns3::RngStream::InitializeStream() [member function]
cls . add_method ( ' InitializeStream ' ,
' void ' ,
[ ] )
## rng-stream.h: void ns3::RngStream::ResetStartStream() [member function]
cls . add_method ( ' ResetStartStream ' ,
' void ' ,
[ ] )
## rng-stream.h: void ns3::RngStream::ResetStartSubstream() [member function]
cls . add_method ( ' ResetStartSubstream ' ,
' void ' ,
[ ] )
## rng-stream.h: void ns3::RngStream::ResetNextSubstream() [member function]
cls . add_method ( ' ResetNextSubstream ' ,
' void ' ,
[ ] )
## rng-stream.h: void ns3::RngStream::ResetNthSubstream(uint32_t N) [member function]
cls . add_method ( ' ResetNthSubstream ' ,
' void ' ,
[ param ( ' uint32_t ' , ' N ' ) ] )
## rng-stream.h: void ns3::RngStream::SetAntithetic(bool a) [member function]
cls . add_method ( ' SetAntithetic ' ,
' void ' ,
[ param ( ' bool ' , ' a ' ) ] )
## rng-stream.h: void ns3::RngStream::IncreasedPrecis(bool incp) [member function]
cls . add_method ( ' IncreasedPrecis ' ,
' void ' ,
[ param ( ' bool ' , ' incp ' ) ] )
## rng-stream.h: bool ns3::RngStream::SetSeeds(uint32_t const * seed) [member function]
cls . add_method ( ' SetSeeds ' ,
' bool ' ,
[ param ( ' uint32_t const * ' , ' seed ' ) ] )
## rng-stream.h: void ns3::RngStream::AdvanceState(int32_t e, int32_t c) [member function]
cls . add_method ( ' AdvanceState ' ,
' void ' ,
[ param ( ' int32_t ' , ' e ' ) , param ( ' int32_t ' , ' c ' ) ] )
## rng-stream.h: void ns3::RngStream::GetState(uint32_t * seed) const [member function]
cls . add_method ( ' GetState ' ,
' void ' ,
[ param ( ' uint32_t * ' , ' seed ' ) ] ,
is_const = True )
## rng-stream.h: double ns3::RngStream::RandU01() [member function]
cls . add_method ( ' RandU01 ' ,
' double ' ,
[ ] )
## rng-stream.h: int32_t ns3::RngStream::RandInt(int32_t i, int32_t j) [member function]
cls . add_method ( ' RandInt ' ,
' int32_t ' ,
[ param ( ' int32_t ' , ' i ' ) , param ( ' int32_t ' , ' j ' ) ] )
## rng-stream.h: static bool ns3::RngStream::SetPackageSeed(uint32_t const * seed) [member function]
cls . add_method ( ' SetPackageSeed ' ,
' bool ' ,
[ param ( ' uint32_t const * ' , ' seed ' ) ] ,
is_static = True )
## rng-stream.h: static bool ns3::RngStream::CheckSeed(uint32_t const * seed) [member function]
cls . add_method ( ' CheckSeed ' ,
' bool ' ,
[ param ( ' uint32_t const * ' , ' seed ' ) ] ,
is_static = True )
return
def register_Ns3SequentialVariable_methods ( root_module , cls ) :
## random-variable.h: ns3::SequentialVariable::SequentialVariable(double f, double l, double i=1, uint32_t c=1) [constructor]
cls . add_constructor ( [ param ( ' double ' , ' f ' ) , param ( ' double ' , ' l ' ) , param ( ' double ' , ' i ' , default_value = ' 1 ' ) , param ( ' uint32_t ' , ' c ' , default_value = ' 1 ' ) ] )
## random-variable.h: ns3::SequentialVariable::SequentialVariable(double f, double l, ns3::RandomVariable const & i, uint32_t c=1) [constructor]
cls . add_constructor ( [ param ( ' double ' , ' f ' ) , param ( ' double ' , ' l ' ) , param ( ' ns3::RandomVariable const & ' , ' i ' ) , param ( ' uint32_t ' , ' c ' , default_value = ' 1 ' ) ] )
2008-11-28 14:45:48 +00:00
cls . add_copy_constructor ( )
2008-10-06 17:39:35 +01:00
return
def register_Ns3SystemCondition_methods ( root_module , cls ) :
## system-condition.h: ns3::SystemCondition::SystemCondition() [constructor]
cls . add_constructor ( [ ] )
## system-condition.h: void ns3::SystemCondition::SetCondition(bool condition) [member function]
cls . add_method ( ' SetCondition ' ,
' void ' ,
[ param ( ' bool ' , ' condition ' ) ] )
## system-condition.h: bool ns3::SystemCondition::GetCondition() [member function]
cls . add_method ( ' GetCondition ' ,
' bool ' ,
[ ] )
## system-condition.h: void ns3::SystemCondition::Signal() [member function]
cls . add_method ( ' Signal ' ,
' void ' ,
[ ] )
## system-condition.h: void ns3::SystemCondition::Broadcast() [member function]
cls . add_method ( ' Broadcast ' ,
' void ' ,
[ ] )
## system-condition.h: void ns3::SystemCondition::Wait() [member function]
cls . add_method ( ' Wait ' ,
' void ' ,
[ ] )
## system-condition.h: bool ns3::SystemCondition::TimedWait(uint64_t ns) [member function]
cls . add_method ( ' TimedWait ' ,
' bool ' ,
[ param ( ' uint64_t ' , ' ns ' ) ] )
2008-11-28 14:45:48 +00:00
cls . add_copy_constructor ( )
2008-10-06 17:39:35 +01:00
return
def register_Ns3SystemMutex_methods ( root_module , cls ) :
## system-mutex.h: ns3::SystemMutex::SystemMutex() [constructor]
cls . add_constructor ( [ ] )
## system-mutex.h: void ns3::SystemMutex::Lock() [member function]
cls . add_method ( ' Lock ' ,
' void ' ,
[ ] )
## system-mutex.h: void ns3::SystemMutex::Unlock() [member function]
cls . add_method ( ' Unlock ' ,
' void ' ,
[ ] )
2008-11-28 14:45:48 +00:00
cls . add_copy_constructor ( )
2008-10-06 17:39:35 +01:00
return
def register_Ns3SystemThread_methods ( root_module , cls ) :
## system-thread.h: ns3::SystemThread::SystemThread(ns3::Callback<void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> callback) [constructor]
cls . add_constructor ( [ param ( ' ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty > ' , ' callback ' ) ] )
## system-thread.h: void ns3::SystemThread::Ref() const [member function]
cls . add_method ( ' Ref ' ,
' void ' ,
[ ] ,
is_const = True )
## system-thread.h: void ns3::SystemThread::Unref() const [member function]
cls . add_method ( ' Unref ' ,
' void ' ,
[ ] ,
is_const = True )
## system-thread.h: void ns3::SystemThread::Start() [member function]
cls . add_method ( ' Start ' ,
' void ' ,
[ ] )
## system-thread.h: void ns3::SystemThread::Join() [member function]
cls . add_method ( ' Join ' ,
' void ' ,
[ ] )
2008-10-27 12:47:33 +01:00
## system-thread.h: void ns3::SystemThread::Shutdown() [member function]
cls . add_method ( ' Shutdown ' ,
' void ' ,
[ ] )
## system-thread.h: bool ns3::SystemThread::Break() [member function]
cls . add_method ( ' Break ' ,
' bool ' ,
[ ] )
2008-11-28 14:45:48 +00:00
cls . add_copy_constructor ( )
2008-10-06 17:39:35 +01:00
return
def register_Ns3SystemWallClockMs_methods ( root_module , cls ) :
## system-wall-clock-ms.h: ns3::SystemWallClockMs::SystemWallClockMs() [constructor]
cls . add_constructor ( [ ] )
## system-wall-clock-ms.h: void ns3::SystemWallClockMs::Start() [member function]
cls . add_method ( ' Start ' ,
' void ' ,
[ ] )
## system-wall-clock-ms.h: long long unsigned int ns3::SystemWallClockMs::End() [member function]
cls . add_method ( ' End ' ,
' long long unsigned int ' ,
[ ] )
2008-11-28 14:45:48 +00:00
cls . add_copy_constructor ( )
2008-10-06 17:39:35 +01:00
return
def register_Ns3TraceSourceAccessor_methods ( root_module , cls ) :
## trace-source-accessor.h: ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor]
cls . add_constructor ( [ ] )
## trace-source-accessor.h: void ns3::TraceSourceAccessor::Ref() const [member function]
cls . add_method ( ' Ref ' ,
' void ' ,
[ ] ,
is_const = True )
## trace-source-accessor.h: void ns3::TraceSourceAccessor::Unref() const [member function]
cls . add_method ( ' Unref ' ,
' void ' ,
[ ] ,
is_const = True )
## trace-source-accessor.h: bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function]
cls . add_method ( ' ConnectWithoutContext ' ,
' bool ' ,
[ param ( ' ns3::ObjectBase * ' , ' obj ' , transfer_ownership = False ) , param ( ' ns3::CallbackBase const & ' , ' cb ' ) ] ,
is_pure_virtual = True , is_const = True , is_virtual = True )
## trace-source-accessor.h: bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function]
cls . add_method ( ' Connect ' ,
' bool ' ,
[ param ( ' ns3::ObjectBase * ' , ' obj ' , transfer_ownership = False ) , param ( ' std::string ' , ' context ' ) , param ( ' ns3::CallbackBase const & ' , ' cb ' ) ] ,
is_pure_virtual = True , is_const = True , is_virtual = True )
## trace-source-accessor.h: bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function]
cls . add_method ( ' DisconnectWithoutContext ' ,
' bool ' ,
[ param ( ' ns3::ObjectBase * ' , ' obj ' , transfer_ownership = False ) , param ( ' ns3::CallbackBase const & ' , ' cb ' ) ] ,
is_pure_virtual = True , is_const = True , is_virtual = True )
## trace-source-accessor.h: bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function]
cls . add_method ( ' Disconnect ' ,
' bool ' ,
[ param ( ' ns3::ObjectBase * ' , ' obj ' , transfer_ownership = False ) , param ( ' std::string ' , ' context ' ) , param ( ' ns3::CallbackBase const & ' , ' cb ' ) ] ,
is_pure_virtual = True , is_const = True , is_virtual = True )
2008-11-28 14:45:48 +00:00
cls . add_copy_constructor ( )
2008-10-06 17:39:35 +01:00
return
def register_Ns3TriangularVariable_methods ( root_module , cls ) :
## random-variable.h: ns3::TriangularVariable::TriangularVariable() [constructor]
cls . add_constructor ( [ ] )
## random-variable.h: ns3::TriangularVariable::TriangularVariable(double s, double l, double mean) [constructor]
cls . add_constructor ( [ param ( ' double ' , ' s ' ) , param ( ' double ' , ' l ' ) , param ( ' double ' , ' mean ' ) ] )
## random-variable.h: static double ns3::TriangularVariable::GetSingleValue(double s, double l, double mean) [member function]
cls . add_method ( ' GetSingleValue ' ,
' double ' ,
[ param ( ' double ' , ' s ' ) , param ( ' double ' , ' l ' ) , param ( ' double ' , ' mean ' ) ] ,
is_static = True )
2008-11-28 14:45:48 +00:00
cls . add_copy_constructor ( )
2008-10-06 17:39:35 +01:00
return
def register_Ns3TypeId_methods ( root_module , cls ) :
cls . add_binary_comparison_operator ( ' != ' )
cls . add_binary_comparison_operator ( ' < ' )
cls . add_output_stream_operator ( )
cls . add_binary_comparison_operator ( ' == ' )
## type-id.h: ns3::TypeId::TypeId(char const * name) [constructor]
cls . add_constructor ( [ param ( ' char const * ' , ' name ' ) ] )
## type-id.h: ns3::TypeId::TypeId() [constructor]
cls . add_constructor ( [ ] )
2008-11-24 06:36:05 +01:00
## type-id.h: ns3::TypeId::TypeId(ns3::TypeId const & o) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::TypeId const & ' , ' o ' ) ] )
2008-10-06 17:39:35 +01:00
## type-id.h: ns3::TypeId ns3::TypeId::AddAttribute(std::string name, std::string help, ns3::AttributeValue const & initialValue, ns3::Ptr<ns3::AttributeAccessor const> accessor, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
cls . add_method ( ' AddAttribute ' ,
' ns3::TypeId ' ,
[ 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 ' ) ] )
## type-id.h: ns3::TypeId ns3::TypeId::AddAttribute(std::string name, std::string help, uint32_t flags, ns3::AttributeValue const & initialValue, ns3::Ptr<ns3::AttributeAccessor const> accessor, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
cls . add_method ( ' AddAttribute ' ,
' ns3::TypeId ' ,
[ 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 ' ) ] )
## type-id.h: ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr<ns3::TraceSourceAccessor const> accessor) [member function]
cls . add_method ( ' AddTraceSource ' ,
' ns3::TypeId ' ,
[ param ( ' std::string ' , ' name ' ) , param ( ' std::string ' , ' help ' ) , param ( ' ns3::Ptr< ns3::TraceSourceAccessor const > ' , ' accessor ' ) ] )
## type-id.h: ns3::Ptr<ns3::AttributeAccessor const> ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function]
cls . add_method ( ' GetAttributeAccessor ' ,
' ns3::Ptr< ns3::AttributeAccessor const > ' ,
[ param ( ' uint32_t ' , ' i ' ) ] ,
is_const = True )
## type-id.h: ns3::Ptr<ns3::AttributeChecker const> ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function]
cls . add_method ( ' GetAttributeChecker ' ,
' ns3::Ptr< ns3::AttributeChecker const > ' ,
[ param ( ' uint32_t ' , ' i ' ) ] ,
is_const = True )
## type-id.h: uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function]
cls . add_method ( ' GetAttributeFlags ' ,
' uint32_t ' ,
[ param ( ' uint32_t ' , ' i ' ) ] ,
is_const = True )
## type-id.h: std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function]
cls . add_method ( ' GetAttributeFullName ' ,
2008-07-21 15:30:15 +01:00
' std::string ' ,
[ param ( ' uint32_t ' , ' i ' ) ] ,
is_const = True )
2008-07-08 10:43:58 -07:00
## type-id.h: std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetAttributeHelp ' ,
' std::string ' ,
[ param ( ' uint32_t ' , ' i ' ) ] ,
is_const = True )
2008-07-08 10:43:58 -07:00
## type-id.h: ns3::Ptr<ns3::AttributeValue const> ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetAttributeInitialValue ' ,
' ns3::Ptr< ns3::AttributeValue const > ' ,
[ param ( ' uint32_t ' , ' i ' ) ] ,
is_const = True )
2008-07-08 10:43:58 -07:00
## type-id.h: uint32_t ns3::TypeId::GetAttributeN() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetAttributeN ' ,
' uint32_t ' ,
[ ] ,
is_const = True )
2008-07-08 10:43:58 -07:00
## type-id.h: std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetAttributeName ' ,
' std::string ' ,
[ param ( ' uint32_t ' , ' i ' ) ] ,
is_const = True )
2008-07-08 10:43:58 -07:00
## type-id.h: ns3::Callback<ns3::ObjectBase*,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ns3::TypeId::GetConstructor() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetConstructor ' ,
2008-10-06 17:39:35 +01:00
' ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty > ' ,
2008-07-21 15:30:15 +01:00
[ ] ,
is_const = True )
2008-07-08 10:43:58 -07:00
## type-id.h: std::string ns3::TypeId::GetGroupName() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetGroupName ' ,
' std::string ' ,
[ ] ,
is_const = True )
2008-07-08 10:43:58 -07:00
## type-id.h: std::string ns3::TypeId::GetName() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetName ' ,
' std::string ' ,
[ ] ,
is_const = True )
2008-07-08 10:43:58 -07:00
## type-id.h: ns3::TypeId ns3::TypeId::GetParent() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetParent ' ,
' ns3::TypeId ' ,
[ ] ,
is_const = True )
2008-07-08 10:43:58 -07:00
## type-id.h: static ns3::TypeId ns3::TypeId::GetRegistered(uint32_t i) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetRegistered ' ,
' ns3::TypeId ' ,
[ param ( ' uint32_t ' , ' i ' ) ] ,
is_static = True )
2008-07-08 10:43:58 -07:00
## type-id.h: static uint32_t ns3::TypeId::GetRegisteredN() [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetRegisteredN ' ,
' uint32_t ' ,
[ ] ,
is_static = True )
2008-07-08 10:43:58 -07:00
## type-id.h: ns3::Ptr<ns3::TraceSourceAccessor const> ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetTraceSourceAccessor ' ,
' ns3::Ptr< ns3::TraceSourceAccessor const > ' ,
[ param ( ' uint32_t ' , ' i ' ) ] ,
is_const = True )
2008-07-08 10:43:58 -07:00
## type-id.h: std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetTraceSourceHelp ' ,
' std::string ' ,
[ param ( ' uint32_t ' , ' i ' ) ] ,
is_const = True )
2008-07-08 10:43:58 -07:00
## type-id.h: uint32_t ns3::TypeId::GetTraceSourceN() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetTraceSourceN ' ,
' uint32_t ' ,
[ ] ,
is_const = True )
2008-07-08 10:43:58 -07:00
## type-id.h: std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetTraceSourceName ' ,
' std::string ' ,
[ param ( ' uint32_t ' , ' i ' ) ] ,
is_const = True )
2008-07-08 10:43:58 -07:00
## type-id.h: uint16_t ns3::TypeId::GetUid() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetUid ' ,
' uint16_t ' ,
[ ] ,
is_const = True )
2008-07-08 10:43:58 -07:00
## type-id.h: bool ns3::TypeId::HasConstructor() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' HasConstructor ' ,
' bool ' ,
[ ] ,
is_const = True )
2008-10-06 17:39:35 +01:00
## type-id.h: bool ns3::TypeId::HasParent() const [member function]
cls . add_method ( ' HasParent ' ,
2008-07-21 15:30:15 +01:00
' bool ' ,
2008-10-06 17:39:35 +01:00
[ ] ,
is_const = True )
## type-id.h: ns3::TypeId ns3::TypeId::HideFromDocumentation() [member function]
cls . add_method ( ' HideFromDocumentation ' ,
' ns3::TypeId ' ,
[ ] )
## type-id.h: bool ns3::TypeId::IsChildOf(ns3::TypeId other) const [member function]
cls . add_method ( ' IsChildOf ' ,
2008-07-21 15:30:15 +01:00
' bool ' ,
2008-10-06 17:39:35 +01:00
[ param ( ' ns3::TypeId ' , ' other ' ) ] ,
is_const = True )
## type-id.h: bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function]
cls . add_method ( ' LookupAttributeByName ' ,
2008-07-21 15:30:15 +01:00
' bool ' ,
2008-10-06 17:39:35 +01:00
[ param ( ' std::string ' , ' name ' ) , param ( ' ns3::TypeId::AttributeInfo * ' , ' info ' , transfer_ownership = False ) ] ,
is_const = True )
## type-id.h: static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function]
cls . add_method ( ' LookupByName ' ,
' ns3::TypeId ' ,
[ param ( ' std::string ' , ' name ' ) ] ,
is_static = True )
## type-id.h: ns3::Ptr<ns3::TraceSourceAccessor const> ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function]
cls . add_method ( ' LookupTraceSourceByName ' ,
' ns3::Ptr< ns3::TraceSourceAccessor const > ' ,
[ param ( ' std::string ' , ' name ' ) ] ,
is_const = True )
## type-id.h: bool ns3::TypeId::MustHideFromDocumentation() const [member function]
cls . add_method ( ' MustHideFromDocumentation ' ,
2008-07-21 15:30:15 +01:00
' bool ' ,
[ ] ,
2008-10-06 17:39:35 +01:00
is_const = True )
## type-id.h: ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function]
cls . add_method ( ' SetGroupName ' ,
' ns3::TypeId ' ,
[ param ( ' std::string ' , ' groupName ' ) ] )
## type-id.h: ns3::TypeId ns3::TypeId::SetParent(ns3::TypeId tid) [member function]
cls . add_method ( ' SetParent ' ,
' ns3::TypeId ' ,
[ param ( ' ns3::TypeId ' , ' tid ' ) ] )
## type-id.h: void ns3::TypeId::SetUid(uint16_t tid) [member function]
cls . add_method ( ' SetUid ' ,
' void ' ,
[ param ( ' uint16_t ' , ' tid ' ) ] )
2008-07-08 10:43:58 -07:00
return
2008-10-06 17:39:35 +01:00
def register_Ns3TypeIdAttributeInfo_methods ( root_module , cls ) :
## type-id.h: ns3::TypeId::AttributeInfo::accessor [variable]
cls . add_instance_attribute ( ' accessor ' , ' ns3::Ptr< ns3::AttributeAccessor const > ' , is_const = False )
## type-id.h: ns3::TypeId::AttributeInfo::initialValue [variable]
cls . add_instance_attribute ( ' initialValue ' , ' ns3::Ptr< ns3::AttributeValue const > ' , is_const = False )
## type-id.h: ns3::TypeId::AttributeInfo::flags [variable]
cls . add_instance_attribute ( ' flags ' , ' uint32_t ' , is_const = False )
## type-id.h: ns3::TypeId::AttributeInfo::checker [variable]
cls . add_instance_attribute ( ' checker ' , ' ns3::Ptr< ns3::AttributeChecker const > ' , is_const = False )
2008-07-21 15:30:15 +01:00
cls . add_constructor ( [ ] )
2008-11-28 14:45:48 +00:00
cls . add_copy_constructor ( )
2008-07-16 16:06:50 +01:00
return
2008-10-06 17:39:35 +01:00
def register_Ns3UniformVariable_methods ( root_module , cls ) :
## random-variable.h: ns3::UniformVariable::UniformVariable() [constructor]
2008-07-21 15:30:15 +01:00
cls . add_constructor ( [ ] )
2008-10-06 17:39:35 +01:00
## random-variable.h: ns3::UniformVariable::UniformVariable(double s, double l) [constructor]
cls . add_constructor ( [ param ( ' double ' , ' s ' ) , param ( ' double ' , ' l ' ) ] )
## random-variable.h: static double ns3::UniformVariable::GetSingleValue(double s, double l) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetSingleValue ' ,
' double ' ,
2008-10-06 17:39:35 +01:00
[ param ( ' double ' , ' s ' ) , param ( ' double ' , ' l ' ) ] ,
2008-07-21 15:30:15 +01:00
is_static = True )
2008-11-28 14:45:48 +00:00
cls . add_copy_constructor ( )
2008-10-06 17:39:35 +01:00
return
2008-10-28 11:26:58 +01:00
def register_Ns3UnsafeAttributeList_methods ( root_module , cls ) :
## attribute-list.h: ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor]
cls . add_constructor ( [ ] )
## attribute-list.h: ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::UnsafeAttributeList const & ' , ' o ' ) ] )
## attribute-list.h: void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function]
cls . add_method ( ' Set ' ,
' void ' ,
[ param ( ' std::string ' , ' name ' ) , param ( ' ns3::AttributeValue const & ' , ' param ' ) ] )
## attribute-list.h: ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function]
cls . add_method ( ' GetSafe ' ,
' ns3::AttributeList ' ,
[ param ( ' std::string ' , ' name ' ) ] ,
is_const = True )
return
2008-10-06 17:39:35 +01:00
def register_Ns3WeibullVariable_methods ( root_module , cls ) :
## random-variable.h: ns3::WeibullVariable::WeibullVariable() [constructor]
cls . add_constructor ( [ ] )
## random-variable.h: ns3::WeibullVariable::WeibullVariable(double m) [constructor]
cls . add_constructor ( [ param ( ' double ' , ' m ' ) ] )
## random-variable.h: ns3::WeibullVariable::WeibullVariable(double m, double s) [constructor]
cls . add_constructor ( [ param ( ' double ' , ' m ' ) , param ( ' double ' , ' s ' ) ] )
## random-variable.h: ns3::WeibullVariable::WeibullVariable(double m, double s, double b) [constructor]
cls . add_constructor ( [ param ( ' double ' , ' m ' ) , param ( ' double ' , ' s ' ) , param ( ' double ' , ' b ' ) ] )
## random-variable.h: static double ns3::WeibullVariable::GetSingleValue(double m, double s, double b=0) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetSingleValue ' ,
' double ' ,
2008-10-06 17:39:35 +01:00
[ param ( ' double ' , ' m ' ) , param ( ' double ' , ' s ' ) , param ( ' double ' , ' b ' , default_value = ' 0 ' ) ] ,
2008-07-21 15:30:15 +01:00
is_static = True )
2008-11-28 14:45:48 +00:00
cls . add_copy_constructor ( )
2008-07-08 10:43:58 -07:00
return
2008-10-06 17:39:35 +01:00
def register_Ns3Empty_methods ( root_module , cls ) :
2008-07-21 15:30:15 +01:00
cls . add_constructor ( [ ] )
2008-11-28 14:45:48 +00:00
cls . add_copy_constructor ( )
2008-07-08 10:43:58 -07:00
return
def register_Ns3AttributeAccessor_methods ( root_module , cls ) :
## attribute.h: ns3::AttributeAccessor::AttributeAccessor() [constructor]
2008-07-21 15:30:15 +01:00
cls . add_constructor ( [ ] )
2008-07-08 10:43:58 -07:00
## attribute.h: bool ns3::AttributeAccessor::Set(ns3::ObjectBase * object, ns3::AttributeValue const & value) const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Set ' ,
' bool ' ,
2008-09-02 11:12:42 +01:00
[ param ( ' ns3::ObjectBase * ' , ' object ' , transfer_ownership = False ) , param ( ' ns3::AttributeValue const & ' , ' value ' ) ] ,
2008-07-21 15:30:15 +01:00
is_pure_virtual = True , is_const = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## attribute.h: bool ns3::AttributeAccessor::Get(ns3::ObjectBase const * object, ns3::AttributeValue & attribute) const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Get ' ,
' bool ' ,
2008-09-02 11:12:42 +01:00
[ param ( ' ns3::ObjectBase const * ' , ' object ' ) , param ( ' ns3::AttributeValue & ' , ' attribute ' ) ] ,
2008-07-21 15:30:15 +01:00
is_pure_virtual = True , is_const = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## attribute.h: bool ns3::AttributeAccessor::HasGetter() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' HasGetter ' ,
' bool ' ,
[ ] ,
is_pure_virtual = True , is_const = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## attribute.h: bool ns3::AttributeAccessor::HasSetter() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' HasSetter ' ,
' bool ' ,
[ ] ,
is_pure_virtual = True , is_const = True , is_virtual = True )
2008-11-28 14:45:48 +00:00
cls . add_copy_constructor ( )
2008-07-08 10:43:58 -07:00
return
2008-10-06 17:39:35 +01:00
def register_Ns3AttributeChecker_methods ( root_module , cls ) :
## attribute.h: ns3::AttributeChecker::AttributeChecker() [constructor]
2008-07-21 15:30:15 +01:00
cls . add_constructor ( [ ] )
2008-10-06 17:39:35 +01:00
## attribute.h: bool ns3::AttributeChecker::Check(ns3::AttributeValue const & value) const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Check ' ,
' bool ' ,
2008-09-02 11:12:42 +01:00
[ param ( ' ns3::AttributeValue const & ' , ' value ' ) ] ,
2008-10-06 17:39:35 +01:00
is_pure_virtual = True , is_const = True , is_virtual = True )
## attribute.h: std::string ns3::AttributeChecker::GetValueTypeName() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetValueTypeName ' ,
' std::string ' ,
[ ] ,
2008-10-06 17:39:35 +01:00
is_pure_virtual = True , is_const = True , is_virtual = True )
## attribute.h: bool ns3::AttributeChecker::HasUnderlyingTypeInformation() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' HasUnderlyingTypeInformation ' ,
' bool ' ,
[ ] ,
2008-10-06 17:39:35 +01:00
is_pure_virtual = True , is_const = True , is_virtual = True )
## attribute.h: std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetUnderlyingTypeInformation ' ,
' std::string ' ,
[ ] ,
2008-10-06 17:39:35 +01:00
is_pure_virtual = True , is_const = True , is_virtual = True )
## attribute.h: ns3::Ptr<ns3::AttributeValue> ns3::AttributeChecker::Create() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Create ' ,
' ns3::Ptr< ns3::AttributeValue > ' ,
[ ] ,
2008-10-06 17:39:35 +01:00
is_pure_virtual = True , is_const = True , is_virtual = True )
## attribute.h: bool ns3::AttributeChecker::Copy(ns3::AttributeValue const & source, ns3::AttributeValue & destination) const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Copy ' ,
' bool ' ,
2008-10-06 17:39:35 +01:00
[ param ( ' ns3::AttributeValue const & ' , ' source ' ) , param ( ' ns3::AttributeValue & ' , ' destination ' ) ] ,
is_pure_virtual = True , is_const = True , is_virtual = True )
2008-11-28 14:45:48 +00:00
cls . add_copy_constructor ( )
2008-07-08 10:43:58 -07:00
return
2008-10-06 17:39:35 +01:00
def register_Ns3AttributeValue_methods ( root_module , cls ) :
## attribute.h: ns3::AttributeValue::AttributeValue(ns3::AttributeValue const & arg0) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::AttributeValue const & ' , ' arg0 ' ) ] )
## attribute.h: ns3::AttributeValue::AttributeValue() [constructor]
2008-08-29 14:56:24 +01:00
cls . add_constructor ( [ ] )
2008-10-06 17:39:35 +01:00
## attribute.h: ns3::Ptr<ns3::AttributeValue> ns3::AttributeValue::Copy() const [member function]
cls . add_method ( ' Copy ' ,
' ns3::Ptr< ns3::AttributeValue > ' ,
2008-07-21 15:30:15 +01:00
[ ] ,
is_pure_virtual = True , is_const = True , is_virtual = True )
2008-10-06 17:39:35 +01:00
## attribute.h: std::string ns3::AttributeValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
cls . add_method ( ' SerializeToString ' ,
' std::string ' ,
[ param ( ' ns3::Ptr< ns3::AttributeChecker const > ' , ' checker ' ) ] ,
is_pure_virtual = True , is_const = True , is_virtual = True )
## attribute.h: bool ns3::AttributeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
cls . add_method ( ' DeserializeFromString ' ,
2008-07-21 15:30:15 +01:00
' bool ' ,
2008-10-06 17:39:35 +01:00
[ param ( ' std::string ' , ' value ' ) , param ( ' ns3::Ptr< ns3::AttributeChecker const > ' , ' checker ' ) ] ,
is_pure_virtual = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
return
2008-10-06 17:39:35 +01:00
def register_Ns3BooleanChecker_methods ( root_module , cls ) :
2008-07-08 10:43:58 -07:00
cls . add_constructor ( [ ] )
2008-11-28 14:45:48 +00:00
cls . add_copy_constructor ( )
2008-07-08 10:43:58 -07:00
return
2008-10-06 17:39:35 +01:00
def register_Ns3BooleanValue_methods ( root_module , cls ) :
cls . add_output_stream_operator ( )
## boolean.h: ns3::BooleanValue::BooleanValue(ns3::BooleanValue const & arg0) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::BooleanValue const & ' , ' arg0 ' ) ] )
## boolean.h: ns3::BooleanValue::BooleanValue() [constructor]
2008-07-08 10:43:58 -07:00
cls . add_constructor ( [ ] )
2008-10-06 17:39:35 +01:00
## boolean.h: ns3::BooleanValue::BooleanValue(bool value) [constructor]
cls . add_constructor ( [ param ( ' bool ' , ' value ' ) ] )
## boolean.h: ns3::Ptr<ns3::AttributeValue> ns3::BooleanValue::Copy() const [member function]
cls . add_method ( ' Copy ' ,
' ns3::Ptr< ns3::AttributeValue > ' ,
[ ] ,
is_const = True , is_virtual = True )
## boolean.h: bool ns3::BooleanValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
cls . add_method ( ' DeserializeFromString ' ,
' bool ' ,
[ param ( ' std::string ' , ' value ' ) , param ( ' ns3::Ptr< ns3::AttributeChecker const > ' , ' checker ' ) ] ,
is_virtual = True )
## boolean.h: bool ns3::BooleanValue::Get() const [member function]
cls . add_method ( ' Get ' ,
' bool ' ,
[ ] ,
is_const = True )
## boolean.h: std::string ns3::BooleanValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
cls . add_method ( ' SerializeToString ' ,
' std::string ' ,
[ param ( ' ns3::Ptr< ns3::AttributeChecker const > ' , ' checker ' ) ] ,
is_const = True , is_virtual = True )
## boolean.h: void ns3::BooleanValue::Set(bool value) [member function]
cls . add_method ( ' Set ' ,
' void ' ,
[ param ( ' bool ' , ' value ' ) ] )
2008-07-08 10:43:58 -07:00
return
2008-10-23 10:57:26 -07:00
def register_Ns3CallbackChecker_methods ( root_module , cls ) :
cls . add_constructor ( [ ] )
2008-11-28 14:45:48 +00:00
cls . add_copy_constructor ( )
2008-10-23 10:57:26 -07:00
return
def register_Ns3CallbackValue_methods ( root_module , cls ) :
## callback.h: ns3::CallbackValue::CallbackValue() [constructor]
cls . add_constructor ( [ ] )
## callback.h: ns3::CallbackValue::CallbackValue(ns3::CallbackBase const & base) [constructor]
cls . add_constructor ( [ param ( ' ns3::CallbackBase const & ' , ' base ' ) ] )
## callback.h: void ns3::CallbackValue::Set(ns3::CallbackBase base) [member function]
cls . add_method ( ' Set ' ,
' void ' ,
[ param ( ' ns3::CallbackBase ' , ' base ' ) ] )
## callback.h: ns3::Ptr<ns3::AttributeValue> ns3::CallbackValue::Copy() const [member function]
cls . add_method ( ' Copy ' ,
' ns3::Ptr< ns3::AttributeValue > ' ,
[ ] ,
is_const = True , is_virtual = True )
## callback.h: std::string ns3::CallbackValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
cls . add_method ( ' SerializeToString ' ,
' std::string ' ,
[ param ( ' ns3::Ptr< ns3::AttributeChecker const > ' , ' checker ' ) ] ,
is_const = True , is_virtual = True )
## callback.h: bool ns3::CallbackValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
cls . add_method ( ' DeserializeFromString ' ,
' bool ' ,
[ param ( ' std::string ' , ' value ' ) , param ( ' ns3::Ptr< ns3::AttributeChecker const > ' , ' checker ' ) ] ,
is_virtual = True )
2008-11-28 14:45:48 +00:00
cls . add_copy_constructor ( )
2008-10-23 10:57:26 -07:00
return
2008-10-06 17:39:35 +01:00
def register_Ns3ConstantVariable_methods ( root_module , cls ) :
## random-variable.h: ns3::ConstantVariable::ConstantVariable() [constructor]
2008-07-08 10:43:58 -07:00
cls . add_constructor ( [ ] )
2008-10-06 17:39:35 +01:00
## random-variable.h: ns3::ConstantVariable::ConstantVariable(double c) [constructor]
cls . add_constructor ( [ param ( ' double ' , ' c ' ) ] )
## random-variable.h: void ns3::ConstantVariable::SetConstant(double c) [member function]
cls . add_method ( ' SetConstant ' ,
' void ' ,
[ param ( ' double ' , ' c ' ) ] )
2008-11-28 14:45:48 +00:00
cls . add_copy_constructor ( )
2008-07-08 10:43:58 -07:00
return
2008-10-06 17:39:35 +01:00
def register_Ns3DeterministicVariable_methods ( root_module , cls ) :
## random-variable.h: ns3::DeterministicVariable::DeterministicVariable(double * d, uint32_t c) [constructor]
cls . add_constructor ( [ param ( ' double * ' , ' d ' ) , param ( ' uint32_t ' , ' c ' ) ] )
2008-11-28 14:45:48 +00:00
cls . add_copy_constructor ( )
2008-07-08 10:43:58 -07:00
return
2008-10-06 17:39:35 +01:00
def register_Ns3DoubleValue_methods ( root_module , cls ) :
## double.h: ns3::DoubleValue::DoubleValue() [constructor]
cls . add_constructor ( [ ] )
## double.h: ns3::DoubleValue::DoubleValue(double const & value) [constructor]
cls . add_constructor ( [ param ( ' double const & ' , ' value ' ) ] )
## double.h: void ns3::DoubleValue::Set(double const & value) [member function]
cls . add_method ( ' Set ' ,
' void ' ,
[ param ( ' double const & ' , ' value ' ) ] )
## double.h: double ns3::DoubleValue::Get() const [member function]
cls . add_method ( ' Get ' ,
2008-07-21 15:30:15 +01:00
' double ' ,
2008-10-06 17:39:35 +01:00
[ ] ,
is_const = True )
## double.h: ns3::Ptr<ns3::AttributeValue> ns3::DoubleValue::Copy() const [member function]
cls . add_method ( ' Copy ' ,
' ns3::Ptr< ns3::AttributeValue > ' ,
[ ] ,
is_const = True , is_virtual = True )
## double.h: std::string ns3::DoubleValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
cls . add_method ( ' SerializeToString ' ,
' std::string ' ,
[ param ( ' ns3::Ptr< ns3::AttributeChecker const > ' , ' checker ' ) ] ,
is_const = True , is_virtual = True )
## double.h: bool ns3::DoubleValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
cls . add_method ( ' DeserializeFromString ' ,
' bool ' ,
[ param ( ' std::string ' , ' value ' ) , param ( ' ns3::Ptr< ns3::AttributeChecker const > ' , ' checker ' ) ] ,
is_virtual = True )
2008-11-28 14:45:48 +00:00
cls . add_copy_constructor ( )
2008-07-08 10:43:58 -07:00
return
2008-10-06 17:39:35 +01:00
def register_Ns3EmpiricalVariable_methods ( root_module , cls ) :
## random-variable.h: ns3::EmpiricalVariable::EmpiricalVariable() [constructor]
2008-07-21 15:30:15 +01:00
cls . add_constructor ( [ ] )
2008-10-06 17:39:35 +01:00
## random-variable.h: void ns3::EmpiricalVariable::CDF(double v, double c) [member function]
cls . add_method ( ' CDF ' ,
' void ' ,
[ param ( ' double ' , ' v ' ) , param ( ' double ' , ' c ' ) ] )
2008-11-28 14:45:48 +00:00
cls . add_copy_constructor ( )
2008-07-08 10:43:58 -07:00
return
2008-10-06 17:39:35 +01:00
def register_Ns3EmptyAttributeValue_methods ( root_module , cls ) :
## attribute.h: ns3::EmptyAttributeValue::EmptyAttributeValue(ns3::EmptyAttributeValue const & arg0) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::EmptyAttributeValue const & ' , ' arg0 ' ) ] )
## attribute.h: ns3::EmptyAttributeValue::EmptyAttributeValue() [constructor]
2008-08-29 14:56:24 +01:00
cls . add_constructor ( [ ] )
2008-10-06 17:39:35 +01:00
## attribute.h: ns3::Ptr<ns3::AttributeValue> ns3::EmptyAttributeValue::Copy() const [member function]
cls . add_method ( ' Copy ' ,
' ns3::Ptr< ns3::AttributeValue > ' ,
2008-07-21 15:30:15 +01:00
[ ] ,
2008-10-06 17:39:35 +01:00
is_const = True , visibility = ' private ' , is_virtual = True )
## attribute.h: std::string ns3::EmptyAttributeValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
cls . add_method ( ' SerializeToString ' ,
' std::string ' ,
[ param ( ' ns3::Ptr< ns3::AttributeChecker const > ' , ' checker ' ) ] ,
is_const = True , visibility = ' private ' , is_virtual = True )
## attribute.h: bool ns3::EmptyAttributeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
cls . add_method ( ' DeserializeFromString ' ,
' bool ' ,
[ param ( ' std::string ' , ' value ' ) , param ( ' ns3::Ptr< ns3::AttributeChecker const > ' , ' checker ' ) ] ,
visibility = ' private ' , is_virtual = True )
2008-07-08 10:43:58 -07:00
return
2008-10-06 17:39:35 +01:00
def register_Ns3EnumChecker_methods ( root_module , cls ) :
## enum.h: ns3::EnumChecker::EnumChecker() [constructor]
2008-07-21 15:30:15 +01:00
cls . add_constructor ( [ ] )
2008-10-06 17:39:35 +01:00
## enum.h: void ns3::EnumChecker::AddDefault(int v, std::string name) [member function]
cls . add_method ( ' AddDefault ' ,
' void ' ,
[ param ( ' int ' , ' v ' ) , param ( ' std::string ' , ' name ' ) ] )
## enum.h: void ns3::EnumChecker::Add(int v, std::string name) [member function]
cls . add_method ( ' Add ' ,
' void ' ,
[ param ( ' int ' , ' v ' ) , param ( ' std::string ' , ' name ' ) ] )
## enum.h: bool ns3::EnumChecker::Check(ns3::AttributeValue const & value) const [member function]
cls . add_method ( ' Check ' ,
' bool ' ,
[ param ( ' ns3::AttributeValue const & ' , ' value ' ) ] ,
is_const = True , is_virtual = True )
## enum.h: std::string ns3::EnumChecker::GetValueTypeName() const [member function]
cls . add_method ( ' GetValueTypeName ' ,
' std::string ' ,
[ ] ,
is_const = True , is_virtual = True )
## enum.h: bool ns3::EnumChecker::HasUnderlyingTypeInformation() const [member function]
cls . add_method ( ' HasUnderlyingTypeInformation ' ,
' bool ' ,
[ ] ,
is_const = True , is_virtual = True )
## enum.h: std::string ns3::EnumChecker::GetUnderlyingTypeInformation() const [member function]
cls . add_method ( ' GetUnderlyingTypeInformation ' ,
' std::string ' ,
[ ] ,
is_const = True , is_virtual = True )
## enum.h: ns3::Ptr<ns3::AttributeValue> ns3::EnumChecker::Create() const [member function]
cls . add_method ( ' Create ' ,
' ns3::Ptr< ns3::AttributeValue > ' ,
[ ] ,
is_const = True , is_virtual = True )
## enum.h: bool ns3::EnumChecker::Copy(ns3::AttributeValue const & src, ns3::AttributeValue & dst) const [member function]
cls . add_method ( ' Copy ' ,
' bool ' ,
[ param ( ' ns3::AttributeValue const & ' , ' src ' ) , param ( ' ns3::AttributeValue & ' , ' dst ' ) ] ,
is_const = True , is_virtual = True )
2008-11-28 14:45:48 +00:00
cls . add_copy_constructor ( )
2008-07-08 10:43:58 -07:00
return
2008-10-06 17:39:35 +01:00
def register_Ns3EnumValue_methods ( root_module , cls ) :
## enum.h: ns3::EnumValue::EnumValue() [constructor]
2008-07-21 15:30:15 +01:00
cls . add_constructor ( [ ] )
2008-10-06 17:39:35 +01:00
## enum.h: ns3::EnumValue::EnumValue(int v) [constructor]
cls . add_constructor ( [ param ( ' int ' , ' v ' ) ] )
## enum.h: void ns3::EnumValue::Set(int v) [member function]
cls . add_method ( ' Set ' ,
' void ' ,
[ param ( ' int ' , ' v ' ) ] )
## enum.h: int ns3::EnumValue::Get() const [member function]
cls . add_method ( ' Get ' ,
' int ' ,
2008-07-21 15:30:15 +01:00
[ ] ,
is_const = True )
2008-10-06 17:39:35 +01:00
## enum.h: ns3::Ptr<ns3::AttributeValue> ns3::EnumValue::Copy() const [member function]
cls . add_method ( ' Copy ' ,
' ns3::Ptr< ns3::AttributeValue > ' ,
[ ] ,
is_const = True , is_virtual = True )
## enum.h: std::string ns3::EnumValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
cls . add_method ( ' SerializeToString ' ,
' std::string ' ,
[ param ( ' ns3::Ptr< ns3::AttributeChecker const > ' , ' checker ' ) ] ,
is_const = True , is_virtual = True )
## enum.h: bool ns3::EnumValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
cls . add_method ( ' DeserializeFromString ' ,
' bool ' ,
[ param ( ' std::string ' , ' value ' ) , param ( ' ns3::Ptr< ns3::AttributeChecker const > ' , ' checker ' ) ] ,
is_virtual = True )
2008-11-28 14:45:48 +00:00
cls . add_copy_constructor ( )
2008-07-08 10:43:58 -07:00
return
def register_Ns3ExponentialVariable_methods ( root_module , cls ) :
## random-variable.h: ns3::ExponentialVariable::ExponentialVariable() [constructor]
2008-07-21 15:30:15 +01:00
cls . add_constructor ( [ ] )
2008-07-08 10:43:58 -07:00
## random-variable.h: ns3::ExponentialVariable::ExponentialVariable(double m) [constructor]
2008-07-21 15:30:15 +01:00
cls . add_constructor ( [ param ( ' double ' , ' m ' ) ] )
2008-07-08 10:43:58 -07:00
## random-variable.h: ns3::ExponentialVariable::ExponentialVariable(double m, double b) [constructor]
2008-07-21 15:30:15 +01:00
cls . add_constructor ( [ param ( ' double ' , ' m ' ) , param ( ' double ' , ' b ' ) ] )
2008-07-08 10:43:58 -07:00
## random-variable.h: static double ns3::ExponentialVariable::GetSingleValue(double m, double b=0) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetSingleValue ' ,
' double ' ,
[ param ( ' double ' , ' m ' ) , param ( ' double ' , ' b ' , default_value = ' 0 ' ) ] ,
is_static = True )
2008-11-28 14:45:48 +00:00
cls . add_copy_constructor ( )
2008-07-08 10:43:58 -07:00
return
2008-10-06 17:39:35 +01:00
def register_Ns3IntEmpiricalVariable_methods ( root_module , cls ) :
## random-variable.h: ns3::IntEmpiricalVariable::IntEmpiricalVariable() [constructor]
cls . add_constructor ( [ ] )
2008-11-28 14:45:48 +00:00
cls . add_copy_constructor ( )
2008-07-08 10:43:58 -07:00
return
2008-10-06 17:39:35 +01:00
def register_Ns3IntegerValue_methods ( root_module , cls ) :
## integer.h: ns3::IntegerValue::IntegerValue() [constructor]
2008-07-21 15:30:15 +01:00
cls . add_constructor ( [ ] )
2008-10-06 17:39:35 +01:00
## integer.h: ns3::IntegerValue::IntegerValue(int64_t const & value) [constructor]
cls . add_constructor ( [ param ( ' int64_t const & ' , ' value ' ) ] )
## integer.h: void ns3::IntegerValue::Set(int64_t const & value) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Set ' ,
' void ' ,
2008-10-06 17:39:35 +01:00
[ param ( ' int64_t const & ' , ' value ' ) ] )
## integer.h: int64_t ns3::IntegerValue::Get() const [member function]
cls . add_method ( ' Get ' ,
' int64_t ' ,
[ ] ,
is_const = True )
## integer.h: ns3::Ptr<ns3::AttributeValue> ns3::IntegerValue::Copy() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Copy ' ,
' ns3::Ptr< ns3::AttributeValue > ' ,
[ ] ,
2008-10-06 17:39:35 +01:00
is_const = True , is_virtual = True )
## integer.h: std::string ns3::IntegerValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' SerializeToString ' ,
' std::string ' ,
[ param ( ' ns3::Ptr< ns3::AttributeChecker const > ' , ' checker ' ) ] ,
2008-10-06 17:39:35 +01:00
is_const = True , is_virtual = True )
## integer.h: bool ns3::IntegerValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' DeserializeFromString ' ,
' bool ' ,
[ param ( ' std::string ' , ' value ' ) , param ( ' ns3::Ptr< ns3::AttributeChecker const > ' , ' checker ' ) ] ,
2008-10-06 17:39:35 +01:00
is_virtual = True )
2008-11-28 14:45:48 +00:00
cls . add_copy_constructor ( )
2008-07-08 10:43:58 -07:00
return
2008-10-06 17:39:35 +01:00
def register_Ns3LogNormalVariable_methods ( root_module , cls ) :
## random-variable.h: ns3::LogNormalVariable::LogNormalVariable(double mu, double sigma) [constructor]
cls . add_constructor ( [ param ( ' double ' , ' mu ' ) , param ( ' double ' , ' sigma ' ) ] )
## random-variable.h: static double ns3::LogNormalVariable::GetSingleValue(double mu, double sigma) [member function]
cls . add_method ( ' GetSingleValue ' ,
' double ' ,
[ param ( ' double ' , ' mu ' ) , param ( ' double ' , ' sigma ' ) ] ,
is_static = True )
2008-11-28 14:45:48 +00:00
cls . add_copy_constructor ( )
2008-10-06 17:39:35 +01:00
return
def register_Ns3NormalVariable_methods ( root_module , cls ) :
## random-variable.h: ns3::NormalVariable::NormalVariable() [constructor]
2008-07-21 15:30:15 +01:00
cls . add_constructor ( [ ] )
2008-10-06 17:39:35 +01:00
## random-variable.h: ns3::NormalVariable::NormalVariable(double m, double v) [constructor]
cls . add_constructor ( [ param ( ' double ' , ' m ' ) , param ( ' double ' , ' v ' ) ] )
## random-variable.h: ns3::NormalVariable::NormalVariable(double m, double v, double b) [constructor]
cls . add_constructor ( [ param ( ' double ' , ' m ' ) , param ( ' double ' , ' v ' ) , param ( ' double ' , ' b ' ) ] )
## random-variable.h: static double ns3::NormalVariable::GetSingleValue(double m, double v) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetSingleValue ' ,
' double ' ,
2008-10-06 17:39:35 +01:00
[ param ( ' double ' , ' m ' ) , param ( ' double ' , ' v ' ) ] ,
is_static = True )
## random-variable.h: static double ns3::NormalVariable::GetSingleValue(double m, double v, double b) [member function]
cls . add_method ( ' GetSingleValue ' ,
' double ' ,
[ param ( ' double ' , ' m ' ) , param ( ' double ' , ' v ' ) , param ( ' double ' , ' b ' ) ] ,
2008-07-21 15:30:15 +01:00
is_static = True )
2008-11-28 14:45:48 +00:00
cls . add_copy_constructor ( )
2008-07-08 10:43:58 -07:00
return
def register_Ns3Object_methods ( root_module , cls ) :
## object.h: static ns3::TypeId ns3::Object::GetTypeId() [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetTypeId ' ,
' ns3::TypeId ' ,
[ ] ,
is_static = True )
2008-07-08 10:43:58 -07:00
## object.h: ns3::Object::Object() [constructor]
2008-07-21 15:30:15 +01:00
cls . add_constructor ( [ ] )
2008-07-08 10:43:58 -07:00
## object.h: ns3::TypeId ns3::Object::GetInstanceTypeId() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetInstanceTypeId ' ,
' ns3::TypeId ' ,
[ ] ,
is_const = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## object.h: ns3::Ptr<ns3::Object> ns3::Object::GetObject(ns3::TypeId tid) const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetObject ' ,
' ns3::Ptr< ns3::Object > ' ,
[ param ( ' ns3::TypeId ' , ' tid ' ) ] ,
is_const = True , template_parameters = [ ' ns3::Object ' ] , custom_template_method_name = ' GetObject ' )
2008-07-08 10:43:58 -07:00
## object.h: void ns3::Object::Dispose() [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Dispose ' ,
' void ' ,
[ ] )
2008-07-08 10:43:58 -07:00
## object.h: void ns3::Object::AggregateObject(ns3::Ptr<ns3::Object> other) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' AggregateObject ' ,
' void ' ,
[ param ( ' ns3::Ptr< ns3::Object > ' , ' other ' ) ] )
2008-07-08 10:43:58 -07:00
## object.h: ns3::Object::AggregateIterator ns3::Object::GetAggregateIterator() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetAggregateIterator ' ,
' ns3::Object::AggregateIterator ' ,
[ ] ,
is_const = True )
2008-07-08 10:43:58 -07:00
## object.h: void ns3::Object::DoDispose() [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' DoDispose ' ,
' void ' ,
[ ] ,
visibility = ' protected ' , is_virtual = True )
2008-07-08 10:43:58 -07:00
## object.h: ns3::Object::Object(ns3::Object const & o) [copy constructor]
2008-09-02 11:12:42 +01:00
cls . add_constructor ( [ param ( ' ns3::Object const & ' , ' o ' ) ] ,
2008-07-21 15:30:15 +01:00
visibility = ' protected ' )
2008-07-08 10:43:58 -07:00
return
def register_Ns3ObjectAggregateIterator_methods ( root_module , cls ) :
## object.h: ns3::Object::AggregateIterator::AggregateIterator() [constructor]
2008-07-21 15:30:15 +01:00
cls . add_constructor ( [ ] )
2008-07-08 10:43:58 -07:00
## object.h: bool ns3::Object::AggregateIterator::HasNext() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' HasNext ' ,
' bool ' ,
[ ] ,
is_const = True )
2008-07-08 10:43:58 -07:00
## object.h: ns3::Ptr<ns3::Object const> ns3::Object::AggregateIterator::Next() [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Next ' ,
' ns3::Ptr< ns3::Object const > ' ,
[ ] )
2008-11-28 14:45:48 +00:00
cls . add_copy_constructor ( )
2008-07-08 10:43:58 -07:00
return
2008-10-06 17:39:35 +01:00
def register_Ns3ObjectFactoryChecker_methods ( root_module , cls ) :
2008-07-08 10:43:58 -07:00
cls . add_constructor ( [ ] )
2008-11-28 14:45:48 +00:00
cls . add_copy_constructor ( )
2008-07-08 10:43:58 -07:00
return
2008-10-06 17:39:35 +01:00
def register_Ns3ObjectFactoryValue_methods ( root_module , cls ) :
## object-factory.h: ns3::ObjectFactoryValue::ObjectFactoryValue() [constructor]
2008-07-21 15:30:15 +01:00
cls . add_constructor ( [ ] )
2008-10-06 17:39:35 +01:00
## object-factory.h: ns3::ObjectFactoryValue::ObjectFactoryValue(ns3::ObjectFactory const & value) [constructor]
cls . add_constructor ( [ param ( ' ns3::ObjectFactory const & ' , ' value ' ) ] )
## object-factory.h: void ns3::ObjectFactoryValue::Set(ns3::ObjectFactory const & value) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Set ' ,
' void ' ,
2008-10-06 17:39:35 +01:00
[ param ( ' ns3::ObjectFactory const & ' , ' value ' ) ] )
## object-factory.h: ns3::ObjectFactory ns3::ObjectFactoryValue::Get() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Get ' ,
2008-10-06 17:39:35 +01:00
' ns3::ObjectFactory ' ,
2008-07-21 15:30:15 +01:00
[ ] ,
is_const = True )
2008-10-06 17:39:35 +01:00
## object-factory.h: ns3::Ptr<ns3::AttributeValue> ns3::ObjectFactoryValue::Copy() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Copy ' ,
' ns3::Ptr< ns3::AttributeValue > ' ,
[ ] ,
is_const = True , is_virtual = True )
2008-10-06 17:39:35 +01:00
## object-factory.h: std::string ns3::ObjectFactoryValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' SerializeToString ' ,
' std::string ' ,
[ param ( ' ns3::Ptr< ns3::AttributeChecker const > ' , ' checker ' ) ] ,
is_const = True , is_virtual = True )
2008-10-06 17:39:35 +01:00
## object-factory.h: bool ns3::ObjectFactoryValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' DeserializeFromString ' ,
' bool ' ,
[ param ( ' std::string ' , ' value ' ) , param ( ' ns3::Ptr< ns3::AttributeChecker const > ' , ' checker ' ) ] ,
is_virtual = True )
2008-11-28 14:45:48 +00:00
cls . add_copy_constructor ( )
2008-07-08 10:43:58 -07:00
return
def register_Ns3ObjectVectorAccessor_methods ( root_module , cls ) :
## object-vector.h: bool ns3::ObjectVectorAccessor::Set(ns3::ObjectBase * object, ns3::AttributeValue const & value) const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Set ' ,
' bool ' ,
2008-09-02 11:12:42 +01:00
[ param ( ' ns3::ObjectBase * ' , ' object ' ) , param ( ' ns3::AttributeValue const & ' , ' value ' ) ] ,
2008-07-21 15:30:15 +01:00
is_const = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## object-vector.h: bool ns3::ObjectVectorAccessor::Get(ns3::ObjectBase const * object, ns3::AttributeValue & value) const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Get ' ,
' bool ' ,
2008-09-02 11:12:42 +01:00
[ param ( ' ns3::ObjectBase const * ' , ' object ' ) , param ( ' ns3::AttributeValue & ' , ' value ' ) ] ,
2008-07-21 15:30:15 +01:00
is_const = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## object-vector.h: bool ns3::ObjectVectorAccessor::HasGetter() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' HasGetter ' ,
' bool ' ,
[ ] ,
is_const = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## object-vector.h: bool ns3::ObjectVectorAccessor::HasSetter() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' HasSetter ' ,
' bool ' ,
[ ] ,
is_const = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## object-vector.h: bool ns3::ObjectVectorAccessor::DoGetN(ns3::ObjectBase const * object, uint32_t * n) const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' DoGetN ' ,
' bool ' ,
2008-09-02 11:12:42 +01:00
[ param ( ' ns3::ObjectBase const * ' , ' object ' ) , param ( ' uint32_t * ' , ' n ' ) ] ,
2008-07-21 15:30:15 +01:00
is_pure_virtual = True , is_const = True , visibility = ' private ' , is_virtual = True )
2008-07-08 10:43:58 -07:00
## object-vector.h: ns3::Ptr<ns3::Object> ns3::ObjectVectorAccessor::DoGet(ns3::ObjectBase const * object, uint32_t i) const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' DoGet ' ,
' ns3::Ptr< ns3::Object > ' ,
2008-09-02 11:12:42 +01:00
[ param ( ' ns3::ObjectBase const * ' , ' object ' ) , param ( ' uint32_t ' , ' i ' ) ] ,
2008-07-21 15:30:15 +01:00
is_pure_virtual = True , is_const = True , visibility = ' private ' , is_virtual = True )
2008-11-28 14:45:48 +00:00
cls . add_constructor ( [ ] )
cls . add_copy_constructor ( )
2008-07-08 10:43:58 -07:00
return
2008-10-06 17:39:35 +01:00
def register_Ns3ObjectVectorChecker_methods ( root_module , cls ) :
## object-vector.h: ns3::TypeId ns3::ObjectVectorChecker::GetItemTypeId() const [member function]
cls . add_method ( ' GetItemTypeId ' ,
' ns3::TypeId ' ,
2008-07-21 15:30:15 +01:00
[ ] ,
2008-10-06 17:39:35 +01:00
is_pure_virtual = True , is_const = True , is_virtual = True )
2008-11-28 14:45:48 +00:00
cls . add_constructor ( [ ] )
cls . add_copy_constructor ( )
2008-07-08 10:43:58 -07:00
return
2008-10-06 17:39:35 +01:00
def register_Ns3ObjectVectorValue_methods ( root_module , cls ) :
## object-vector.h: ns3::ObjectVectorValue::ObjectVectorValue() [constructor]
2008-07-21 15:30:15 +01:00
cls . add_constructor ( [ ] )
2008-10-06 17:39:35 +01:00
## object-vector.h: __gnu_cxx::__normal_iterator<const ns3::Ptr<ns3::Object>*,std::vector<ns3::Ptr<ns3::Object>, std::allocator<ns3::Ptr<ns3::Object> > > > ns3::ObjectVectorValue::Begin() const [member function]
cls . add_method ( ' Begin ' ,
' __gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Object > const, std::vector< ns3::Ptr< ns3::Object > > > ' ,
[ ] ,
is_const = True )
## object-vector.h: __gnu_cxx::__normal_iterator<const ns3::Ptr<ns3::Object>*,std::vector<ns3::Ptr<ns3::Object>, std::allocator<ns3::Ptr<ns3::Object> > > > ns3::ObjectVectorValue::End() const [member function]
cls . add_method ( ' End ' ,
' __gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Object > const, std::vector< ns3::Ptr< ns3::Object > > > ' ,
2008-07-21 15:30:15 +01:00
[ ] ,
is_const = True )
2008-10-06 17:39:35 +01:00
## object-vector.h: uint32_t ns3::ObjectVectorValue::GetN() const [member function]
cls . add_method ( ' GetN ' ,
' uint32_t ' ,
[ ] ,
is_const = True )
## object-vector.h: ns3::Ptr<ns3::Object> ns3::ObjectVectorValue::Get(uint32_t i) const [member function]
cls . add_method ( ' Get ' ,
' ns3::Ptr< ns3::Object > ' ,
[ param ( ' uint32_t ' , ' i ' ) ] ,
is_const = True )
## object-vector.h: ns3::Ptr<ns3::AttributeValue> ns3::ObjectVectorValue::Copy() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Copy ' ,
' ns3::Ptr< ns3::AttributeValue > ' ,
[ ] ,
is_const = True , is_virtual = True )
2008-10-06 17:39:35 +01:00
## object-vector.h: std::string ns3::ObjectVectorValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' SerializeToString ' ,
' std::string ' ,
[ param ( ' ns3::Ptr< ns3::AttributeChecker const > ' , ' checker ' ) ] ,
is_const = True , is_virtual = True )
2008-10-06 17:39:35 +01:00
## object-vector.h: bool ns3::ObjectVectorValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' DeserializeFromString ' ,
' bool ' ,
[ param ( ' std::string ' , ' value ' ) , param ( ' ns3::Ptr< ns3::AttributeChecker const > ' , ' checker ' ) ] ,
is_virtual = True )
2008-11-28 14:45:48 +00:00
cls . add_copy_constructor ( )
2008-07-08 10:43:58 -07:00
return
2008-10-06 17:39:35 +01:00
def register_Ns3ParetoVariable_methods ( root_module , cls ) :
## random-variable.h: ns3::ParetoVariable::ParetoVariable() [constructor]
2008-07-21 15:30:15 +01:00
cls . add_constructor ( [ ] )
2008-10-06 17:39:35 +01:00
## random-variable.h: ns3::ParetoVariable::ParetoVariable(double m) [constructor]
cls . add_constructor ( [ param ( ' double ' , ' m ' ) ] )
## random-variable.h: ns3::ParetoVariable::ParetoVariable(double m, double s) [constructor]
cls . add_constructor ( [ param ( ' double ' , ' m ' ) , param ( ' double ' , ' s ' ) ] )
## random-variable.h: ns3::ParetoVariable::ParetoVariable(double m, double s, double b) [constructor]
cls . add_constructor ( [ param ( ' double ' , ' m ' ) , param ( ' double ' , ' s ' ) , param ( ' double ' , ' b ' ) ] )
## random-variable.h: static double ns3::ParetoVariable::GetSingleValue(double m, double s, double b=0) [member function]
cls . add_method ( ' GetSingleValue ' ,
' double ' ,
[ param ( ' double ' , ' m ' ) , param ( ' double ' , ' s ' ) , param ( ' double ' , ' b ' , default_value = ' 0 ' ) ] ,
is_static = True )
2008-11-28 14:45:48 +00:00
cls . add_copy_constructor ( )
2008-10-06 17:39:35 +01:00
return
def register_Ns3PointerChecker_methods ( root_module , cls ) :
## pointer.h: ns3::TypeId ns3::PointerChecker::GetPointeeTypeId() const [member function]
cls . add_method ( ' GetPointeeTypeId ' ,
2008-07-21 15:30:15 +01:00
' ns3::TypeId ' ,
[ ] ,
2008-10-06 17:39:35 +01:00
is_pure_virtual = True , is_const = True , is_virtual = True )
2008-11-28 14:45:48 +00:00
cls . add_constructor ( [ ] )
cls . add_copy_constructor ( )
2008-07-08 10:43:58 -07:00
return
2008-10-06 17:39:35 +01:00
def register_Ns3PointerValue_methods ( root_module , cls ) :
## pointer.h: ns3::PointerValue::PointerValue(ns3::PointerValue const & arg0) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::PointerValue const & ' , ' arg0 ' ) ] )
## pointer.h: ns3::PointerValue::PointerValue() [constructor]
2008-07-21 15:30:15 +01:00
cls . add_constructor ( [ ] )
2008-10-06 17:39:35 +01:00
## pointer.h: ns3::PointerValue::PointerValue(ns3::Ptr<ns3::Object> object) [constructor]
cls . add_constructor ( [ param ( ' ns3::Ptr< ns3::Object > ' , ' object ' ) ] )
## pointer.h: void ns3::PointerValue::SetObject(ns3::Ptr<ns3::Object> object) [member function]
cls . add_method ( ' SetObject ' ,
2008-07-21 15:30:15 +01:00
' void ' ,
2008-10-06 17:39:35 +01:00
[ param ( ' ns3::Ptr< ns3::Object > ' , ' object ' ) ] )
## pointer.h: ns3::Ptr<ns3::Object> ns3::PointerValue::GetObject() const [member function]
cls . add_method ( ' GetObject ' ,
' ns3::Ptr< ns3::Object > ' ,
2008-07-21 15:30:15 +01:00
[ ] ,
is_const = True )
2008-10-06 17:39:35 +01:00
## pointer.h: ns3::Ptr<ns3::AttributeValue> ns3::PointerValue::Copy() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Copy ' ,
' ns3::Ptr< ns3::AttributeValue > ' ,
[ ] ,
is_const = True , is_virtual = True )
2008-10-06 17:39:35 +01:00
## pointer.h: std::string ns3::PointerValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' SerializeToString ' ,
' std::string ' ,
[ param ( ' ns3::Ptr< ns3::AttributeChecker const > ' , ' checker ' ) ] ,
is_const = True , is_virtual = True )
2008-10-06 17:39:35 +01:00
## pointer.h: bool ns3::PointerValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' DeserializeFromString ' ,
' bool ' ,
[ param ( ' std::string ' , ' value ' ) , param ( ' ns3::Ptr< ns3::AttributeChecker const > ' , ' checker ' ) ] ,
is_virtual = True )
2008-07-08 10:43:58 -07:00
return
2008-10-06 17:39:35 +01:00
def register_Ns3RandomVariableChecker_methods ( root_module , cls ) :
cls . add_constructor ( [ ] )
2008-11-28 14:45:48 +00:00
cls . add_copy_constructor ( )
2008-10-06 17:39:35 +01:00
return
2008-07-08 10:43:58 -07:00
def register_Ns3RandomVariableValue_methods ( root_module , cls ) :
## random-variable.h: ns3::RandomVariableValue::RandomVariableValue() [constructor]
2008-07-21 15:30:15 +01:00
cls . add_constructor ( [ ] )
2008-07-08 10:43:58 -07:00
## random-variable.h: ns3::RandomVariableValue::RandomVariableValue(ns3::RandomVariable const & value) [constructor]
2008-09-02 11:12:42 +01:00
cls . add_constructor ( [ param ( ' ns3::RandomVariable const & ' , ' value ' ) ] )
2008-07-08 10:43:58 -07:00
## random-variable.h: void ns3::RandomVariableValue::Set(ns3::RandomVariable const & value) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Set ' ,
' void ' ,
2008-09-02 11:12:42 +01:00
[ param ( ' ns3::RandomVariable const & ' , ' value ' ) ] )
2008-07-08 10:43:58 -07:00
## random-variable.h: ns3::RandomVariable ns3::RandomVariableValue::Get() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Get ' ,
' ns3::RandomVariable ' ,
[ ] ,
is_const = True )
2008-07-08 10:43:58 -07:00
## random-variable.h: ns3::Ptr<ns3::AttributeValue> ns3::RandomVariableValue::Copy() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Copy ' ,
' ns3::Ptr< ns3::AttributeValue > ' ,
[ ] ,
is_const = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## random-variable.h: std::string ns3::RandomVariableValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' SerializeToString ' ,
' std::string ' ,
[ param ( ' ns3::Ptr< ns3::AttributeChecker const > ' , ' checker ' ) ] ,
is_const = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## random-variable.h: bool ns3::RandomVariableValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' DeserializeFromString ' ,
' bool ' ,
[ param ( ' std::string ' , ' value ' ) , param ( ' ns3::Ptr< ns3::AttributeChecker const > ' , ' checker ' ) ] ,
is_virtual = True )
2008-11-28 14:45:48 +00:00
cls . add_copy_constructor ( )
2008-07-08 10:43:58 -07:00
return
2008-10-06 17:39:35 +01:00
def register_Ns3StringChecker_methods ( root_module , cls ) :
2008-07-21 15:30:15 +01:00
cls . add_constructor ( [ ] )
2008-11-28 14:45:48 +00:00
cls . add_copy_constructor ( )
2008-10-06 17:39:35 +01:00
return
def register_Ns3StringValue_methods ( root_module , cls ) :
## string.h: ns3::StringValue::StringValue() [constructor]
cls . add_constructor ( [ ] )
## string.h: ns3::StringValue::StringValue(std::string const & value) [constructor]
cls . add_constructor ( [ param ( ' std::string const & ' , ' value ' ) ] )
## string.h: void ns3::StringValue::Set(std::string const & value) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Set ' ,
' void ' ,
2008-10-06 17:39:35 +01:00
[ param ( ' std::string const & ' , ' value ' ) ] )
## string.h: std::string ns3::StringValue::Get() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Get ' ,
2008-10-06 17:39:35 +01:00
' std::string ' ,
2008-07-21 15:30:15 +01:00
[ ] ,
is_const = True )
2008-10-06 17:39:35 +01:00
## string.h: ns3::Ptr<ns3::AttributeValue> ns3::StringValue::Copy() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Copy ' ,
' ns3::Ptr< ns3::AttributeValue > ' ,
[ ] ,
is_const = True , is_virtual = True )
2008-10-06 17:39:35 +01:00
## string.h: std::string ns3::StringValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' SerializeToString ' ,
' std::string ' ,
[ param ( ' ns3::Ptr< ns3::AttributeChecker const > ' , ' checker ' ) ] ,
is_const = True , is_virtual = True )
2008-10-06 17:39:35 +01:00
## string.h: bool ns3::StringValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' DeserializeFromString ' ,
' bool ' ,
[ param ( ' std::string ' , ' value ' ) , param ( ' ns3::Ptr< ns3::AttributeChecker const > ' , ' checker ' ) ] ,
is_virtual = True )
2008-11-28 14:45:48 +00:00
cls . add_copy_constructor ( )
2008-07-08 10:43:58 -07:00
return
2008-10-06 17:39:35 +01:00
def register_Ns3TypeIdChecker_methods ( root_module , cls ) :
2008-07-21 15:30:15 +01:00
cls . add_constructor ( [ ] )
2008-11-28 14:45:48 +00:00
cls . add_copy_constructor ( )
2008-10-06 17:39:35 +01:00
return
def register_Ns3TypeIdValue_methods ( root_module , cls ) :
## type-id.h: ns3::TypeIdValue::TypeIdValue() [constructor]
cls . add_constructor ( [ ] )
## type-id.h: ns3::TypeIdValue::TypeIdValue(ns3::TypeId const & value) [constructor]
cls . add_constructor ( [ param ( ' ns3::TypeId const & ' , ' value ' ) ] )
## type-id.h: void ns3::TypeIdValue::Set(ns3::TypeId const & value) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Set ' ,
' void ' ,
2008-10-06 17:39:35 +01:00
[ param ( ' ns3::TypeId const & ' , ' value ' ) ] )
## type-id.h: ns3::TypeId ns3::TypeIdValue::Get() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Get ' ,
2008-10-06 17:39:35 +01:00
' ns3::TypeId ' ,
2008-07-21 15:30:15 +01:00
[ ] ,
is_const = True )
2008-10-06 17:39:35 +01:00
## type-id.h: ns3::Ptr<ns3::AttributeValue> ns3::TypeIdValue::Copy() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Copy ' ,
' ns3::Ptr< ns3::AttributeValue > ' ,
[ ] ,
is_const = True , is_virtual = True )
2008-10-06 17:39:35 +01:00
## type-id.h: std::string ns3::TypeIdValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' SerializeToString ' ,
' std::string ' ,
[ param ( ' ns3::Ptr< ns3::AttributeChecker const > ' , ' checker ' ) ] ,
is_const = True , is_virtual = True )
2008-10-06 17:39:35 +01:00
## type-id.h: bool ns3::TypeIdValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' DeserializeFromString ' ,
' bool ' ,
[ param ( ' std::string ' , ' value ' ) , param ( ' ns3::Ptr< ns3::AttributeChecker const > ' , ' checker ' ) ] ,
is_virtual = True )
2008-11-28 14:45:48 +00:00
cls . add_copy_constructor ( )
2008-07-08 10:43:58 -07:00
return
2008-10-06 17:39:35 +01:00
def register_Ns3UintegerValue_methods ( root_module , cls ) :
## uinteger.h: ns3::UintegerValue::UintegerValue() [constructor]
2008-07-21 15:30:15 +01:00
cls . add_constructor ( [ ] )
2008-10-06 17:39:35 +01:00
## uinteger.h: ns3::UintegerValue::UintegerValue(uint64_t const & value) [constructor]
cls . add_constructor ( [ param ( ' uint64_t const & ' , ' value ' ) ] )
## uinteger.h: void ns3::UintegerValue::Set(uint64_t const & value) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Set ' ,
' void ' ,
2008-10-06 17:39:35 +01:00
[ param ( ' uint64_t const & ' , ' value ' ) ] )
## uinteger.h: uint64_t ns3::UintegerValue::Get() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Get ' ,
2008-10-06 17:39:35 +01:00
' uint64_t ' ,
2008-07-21 15:30:15 +01:00
[ ] ,
is_const = True )
2008-10-06 17:39:35 +01:00
## uinteger.h: ns3::Ptr<ns3::AttributeValue> ns3::UintegerValue::Copy() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Copy ' ,
' ns3::Ptr< ns3::AttributeValue > ' ,
[ ] ,
is_const = True , is_virtual = True )
2008-10-06 17:39:35 +01:00
## uinteger.h: std::string ns3::UintegerValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' SerializeToString ' ,
' std::string ' ,
[ param ( ' ns3::Ptr< ns3::AttributeChecker const > ' , ' checker ' ) ] ,
is_const = True , is_virtual = True )
2008-10-06 17:39:35 +01:00
## uinteger.h: bool ns3::UintegerValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' DeserializeFromString ' ,
' bool ' ,
[ param ( ' std::string ' , ' value ' ) , param ( ' ns3::Ptr< ns3::AttributeChecker const > ' , ' checker ' ) ] ,
is_virtual = True )
2008-11-28 14:45:48 +00:00
cls . add_copy_constructor ( )
2008-07-14 11:42:49 +01:00
return
2008-07-08 10:43:58 -07:00
def register_Ns3TracedValue__Unsigned_int_methods ( root_module , cls ) :
## traced-value.h: ns3::TracedValue<unsigned int>::TracedValue() [constructor]
2008-07-21 15:30:15 +01:00
cls . add_constructor ( [ ] )
2008-07-08 10:43:58 -07:00
## traced-value.h: ns3::TracedValue<unsigned int>::TracedValue(ns3::TracedValue<unsigned int> const & o) [copy constructor]
2008-10-06 17:39:35 +01:00
cls . add_constructor ( [ param ( ' ns3::TracedValue< unsigned int > const & ' , ' o ' ) ] )
2008-07-08 10:43:58 -07:00
## traced-value.h: ns3::TracedValue<unsigned int>::TracedValue(unsigned int const & v) [constructor]
2008-09-02 11:12:42 +01:00
cls . add_constructor ( [ param ( ' unsigned int const & ' , ' v ' ) ] )
2008-07-08 10:43:58 -07:00
## traced-value.h: ns3::TracedValue<unsigned int>::TracedValue(ns3::IntegerValue const & value) [constructor]
2008-09-02 11:12:42 +01:00
cls . add_constructor ( [ param ( ' ns3::IntegerValue const & ' , ' value ' ) ] )
2008-07-08 10:43:58 -07:00
## traced-value.h: ns3::TracedValue<unsigned int>::TracedValue(ns3::UintegerValue const & value) [constructor]
2008-09-02 11:12:42 +01:00
cls . add_constructor ( [ param ( ' ns3::UintegerValue const & ' , ' value ' ) ] )
2008-07-08 10:43:58 -07:00
## traced-value.h: ns3::TracedValue<unsigned int>::TracedValue(ns3::BooleanValue const & value) [constructor]
2008-09-02 11:12:42 +01:00
cls . add_constructor ( [ param ( ' ns3::BooleanValue const & ' , ' value ' ) ] )
2008-07-08 10:43:58 -07:00
## traced-value.h: ns3::TracedValue<unsigned int>::TracedValue(ns3::EnumValue const & value) [constructor]
2008-09-02 11:12:42 +01:00
cls . add_constructor ( [ param ( ' ns3::EnumValue const & ' , ' value ' ) ] )
2008-07-08 10:43:58 -07:00
## traced-value.h: void ns3::TracedValue<unsigned int>::ConnectWithoutContext(ns3::CallbackBase const & cb) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' ConnectWithoutContext ' ,
' void ' ,
2008-09-02 11:12:42 +01:00
[ param ( ' ns3::CallbackBase const & ' , ' cb ' ) ] )
2008-10-27 12:47:33 +01:00
## traced-value.h: void ns3::TracedValue<unsigned int>::Connect(ns3::CallbackBase const & cb, std::string path) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Connect ' ,
' void ' ,
2008-09-02 11:12:42 +01:00
[ param ( ' ns3::CallbackBase const & ' , ' cb ' ) , param ( ' std::string ' , ' path ' ) ] )
2008-07-08 10:43:58 -07:00
## traced-value.h: void ns3::TracedValue<unsigned int>::DisconnectWithoutContext(ns3::CallbackBase const & cb) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' DisconnectWithoutContext ' ,
' void ' ,
2008-09-02 11:12:42 +01:00
[ param ( ' ns3::CallbackBase const & ' , ' cb ' ) ] )
2008-10-27 12:47:33 +01:00
## traced-value.h: void ns3::TracedValue<unsigned int>::Disconnect(ns3::CallbackBase const & cb, std::string path) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Disconnect ' ,
' void ' ,
2008-09-02 11:12:42 +01:00
[ param ( ' ns3::CallbackBase const & ' , ' cb ' ) , param ( ' std::string ' , ' path ' ) ] )
2008-07-08 10:43:58 -07:00
## traced-value.h: void ns3::TracedValue<unsigned int>::Set(unsigned int const & v) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Set ' ,
' void ' ,
2008-09-02 11:12:42 +01:00
[ param ( ' unsigned int const & ' , ' v ' ) ] )
2008-07-08 10:43:58 -07:00
## traced-value.h: unsigned int ns3::TracedValue<unsigned int>::Get() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Get ' ,
' unsigned int ' ,
[ ] ,
is_const = True )
2008-07-08 10:43:58 -07:00
return
2008-10-27 12:47:33 +01:00
def register_Ns3ConfigMatchContainer_methods ( root_module , cls ) :
## config.h: ns3::Config::MatchContainer::MatchContainer() [constructor]
cls . add_constructor ( [ ] )
## config.h: ns3::Config::MatchContainer::MatchContainer(std::vector<ns3::Ptr<ns3::Object>, std::allocator<ns3::Ptr<ns3::Object> > > const & objects, std::vector<std::string, std::allocator<std::string> > const & contexts, std::string path) [constructor]
cls . add_constructor ( [ param ( ' std::vector< ns3::Ptr< ns3::Object > > const & ' , ' objects ' ) , param ( ' std::vector< std::string > const & ' , ' contexts ' ) , param ( ' std::string ' , ' path ' ) ] )
## config.h: __gnu_cxx::__normal_iterator<const ns3::Ptr<ns3::Object>*,std::vector<ns3::Ptr<ns3::Object>, std::allocator<ns3::Ptr<ns3::Object> > > > ns3::Config::MatchContainer::Begin() const [member function]
cls . add_method ( ' Begin ' ,
' __gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Object > const, std::vector< ns3::Ptr< ns3::Object > > > ' ,
[ ] ,
is_const = True )
## config.h: __gnu_cxx::__normal_iterator<const ns3::Ptr<ns3::Object>*,std::vector<ns3::Ptr<ns3::Object>, std::allocator<ns3::Ptr<ns3::Object> > > > ns3::Config::MatchContainer::End() const [member function]
cls . add_method ( ' End ' ,
' __gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Object > const, std::vector< ns3::Ptr< ns3::Object > > > ' ,
[ ] ,
is_const = True )
## config.h: uint32_t ns3::Config::MatchContainer::GetN() const [member function]
cls . add_method ( ' GetN ' ,
' uint32_t ' ,
[ ] ,
is_const = True )
## config.h: ns3::Ptr<ns3::Object> ns3::Config::MatchContainer::Get(uint32_t i) const [member function]
cls . add_method ( ' Get ' ,
' ns3::Ptr< ns3::Object > ' ,
[ param ( ' uint32_t ' , ' i ' ) ] ,
is_const = True )
## config.h: std::string ns3::Config::MatchContainer::GetMatchedPath(uint32_t i) const [member function]
cls . add_method ( ' GetMatchedPath ' ,
' std::string ' ,
[ param ( ' uint32_t ' , ' i ' ) ] ,
is_const = True )
## config.h: std::string ns3::Config::MatchContainer::GetPath() const [member function]
cls . add_method ( ' GetPath ' ,
' std::string ' ,
[ ] ,
is_const = True )
## config.h: void ns3::Config::MatchContainer::Set(std::string name, ns3::AttributeValue const & value) [member function]
cls . add_method ( ' Set ' ,
' void ' ,
[ param ( ' std::string ' , ' name ' ) , param ( ' ns3::AttributeValue const & ' , ' value ' ) ] )
## config.h: void ns3::Config::MatchContainer::Connect(std::string name, ns3::CallbackBase const & cb) [member function]
cls . add_method ( ' Connect ' ,
' void ' ,
[ param ( ' std::string ' , ' name ' ) , param ( ' ns3::CallbackBase const & ' , ' cb ' ) ] )
## config.h: void ns3::Config::MatchContainer::ConnectWithoutContext(std::string name, ns3::CallbackBase const & cb) [member function]
cls . add_method ( ' ConnectWithoutContext ' ,
' void ' ,
[ param ( ' std::string ' , ' name ' ) , param ( ' ns3::CallbackBase const & ' , ' cb ' ) ] )
## config.h: void ns3::Config::MatchContainer::Disconnect(std::string name, ns3::CallbackBase const & cb) [member function]
cls . add_method ( ' Disconnect ' ,
' void ' ,
[ param ( ' std::string ' , ' name ' ) , param ( ' ns3::CallbackBase const & ' , ' cb ' ) ] )
## config.h: void ns3::Config::MatchContainer::DisconnectWithoutContext(std::string name, ns3::CallbackBase const & cb) [member function]
cls . add_method ( ' DisconnectWithoutContext ' ,
' void ' ,
[ param ( ' std::string ' , ' name ' ) , param ( ' ns3::CallbackBase const & ' , ' cb ' ) ] )
2008-11-28 14:45:48 +00:00
cls . add_copy_constructor ( )
2008-10-27 12:47:33 +01:00
return
2008-07-08 10:43:58 -07:00
def register_functions ( root_module ) :
module = root_module
2008-11-08 15:00:28 +00:00
## breakpoint.h: extern void ns3::BreakpointFallback() [free function]
module . add_function ( ' BreakpointFallback ' ,
' void ' ,
[ ] )
## ptr.h: extern ns3::Ptr<ns3::ObjectVectorValue> ns3::Create() [free function]
module . add_function ( ' Create ' ,
' ns3::Ptr< ns3::ObjectVectorValue > ' ,
[ ] ,
template_parameters = [ ' ns3::ObjectVectorValue ' ] )
## ptr.h: extern ns3::Ptr<ns3::PointerValue> ns3::Create() [free function]
module . add_function ( ' Create ' ,
' ns3::Ptr< ns3::PointerValue > ' ,
[ ] ,
template_parameters = [ ' ns3::PointerValue ' ] )
## log.h: extern void ns3::LogComponentDisable(char const * name, ns3::LogLevel level) [free function]
module . add_function ( ' LogComponentDisable ' ,
' void ' ,
[ param ( ' char const * ' , ' name ' ) , param ( ' ns3::LogLevel ' , ' level ' ) ] )
## log.h: extern void ns3::LogComponentDisableAll(ns3::LogLevel level) [free function]
module . add_function ( ' LogComponentDisableAll ' ,
' void ' ,
[ param ( ' ns3::LogLevel ' , ' level ' ) ] )
## log.h: extern void ns3::LogComponentEnable(char const * name, ns3::LogLevel level) [free function]
module . add_function ( ' LogComponentEnable ' ,
' void ' ,
[ param ( ' char const * ' , ' name ' ) , param ( ' ns3::LogLevel ' , ' level ' ) ] )
## log.h: extern void ns3::LogComponentEnableAll(ns3::LogLevel level) [free function]
module . add_function ( ' LogComponentEnableAll ' ,
' void ' ,
[ param ( ' ns3::LogLevel ' , ' level ' ) ] )
2008-07-08 10:43:58 -07:00
## boolean.h: extern ns3::Ptr<ns3::AttributeChecker const> ns3::MakeBooleanChecker() [free function]
2008-07-21 15:30:15 +01:00
module . add_function ( ' MakeBooleanChecker ' ,
' ns3::Ptr< ns3::AttributeChecker const > ' ,
[ ] )
2008-11-08 15:00:28 +00:00
## callback.h: extern ns3::Ptr<ns3::AttributeChecker const> ns3::MakeCallbackChecker() [free function]
module . add_function ( ' MakeCallbackChecker ' ,
' ns3::Ptr< ns3::AttributeChecker const > ' ,
[ ] )
## enum.h: extern ns3::Ptr<ns3::AttributeChecker const> ns3::MakeEnumChecker(int v1, std::string n1, int v2=0, std::string n2="", int v3=0, std::string n3="", int v4=0, std::string n4="", int v5=0, std::string n5="", int v6=0, std::string n6="", int v7=0, std::string n7="", int v8=0, std::string n8="", int v9=0, std::string n9="", int v10=0, std::string n10="", int v11=0, std::string n11="", int v12=0, std::string n12="") [free function]
module . add_function ( ' MakeEnumChecker ' ,
' ns3::Ptr< ns3::AttributeChecker const > ' ,
[ param ( ' int ' , ' v1 ' ) , param ( ' std::string ' , ' n1 ' ) , param ( ' int ' , ' v2 ' , default_value = ' 0 ' ) , param ( ' std::string ' , ' n2 ' , default_value = ' " " ' ) , param ( ' int ' , ' v3 ' , default_value = ' 0 ' ) , param ( ' std::string ' , ' n3 ' , default_value = ' " " ' ) , param ( ' int ' , ' v4 ' , default_value = ' 0 ' ) , param ( ' std::string ' , ' n4 ' , default_value = ' " " ' ) , param ( ' int ' , ' v5 ' , default_value = ' 0 ' ) , param ( ' std::string ' , ' n5 ' , default_value = ' " " ' ) , param ( ' int ' , ' v6 ' , default_value = ' 0 ' ) , param ( ' std::string ' , ' n6 ' , default_value = ' " " ' ) , param ( ' int ' , ' v7 ' , default_value = ' 0 ' ) , param ( ' std::string ' , ' n7 ' , default_value = ' " " ' ) , param ( ' int ' , ' v8 ' , default_value = ' 0 ' ) , param ( ' std::string ' , ' n8 ' , default_value = ' " " ' ) , param ( ' int ' , ' v9 ' , default_value = ' 0 ' ) , param ( ' std::string ' , ' n9 ' , default_value = ' " " ' ) , param ( ' int ' , ' v10 ' , default_value = ' 0 ' ) , param ( ' std::string ' , ' n10 ' , default_value = ' " " ' ) , param ( ' int ' , ' v11 ' , default_value = ' 0 ' ) , param ( ' std::string ' , ' n11 ' , default_value = ' " " ' ) , param ( ' int ' , ' v12 ' , default_value = ' 0 ' ) , param ( ' std::string ' , ' n12 ' , default_value = ' " " ' ) ] )
## object-factory.h: extern ns3::Ptr<ns3::AttributeChecker const> ns3::MakeObjectFactoryChecker() [free function]
module . add_function ( ' MakeObjectFactoryChecker ' ,
' ns3::Ptr< ns3::AttributeChecker const > ' ,
[ ] )
## random-variable.h: extern ns3::Ptr<ns3::AttributeChecker const> ns3::MakeRandomVariableChecker() [free function]
module . add_function ( ' MakeRandomVariableChecker ' ,
' ns3::Ptr< ns3::AttributeChecker const > ' ,
[ ] )
## string.h: extern ns3::Ptr<ns3::AttributeChecker const> ns3::MakeStringChecker() [free function]
module . add_function ( ' MakeStringChecker ' ,
' ns3::Ptr< ns3::AttributeChecker const > ' ,
[ ] )
## type-id.h: extern ns3::Ptr<ns3::AttributeChecker const> ns3::MakeTypeIdChecker() [free function]
module . add_function ( ' MakeTypeIdChecker ' ,
' ns3::Ptr< ns3::AttributeChecker const > ' ,
[ ] )
2008-07-08 10:43:58 -07:00
## type-name.h: extern std::string ns3::TypeNameGet() [free function]
2008-07-21 15:30:15 +01:00
module . add_function ( ' TypeNameGet ' ,
' std::string ' ,
[ ] ,
template_parameters = [ ' double ' ] )
2008-07-08 10:43:58 -07:00
## type-name.h: extern std::string ns3::TypeNameGet() [free function]
2008-07-21 15:30:15 +01:00
module . add_function ( ' TypeNameGet ' ,
' std::string ' ,
[ ] ,
template_parameters = [ ' float ' ] )
2008-07-08 10:43:58 -07:00
## type-name.h: extern std::string ns3::TypeNameGet() [free function]
2008-07-21 15:30:15 +01:00
module . add_function ( ' TypeNameGet ' ,
' std::string ' ,
[ ] ,
2008-11-28 14:45:48 +00:00
template_parameters = [ ' long ' ] )
2008-07-08 10:43:58 -07:00
## type-name.h: extern std::string ns3::TypeNameGet() [free function]
2008-07-21 15:30:15 +01:00
module . add_function ( ' TypeNameGet ' ,
' std::string ' ,
[ ] ,
template_parameters = [ ' int ' ] )
2008-07-08 10:43:58 -07:00
## type-name.h: extern std::string ns3::TypeNameGet() [free function]
2008-07-21 15:30:15 +01:00
module . add_function ( ' TypeNameGet ' ,
' std::string ' ,
[ ] ,
template_parameters = [ ' short ' ] )
2008-07-08 10:43:58 -07:00
## type-name.h: extern std::string ns3::TypeNameGet() [free function]
2008-07-21 15:30:15 +01:00
module . add_function ( ' TypeNameGet ' ,
' std::string ' ,
[ ] ,
template_parameters = [ ' signed char ' ] )
2008-07-08 10:43:58 -07:00
## type-name.h: extern std::string ns3::TypeNameGet() [free function]
2008-07-21 15:30:15 +01:00
module . add_function ( ' TypeNameGet ' ,
' std::string ' ,
[ ] ,
2008-11-28 14:45:48 +00:00
template_parameters = [ ' unsigned long ' ] )
2008-07-08 10:43:58 -07:00
## type-name.h: extern std::string ns3::TypeNameGet() [free function]
2008-07-21 15:30:15 +01:00
module . add_function ( ' TypeNameGet ' ,
' std::string ' ,
[ ] ,
template_parameters = [ ' unsigned int ' ] )
2008-07-08 10:43:58 -07:00
## type-name.h: extern std::string ns3::TypeNameGet() [free function]
2008-07-21 15:30:15 +01:00
module . add_function ( ' TypeNameGet ' ,
' std::string ' ,
[ ] ,
template_parameters = [ ' unsigned short ' ] )
2008-07-08 10:43:58 -07:00
## type-name.h: extern std::string ns3::TypeNameGet() [free function]
2008-07-21 15:30:15 +01:00
module . add_function ( ' TypeNameGet ' ,
' std::string ' ,
[ ] ,
template_parameters = [ ' unsigned char ' ] )
2008-07-08 10:43:58 -07:00
register_functions_ns3_Config ( module . get_submodule ( ' Config ' ) , root_module )
2008-11-08 15:00:28 +00:00
register_functions_ns3_TimeStepPrecision ( module . get_submodule ( ' TimeStepPrecision ' ) , root_module )
register_functions_ns3_internal ( module . get_submodule ( ' internal ' ) , root_module )
2008-07-08 10:43:58 -07:00
register_functions_ns3_olsr ( module . get_submodule ( ' olsr ' ) , root_module )
return
def register_functions_ns3_Config ( module , root_module ) :
## config.h: extern void ns3::Config::Connect(std::string path, ns3::CallbackBase const & cb) [free function]
2008-07-21 15:30:15 +01:00
module . add_function ( ' Connect ' ,
' void ' ,
2008-09-02 11:12:42 +01:00
[ param ( ' std::string ' , ' path ' ) , param ( ' ns3::CallbackBase const & ' , ' cb ' ) ] )
2008-07-08 10:43:58 -07:00
## config.h: extern void ns3::Config::ConnectWithoutContext(std::string path, ns3::CallbackBase const & cb) [free function]
2008-07-21 15:30:15 +01:00
module . add_function ( ' ConnectWithoutContext ' ,
' void ' ,
2008-09-02 11:12:42 +01:00
[ param ( ' std::string ' , ' path ' ) , param ( ' ns3::CallbackBase const & ' , ' cb ' ) ] )
2008-10-27 12:47:33 +01:00
## config.h: extern void ns3::Config::Disconnect(std::string path, ns3::CallbackBase const & cb) [free function]
module . add_function ( ' Disconnect ' ,
' void ' ,
[ param ( ' std::string ' , ' path ' ) , param ( ' ns3::CallbackBase const & ' , ' cb ' ) ] )
2008-11-08 15:00:28 +00:00
## config.h: extern void ns3::Config::DisconnectWithoutContext(std::string path, ns3::CallbackBase const & cb) [free function]
module . add_function ( ' DisconnectWithoutContext ' ,
' void ' ,
[ param ( ' std::string ' , ' path ' ) , param ( ' ns3::CallbackBase const & ' , ' cb ' ) ] )
## config.h: extern ns3::Ptr<ns3::Object> ns3::Config::GetRootNamespaceObject(uint32_t i) [free function]
module . add_function ( ' GetRootNamespaceObject ' ,
' ns3::Ptr< ns3::Object > ' ,
[ param ( ' uint32_t ' , ' i ' ) ] )
2008-07-08 10:43:58 -07:00
## config.h: extern uint32_t ns3::Config::GetRootNamespaceObjectN() [free function]
2008-07-21 15:30:15 +01:00
module . add_function ( ' GetRootNamespaceObjectN ' ,
' uint32_t ' ,
[ ] )
2008-11-08 15:00:28 +00:00
## config.h: extern ns3::Config::MatchContainer ns3::Config::LookupMatches(std::string path) [free function]
module . add_function ( ' LookupMatches ' ,
' ns3::Config::MatchContainer ' ,
[ param ( ' std::string ' , ' path ' ) ] )
## config.h: extern void ns3::Config::RegisterRootNamespaceObject(ns3::Ptr<ns3::Object> obj) [free function]
module . add_function ( ' RegisterRootNamespaceObject ' ,
' void ' ,
[ param ( ' ns3::Ptr< ns3::Object > ' , ' obj ' ) ] )
2008-07-08 10:43:58 -07:00
## config.h: extern void ns3::Config::Set(std::string path, ns3::AttributeValue const & value) [free function]
2008-07-21 15:30:15 +01:00
module . add_function ( ' Set ' ,
' void ' ,
2008-09-02 11:12:42 +01:00
[ param ( ' std::string ' , ' path ' ) , param ( ' ns3::AttributeValue const & ' , ' value ' ) ] )
2008-11-08 15:00:28 +00:00
## config.h: extern void ns3::Config::SetDefault(std::string name, ns3::AttributeValue const & value) [free function]
module . add_function ( ' SetDefault ' ,
' void ' ,
[ param ( ' std::string ' , ' name ' ) , param ( ' ns3::AttributeValue const & ' , ' value ' ) ] )
## config.h: extern bool ns3::Config::SetDefaultFailSafe(std::string name, ns3::AttributeValue const & value) [free function]
module . add_function ( ' SetDefaultFailSafe ' ,
' bool ' ,
[ param ( ' std::string ' , ' name ' ) , param ( ' ns3::AttributeValue const & ' , ' value ' ) ] )
2008-07-08 10:43:58 -07:00
## config.h: extern void ns3::Config::SetGlobal(std::string name, ns3::AttributeValue const & value) [free function]
2008-07-21 15:30:15 +01:00
module . add_function ( ' SetGlobal ' ,
' void ' ,
2008-09-02 11:12:42 +01:00
[ param ( ' std::string ' , ' name ' ) , param ( ' ns3::AttributeValue const & ' , ' value ' ) ] )
2008-11-08 15:00:28 +00:00
## config.h: extern bool ns3::Config::SetGlobalFailSafe(std::string name, ns3::AttributeValue const & value) [free function]
module . add_function ( ' SetGlobalFailSafe ' ,
' bool ' ,
[ param ( ' std::string ' , ' name ' ) , param ( ' ns3::AttributeValue const & ' , ' value ' ) ] )
## config.h: extern void ns3::Config::UnregisterRootNamespaceObject(ns3::Ptr<ns3::Object> obj) [free function]
module . add_function ( ' UnregisterRootNamespaceObject ' ,
2008-07-21 15:30:15 +01:00
' void ' ,
[ param ( ' ns3::Ptr< ns3::Object > ' , ' obj ' ) ] )
2008-07-08 10:43:58 -07:00
return
2008-11-08 15:00:28 +00:00
def register_functions_ns3_TimeStepPrecision ( module , root_module ) :
return
def register_functions_ns3_internal ( module , root_module ) :
## double.h: extern ns3::Ptr<ns3::AttributeChecker const> ns3::internal::MakeDoubleChecker(double min, double max, std::string name) [free function]
module . add_function ( ' MakeDoubleChecker ' ,
' ns3::Ptr< ns3::AttributeChecker const > ' ,
[ param ( ' double ' , ' min ' ) , param ( ' double ' , ' max ' ) , param ( ' std::string ' , ' name ' ) ] )
## integer.h: extern ns3::Ptr<ns3::AttributeChecker const> ns3::internal::MakeIntegerChecker(int64_t min, int64_t max, std::string name) [free function]
module . add_function ( ' MakeIntegerChecker ' ,
' ns3::Ptr< ns3::AttributeChecker const > ' ,
[ param ( ' int64_t ' , ' min ' ) , param ( ' int64_t ' , ' max ' ) , param ( ' std::string ' , ' name ' ) ] )
## uinteger.h: extern ns3::Ptr<ns3::AttributeChecker const> ns3::internal::MakeUintegerChecker(uint64_t min, uint64_t max, std::string name) [free function]
module . add_function ( ' MakeUintegerChecker ' ,
' ns3::Ptr< ns3::AttributeChecker const > ' ,
[ param ( ' uint64_t ' , ' min ' ) , param ( ' uint64_t ' , ' max ' ) , param ( ' std::string ' , ' name ' ) ] )
2008-07-08 10:43:58 -07:00
return
def register_functions_ns3_olsr ( module , root_module ) :
return