//!method to get all the contexts contained in the current direcotry
// Get only objects, isn't iterative
- vector<string> list_directory()
+ std::vector<std::string> list_directory()
+ throw(ServiceUnreachable);
+
+ //!methods that lists all objects RECUSIVELY in the current directory
+ std::vector<std::string> list_directory_recurs()
throw(ServiceUnreachable);
//! method to destroy an association Path-Object Reference
virtual void Destroy_Directory(const char* Path)
throw(ServiceUnreachable);
+ //! get IORstring naming service address
+ char * getIORaddr();
+
protected:
CORBA::ORB_ptr _orb;
CosNaming::NamingContext_var _root_context, _current_context;
int& length_result,
CosNaming::NamingContext_var context_to_found,
CORBA::Boolean& _continue);
+
+ //! internal method to list all (recursively) the objects contains in absCurDirectory/relativeSubDir.
+ void _list_directory_recurs(std::vector<std::string>& myList, const char *relativeSubDir,const char *absCurDirectory);
+
};
#endif // SALOME_NAMINGSERVICE_H