NTRouteMatchingEdge


@interface NTRouteMatchingEdge : NSObject {
  void *swigCPtr;
  BOOL swigCMemOwn;
}

A class that defines a route matching result edge.

  • Checks if this object is equal to the specified object.

    Declaration

    Objective-C

    - (BOOL)isEqual:(id)object;

    Parameters

    object

    The reference object.

    Return Value

    True when objects are equal, false otherwise.

  • Returns the hash value of this object.

    Declaration

    Objective-C

    - (NSUInteger)hash;

    Return Value

    The hash value of this object.

  • Constructs a new RouteMatchingEdge instance with no attributes.

    Declaration

    Objective-C

    - (id)init;
  • Constructs a new RouteMatchingEdge from an attributes map.

    Declaration

    Objective-C

    - (id)initWithAttributes:(NTStringVariantMap *)attributes;

    Parameters

    attributes

    The attributes map.

  • Returns true if edge contains the specified attribute.

    Declaration

    Objective-C

    - (BOOL)containsAttribute:(NSString *)name;

    Parameters

    name

    The name of the attribute to check.

    Return Value

    True if the specified attribute exists in the edge.

  • Returns the value of the specified attribute.

    Declaration

    Objective-C

    - (NTVariant *)getAttribute:(NSString *)name;

    Parameters

    name

    The name of the attribute to return.

    Return Value

    The attribute value, if attribute exists. Null variant is returned otherwise.

  • Creates a string representation of this object, useful for logging.

    Declaration

    Objective-C

    - (NSString *)description;

    Return Value

    The string representation of this object.

  • Undocumented

    Declaration

    Objective-C

    -(void)dealloc;