NTVariantArrayBuilder
@interface NTVariantArrayBuilder : NSObject {
void *swigCPtr;
BOOL swigCMemOwn;
}
A helper class for building variant arrays.
-
Checks if this object is equal to the specified object.
Declaration
Objective-C
- (BOOL)isEqual:(id)object;Parameters
objectThe 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.
-
A default constructor.
Declaration
Objective-C
- (id)init; -
Clears the array.
Declaration
Objective-C
- (void)clear; -
Adds a new string to the array as the last element.
Declaration
Objective-C
- (void)addString:(NSString *)str;Parameters
strThe string to add.
-
Adds a new boolean to the array as the last element.
Declaration
Objective-C
- (void)addBool:(BOOL)val;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;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;Parameters
valThe floating point value to add.
-
Adds a new variant to the array as the last element.
Declaration
Objective-C
- (void)addVariant:(NTVariant *)var;Parameters
varThe variant to add.
-
Builds a new array variant from the added elements.
Declaration
Objective-C
- (NTVariant *)buildVariant;Return Value
The corresponding variant object.
-
Undocumented
Declaration
Objective-C
-(void)dealloc;
View on GitHub
NTVariantArrayBuilder Class Reference