Public Member Functions | |
| bool | contain (int tag, int index) const |
| Returns 'true' if the message contains the field with the given tag, otherwise - 'false'. | |
| const std::string & | get (int tag, int index) |
| Returns the field value as string. | |
| Group * | getGroup (int numberOfInstancesTag, int index) |
| Returns the nested repeating group. | |
| int | getInteger (int tag, int index) const |
| Returns the field value as integer. | |
| double | getDouble (int tag, int index) const |
| Returns the field value as a floating-point number. | |
| size_t | numberOfInstances () |
| Return the number of instances in this repeating group. | |
| bool | remove (int tag, int index) |
| Removes the field. | |
| bool | hasFlag (int tag, int index) const |
| Returns 'true' if the given flag is present and it equals to "Y", otherwise 'false'. | |
| bool | set (int tag, int index, const std::string &value) |
| Sets the field value as string. | |
| bool | set (int tag, int index, int value) |
| Sets the field value as integer. | |
| Group * | setGroup (int numberOfInstancesTag, int index, int numberOfIntances) |
| Creates a new repeating group or changes the number of instances in the existing repeatign group. | |
| bool | setFlag (int tag, int index, bool value) |
| Sets the given flag to "Y" or "N". | |
| void | release () |
| Releases all Group resources (destroys the object). | |
Friends | |
| class | Message |
Definition at line 20 of file Group.h.
| bool contain | ( | int | tag, | |
| int | index | |||
| ) | const |
Returns 'true' if the message contains the field with the given tag, otherwise - 'false'.
| tag | Tag number. | |
| index | Index of the repeating group instance. |
| const std::string& get | ( | int | tag, | |
| int | index | |||
| ) |
Returns the field value as string.
| tag | Tag number. | |
| index | Index of the repeating group instance. |
| Group* getGroup | ( | int | numberOfInstancesTag, | |
| int | index | |||
| ) |
Returns the nested repeating group.
| numberOfInstancesTag | Tag number of the field that defines the number of instances in this repeating group (the NoXXX field). | |
| index | Index of the repeating group instance. |
| int getInteger | ( | int | tag, | |
| int | index | |||
| ) | const |
Returns the field value as integer.
| tag | Tag number. | |
| index | Index of the repeating group instance. |
| double getDouble | ( | int | tag, | |
| int | index | |||
| ) | const |
Returns the field value as a floating-point number.
| tag | Tag number. | |
| index | Index of the repeating group instance. |
| size_t numberOfInstances | ( | ) |
Return the number of instances in this repeating group.
| bool remove | ( | int | tag, | |
| int | index | |||
| ) |
Removes the field.
| tag | Tag number. | |
| index | Index of the repeating group instance. |
| bool hasFlag | ( | int | tag, | |
| int | index | |||
| ) | const |
Returns 'true' if the given flag is present and it equals to "Y", otherwise 'false'.
| tag | Tag number. | |
| index | Index of the repeating group instance. |
| bool set | ( | int | tag, | |
| int | index, | |||
| const std::string & | value | |||
| ) |
Sets the field value as string.
| tag | Tag number. | |
| index | Index of the repeating group instance. | |
| value | Field value. |
| bool set | ( | int | tag, | |
| int | index, | |||
| int | value | |||
| ) |
Sets the field value as integer.
| tag | Tag number. | |
| index | Index of the repeating group instance. | |
| value | Field value. |
| Group* setGroup | ( | int | numberOfInstancesTag, | |
| int | index, | |||
| int | numberOfIntances | |||
| ) |
Creates a new repeating group or changes the number of instances in the existing repeatign group.
| numberOfInstancesTag | Tag number of the field that defines the number of instances in this repeating group (the NoXXX field). | |
| index | Index of the repeating group instance. | |
| numberOfIntances | Number of instances in the repeating group. |
| bool setFlag | ( | int | tag, | |
| int | index, | |||
| bool | value | |||
| ) |
Sets the given flag to "Y" or "N".
| tag | Tag number. | |
| index | Index of the repeating group instance. | |
| value | Flag value. |
| void release | ( | ) |
Releases all Group resources (destroys the object).
1.5.2