# encoding: utf-8
# module h5py.h5o
# from C:\Users\xukai\Downloads\发票2\venv\Lib\site-packages\h5py\h5o.cp311-win_amd64.pyd
# by generator 1.147
""" Module for HDF5 "H5O" functions. """

# imports
import builtins as __builtins__ # <module 'builtins' (built-in)>
from h5py._objects import with_phil


# Variables with simple values

COPY_EXPAND_EXT_LINK_FLAG = 4

COPY_EXPAND_REFERENCE_FLAG = 8

COPY_EXPAND_SOFT_LINK_FLAG = 2

COPY_PRESERVE_NULL_FLAG = 32

COPY_SHALLOW_HIERARCHY_FLAG = 1

COPY_WITHOUT_ATTR_FLAG = 16

TYPE_DATASET = 1
TYPE_GROUP = 0

TYPE_NAMED_DATATYPE = 2

# functions

def copy(*args, **kwargs): # real signature unknown
    """
    (ObjectID src_loc, STRING src_name, GroupID dst_loc, STRING dst_name,
        PropID copypl=None, PropID lcpl=None)
    
        Copy a group, dataset or named datatype from one location to another.  The
        source and destination need not be in the same file.
    
        The default behavior is a recursive copy of the object and all objects
        below it.  This behavior is modified via the "copypl" property list.
    """
    pass

def exists_by_name(*args, **kwargs): # real signature unknown
    """
    (ObjectID loc, STRING name, PropID lapl=None) => BOOL exists
    
            Determines whether a link resolves to an actual object.
    """
    pass

def get_comment(*args, **kwargs): # real signature unknown
    """
    (ObjectID loc, STRING comment, **kwds)
    
        Get the comment for any-file resident object.  Keywords:
    
        STRING obj_name (".")
            Set comment on this group member instead
    
        PropID lapl (None)
            Link access property list
    """
    pass

def get_info(*args, **kwargs): # real signature unknown
    """
    (ObjectID loc, STRING name=, INT index=, **kwds) => ObjInfo
    
        Get information describing an object in an HDF5 file.  Provide the object
        itself, or the containing group and exactly one of "name" or "index".
    
        STRING obj_name (".")
            When "index" is specified, look in this subgroup instead.
            Otherwise ignored.
    
        PropID lapl (None)
            Link access property list
    
        INT index_type (h5.INDEX_NAME)
    
        INT order (h5.ITER_INC)
    """
    pass

def link(*args, **kwargs): # real signature unknown
    """
    (ObjectID obj, GroupID loc, STRING name, PropID lcpl=None,
        PropID lapl=None)
    
        Create a new hard link to an object.  Useful for objects created with
        h5g.create_anon() or h5d.create_anon().
    """
    pass

def open(*args, **kwargs): # real signature unknown
    """
    (ObjectID loc, STRING name, PropID lapl=None) => ObjectID
    
        Open a group, dataset, or named datatype attached to an existing group.
    """
    pass

def set_comment(*args, **kwargs): # real signature unknown
    """
    (ObjectID loc, STRING comment, **kwds)
    
        Set the comment for any-file resident object.  Keywords:
    
        STRING obj_name (".")
            Set comment on this group member instead
    
        PropID lapl (None)
            Link access property list
    """
    pass

def visit(*args, **kwargs): # real signature unknown
    """
    (ObjectID loc, CALLABLE func, **kwds) => <Return value from func>
    
        Iterate a function or callable object over all objects below the
        specified one.  Your callable should conform to the signature::
    
            func(STRING name) => Result
    
        or if the keyword argument "info" is True::
    
            func(STRING name, ObjInfo info) => Result
    
        Returning None continues iteration; returning anything else aborts
        iteration and returns that value.  Keywords:
    
        BOOL info (False)
            Callback is func(STRING, Objinfo)
    
        STRING obj_name (".")
            Visit a subgroup of "loc" instead
    
        PropLAID lapl (None)
            Control how "obj_name" is interpreted
    
        INT idx_type (h5.INDEX_NAME)
            What indexing strategy to use
    
        INT order (h5.ITER_INC)
            Order in which iteration occurs
    
        Compatibility note:  No callback is executed for the starting path ("."),
        as some versions of HDF5 don't correctly handle a return value for this
        case.  This differs from the behavior of the native H5Ovisit, which
        provides a literal "." as the first value.
    """
    pass

def __pyx_unpickle__ObjectVisitor(*args, **kwargs): # real signature unknown
    pass

# classes

class _ObjInfoBase(object):
    # no doc
    def __init__(self, *args, **kwargs): # real signature unknown
        pass

    @staticmethod # known case of __new__
    def __new__(*args, **kwargs): # real signature unknown
        """ Create and return a new object.  See help(type) for accurate signature. """
        pass

    def __reduce__(self, *args, **kwargs): # real signature unknown
        pass

    def __setstate__(self, *args, **kwargs): # real signature unknown
        pass


class _ObjInfo(_ObjInfoBase):
    # no doc
    def _hash(self, *args, **kwargs): # real signature unknown
        pass

    def __init__(self, *args, **kwargs): # real signature unknown
        pass

    @staticmethod # known case of __new__
    def __new__(*args, **kwargs): # real signature unknown
        """ Create and return a new object.  See help(type) for accurate signature. """
        pass

    def __reduce__(self, *args, **kwargs): # real signature unknown
        pass

    def __setstate__(self, *args, **kwargs): # real signature unknown
        pass

    addr = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default

    fileno = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default

    rc = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default

    type = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default



class ObjInfo(_ObjInfo):
    """ Represents the H5O_info_t structure """
    def __copy__(self, *args, **kwargs): # real signature unknown
        pass

    def __init__(self, *args, **kwargs): # real signature unknown
        pass

    @staticmethod # known case of __new__
    def __new__(*args, **kwargs): # real signature unknown
        """ Create and return a new object.  See help(type) for accurate signature. """
        pass

    def __reduce__(self, *args, **kwargs): # real signature unknown
        pass

    def __setstate__(self, *args, **kwargs): # real signature unknown
        pass

    hdr = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default



class _ObjectVisitor(object):
    # no doc
    def __init__(self, *args, **kwargs): # real signature unknown
        pass

    @staticmethod # known case of __new__
    def __new__(*args, **kwargs): # real signature unknown
        """ Create and return a new object.  See help(type) for accurate signature. """
        pass

    def __reduce__(self, *args, **kwargs): # real signature unknown
        pass

    def __setstate__(self, *args, **kwargs): # real signature unknown
        pass


class _OHdr(_ObjInfoBase):
    # no doc
    def _hash(self, *args, **kwargs): # real signature unknown
        pass

    def __init__(self, *args, **kwargs): # real signature unknown
        pass

    @staticmethod # known case of __new__
    def __new__(*args, **kwargs): # real signature unknown
        """ Create and return a new object.  See help(type) for accurate signature. """
        pass

    def __reduce__(self, *args, **kwargs): # real signature unknown
        pass

    def __setstate__(self, *args, **kwargs): # real signature unknown
        pass

    mesg = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default

    nmesgs = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default

    space = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default

    version = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default



class _OHdrMesg(_ObjInfoBase):
    # no doc
    def _hash(self, *args, **kwargs): # real signature unknown
        pass

    def __init__(self, *args, **kwargs): # real signature unknown
        pass

    @staticmethod # known case of __new__
    def __new__(*args, **kwargs): # real signature unknown
        """ Create and return a new object.  See help(type) for accurate signature. """
        pass

    def __reduce__(self, *args, **kwargs): # real signature unknown
        pass

    def __setstate__(self, *args, **kwargs): # real signature unknown
        pass

    present = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default

    shared = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default



class _OHdrSpace(_ObjInfoBase):
    # no doc
    def _hash(self, *args, **kwargs): # real signature unknown
        pass

    def __init__(self, *args, **kwargs): # real signature unknown
        pass

    @staticmethod # known case of __new__
    def __new__(*args, **kwargs): # real signature unknown
        """ Create and return a new object.  See help(type) for accurate signature. """
        pass

    def __reduce__(self, *args, **kwargs): # real signature unknown
        pass

    def __setstate__(self, *args, **kwargs): # real signature unknown
        pass

    free = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default

    mesg = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default

    meta = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default

    total = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default



# variables with complex values

phil = None # (!) real value is '<h5py._objects.FastRLock object at 0x000001F9E90EE5B0>'

__loader__ = None # (!) real value is '<_frozen_importlib_external.ExtensionFileLoader object at 0x000001F9E9A99410>'

__spec__ = None # (!) real value is "ModuleSpec(name='h5py.h5o', loader=<_frozen_importlib_external.ExtensionFileLoader object at 0x000001F9E9A99410>, origin='C:\\\\Users\\\\xukai\\\\Downloads\\\\??2\\\\venv\\\\Lib\\\\site-packages\\\\h5py\\\\h5o.cp311-win_amd64.pyd')"

__test__ = {}

