MSFVariantObjectBuilder

Objective-C


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

Swift

class MSFVariantObjectBuilder : NSObject

A helper class for building variant objects.

  • 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.

  • A default constructor.

    Declaration

    Objective-C

    - (id)init;

    Swift

    init!()
  • Clears the object.

    Declaration

    Objective-C

    - (void)clear;

    Swift

    func clear()
  • Sets a specified string value.

    Declaration

    Objective-C

    - (void)setString:(NSString *)key str:(NSString *)str;

    Swift

    func setString(_ key: String!, str: String!)

    Parameters

    key

    The key to set.

    str

    The string value.

  • Sets a specified boolean value.

    Declaration

    Objective-C

    - (void)setBool:(NSString *)key val:(BOOL)val;

    Swift

    func setBool(_ key: String!, val: Bool)

    Parameters

    key

    The key to set.

    val

    The boolean value.

  • Sets a specified long integer value.

    Declaration

    Objective-C

    - (void)setLong:(NSString *)key val:(long long)val;

    Swift

    func setLong(_ key: String!, val: Int64)

    Parameters

    key

    The key to set.

    val

    The integer value.

  • Sets a specified double precision floating point value.

    Declaration

    Objective-C

    - (void)setDouble:(NSString *)key val:(double)val;

    Swift

    func setDouble(_ key: String!, val: Double)

    Parameters

    key

    The key to set.

    val

    The floating point value.

  • Sets a specified variant value.

    Declaration

    Objective-C

    - (void)setVariant:(NSString *)key var:(MSFVariant *)var;

    Swift

    func setVariant(_ key: String!, var: MSFVariant!)

    Parameters

    key

    The key to set.

    var

    The variant to add.

  • Builds a new object variant from the added elements.

    Declaration

    Objective-C

    - (MSFVariant *)buildVariant;

    Swift

    func buildVariant() -> MSFVariant!

    Return Value

    The corresponding variant object.

  • Undocumented

    Declaration

    Objective-C

    -(void)dealloc;

    Swift

    func dealloc()