Package saga :: Package file :: Module _file :: Class directory
[hide private]
[frames] | no frames]

Class directory

          object --+                
                   |                
         ??.instance --+            
                       |            
          _engine.object --+        
                           |        
name_space._name_space.entry --+    
                               |    
name_space._name_space.directory --+
                                   |
                                  directory

Nested Classes [hide private]

Inherited from _engine.object: object_type

Instance Methods [hide private]
 
__init__(...)
__init__( (object)arg1, (url)arg2) -> None :
 
get_size(...)
get_size( (directory)arg1, (url)arg2) -> int : returns the size of this directory (plain)
 
is_file(...)
is_file( (directory)arg1, (url)arg2) -> bool : returns, whether the given item refers to a file (plain)
 
open(...)
open( (directory)arg1, (url)arg2 [, (int)arg3]) -> file : opens the given file in this directory (plain)
 
open_dir(...)
open_dir( (directory)arg1, (url)arg2 [, (int)arg3]) -> directory : opens the given directory in this directory (plain)

Inherited from name_space._name_space.directory: change_dir, copy, exists, find, get_entry, get_num_entries, is_dir, is_entry, is_link, link, list, make_dir, move, permissions_allow, permissions_deny, read_link, remove

Inherited from name_space._name_space.entry: close, get_cwd, get_group, get_name, get_owner, get_url, permissions_check

Inherited from _engine.object: __reduce__, clone, get_id, get_object_type_name, get_session, get_type

Inherited from unreachable.instance: __new__

Inherited from object: __delattr__, __getattribute__, __hash__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables [hide private]

Inherited from _engine.object: Advert, AdvertDirectory, Buffer, Context, Directory, Endpoint, Exception, File, IOVec, Job, JobDescription, JobSelf, JobService, LogicalDirectory, LogicalFile, Metric, Msg, NSDirectory, NSEntry, Parameter, RPC, Session, Stream, StreamService, Task, TaskContainer, URL, __instance_size__

Properties [hide private]

Inherited from _engine.object: id, session, type

Inherited from object: __class__

Method Details [hide private]

__init__(...)
(Constructor)

 

__init__( (object)arg1, (url)arg2) -> None :

    C++ signature :
        void __init__(_object*,saga::url)

__init__( (object)arg1, (url)arg2, (int)arg3) -> None :

    C++ signature :
        void __init__(_object*,saga::url,int)

__init__( (object)arg1, (session)arg2, (url)arg3) -> None :

    C++ signature :
        void __init__(_object*,saga::session,saga::url)

__init__( (object)arg1, (session)arg2, (url)arg3, (int)arg4) -> None :

    C++ signature :
        void __init__(_object*,saga::session,saga::url,int)

Overrides: object.__init__

get_size(...)

 

get_size( (directory)arg1, (url)arg2) -> int :
    returns the size of this directory (plain)

    C++ signature :
        long long get_size(saga::filesystem::directory,saga::url)

get_size( (directory)arg1, (routine_type)arg2, (url)arg3) -> task :
    returns the size of this directory (task based)

    C++ signature :
        saga::task get_size(saga::filesystem::directory,saga::python::routine_type,saga::url)

is_file(...)

 

is_file( (directory)arg1, (url)arg2) -> bool :
    returns, whether the given item refers to a file (plain)

    C++ signature :
        bool is_file(saga::filesystem::directory,saga::url)

is_file( (directory)arg1, (routine_type)arg2, (url)arg3) -> task :
    returns, whether the given item refers to a file (task based)

    C++ signature :
        saga::task is_file(saga::filesystem::directory,saga::python::routine_type,saga::url)

open(...)

 

open( (directory)arg1, (url)arg2 [, (int)arg3]) -> file :
    opens the given file in this directory (plain)

    C++ signature :
        saga::filesystem::file open(saga::filesystem::directory,saga::url [,int])

open( (directory)arg1, (routine_type)arg2, (url)arg3 [, (int)arg4]) -> task :
    opens the given file in this directory (task based)

    C++ signature :
        saga::task open(saga::filesystem::directory,saga::python::routine_type,saga::url [,int])

Overrides: name_space._name_space.directory.open

open_dir(...)

 

open_dir( (directory)arg1, (url)arg2 [, (int)arg3]) -> directory :
    opens the given directory in this directory (plain)

    C++ signature :
        saga::filesystem::directory open_dir(saga::filesystem::directory,saga::url [,int])

open_dir( (directory)arg1, (routine_type)arg2, (url)arg3 [, (int)arg4]) -> task :
    opens the given directory in this directory (task based)

    C++ signature :
        saga::task open_dir(saga::filesystem::directory,saga::python::routine_type,saga::url [,int])

Overrides: name_space._name_space.directory.open_dir