class RotationMatrix

August 13, 2019 ยท View on GitHub

Member values

Member nameData typeDescription
row1RotationMatrixRowFirst rotation matrix row
row2RotationMatrixRowSecond rotation matrix row
row3RotationMatrixRowThird rotation matrix row

Member functions

Function nameReturn typeInput typeDescription
has_row1() constboolvoidReturns true if row1 is set.
row1()const RotationMatrixRow&voidReturns the current value of row1. If row1 is not set, returns a RotationMatrixRow with none of its fields set (possibly row1::default_instance()).
mutable_row1()RotationMatrixRow *voidReturns a pointer to the mutable RotationMatrixRow object that stores the field's value. If the field was not set prior to the call, then the returned RotationMatrixRow will have none of its fields set (i.e. it will be identical to a newly-allocated RotationMatrixRow). After calling this, has_row1() will return true and row1() will return a reference to the same instance of RotationMatrixRow.
clear_row1()voidvoidClears the value of the field. After calling this, has_row1() will return false and row1() will return the default value.
set_allocated_row1()voidRotationMatrixRow *Sets the RotationMatrixRow object to the field and frees the previous field value if it exists. If the RotationMatrixRow pointer is not NULL, the message takes ownership of the allocated RotationMatrixRow object and has_ RotationMatrixRow() will return true. Otherwise, if the row1 is NULL, the behavior is the same as calling clear_row1().
release_row1()RotationMatrixRow *voidReleases the ownership of the field and returns the pointer of the RotationMatrixRow object. After calling this, caller takes the ownership of the allocated RotationMatrixRow object, has_row1() will return false, and row1() will return the default value.
has_row2() constboolvoidReturns true if row2 is set.
row2()const RotationMatrixRow&voidReturns the current value of row2. If row2 is not set, returns a RotationMatrixRow with none of its fields set (possibly row2::default_instance()).
mutable_row2()RotationMatrixRow *voidReturns a pointer to the mutable RotationMatrixRow object that stores the field's value. If the field was not set prior to the call, then the returned RotationMatrixRow will have none of its fields set (i.e. it will be identical to a newly-allocated RotationMatrixRow). After calling this, has_row2() will return true and row2() will return a reference to the same instance of RotationMatrixRow.
clear_row2()voidvoidClears the value of the field. After calling this, has_row2() will return false and row2() will return the default value.
set_allocated_row2()voidRotationMatrixRow *Sets the RotationMatrixRow object to the field and frees the previous field value if it exists. If the RotationMatrixRow pointer is not NULL, the message takes ownership of the allocated RotationMatrixRow object and has_ RotationMatrixRow() will return true. Otherwise, if the row2 is NULL, the behavior is the same as calling clear_row2().
release_row2()RotationMatrixRow *voidReleases the ownership of the field and returns the pointer of the RotationMatrixRow object. After calling this, caller takes the ownership of the allocated RotationMatrixRow object, has_row2() will return false, and row2() will return the default value.
has_row3() constboolvoidReturns true if row3 is set.
row3()const RotationMatrixRow&voidReturns the current value of row3. If row3 is not set, returns a RotationMatrixRow with none of its fields set (possibly row3::default_instance()).
mutable_row3()RotationMatrixRow *voidReturns a pointer to the mutable RotationMatrixRow object that stores the field's value. If the field was not set prior to the call, then the returned RotationMatrixRow will have none of its fields set (i.e. it will be identical to a newly-allocated RotationMatrixRow). After calling this, has_row3() will return true and row3() will return a reference to the same instance of RotationMatrixRow.
clear_row3()voidvoidClears the value of the field. After calling this, has_row3() will return false and row3() will return the default value.
set_allocated_row3()voidRotationMatrixRow *Sets the RotationMatrixRow object to the field and frees the previous field value if it exists. If the RotationMatrixRow pointer is not NULL, the message takes ownership of the allocated RotationMatrixRow object and has_ RotationMatrixRow() will return true. Otherwise, if the row3 is NULL, the behavior is the same as calling clear_row3().
release_row3()RotationMatrixRow *voidReleases the ownership of the field and returns the pointer of the RotationMatrixRow object. After calling this, caller takes the ownership of the allocated RotationMatrixRow object, has_row3() will return false, and row3() will return the default value.

Parent topic: Base (C++)