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
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 object.
Declaration
Objective-C
- (void)clear; -
Sets a specified string value.
Declaration
Objective-C
- (void)setString:(NSString *)key str:(NSString *)str;Parameters
keyThe key to set.
strThe string value.
-
Sets a specified boolean value.
Declaration
Objective-C
- (void)setBool:(NSString *)key val:(BOOL)val;Parameters
keyThe key to set.
valThe boolean value.
-
Sets a specified long integer value.
Declaration
Objective-C
- (void)setLong:(NSString *)key val:(long long)val;Parameters
keyThe key to set.
valThe integer value.
-
Sets a specified double precision floating point value.
Declaration
Objective-C
- (void)setDouble:(NSString *)key val:(double)val;Parameters
keyThe key to set.
valThe floating point value.
-
Sets a specified variant value.
Declaration
Objective-C
- (void)setVariant:(NSString *)key var:(NTVariant *)var;Parameters
keyThe key to set.
varThe 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;
View on GitHub
NTVariantObjectBuilder Class Reference