|
- Method resolution order:
- OID
- tuple
- object
Methods defined here:
- __add__(self, other)
- Add something to us, creating a new OID
- __cmp__(self, other)
- Compare to another object
- __getslice__(self, i, j, step=1, SLICETYPE=<type 'slice'>)
- Retrieve an item or a slice of the OID
if slice is an integer, return integer value
if slice starts at 0, return an OID, otherwise
just return a tuple.
- __repr__(self)
- Get a code-like representation of this OID
- __str__(self)
- Get a bare string representation of this OID
- isaprefix(self, other, ifilter=<type 'itertools.ifilter'>, starmap=<type 'itertools.starmap'>, izip=<type 'itertools.izip'>, len=<built-in function len>)
- Determine whether this OID is a prefix of other
Note: this version is trying to be as fast as possible, as it
is one of the most heavily-used functions in real-world
applications (millions of calls over a few minutes)
- mergeAliases(self, otherObject)
- Merge our aliases with another OID object
Class methods defined here:
- fromCore(cls, stringForm, numericForm, aliases=None) from type
- Create new OID object from string, numeric and aliases
- fromNumeric(cls, values, aliases=None) from type
- Convert sequence of integer values to OID value
- fromString(cls, value, aliases=None) from type
- Convert string value to an OID value
Static methods defined here:
- __new__(cls, *values)
Data and other attributes defined here:
- __dict__ = <dictproxy object>
- dictionary for instance variables (if defined)
Methods inherited from tuple:
- __contains__(...)
- x.__contains__(y) <==> y in x
- __eq__(...)
- x.__eq__(y) <==> x==y
- __ge__(...)
- x.__ge__(y) <==> x>=y
- __getattribute__(...)
- x.__getattribute__('name') <==> x.name
- __getitem__(...)
- x.__getitem__(y) <==> x[y]
- __getnewargs__(...)
- __gt__(...)
- x.__gt__(y) <==> x>y
- __hash__(...)
- x.__hash__() <==> hash(x)
- __iter__(...)
- x.__iter__() <==> iter(x)
- __le__(...)
- x.__le__(y) <==> x<=y
- __len__(...)
- x.__len__() <==> len(x)
- __lt__(...)
- x.__lt__(y) <==> x<y
- __mul__(...)
- x.__mul__(n) <==> x*n
- __ne__(...)
- x.__ne__(y) <==> x!=y
- __rmul__(...)
- x.__rmul__(n) <==> n*x
|