NTVariantObjectBuilder


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

A helper class for building variant objects.

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

    Declaration

    Objective-C

    - (void)clear;
  • Sets a specified string value.

    Declaration

    Objective-C

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

    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;

    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;

    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;

    Parameters

    key

    The key to set.

    val

    The floating point value.

  • Sets a specified variant value.

    Declaration

    Objective-C

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

    Parameters

    key

    The key to set.

    var

    The variant to add.

  • Builds a new object variant from the added elements.

    Declaration

    Objective-C

    - (NTVariant *)buildVariant;

    Return Value

    The corresponding variant object.

  • Undocumented

    Declaration

    Objective-C

    -(void)dealloc;