EMPrimitive Protocol Reference

Conforms to NSObject
Declared in EMPrimitive.h

Overview

A protocol representing a DS primitive.

  tag required method

Returns the tag for this primitive, the value is unsigned and ranges from 0x0000 to 0xFFFF. see EMPrimitiveTags in EMPrimitiveTags.h

@property (assign, nonatomic, readonly) NSInteger tag

Return Value

The tag value of this primitive.

Declared In

EMPrimitive.h

  primitiveType required method

Returns the type of the primitive, see EMPrimitiveType.

@property (assign, nonatomic, readonly) EMPrimitiveType primitiveType

Return Value

The type of this primitive.

Declared In

EMPrimitive.h

– description required method

Returns a textual description of this primitive, this is mainly intended for debug purposes.

- (NSString *)description

Return Value

The textual description.

Declared In

EMPrimitive.h