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 (Bool, QUERY_IS_ENCODED, "net.maxon.url.queryisencoded")
 
 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")
 
 MAXON_ATTRIBUTE (Bool, CLEARDATA, "net.maxon.url.cleardata")
 
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 constexpr LiteralId URLSCHEME_HANDLER
 
static constexpr LiteralId URLSCHEME_FILESYSTEM
 
static constexpr LiteralId URLSCHEME_AUTHORITY
 
static constexpr LiteralId URLSCHEME_RELATIVE
 
static constexpr LiteralId URLSCHEME_VOLUME
 
static constexpr LiteralId URLSCHEME_NETWORK
 
static constexpr LiteralId URLSCHEME_STORAGE
 
static constexpr LiteralId URLSCHEME_ZIPFILE
 
static constexpr LiteralId URLSCHEME_GZIPFILE
 
static constexpr LiteralId URLSCHEME_MEMORY
 
static constexpr LiteralId URLSCHEME_TCP
 
static constexpr LiteralId URLSCHEME_WS
 
static constexpr LiteralId URLSCHEME_WSS
 
static constexpr LiteralId URLSCHEME_HTTP
 
static constexpr LiteralId URLSCHEME_HTTPS
 
static constexpr LiteralId URLSCHEME_FTP
 
static constexpr LiteralId URLSCHEME_SFTP
 
static constexpr LiteralId URLSCHEME_PERFORCE
 
static constexpr LiteralId URLSCHEME_CRYPTOFILE
 
static constexpr LiteralId URLSCHEME_CACHE
 
static constexpr LiteralId URLSCHEME_PIPE
 
static constexpr LiteralId URLSCHEME_STDOUT
 
static constexpr LiteralId URLSCHEME_STDERR
 
static constexpr LiteralId URLSCHEME_STDIN
 
static constexpr LiteralId URLSCHEME_APK_ASSET
 
static constexpr LiteralId URLSCHEME_MEMORYFILESTRUCT
 
static constexpr LiteralId URLSCHEME_RAMDISK
 

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.