[This is preliminary documentation and is subject to change.]
The ErlTuple type exposes the following members.Constructors
| Name | Description | |
|---|---|---|
| ErlTuple( Object ) | Initializes a new instance of the ErlTuple class | |
| ErlTuple(ErlTuple) | Initializes a new instance of the ErlTuple class | |
| ErlTuple( IErlObject ) |
Create an Erlang tuple from the given list of items
| |
| ErlTuple(List IErlObject , Boolean) | Initializes a new instance of the ErlTuple class |
Methods
| Name | Description | |
|---|---|---|
| Add |
Add an item to a mutable list. This method must be used only during
list construction phase, since it treats the list as a mutable entity
(Inherited from ErlTupleBase.) | |
| Cast T |
Return index'th element cast to the given type
(Inherited from ErlTupleBase.) | |
| Clone |
Clone an instance of the object (non-scalar immutable objects are copied by reference)
(Inherited from ErlTupleBase.) | |
| CompareTo(Object) |
Compare this instance to the object.
Negative value means that the atom is less than obj, positive - greater than the obj
(Inherited from ErlTupleBase.) | |
| CompareTo(IErlObject) |
Compare this instance to the IErlObject.
Negative value means that the atom is less than obj, positive - greater than the obj
(Inherited from ErlTupleBase.) | |
| Create | ||
| Equals(Object) | (Overrides ErlTupleBase Equals(Object).) | |
| Equals(ErlTuple) |
Determine if two Erlang tuples are equal
| |
| Equals(IErlObject) |
Determine if two Erlang objects are equal
(Overrides ErlTupleBase Equals(IErlObject).) | |
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from | ||
| GetHashCode | (Overrides ErlTupleBase GetHashCode .) | |
Gets the (Inherited from | ||
| MakeInstance | (Overrides ErlTupleBase MakeInstance .) | |
| Match(IErlObject) |
Perform pattern match on this Erlang term returning null if match fails
or a dictionary of matched variables bound in the pattern
(Inherited from ErlTupleBase.) | |
| Match(IErlObject, ErlVarBind) |
Perform pattern match on this Erlang term, storing matched variables
found in the pattern into the binding.
(Inherited from ErlTupleBase.) | |
| Matches |
Perform pattern match on this Erlang term without binding any variables
(Inherited from ErlTupleBase.) | |
Creates a shallow copy of the current (Inherited from | ||
| Subst | (Inherited from ErlTupleBase.) | |
| ToString |
Get the string representation of the list.
(Inherited from ErlTupleBase.) | |
| ToString(Boolean) | (Inherited from ErlTupleBase.) | |
| Visit TAccumulate |
Execute fun for every nested term
(Inherited from ErlTupleBase.) |
Operators
| Name | Description | |
|---|---|---|
| Equality | ||
| (ErlTuple to List IErlObject ) |
Implicit conversion of atom to string
| |
| Inequality |
Extension Methods
Fields
| Name | Description | |
|---|---|---|
| m_Items |
The index of this atom in the global atom table
(Inherited from ErlTupleBase.) |
Properties
| Name | Description | |
|---|---|---|
| CloseBracket | (Overrides ErlTupleBase CloseBracket.) | |
| Count |
Return number of elements in the container
(Inherited from ErlTupleBase.) | |
| IsScalar |
Determines whether the underlying type is scalar or complex (i.e. tuple, list)
(Inherited from ErlTupleBase.) | |
| Item |
Return index'th element from the container
(Inherited from ErlTupleBase.) | |
| OpenBracket | (Overrides ErlTupleBase OpenBracket.) | |
| TypeOrder | (Overrides ErlTupleBase TypeOrder.) | |
| Value |
Get the list of Erlang terms contained in this object
(Inherited from ErlTupleBase.) | |
| ValueAsBool | (Inherited from ErlTupleBase.) | |
| ValueAsByteArray | (Inherited from ErlTupleBase.) | |
| ValueAsChar | (Inherited from ErlTupleBase.) | |
| ValueAsDateTime |
Returns tuple value as DateTime in UTC if the tuple is in the form
(Overrides ErlTupleBase ValueAsDateTime.){MegaSec, Sec, MicroSec} | |
| ValueAsDecimal | (Inherited from ErlTupleBase.) | |
| ValueAsDouble | (Inherited from ErlTupleBase.) | |
| ValueAsInt | (Inherited from ErlTupleBase.) | |
| ValueAsLong | (Inherited from ErlTupleBase.) | |
| ValueAsObject | (Inherited from ErlTupleBase.) | |
| ValueAsString | (Inherited from ErlTupleBase.) | |
| ValueAsTimeSpan | (Inherited from ErlTupleBase.) |
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
| ICloneable Clone | (Inherited from ErlTupleBase.) | |
| IEnumerable IErlObject GetEnumerator | (Inherited from ErlTupleBase.) | |
| IEnumerable GetEnumerator | (Inherited from ErlTupleBase.) |
See Also