Automatic generation produced by ISE Eiffel

Classes Clusters Cluster hierarchy Chart Relations Flat contracts Go to:
note description: "Objects that map a networking path to a local drive" legal: "See notice at end of class." status: "See notice at end of class." date: "$Date: 2013-11-19 16:34:28 -0900 (Tue, 19 Nov 2013) $" revision: "$Revision: 93466 $" class interface WEL_UNC_PATH_MAPPER create make (a_path: READABLE_STRING_GENERAL) -- Map the networking path a_path to a temporary path require a_path_not_void: a_path /= Void a_path_valid: a_path.count <= {WEL_NETWORKING_CONSTANTS}.max_path feature -- Access access_name: detachable STRING_32 -- Local access to the mapped path. -- Example: "I:" generating_type: TYPE [detachable WEL_UNC_PATH_MAPPER] -- Type of current object -- (type of which it is a direct instance) -- (from ANY) ensure -- from ANY generating_type_not_void: Result /= Void generator: STRING_8 -- Name of current object's generating class -- (base class of the type of which it is a direct instance) -- (from ANY) ensure -- from ANY generator_not_void: Result /= Void generator_not_empty: not Result.is_empty feature -- Comparison frozen deep_equal (a: detachable ANY; b: like arg #1): BOOLEAN -- Are a and b either both void -- or attached to isomorphic object structures? -- (from ANY) ensure -- from ANY instance_free: class shallow_implies_deep: standard_equal (a, b) implies Result both_or_none_void: (a = Void) implies (Result = (b = Void)) same_type: (Result and (a /= Void)) implies (b /= Void and then a.same_type (b)) symmetric: Result implies deep_equal (b, a) frozen equal (a: detachable ANY; b: like arg #1): BOOLEAN -- Are a and b either both void or attached -- to objects considered equal? -- (from ANY) ensure -- from ANY instance_free: class definition: Result = (a = Void and b = Void) or else ((a /= Void and b /= Void) and then a.is_equal (b)) frozen is_deep_equal alias "≡≡≡" (other: WEL_UNC_PATH_MAPPER): BOOLEAN -- Are Current and other attached to isomorphic object structures? -- (from ANY) require -- from ANY other_not_void: other /= Void ensure -- from ANY shallow_implies_deep: standard_is_equal (other) implies Result same_type: Result implies same_type (other) symmetric: Result implies other.is_deep_equal (Current) is_equal (other: WEL_UNC_PATH_MAPPER): BOOLEAN -- Is other attached to an object considered -- equal to current object? -- (from ANY) require -- from ANY other_not_void: other /= Void ensure -- from ANY symmetric: Result implies other ~ Current consistent: standard_is_equal (other) implies Result frozen standard_equal (a: detachable ANY; b: like arg #1): BOOLEAN -- Are a and b either both void or attached to -- field-by-field identical objects of the same type? -- Always uses default object comparison criterion. -- (from ANY) ensure -- from ANY instance_free: class definition: Result = (a = Void and b = Void) or else ((a /= Void and b /= Void) and then a.standard_is_equal (b)) frozen standard_is_equal alias "" (other: WEL_UNC_PATH_MAPPER): BOOLEAN -- Is other attached to an object of the same type -- as current object, and field-by-field identical to it? -- (from ANY) require -- from ANY other_not_void: other /= Void ensure -- from ANY same_type: Result implies same_type (other) symmetric: Result implies other.standard_is_equal (Current) feature -- Status report conforms_to (other: ANY): BOOLEAN -- Does type of current object conform to type -- of other (as per Eiffel: The Language, chapter 13)? -- (from ANY) require -- from ANY other_not_void: other /= Void same_type (other: ANY): BOOLEAN -- Is type of current object identical to type of other? -- (from ANY) require -- from ANY other_not_void: other /= Void ensure -- from ANY definition: Result = (conforms_to (other) and other.conforms_to (Current)) feature -- Removal destroy -- Unmap the network path feature -- Duplication copy (other: WEL_UNC_PATH_MAPPER) -- Update current object using fields of object attached -- to other, so as to yield equal objects. -- (from ANY) require -- from ANY other_not_void: other /= Void type_identity: same_type (other) ensure -- from ANY is_equal: Current ~ other frozen deep_copy (other: WEL_UNC_PATH_MAPPER) -- Effect equivalent to that of: -- `copy` (other . `deep_twin`) -- (from ANY) require -- from ANY other_not_void: other /= Void ensure -- from ANY deep_equal: deep_equal (Current, other) frozen deep_twin: WEL_UNC_PATH_MAPPER -- New object structure recursively duplicated from Current. -- (from ANY) ensure -- from ANY deep_twin_not_void: Result /= Void deep_equal: deep_equal (Current, Result) frozen standard_copy (other: WEL_UNC_PATH_MAPPER) -- Copy every field of other onto corresponding field -- of current object. -- (from ANY) require -- from ANY other_not_void: other /= Void type_identity: same_type (other) ensure -- from ANY is_standard_equal: standard_is_equal (other) frozen standard_twin: WEL_UNC_PATH_MAPPER -- New object field-by-field identical to other. -- Always uses default copying semantics. -- (from ANY) ensure -- from ANY standard_twin_not_void: Result /= Void equal: standard_equal (Result, Current) frozen twin: WEL_UNC_PATH_MAPPER -- New object equal to Current -- `twin` calls `copy`; to change copying/twinning semantics, redefine `copy`. -- (from ANY) ensure -- from ANY twin_not_void: Result /= Void is_equal: Result ~ Current feature -- Basic operations frozen default: detachable WEL_UNC_PATH_MAPPER -- Default value of object's type -- (from ANY) frozen default_pointer: POINTER -- Default value of type POINTER -- (Avoid the need to write p.`default` for -- some p of type POINTER.) -- (from ANY) ensure -- from ANY instance_free: class default_rescue -- Process exception for routines with no Rescue clause. -- (Default: do nothing.) -- (from ANY) frozen do_nothing -- Execute a null action. -- (from ANY) ensure -- from ANY instance_free: class feature -- Connect constants Connect_interactive: INTEGER_32 = 8 -- If this flag is set, the operating system may interact with -- the user for authentication purposes. -- -- Declared in Windows as CONNECT_INTERACTIVE -- (from WEL_NETWORKING_CONSTANTS) Connect_localdrive: INTEGER_32 = 256 -- If this flag is set, the connection was made using a local -- device redirection. If the lpAccessName parameter points to a -- buffer, the local device name is copied to the buffer. -- -- Declared in Windows as CONNECT_LOCALDRIVE -- (from WEL_NETWORKING_CONSTANTS) Connect_prompt: INTEGER_32 = 16 -- This flag instructs the system not to use any default settings -- for user names or passwords without offering the user the -- opportunity to supply an alternative. This flag is ignored -- unless CONNECT_INTERACTIVE is also set. -- -- Declared in Windows as CONNECT_PROMPT -- (from WEL_NETWORKING_CONSTANTS) Connect_redirect: INTEGER_32 = 128 -- This flag forces the redirection of a local device when making -- the connection. -- -- If the lpLocalName member of NETRESOURCE specifies a local -- device to redirect, this flag has no effect, because the -- operating system still attempts to redirect the specified -- device. When the operating system automatically chooses a local -- device, the lpAccessName parameter must point to a return -- buffer and the dwType member must not be equal to -- RESOURCETYPE_ANY. -- -- If this flag is not set, a local device is automatically chosen -- for redirection only if the network requires a local device to -- be redirected. -- -- Declared in Windows as CONNECT_REDIRECT -- (from WEL_NETWORKING_CONSTANTS) Connect_update_profile: INTEGER_32 = 1 -- This flag instructs the operating system to store the network -- resource connection. -- -- If this bit flag is set, the operating system automatically -- attempts to restore the connection when the user logs on. The -- system remembers only successful connections that redirect -- local devices. It does not remember connections that are -- unsuccessful or deviceless connections. (A deviceless -- connection occurs when lpLocalName is NULL or when it points -- to an empty string.) -- -- If this bit flag is clear, the operating system does not -- automatically restore the connection at logon. -- -- Declared in Windows as CONNECT_UPDATE_PROFILE -- (from WEL_NETWORKING_CONSTANTS) feature -- Generic constants Max_path: INTEGER_32 = 260 -- Maximum number of characters in full path -- -- Declared in Windows as MAX_PATH -- (from WEL_NETWORKING_CONSTANTS) feature -- Net Errors Error_access_denied: INTEGER_32 = 5 -- Access to the network resource was denied. -- -- Declared in Windows as ERROR_ACCESS_DENIED -- (from WEL_NETWORKING_CONSTANTS) Error_already_assigned: INTEGER_32 = 85 -- The local device specified by the lpLocalName member is -- already connected to a network resource. -- -- Declared in Windows as ERROR_ALREADY_ASSIGNED -- (from WEL_NETWORKING_CONSTANTS) Error_bad_device: INTEGER_32 = 1200 -- The value specified by lpLocalName is invalid. -- -- Declared in Windows as ERROR_BAD_DEVICE -- (from WEL_NETWORKING_CONSTANTS) Error_bad_net_name: INTEGER_32 = 67 -- The value specified by the lpRemoteName member is not -- acceptable to any network resource provider because the -- resource name is invalid, or because the named resource -- cannot be located. -- -- Declared in Windows as ERROR_BAD_NET_NAME -- (from WEL_NETWORKING_CONSTANTS) Error_bad_provider: INTEGER_32 = 1204 -- The value specified by the lpProvider member does not match -- any provider. -- -- Declared in Windows as ERROR_BAD_PROVIDER -- (from WEL_NETWORKING_CONSTANTS) Error_cancelled: INTEGER_32 = 1223 -- The attempt to make the connection was canceled by the user -- through a dialog box from one of the network resource -- providers, or by a called resource. -- -- Declared in Windows as ERROR_CANCELLED -- (from WEL_NETWORKING_CONSTANTS) Error_extended_error: INTEGER_32 = 1208 -- A network-specific error occurred. To obtain a description of -- the error, call the WNetGetLastError function. -- -- Declared in Windows as ERROR_EXTENDED_ERROR -- (from WEL_NETWORKING_CONSTANTS) Error_invalid_address: INTEGER_32 = 487 -- The caller passed in a pointer to a buffer that could not be -- accessed. -- -- Declared in Windows as ERROR_INVALID_ADDRESS -- (from WEL_NETWORKING_CONSTANTS) Error_invalid_parameter: INTEGER_32 = 87 -- This error is a result of one of the following conditions: -- 1. The lpRemoteName member is NULL. In addition, lpAccessName --    is not NULL, but lpBufferSize is either NULL or points to --    zero. -- 2. The dwType member is neither RESOURCETYPE_DISK nor --    RESOURCETYPE_PRINT. In addition, either CONNECT_REDIRECT --    is set in dwFlags and lpLocalName is NULL, or the --    connection is to a network that requires the redirecting --    of a local device. -- -- Declared in Windows as ERROR_INVALID_PARAMETER -- (from WEL_NETWORKING_CONSTANTS) Error_invalid_password: INTEGER_32 = 86 -- The specified password is invalid and the CONNECT_INTERACTIVE -- flag is not set. -- -- Declared in Windows as ERROR_INVALID_PASSWORD -- (from WEL_NETWORKING_CONSTANTS) Error_more_data: INTEGER_32 = 234 -- The lpAccessName buffer is too small. -- If a local device is redirected, the buffer needs to be large -- enough to contain the local device name. Otherwise, the -- buffer needs to be large enough to contain either the string -- pointed to by lpRemoteName, or the name of the connectable -- resource whose alias is pointed to by lpRemoteName. If this -- error is returned, then no connection has been made. -- -- Declared in Windows as ERROR_MORE_DATA -- (from WEL_NETWORKING_CONSTANTS) Error_no_more_items: INTEGER_32 = 259 -- The operating system cannot automatically choose a local -- redirection because all the valid local devices are in use. -- -- Declared in Windows as ERROR_NO_MORE_ITEMS -- (from WEL_NETWORKING_CONSTANTS) Error_no_net_or_bad_path: INTEGER_32 = 1203 -- The operation could not be completed, either because a -- network component is not started, or because the specified -- resource name is not recognized. -- -- Declared in Windows as ERROR_NO_NET_OR_BAD_PATH -- (from WEL_NETWORKING_CONSTANTS) Error_no_network: INTEGER_32 = 1222 -- The network is unavailable. -- -- Declared in Windows as ERROR_NO_NETWORK -- (from WEL_NETWORKING_CONSTANTS) feature -- Net Resource constants Resource_connected: INTEGER_32 = 1 -- Enumerate currently connected resources. -- -- Declared in Windows as RESOURCE_CONNECTED -- (from WEL_NETWORKING_CONSTANTS) Resource_display_type_domain: INTEGER_32 = 1 -- The object should be displayed as a domain. -- -- Declared in Windows as RESOURCEDISPLAYTYPE_DOMAIN -- (from WEL_NETWORKING_CONSTANTS) Resource_display_type_generic: INTEGER_32 = 0 -- The method used to display the object does not matter. -- -- Declared in Windows as RESOURCEDISPLAYTYPE_GENERIC -- (from WEL_NETWORKING_CONSTANTS) Resource_display_type_server: INTEGER_32 = 2 -- The object should be displayed as a server. -- -- Declared in Windows as RESOURCEDISPLAYTYPE_SERVER -- (from WEL_NETWORKING_CONSTANTS) Resource_display_type_share: INTEGER_32 = 3 -- The object should be displayed as a share. -- -- Declared in Windows as RESOURCEDISPLAYTYPE_SHARE -- (from WEL_NETWORKING_CONSTANTS) Resource_globalnet: INTEGER_32 = 2 -- Enumerate all resources on the network. -- -- Declared in Windows as RESOURCE_GLOBALNET -- (from WEL_NETWORKING_CONSTANTS) Resource_remembered: INTEGER_32 = 3 -- Enumerate remembered (persistent) connections. -- -- Declared in Windows as RESOURCE_REMEMBERED -- (from WEL_NETWORKING_CONSTANTS) Resource_type_any: INTEGER_32 = 0 -- All resources -- -- Declared in Windows as RESOURCETYPE_ANY -- (from WEL_NETWORKING_CONSTANTS) Resource_type_disk: INTEGER_32 = 1 -- Disk resources -- -- Declared in Windows as RESOURCETYPE_DISK -- (from WEL_NETWORKING_CONSTANTS) Resource_type_print: INTEGER_32 = 2 -- Print resources -- -- Declared in Windows as RESOURCETYPE_PRINT -- (from WEL_NETWORKING_CONSTANTS) Resource_usage_connectable: INTEGER_32 = 1 -- The resource is a connectable resource -- -- Declared in Windows as RESOURCEUSAGE_CONNECTABLE -- (from WEL_NETWORKING_CONSTANTS) Resource_usage_container: INTEGER_32 = 2 -- The resource is a container resource -- -- Declared in Windows as RESOURCEUSAGE_CONTAINER -- (from WEL_NETWORKING_CONSTANTS) feature -- Output Io: STD_FILES -- Handle to standard file setup -- (from ANY) ensure -- from ANY instance_free: class io_not_void: Result /= Void out: STRING_8 -- New string containing terse printable representation -- of current object -- (from ANY) ensure -- from ANY out_not_void: Result /= Void print (o: detachable ANY) -- Write terse external representation of o -- on standard output. -- (from ANY) ensure -- from ANY instance_free: class frozen tagged_out: STRING_8 -- New string containing terse printable representation -- of current object -- (from ANY) ensure -- from ANY tagged_out_not_void: Result /= Void feature -- Platform Operating_environment: OPERATING_ENVIRONMENT -- Objects available from the operating system -- (from ANY) ensure -- from ANY instance_free: class operating_environment_not_void: Result /= Void invariant -- from ANY reflexive_equality: standard_is_equal (Current) reflexive_conformance: conforms_to (Current) note copyright: "Copyright (c) 1984-2006, Eiffel Software and others" license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)" source: "[ Eiffel Software 356 Storke Road, Goleta, CA 93117 USA Telephone 805-685-1006, Fax 805-685-6869 Website http://www.eiffel.com Customer support http://support.eiffel.com ]" end -- class WEL_UNC_PATH_MAPPER
Classes Clusters Cluster hierarchy Chart Relations Flat contracts Go to:

-- Generated by Eiffel Studio --
For more details: eiffel.org