Skip to content

Latest commit

 

History

History
42 lines (36 loc) · 8.05 KB

File metadata and controls

42 lines (36 loc) · 8.05 KB

class TransformationMatrix

Member values

Member name Data type Description
r0 TransformationRow First transformation row
r1 TransformationRow Second transformation row
r2 TransformationRow Third transformation row
r3 TransformationRow Fourth transformation row

Member functions

Function name Return type Input type Description
has_r0() const bool void Returns true if r0 is set.
r0() const TransformationRow& void Returns 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 * void Returns 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() void void Clears the value of the field. After calling this, has_r0() will return false and r0() will return the default value.
set_allocated_r0() void TransformationRow * 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 * void Releases 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() const bool void Returns true if r1 is set.
r1() const TransformationRow& void Returns 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 * void Returns 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() void void Clears the value of the field. After calling this, has_r1() will return false and r1() will return the default value.
set_allocated_r1() void TransformationRow * 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 * void Releases 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() const bool void Returns true if r2 is set.
r2() const TransformationRow& void Returns 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 * void Returns 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() void void Clears the value of the field. After calling this, has_r2() will return false and r2() will return the default value.
set_allocated_r2() void TransformationRow * 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 * void Releases 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() const bool void Returns true if r3 is set.
r3() const TransformationRow& void Returns 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 * void Returns 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() void void Clears the value of the field. After calling this, has_r3() will return false and r3() will return the default value.
set_allocated_r3() void TransformationRow * 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 * void Releases 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++)