Member values
Member name | Data type | Description |
---|---|---|
part_number_revision | string | Part number revision |
Member functions
Function name | Return type | Input type | Description |
---|---|---|---|
part_number_revision() | const string& | void | Returns the current value of part_number_revision. If part_number_revision is not set, returns the empty string/empty bytes. |
set_part_number_revision() | void | const string& | Sets the value of part_number_revision. After calling this, part_number_revision() will return a copy of value. |
set_part_number_revision() | void | string&& | (C++11 and beyond): Sets the value of part_number_revision, moving from the passed string. After calling this, part_number_revision() will return a copy of value. |
set_part_number_revision() | void | const char* | Sets the value of part_number_revision using a C-style null-terminated string. After calling this, part_number_revision() will return a copy of value. |
mutable_part_number_revision() | string * | void | Returns a pointer to the mutable string object that stores part_number_revision's value. If the field was not set prior to the call, then the returned string will be empty. After calling this, part_number_revision() will return whatever value is written into the given string. |
clear_part_number_revision() | void | void | Clears the value of part_number_revision. After calling this, part_number_revision() will return the empty string/empty bytes. |
set_allocated_part_number_revision() | void | string* | Sets the string object to the field and frees the previous field value if it exists. If the string pointer is not NULL, the message takes ownership of the allocated string object. The message is free to delete the allocated string object at any time, so references to the object may be invalidated. Otherwise, if the value is NULL, the behavior is the same as calling clear_part_number_revision(). |
release_part_number_revision() | string * | void | Releases the ownership of part_number_revision and returns the pointer of the string object. After calling this, caller takes the ownership of the allocated string object and part_number_revision() will return the empty string/empty bytes. |
Parent topic: DeviceConfig (C++)