url.h File Reference

Classes

class  UrlInterface
 
class  Url
 
class  UrlOrStream< STREAM >
 

Namespaces

 maxon
 
 maxon::URLFLAGS
 

Typedefs

using UrlScheme = Id
 
using UrlIoShowInOSDelegate = Delegate< Result< Bool >(const Url &url, IOSHOWINOSFLAGS flags)>
 

Enumerations

enum class  GETBROWSEITERATORFLAGS {
  NONE ,
  NOERRORONOPEN ,
  RESOLVEPATHS
}
 
enum class  CONVERTTOUINAMEFLAGS {
  NONE ,
  NAMEONLY ,
  DIRECTORYONLY ,
  ADDVERSION ,
  CLEARSUFFIX ,
  DONTADDDATABASE
}
 

Functions

class IoConnectionRef MAXON_FORWARD ("maxon/ioconnection.h")
 
class OutputStreamRef MAXON_FORWARD ("maxon/iostreams.h")
 
class IoBrowseRef MAXON_FORWARD ("maxon/iobrowse.h")
 
class UniversalDateTime MAXON_FORWARD ("maxon/datetime.h")
 
 MAXON_ATTRIBUTE (Bool, UNBUFFERED_FILE, "net.maxon.url.unbuffered_file")
 
 MAXON_ATTRIBUTE (TimeValue, NETWORK_CONNECTTIMEOUT, "net.maxon.url.network_connecttimeout")
 
 MAXON_ATTRIBUTE (TimeValue, NETWORK_SESSIONTIMEOUT, "net.maxon.url.network_sessiontimeout")
 
 MAXON_ATTRIBUTE (String, USERNAME, "net.maxon.url.username")
 
 MAXON_ATTRIBUTE (String, USERPASSWORD, "net.maxon.url.userpassword")
 
 MAXON_ATTRIBUTE (String, QUERY, "net.maxon.url.query")
 
 MAXON_ATTRIBUTE (String, FRAGMENT, "net.maxon.url.fragment")
 
 MAXON_ATTRIBUTE (Bool, CACHE_IN_RAM, "net.maxon.url.cache_in_ram")
 
 MAXON_ATTRIBUTE (DelegateBase, FTPS_FINGERPRINT, "net.maxon.url.ftps_fingerprint")
 
 MAXON_ATTRIBUTE (URLCOMPARE, PRIVATE_FORCECOMPAREMODE, "net.maxon.url.private_forcecomparemode")
 
enum maxon::GETBROWSEITERATORFLAGS MAXON_ENUM_FLAGS (GETBROWSEITERATORFLAGS)
 
enum maxon::CONVERTTOUINAMEFLAGS MAXON_ENUM_FLAGS (CONVERTTOUINAMEFLAGS)
 
 MAXON_REGISTRY (UrlIoShowInOSDelegate, UrlIoShowInOSRegistry, "net.maxon.registry.urlioshowinos")
 

Variables

 NONE
 
 NOERRORONOPEN
 
 RESOLVEPATHS
 
 NAMEONLY
 
 DIRECTORYONLY
 
 ADDVERSION
 
 CLEARSUFFIX
 
 DONTADDDATABASE
 
static const Id URLSCHEME_HANDLER
 
static const Id URLSCHEME_FILESYSTEM
 
static const Id URLSCHEME_AUTHORITY
 
static const Id URLSCHEME_RELATIVE
 
static const Id URLSCHEME_VOLUME
 
static const Id URLSCHEME_NETWORK
 
static const Id URLSCHEME_STORAGE
 
static const Id URLSCHEME_ZIPFILE
 
static const Id URLSCHEME_GZIPFILE
 
static const Id URLSCHEME_MEMORY
 
static const Id URLSCHEME_TCP
 
static const Id URLSCHEME_WS
 
static const Id URLSCHEME_WSS
 
static const Id URLSCHEME_HTTP
 
static const Id URLSCHEME_HTTPS
 
static const Id URLSCHEME_FTP
 
static const Id URLSCHEME_SFTP
 
static const Id URLSCHEME_PERFORCE
 
static const Id URLSCHEME_CRYPTOFILE
 
static const Id URLSCHEME_CACHE
 
static const Id URLSCHEME_PIPE
 
static const Id URLSCHEME_STDOUT
 
static const Id URLSCHEME_STDERR
 
static const Id URLSCHEME_STDIN
 
static const Id URLSCHEME_APK_ASSET
 

Variable Documentation

◆ NONE

NONE

No flags specified.

Default: returns directory + name.

◆ NOERRORONOPEN

NOERRORONOPEN

Will return no error when opening a non existing directory but will return an empty browse handler with no entries.

◆ RESOLVEPATHS

RESOLVEPATHS

Attempts to resolve paths by invoking IoNormalize on them. Non-resolvable paths will not halt iteration and instead be passed through.

◆ NAMEONLY

NAMEONLY

Returns only the name without directory + optional version.

◆ DIRECTORYONLY

DIRECTORYONLY

Returns only the directory without name.

◆ ADDVERSION

ADDVERSION

Adds the version in front of the suffix.

◆ CLEARSUFFIX

CLEARSUFFIX

Remove the suffix from the name.

◆ DONTADDDATABASE

DONTADDDATABASE

Don't add the Database name in brackets behind the name.