Python API 2.0 Reference
OpenMaya.MURI Class Reference
+ Inheritance diagram for OpenMaya.MURI:

Public Member Functions

def __eq__ ()
 
def __ge__ ()
 
def __gt__ ()
 
def __init__ ()
 
def __le__ ()
 
def __lt__ ()
 
def __ne__ ()
 
def __repr__ ()
 
def __str__ ()
 
def addQueryItem ()
 
def asString ()
 
def clear ()
 
def copy ()
 
def getAllQueryItemKeys ()
 
def getAllQueryItemValues ()
 
def getAuthority ()
 
def getDirectory ()
 
def getFileName ()
 
def getFragment ()
 
def getHost ()
 
def getPassword ()
 
def getPath ()
 
def getPort ()
 
def getQueryItemValue ()
 
def getQueryPairDelimiter ()
 
def getQueryValueDelimiter ()
 
def getScheme ()
 
def getUserInfo ()
 
def getUserName ()
 
def isEmpty ()
 
def isValid ()
 
def removeAllQueryItems ()
 
def removeQueryItem ()
 
def setAuthority ()
 
def setDirectory ()
 
def setFileName ()
 
def setFragment ()
 
def setHost ()
 
def setPassword ()
 
def setPath ()
 
def setPort ()
 
def setQueryDelimiters ()
 
def setScheme ()
 
def setURI ()
 
def setUserInfo ()
 
def setUserName ()
 

Static Public Member Functions

def __new__ ()
 
def isValidURI ()
 

Detailed Description

Manipulate URIs.

Constructor & Destructor Documentation

def OpenMaya.MURI.__init__ ( )
Initialize self.  See help(type(self)) for accurate signature.

Member Function Documentation

def OpenMaya.MURI.__eq__ ( )
Return self==value.
def OpenMaya.MURI.__ge__ ( )
Return self>=value.
def OpenMaya.MURI.__gt__ ( )
Return self>value.
def OpenMaya.MURI.__le__ ( )
Return self<=value.
def OpenMaya.MURI.__lt__ ( )
Return self<value.
def OpenMaya.MURI.__ne__ ( )
Return self!=value.
def OpenMaya.MURI.__new__ ( )
static
Create and return a new object.  See help(type) for accurate signature.
def OpenMaya.MURI.__repr__ ( )
Return repr(self).
def OpenMaya.MURI.__str__ ( )
Return str(self).
def OpenMaya.MURI.addQueryItem ( )
addQueryItem(key, value) -> self

Add a key/value pair to the query string of the URI.
def OpenMaya.MURI.asString ( )
asString() -> string

Returns the string representation of the URI.
def OpenMaya.MURI.clear ( )
clear() -> self

Clears the contents of the MURI object.
def OpenMaya.MURI.copy ( )
copy(source) -> self

Copy method. Assigns the value of one MURI to another.

* source (MURI) - Existing MURI object to copy.
def OpenMaya.MURI.getAllQueryItemKeys ( )
getAllQueryItemKeys() -> array

Returns an array containing the keys from all query string pairs.
def OpenMaya.MURI.getAllQueryItemValues ( )
getAllQueryItemValues(key) -> array

Returns an array containing the values from all query string pairs which have a given key.
def OpenMaya.MURI.getAuthority ( )
getAuthority() -> string

Returns the authority component of the URI.
def OpenMaya.MURI.getDirectory ( )
getDirectory() -> string

Returns just the file directory portion of the URI, without the file name.
def OpenMaya.MURI.getFileName ( )
getFileName(bool includeExtension=True) -> string

Returns just the file name portion of the URI, with or without the extension.
def OpenMaya.MURI.getFragment ( )
getFragment() -> string

Returns the fragment component of the URI.
def OpenMaya.MURI.getHost ( )
getHost() -> string

Returns the host component of the URI.
def OpenMaya.MURI.getPassword ( )
getPassword() -> string

Returns the password component of the URI.
def OpenMaya.MURI.getPath ( )
getPath() -> string

Returns the path component of the URI.
def OpenMaya.MURI.getPort ( )
getPort() -> int

Returns the port component of the URI, or -1 if the port is not defined.
def OpenMaya.MURI.getQueryItemValue ( )
getQueryItemValue(key) -> string

Returns the value from the first query string pair in the URI which has a given key.
def OpenMaya.MURI.getQueryPairDelimiter ( )
getQueryPairDelimiter() -> string

Returns the character used to delimit between key-value pairs in the query string of the URI.
def OpenMaya.MURI.getQueryValueDelimiter ( )
getQueryValueDelimiter() -> string

Returns the character used to delimit keys and values in the query string of the URI.
def OpenMaya.MURI.getScheme ( )
getScheme() -> string

Returns the scheme of the URI.
def OpenMaya.MURI.getUserInfo ( )
getUserInfo() -> string

Returns the user info component of the URI.
def OpenMaya.MURI.getUserName ( )
getUserName() -> string

Returns the user name component of the URI.
def OpenMaya.MURI.isEmpty ( )
isEmpty() -> bool

Determines if the URI does not contain any data.
def OpenMaya.MURI.isValid ( )
isValid() -> bool

Determines if the URI is valid.
def OpenMaya.MURI.isValidURI ( )
static
isValidURI(uri) -> bool

Determines if a string value represents a valid URI.
def OpenMaya.MURI.removeAllQueryItems ( )
removeAllQueryItems(int) -> self

Removes all query string pairs having a given key from the URI.
def OpenMaya.MURI.removeQueryItem ( )
removeQueryItem(int) -> self

Removes the first query string pair with a given key from the URI.
def OpenMaya.MURI.setAuthority ( )
setAuthority(string) -> self

Set the authority portion of the URI.
def OpenMaya.MURI.setDirectory ( )
setDirectory(string) -> self

Sets just the directory portion of the URI (i.e. not including the filename).
def OpenMaya.MURI.setFileName ( )
setFileName(string) -> self

Sets just the filename portion of the URI (i.e. not including the directory).
def OpenMaya.MURI.setFragment ( )
setFragment(string) -> self

Sets the fragment component of the URI.
def OpenMaya.MURI.setHost ( )
setHost(string) -> self

Set the host component of the URI.
def OpenMaya.MURI.setPassword ( )
setPassword(string) -> self

Sets the password part of the user info component.
def OpenMaya.MURI.setPath ( )
setPath(string) -> self

Sets the path component of the URI.
def OpenMaya.MURI.setPort ( )
setPort(int) -> self

Set the port component of the URI.
def OpenMaya.MURI.setQueryDelimiters ( )
setQueryDelimiters(valueDelimiter, pairDelimiter) -> self

Sets the delimiter characters used in the query string of the URI.
def OpenMaya.MURI.setScheme ( )
setScheme(string) -> self

Sets the scheme component of the URI.
def OpenMaya.MURI.setURI ( )
setURI(uri) -> self

Initialize the MURI from a string value.
def OpenMaya.MURI.setUserInfo ( )
setUserInfo(string) -> self

Decomposes the userInfo string to fill out the userInfo-related component values.
def OpenMaya.MURI.setUserName ( )
setUserName(string) -> self

Sets the user name part of the user info component.