src/core/bindings/modulegen__gcc_LP64.py
changeset 7586 c94d841b44fb
parent 7420 ca9c09839724
child 7723 dfd109d5caf0
--- a/src/core/bindings/modulegen__gcc_LP64.py	Mon Nov 14 19:47:37 2011 +0000
+++ b/src/core/bindings/modulegen__gcc_LP64.py	Mon Nov 14 13:00:58 2011 -0800
@@ -319,6 +319,12 @@
     register_types_ns3_FatalImpl(nested_module)
     
     
+    ## Register a nested module for the namespace SystemPath
+    
+    nested_module = module.add_cpp_namespace('SystemPath')
+    register_types_ns3_SystemPath(nested_module)
+    
+    
     ## Register a nested module for the namespace internal
     
     nested_module = module.add_cpp_namespace('internal')
@@ -337,6 +343,11 @@
     root_module = module.get_root()
     
 
+def register_types_ns3_SystemPath(module):
+    root_module = module.get_root()
+    
+    module.add_container('std::list< std::string >', 'std::string', container_type='list')
+
 def register_types_ns3_internal(module):
     root_module = module.get_root()
     
@@ -4180,6 +4191,7 @@
                         template_parameters=['unsigned char'])
     register_functions_ns3_Config(module.get_submodule('Config'), root_module)
     register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module)
+    register_functions_ns3_SystemPath(module.get_submodule('SystemPath'), root_module)
     register_functions_ns3_internal(module.get_submodule('internal'), root_module)
     return
 
@@ -4261,6 +4273,37 @@
                         [param('std::ostream *', 'stream')])
     return
 
+def register_functions_ns3_SystemPath(module, root_module):
+    ## system-path.h (module 'core'): extern std::string ns3::SystemPath::Append(std::string left, std::string right) [free function]
+    module.add_function('Append', 
+                        'std::string', 
+                        [param('std::string', 'left'), param('std::string', 'right')])
+    ## system-path.h (module 'core'): extern std::string ns3::SystemPath::FindSelfDirectory() [free function]
+    module.add_function('FindSelfDirectory', 
+                        'std::string', 
+                        [])
+    ## system-path.h (module 'core'): extern std::string ns3::SystemPath::Join(std::_List_const_iterator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > begin, std::_List_const_iterator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > end) [free function]
+    module.add_function('Join', 
+                        'std::string', 
+                        [param('std::_List_const_iterator< std::basic_string< char, std::char_traits< char >, std::allocator< char > > >', 'begin'), param('std::_List_const_iterator< std::basic_string< char, std::char_traits< char >, std::allocator< char > > >', 'end')])
+    ## system-path.h (module 'core'): extern void ns3::SystemPath::MakeDirectories(std::string path) [free function]
+    module.add_function('MakeDirectories', 
+                        'void', 
+                        [param('std::string', 'path')])
+    ## system-path.h (module 'core'): extern std::string ns3::SystemPath::MakeTemporaryDirectoryName() [free function]
+    module.add_function('MakeTemporaryDirectoryName', 
+                        'std::string', 
+                        [])
+    ## system-path.h (module 'core'): extern std::list<std::string, std::allocator<std::string> > ns3::SystemPath::ReadFiles(std::string path) [free function]
+    module.add_function('ReadFiles', 
+                        'std::list< std::string >', 
+                        [param('std::string', 'path')])
+    ## system-path.h (module 'core'): extern std::list<std::string, std::allocator<std::string> > ns3::SystemPath::Split(std::string path) [free function]
+    module.add_function('Split', 
+                        'std::list< std::string >', 
+                        [param('std::string', 'path')])
+    return
+
 def register_functions_ns3_internal(module, root_module):
     ## double.h (module 'core'): extern ns3::Ptr<ns3::AttributeChecker const> ns3::internal::MakeDoubleChecker(double min, double max, std::string name) [free function]
     module.add_function('MakeDoubleChecker',