![]() |
|
Class to hold on to an externally owned output and a mask. More...
#include <maskedOutput.h>
Public Member Functions | |
| VdfMaskedOutput (VdfOutput *output, const VdfMask &mask) | |
| VdfMaskedOutput (VdfOutput *output, VdfMask &&mask) | |
| operator bool () const | |
| Cast to bool: returns true if the output is non-null. | |
| VdfOutput * | GetOutput () const |
| Returns the VdfOutput. | |
| void | SetOutput (VdfOutput *output) |
Sets the output to output. | |
| const VdfMask & | GetMask () const |
| Returns the VdfMask. | |
| void | SetMask (const VdfMask &mask) |
Sets the mask to mask. | |
| void | SetMask (VdfMask &&mask) |
Sets the mask to mask. | |
| bool | operator== (const VdfMaskedOutput &rhs) const |
| Equality comparison. | |
| bool | operator!= (const VdfMaskedOutput &rhs) const |
| bool | operator< (const VdfMaskedOutput &rhs) const |
| bool | operator<= (const VdfMaskedOutput &rhs) const |
| bool | operator> (const VdfMaskedOutput &rhs) const |
| bool | operator>= (const VdfMaskedOutput &rhs) const |
| VDF_API std::string | GetDebugName () const |
| Returns a string describing this masked output. | |
Friends | |
| void | swap (VdfMaskedOutput &lhs, VdfMaskedOutput &rhs) |
Class to hold on to an externally owned output and a mask.
Objects of this class explicitly have two operators defined so that they can act as VdfOutput.
Definition at line 31 of file maskedOutput.h.
|
inline |
Definition at line 35 of file maskedOutput.h.
|
inline |
Definition at line 38 of file maskedOutput.h.
|
inline |
Definition at line 41 of file maskedOutput.h.
| VDF_API std::string GetDebugName | ( | ) | const |
Returns a string describing this masked output.
|
inline |
Returns the VdfMask.
Definition at line 64 of file maskedOutput.h.
|
inline |
Returns the VdfOutput.
Definition at line 52 of file maskedOutput.h.
|
inlineexplicit |
Cast to bool: returns true if the output is non-null.
Definition at line 46 of file maskedOutput.h.
|
inline |
Definition at line 87 of file maskedOutput.h.
|
inline |
Definition at line 101 of file maskedOutput.h.
|
inline |
Definition at line 112 of file maskedOutput.h.
|
inline |
Equality comparison.
Definition at line 82 of file maskedOutput.h.
|
inline |
Definition at line 116 of file maskedOutput.h.
|
inline |
Definition at line 120 of file maskedOutput.h.
|
inline |
Sets the mask to mask.
Definition at line 70 of file maskedOutput.h.
|
inline |
Sets the mask to mask.
Definition at line 76 of file maskedOutput.h.
|
inline |
Sets the output to output.
Definition at line 58 of file maskedOutput.h.
|
friend |
Definition at line 124 of file maskedOutput.h.