url.h File Reference

Classes

class  UrlOrStream< STREAM >
 
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  GETBROWSEITERATORFLAGS {
  NONE,
  NOERRORONOPEN,
  RESOLVEPATHS
}
 
enum  CONVERTTOUINAMEFLAGS {
  NONE,
  NAMEONLY,
  DIRECTORYONLY,
  ADDVERSION,
  CLEARSUFFIX
}
 

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")
 
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
 
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

TODO: (Sebastian) please add documentation on this.

◆ NAMEONLY

NAMEONLY

Default: returns only the name without directory + optional version.

◆ DIRECTORYONLY

DIRECTORYONLY

Default: returns only the directory without name.

◆ ADDVERSION

ADDVERSION

Default: adds the version in front of the suffix.

◆ CLEARSUFFIX

CLEARSUFFIX

Default: remove the suffix from the name.