Role

Undocumented in source.

Constructors

this
this(string name, int ordinal)
Undocumented in source.

Members

Functions

getVal
int getVal()
Undocumented in source. Be warned that the author may not have intended to support it.
getValue
Boolean getValue()
Undocumented in source. Be warned that the author may not have intended to support it.
name
string name()

Returns the name of this enum constant, exactly as declared in its enum declaration.

opCmp
int opCmp(Object o)
Undocumented in source. Be warned that the author may not have intended to support it.
ordinal
int ordinal()

Returns the ordinal of this enumeration constant (its position in its enum declaration, where the initial constant is assigned an ordinal of zero).

toString
string toString()

Returns the name of this enum constant, as contained in the declaration. This method may be overridden, though it typically isn't necessary or desirable. An enum type should override this method when a more "programmer-friendly" string form exists.

Static functions

RECEIVER
Role RECEIVER()
Undocumented in source. Be warned that the author may not have intended to support it.
SENDER
Role SENDER()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_name
string _name;
Undocumented in source.
_ordinal
int _ordinal;

The ordinal of this enumeration constant (its position in the enum declaration, where the initial constant is assigned an ordinal of zero).

Meta