class TransformationMatrix

August 13, 2019 ยท View on GitHub

Member values

Member nameData typeDescription
r0TransformationRowFirst transformation row
r1TransformationRowSecond transformation row
r2TransformationRowThird transformation row
r3TransformationRowFourth transformation row

Member functions

Function nameReturn typeInput typeDescription
has_r0() constboolvoidReturns true if r0 is set.
r0()const TransformationRow&voidReturns the current value of r0. If r0 is not set, returns a TransformationRow with none of its fields set (possibly r0::default_instance()).
mutable_r0()TransformationRow *voidReturns a pointer to the mutable TransformationRow object that stores the field's value. If the field was not set prior to the call, then the returned TransformationRow will have none of its fields set (i.e. it will be identical to a newly-allocated TransformationRow). After calling this, has_r0() will return true and r0() will return a reference to the same instance of TransformationRow.
clear_r0()voidvoidClears the value of the field. After calling this, has_r0() will return false and r0() will return the default value.
set_allocated_r0()voidTransformationRow *Sets the TransformationRow object to the field and frees the previous field value if it exists. If the TransformationRow pointer is not NULL, the message takes ownership of the allocated TransformationRow object and has_ TransformationRow() will return true. Otherwise, if the r0 is NULL, the behavior is the same as calling clear_r0().
release_r0()TransformationRow *voidReleases the ownership of the field and returns the pointer of the TransformationRow object. After calling this, caller takes the ownership of the allocated TransformationRow object, has_r0() will return false, and r0() will return the default value.
has_r1() constboolvoidReturns true if r1 is set.
r1()const TransformationRow&voidReturns the current value of r1. If r1 is not set, returns a TransformationRow with none of its fields set (possibly r1::default_instance()).
mutable_r1()TransformationRow *voidReturns a pointer to the mutable TransformationRow object that stores the field's value. If the field was not set prior to the call, then the returned TransformationRow will have none of its fields set (i.e. it will be identical to a newly-allocated TransformationRow). After calling this, has_r1() will return true and r1() will return a reference to the same instance of TransformationRow.
clear_r1()voidvoidClears the value of the field. After calling this, has_r1() will return false and r1() will return the default value.
set_allocated_r1()voidTransformationRow *Sets the TransformationRow object to the field and frees the previous field value if it exists. If the TransformationRow pointer is not NULL, the message takes ownership of the allocated TransformationRow object and has_ TransformationRow() will return true. Otherwise, if the r1 is NULL, the behavior is the same as calling clear_r1().
release_r1()TransformationRow *voidReleases the ownership of the field and returns the pointer of the TransformationRow object. After calling this, caller takes the ownership of the allocated TransformationRow object, has_r1() will return false, and r1() will return the default value.
has_r2() constboolvoidReturns true if r2 is set.
r2()const TransformationRow&voidReturns the current value of r2. If r2 is not set, returns a TransformationRow with none of its fields set (possibly r2::default_instance()).
mutable_r2()TransformationRow *voidReturns a pointer to the mutable TransformationRow object that stores the field's value. If the field was not set prior to the call, then the returned TransformationRow will have none of its fields set (i.e. it will be identical to a newly-allocated TransformationRow). After calling this, has_r2() will return true and r2() will return a reference to the same instance of TransformationRow.
clear_r2()voidvoidClears the value of the field. After calling this, has_r2() will return false and r2() will return the default value.
set_allocated_r2()voidTransformationRow *Sets the TransformationRow object to the field and frees the previous field value if it exists. If the TransformationRow pointer is not NULL, the message takes ownership of the allocated TransformationRow object and has_ TransformationRow() will return true. Otherwise, if the r2 is NULL, the behavior is the same as calling clear_r2().
release_r2()TransformationRow *voidReleases the ownership of the field and returns the pointer of the TransformationRow object. After calling this, caller takes the ownership of the allocated TransformationRow object, has_r2() will return false, and r2() will return the default value.
has_r3() constboolvoidReturns true if r3 is set.
r3()const TransformationRow&voidReturns the current value of r3. If r3 is not set, returns a TransformationRow with none of its fields set (possibly r3::default_instance()).
mutable_r3()TransformationRow *voidReturns a pointer to the mutable TransformationRow object that stores the field's value. If the field was not set prior to the call, then the returned TransformationRow will have none of its fields set (i.e. it will be identical to a newly-allocated TransformationRow). After calling this, has_r3() will return true and r3() will return a reference to the same instance of TransformationRow.
clear_r3()voidvoidClears the value of the field. After calling this, has_r3() will return false and r3() will return the default value.
set_allocated_r3()voidTransformationRow *Sets the TransformationRow object to the field and frees the previous field value if it exists. If the TransformationRow pointer is not NULL, the message takes ownership of the allocated TransformationRow object and has_ TransformationRow() will return true. Otherwise, if the r3 is NULL, the behavior is the same as calling clear_r3().
release_r3()TransformationRow *voidReleases the ownership of the field and returns the pointer of the TransformationRow object. After calling this, caller takes the ownership of the allocated TransformationRow object, has_r3() will return false, and r3() will return the default value.

Parent topic: Base (C++)