MSFRouteMatchingEdge

Objective-C


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

Swift

class MSFRouteMatchingEdge : NSObject

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;

    Swift

    func isEqual(_ object: Any!) -> Bool

    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;

    Swift

    func hash() -> UInt

    Return Value

    The hash value of this object.

  • Constructs a new RouteMatchingEdge instance with no attributes.

    Declaration

    Objective-C

    - (id)init;

    Swift

    init!()
  • Constructs a new RouteMatchingEdge from an attributes map.

    Declaration

    Objective-C

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

    Swift

    init!(attributes: MSFStringVariantMap!)

    Parameters

    attributes

    The attributes map.

  • Returns true if edge contains the specified attribute.

    Declaration

    Objective-C

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

    Swift

    func containsAttribute(_ name: String!) -> Bool

    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

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

    Swift

    func getAttribute(_ name: String!) -> MSFVariant!

    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;

    Swift

    func description() -> String!

    Return Value

    The string representation of this object.

  • Undocumented

    Declaration

    Objective-C

    -(void)dealloc;

    Swift

    func dealloc()