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!) -> BoolParameters
objectThe 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() -> UIntReturn 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
strThe 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
valThe 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
valThe 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
valThe floating point value to add.
-
Adds a new variant to the array as the last element.
Parameters
varThe variant to add.
-
Builds a new array variant from the added elements.
Return Value
The corresponding variant object.
-
Undocumented
Declaration
Objective-C
-(void)dealloc;Swift
func dealloc()