MSFVariantArrayBuilder

Objective-C


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

Swift

class MSFVariantArrayBuilder : NSObject

A helper class for building variant arrays.

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

    Declaration

    Objective-C

    - (void)clear;

    Swift

    func clear()
  • Adds a new string to the array as the last element.

    Declaration

    Objective-C

    - (void)addString:(NSString *)str;

    Swift

    func add(_ str: String!)

    Parameters

    str

    The string to add.

  • Adds a new boolean to the array as the last element.

    Declaration

    Objective-C

    - (void)addBool:(BOOL)val;

    Swift

    func add(_ val: Bool)

    Parameters

    val

    The boolean to add.

  • Adds a new long integer to the array as the last element.

    Declaration

    Objective-C

    - (void)addLong:(long long)val;

    Swift

    func addLong(_ val: Int64)

    Parameters

    val

    The integer to add.

  • Adds a new double floating point value to the array as the last element.

    Declaration

    Objective-C

    - (void)addDouble:(double)val;

    Swift

    func add(_ val: Double)

    Parameters

    val

    The floating point value to add.

  • Adds a new variant to the array as the last element.

    Declaration

    Objective-C

    - (void)addVariant:(MSFVariant *)var;

    Swift

    func add(_ var: MSFVariant!)

    Parameters

    var

    The variant to add.

  • Builds a new array 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()