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

    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;

    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

    str

    The string to add.

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

    Declaration

    Objective-C

    - (void)addBool:(BOOL)val;

    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;

    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;

    Parameters

    val

    The floating point value to add.

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

    Declaration

    Objective-C

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

    Parameters

    var

    The 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;