Package saga :: Package replica :: Module _replica :: Class directory
[frames] | no frames]

Class directory

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

Nested Classes
    Inherited from _engine.object
  object_type
Instance Methods
 
__init__(...)
__init__( (object)arg1, (url)arg2) -> None :
 
attribute_exists(...)
attribute_exists( (directory)arg1, (str)arg2) -> bool : tests if the given attribute exists for this instance (plain)
 
attribute_is_readonly(...)
attribute_is_readonly( (directory)arg1, (str)arg2) -> bool : tests if the given attribute is read only (plain)
 
attribute_is_removable(...)
attribute_is_removable( (directory)arg1, (str)arg2) -> bool : tests if the given attribute is removable (plain)
 
attribute_is_vector(...)
attribute_is_vector( (directory)arg1, (str)arg2) -> bool : tests if the given attribute is a vector attribute (plain)
 
attribute_is_writable(...)
attribute_is_writable( (directory)arg1, (str)arg2) -> bool : tests if the given attribute is writable (plain)
 
find(...)
find( (directory)arg1, (str)arg2, (object)arg3 [, (int)arg4]) -> object : finds replica entries matching the given patterns (plain)
 
find_attributes(...)
find_attributes( (directory)arg1, (str)arg2) -> object : find attributes matching the given pattern (plain)
 
get_attribute(...)
get_attribute( (directory)arg1, (str)arg2) -> str : returns a (scalar) attribute associated with this object (plain)
 
get_vector_attribute(...)
get_vector_attribute( (directory)arg1, (str)arg2) -> object : returns a (vector) attribute associated with this object (plain)
 
is_file(...)
is_file( (directory)arg1, (str)arg2) -> bool : returns, whether the given item refers to a file (plain)
 
list_attributes(...)
list_attributes( (directory)arg1) -> object : lists the keys of all attributes associated with this object (plain)
 
open(...)
open( (directory)arg1, (url)arg2 [, (int)arg3]) -> entry : 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)
 
remove_attribute(...)
remove_attribute( (directory)arg1, (str)arg2) -> None : removes an attribute associated with this object (plain)
 
set_attribute(...)
set_attribute( (directory)arg1, (str)arg2, (str)arg3) -> None : sets a (scalar) attribute associated with this object (plain)
 
set_vector_attribute(...)
set_vector_attribute( (directory)arg1, (str)arg2, (object)arg3) -> None : sets a (vector) attribute associated with this object (plain)

Inherited from unreachable.instance: __new__

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

    Inherited from name_space._name_space.directory
 
change_dir(...)
change_dir( (directory)arg1, (str)arg2) -> None : changes the current directory (plain)
 
copy(...)
copy( (directory)arg1, (url)arg2, (url)arg3 [, (int)arg4]) -> None : copies the the given item to the given name (plain)
 
exists(...)
exists( (directory)arg1, (url)arg2) -> bool : returns, whether the given item exists (plain)
 
get_entry(...)
get_entry( (directory)arg1, (int)arg2) -> url : returns a specific item based on the given index (plain)
 
get_num_entries(...)
get_num_entries( (directory)arg1) -> int : returns the number of entries in this directory (plain)
 
is_dir(...)
is_dir( (directory)arg1, (url)arg2) -> bool : returns, whether the given item refers to a directory (plain)
 
is_entry(...)
is_entry( (directory)arg1, (url)arg2) -> bool : returns, whether the given item refers to a simple entry (plain)
 
is_link(...)
is_link( (directory)arg1, (url)arg2) -> bool : returns, whether the given item is a link to another entry (plain)
 
link(...)
link( (directory)arg1, (url)arg2, (url)arg3 [, (int)arg4]) -> None : links the the given item to the given item (plain)
 
list(...)
list( (directory)arg1 [, (str)arg2 [, (int)arg3]]) -> object : lists entries matching a given pattern (contained in this directory) (plain)
 
make_dir(...)
make_dir( (directory)arg1, (url)arg2 [, (int)arg3]) -> None : creates a new directory (without opening it) (plain)
 
move(...)
move( (directory)arg1, (url)arg2, (url)arg3 [, (int)arg4]) -> None : moves the the given item to the given name (plain)
 
permissions_allow(...)
permissions_allow( (directory)arg1, (str)arg2, (str)arg3, (int)arg4 [, (int)arg5]) -> None : enable a permission based on wildcard specification (plain)
 
permissions_deny(...)
permissions_deny( (directory)arg1, (str)arg2, (str)arg3, (int)arg4 [, (int)arg5]) -> None : disable a permission based on wildcard specification (plain)
 
read_link(...)
read_link( (directory)arg1, (url)arg2) -> url : returns the name of the items the given entry is linked to (plain)
 
remove(...)
remove( (directory)arg1, (url)arg2 [, (int)arg3]) -> None : removes the given item (plain)
    Inherited from name_space._name_space.entry
 
close(...)
close( (entry)arg1) -> None : closes this entry (plain)
 
get_cwd(...)
get_cwd( (entry)arg1) -> url : returns the directory name this item is located in (plain)
 
get_group(...)
get_group( (entry)arg1) -> str : returns the group of the owner of this object instance (plain)
 
get_name(...)
get_name( (entry)arg1) -> url : returns the name of this item (plain)
 
get_owner(...)
get_owner( (entry)arg1) -> str : returns the owner of this object instance (plain)
 
get_url(...)
get_url( (entry)arg1) -> url : returns the full url of this item (plain)
 
permissions_check(...)
permissions_check( (entry)arg1, (str)arg2, (int)arg3) -> bool : generically check a permission on this namespace entry (plain)
    Inherited from _engine.object
 
__reduce__(...)
helper for pickle
 
clone(...)
clone( (object)arg1) -> object : create a deep copy of the object
 
get_id(...)
get_id( (object)arg1) -> uuid : returns the id of this instance
 
get_object_type_name(...)
get_object_type_name( (object_type)arg1) -> str : return the name of a given object type
 
get_session(...)
get_session( (object)arg1) -> session : return the session associated with this object instance
 
get_type(...)
get_type( (object)arg1) -> object_type : returns the type of this instance
Class Variables
    Inherited from _engine.object
  Advert = saga._engine.object_type.Advert
  AdvertDirectory = saga._engine.object_type.AdvertDirectory
  Buffer = saga._engine.object_type.Buffer
  CPRCheckpoint = saga._engine.object_type.CPRCheckpoint
  CPRDirectory = saga._engine.object_type.CPRDirectory
  CPRJob = saga._engine.object_type.CPRJob
  CPRJobDescription = saga._engine.object_type.CPRJobDescription
  CPRJobSelf = saga._engine.object_type.CPRJobSelf
  CPRJobService = saga._engine.object_type.CPRJobService
  Context = saga._engine.object_type.Context
  Directory = saga._engine.object_type.Directory
  Endpoint = saga._engine.object_type.Endpoint
  EntityData = saga._engine.object_type.EntityData
  EntityDataSet = saga._engine.object_type.EntityDataSet
  EntityNavigator = saga._engine.object_type.EntityNavigator
  Exception = saga._engine.object_type.Exception
  File = saga._engine.object_type.File
  IOVec = saga._engine.object_type.IOVec
  Job = saga._engine.object_type.Job
  JobDescription = saga._engine.object_type.JobDescription
  JobSelf = saga._engine.object_type.JobSelf
  JobService = saga._engine.object_type.JobService
  LogicalDirectory = saga._engine.object_type.LogicalDirectory
  LogicalFile = saga._engine.object_type.LogicalFile
  Metric = saga._engine.object_type.Metric
  Msg = saga._engine.object_type.Msg
  NSDirectory = saga._engine.object_type.NSDirectory
  NSEntry = saga._engine.object_type.NSEntry
  Parameter = saga._engine.object_type.Parameter
  RPC = saga._engine.object_type.RPC
  ServiceData = saga._engine.object_type.ServiceData
  ServiceDescription = saga._engine.object_type.ServiceDescription
  ServiceDiscoverer = saga._engine.object_type.ServiceDiscoverer
  Session = saga._engine.object_type.Session
  Stream = saga._engine.object_type.Stream
  StreamServer = saga._engine.object_type.StreamServer
  Task = saga._engine.object_type.Task
  TaskContainer = saga._engine.object_type.TaskContainer
  URL = saga._engine.object_type.URL
  __instance_size__ = 32
Properties

Inherited from object: __class__

    Inherited from _engine.object
  id
returns the id of this instance
  session
return the session associated with this object instance
  type
returns the type of this instance
Method Details

__init__(...)
(Constructor)

 

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

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

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

    C++ signature :
        void __init__(_object*,std::string)

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

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

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

    C++ signature :
        void __init__(_object*,std::string,int)

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

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

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

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

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

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

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

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

Overrides: object.__init__

attribute_exists(...)

 

attribute_exists( (directory)arg1, (str)arg2) -> bool :
    tests if the given attribute exists for this instance (plain)

    C++ signature :
        bool attribute_exists(saga::replica::logical_directory,std::string)

attribute_exists( (directory)arg1, (routine_type)arg2, (str)arg3) -> task :
    tests if the given attribute exists for this instance (task based)

    C++ signature :
        saga::task attribute_exists(saga::replica::logical_directory,saga::python::routine_type,std::string)

attribute_is_readonly(...)

 

attribute_is_readonly( (directory)arg1, (str)arg2) -> bool :
    tests if the given attribute is read only (plain)

    C++ signature :
        bool attribute_is_readonly(saga::replica::logical_directory,std::string)

attribute_is_readonly( (directory)arg1, (routine_type)arg2, (str)arg3) -> task :
    tests if the given attribute is read only (task based)

    C++ signature :
        saga::task attribute_is_readonly(saga::replica::logical_directory,saga::python::routine_type,std::string)

attribute_is_removable(...)

 

attribute_is_removable( (directory)arg1, (str)arg2) -> bool :
    tests if the given attribute is removable (plain)

    C++ signature :
        bool attribute_is_removable(saga::replica::logical_directory,std::string)

attribute_is_removable( (directory)arg1, (routine_type)arg2, (str)arg3) -> task :
    tests if the given attribute is removable (task based)

    C++ signature :
        saga::task attribute_is_removable(saga::replica::logical_directory,saga::python::routine_type,std::string)

attribute_is_vector(...)

 

attribute_is_vector( (directory)arg1, (str)arg2) -> bool :
    tests if the given attribute is a vector attribute (plain)

    C++ signature :
        bool attribute_is_vector(saga::replica::logical_directory,std::string)

attribute_is_vector( (directory)arg1, (routine_type)arg2, (str)arg3) -> task :
    tests if the given attribute is a vector attribute (task based)

    C++ signature :
        saga::task attribute_is_vector(saga::replica::logical_directory,saga::python::routine_type,std::string)

attribute_is_writable(...)

 

attribute_is_writable( (directory)arg1, (str)arg2) -> bool :
    tests if the given attribute is writable (plain)

    C++ signature :
        bool attribute_is_writable(saga::replica::logical_directory,std::string)

attribute_is_writable( (directory)arg1, (routine_type)arg2, (str)arg3) -> task :
    tests if the given attribute is writable (task based)

    C++ signature :
        saga::task attribute_is_writable(saga::replica::logical_directory,saga::python::routine_type,std::string)

find(...)

 

find( (directory)arg1, (str)arg2, (object)arg3 [, (int)arg4]) -> object :
    finds replica entries matching the given patterns (plain)

    C++ signature :
        std::vector<saga::url, std::allocator<saga::url> > find(saga::replica::logical_directory,std::string,std::vector<std::string, std::allocator<std::string> > [,int])

find( (directory)arg1, (routine_type)arg2, (str)arg3, (object)arg4 [, (int)arg5]) -> task :
    finds replica entries matching the given patterns (task based)

    C++ signature :
        saga::task find(saga::replica::logical_directory,saga::python::routine_type,std::string,std::vector<std::string, std::allocator<std::string> > [,int])

Overrides: name_space._name_space.directory.find

find_attributes(...)

 

find_attributes( (directory)arg1, (str)arg2) -> object :
    find attributes matching the given pattern (plain)

    C++ signature :
        std::vector<std::string, std::allocator<std::string> > find_attributes(saga::replica::logical_directory,std::string)

find_attributes( (directory)arg1, (routine_type)arg2, (str)arg3) -> task :
    find attributes matching the given pattern (task based)

    C++ signature :
        saga::task find_attributes(saga::replica::logical_directory,saga::python::routine_type,std::string)

get_attribute(...)

 

get_attribute( (directory)arg1, (str)arg2) -> str :
    returns a (scalar) attribute associated with this object (plain)

    C++ signature :
        std::string get_attribute(saga::replica::logical_directory,std::string)

get_attribute( (directory)arg1, (routine_type)arg2, (str)arg3) -> task :
    returns a (scalar) attribute associated with this object (task based)

    C++ signature :
        saga::task get_attribute(saga::replica::logical_directory,saga::python::routine_type,std::string)

get_vector_attribute(...)

 

get_vector_attribute( (directory)arg1, (str)arg2) -> object :
    returns a (vector) attribute associated with this object (plain)

    C++ signature :
        std::vector<std::string, std::allocator<std::string> > get_vector_attribute(saga::replica::logical_directory,std::string)

get_vector_attribute( (directory)arg1, (routine_type)arg2, (str)arg3) -> task :
    returns a (vector) attribute associated with this object (task based)

    C++ signature :
        saga::task get_vector_attribute(saga::replica::logical_directory,saga::python::routine_type,std::string)

is_file(...)

 

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

    C++ signature :
        bool is_file(saga::replica::logical_directory,std::string)

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

    C++ signature :
        saga::task is_file(saga::replica::logical_directory,saga::python::routine_type,std::string)

list_attributes(...)

 

list_attributes( (directory)arg1) -> object :
    lists the keys of all attributes associated with this object (plain)

    C++ signature :
        std::vector<std::string, std::allocator<std::string> > list_attributes(saga::replica::logical_directory)

list_attributes( (directory)arg1, (routine_type)arg2) -> task :
    lists the keys of all attributes associated with this object (task based)

    C++ signature :
        saga::task list_attributes(saga::replica::logical_directory,saga::python::routine_type)

open(...)

 

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

    C++ signature :
        saga::replica::logical_file open(saga::replica::logical_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::replica::logical_directory,saga::python::routine_type,saga::url [,int])

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

    C++ signature :
        saga::replica::logical_file open(saga::replica::logical_directory,std::string [,int])

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

    C++ signature :
        saga::task open(saga::replica::logical_directory,saga::python::routine_type,std::string [,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::replica::logical_directory open_dir(saga::replica::logical_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::replica::logical_directory,saga::python::routine_type,saga::url [,int])

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

    C++ signature :
        saga::replica::logical_directory open_dir(saga::replica::logical_directory,std::string [,int])

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

    C++ signature :
        saga::task open_dir(saga::replica::logical_directory,saga::python::routine_type,std::string [,int])

Overrides: name_space._name_space.directory.open_dir

remove_attribute(...)

 

remove_attribute( (directory)arg1, (str)arg2) -> None :
    removes an attribute associated with this object (plain)

    C++ signature :
        void remove_attribute(saga::replica::logical_directory,std::string)

remove_attribute( (directory)arg1, (routine_type)arg2, (str)arg3) -> task :
    removes an attribute associated with this object (task based)

    C++ signature :
        saga::task remove_attribute(saga::replica::logical_directory,saga::python::routine_type,std::string)

set_attribute(...)

 

set_attribute( (directory)arg1, (str)arg2, (str)arg3) -> None :
    sets a (scalar) attribute associated with this object (plain)

    C++ signature :
        void set_attribute(saga::replica::logical_directory,std::string,std::string)

set_attribute( (directory)arg1, (routine_type)arg2, (str)arg3, (str)arg4) -> task :
    sets a (scalar) attribute associated with this object (task based)

    C++ signature :
        saga::task set_attribute(saga::replica::logical_directory,saga::python::routine_type,std::string,std::string)

set_vector_attribute(...)

 

set_vector_attribute( (directory)arg1, (str)arg2, (object)arg3) -> None :
    sets a (vector) attribute associated with this object (plain)

    C++ signature :
        void set_vector_attribute(saga::replica::logical_directory,std::string,std::vector<std::string, std::allocator<std::string> >)

set_vector_attribute( (directory)arg1, (routine_type)arg2, (str)arg3, (object)arg4) -> task :
    sets a (vector) attribute associated with this object (task based)

    C++ signature :
        saga::task set_vector_attribute(saga::replica::logical_directory,saga::python::routine_type,std::string,std::vector<std::string, std::allocator<std::string> >)