DataParameter

Overview

Stores a name/value pair.

The DataParameter class is used by several IDataAbstractService methods to pass parameters to remote commands and data tables before their execution.

Location


 

assignFrom: assignFrom:(ROComplexType *)

Configures instance of the DataParameter class according to given source

- (void) assignFrom:(ROComplexType *)aValue

Parameters:

  • aValue:

assignFrom: assignFrom:(nonnull ROComplexType *)     (declared in ROComplexType)

- (void) assignFrom:(nonnull ROComplexType *)source

Parameters:

  • source:

deepCopyWithZone:  deprecated    (declared in ROComplexType)

- (nullable id) deepCopyWithZone:(nullable NSZone *)zone

Parameters:

  • zone:

getAttributeValue:    (declared in ROComplexType)

+ (nullable NSString *) getAttributeValue:(nonnull NSString *)aName

Parameters:

  • aName:

Name  nonatomic

Represents the name of the DataParameter

@property (nonatomic) NSString *Name

readFromMessage:withName: readFromMessage:(nonnull ROMessage *) withName:(nullable NSString *)     (declared in ROComplexType)

- (void) readFromMessage:(nonnull ROMessage *)aMessage withName:(nullable NSString *)aName

Parameters:

  • aMessage:
  • aName:

readFromMessage:withName: readFromMessage:(ROMessage *) withName:(NSString *)

This method is used for reading the DataParameter instance from a message packet.

- (void) readFromMessage:(ROMessage *)aMessage withName:(NSString *)aName

Parameters:

  • aMessage: Message instance from where we read the DataParameter
  • aName: Parameter name

Value  nonatomic

Represents the value of the DataParameter

@property (nonatomic) ROVariant *Value

writeToMessage:withName: writeToMessage:(nonnull ROMessage *) withName:(nullable NSString *)     (declared in ROComplexType)

- (void) writeToMessage:(nonnull ROMessage *)aMessage withName:(nullable NSString *)aName

Parameters:

  • aMessage:
  • aName:

writeToMessage:withName: writeToMessage:(ROMessage *) withName:(NSString *)

Metod serializes DataParameter with given name into given message.

- (void) writeToMessage:(ROMessage *)aMessage withName:(NSString *)aName

Parameters:

  • aMessage:
  • aName:

 

Name  nonatomic

Represents the name of the DataParameter

@property (nonatomic) NSString *Name

Value  nonatomic

Represents the value of the DataParameter

@property (nonatomic) ROVariant *Value

 

getAttributeValue:    (declared in ROComplexType)

+ (nullable NSString *) getAttributeValue:(nonnull NSString *)aName

Parameters:

  • aName:

 

assignFrom: assignFrom:(ROComplexType *)

Configures instance of the DataParameter class according to given source

- (void) assignFrom:(ROComplexType *)aValue

Parameters:

  • aValue:

assignFrom: assignFrom:(nonnull ROComplexType *)     (declared in ROComplexType)

- (void) assignFrom:(nonnull ROComplexType *)source

Parameters:

  • source:

deepCopyWithZone:  deprecated    (declared in ROComplexType)

- (nullable id) deepCopyWithZone:(nullable NSZone *)zone

Parameters:

  • zone:

readFromMessage:withName: readFromMessage:(nonnull ROMessage *) withName:(nullable NSString *)     (declared in ROComplexType)

- (void) readFromMessage:(nonnull ROMessage *)aMessage withName:(nullable NSString *)aName

Parameters:

  • aMessage:
  • aName:

readFromMessage:withName: readFromMessage:(ROMessage *) withName:(NSString *)

This method is used for reading the DataParameter instance from a message packet.

- (void) readFromMessage:(ROMessage *)aMessage withName:(NSString *)aName

Parameters:

  • aMessage: Message instance from where we read the DataParameter
  • aName: Parameter name

writeToMessage:withName: writeToMessage:(nonnull ROMessage *) withName:(nullable NSString *)     (declared in ROComplexType)

- (void) writeToMessage:(nonnull ROMessage *)aMessage withName:(nullable NSString *)aName

Parameters:

  • aMessage:
  • aName:

writeToMessage:withName: writeToMessage:(ROMessage *) withName:(NSString *)

Metod serializes DataParameter with given name into given message.

- (void) writeToMessage:(ROMessage *)aMessage withName:(NSString *)aName

Parameters:

  • aMessage:
  • aName: