HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
VdfMaskedOutput Class Reference

Class to hold on to an externally owned output and a mask. More...

#include <maskedOutput.h>

Classes

struct  Hash
 

Public Member Functions

 VdfMaskedOutput ()
 
 VdfMaskedOutput (VdfOutput *output, const VdfMask &mask)
 
 VdfMaskedOutput (VdfOutput *output, VdfMask &&mask)
 
 operator bool () const
 
VdfOutputGetOutput () const
 
void SetOutput (VdfOutput *output)
 
const VdfMaskGetMask () const
 
void SetMask (const VdfMask &mask)
 
void SetMask (VdfMask &&mask)
 
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
 
bool operator>= (const VdfMaskedOutput &rhs) const
 
VDF_API std::string GetDebugName () const
 

Friends

void swap (VdfMaskedOutput &lhs, VdfMaskedOutput &rhs)
 

Detailed Description

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.

Constructor & Destructor Documentation

VdfMaskedOutput::VdfMaskedOutput ( )
inline

Definition at line 35 of file maskedOutput.h.

VdfMaskedOutput::VdfMaskedOutput ( VdfOutput output,
const VdfMask mask 
)
inline

Definition at line 38 of file maskedOutput.h.

VdfMaskedOutput::VdfMaskedOutput ( VdfOutput output,
VdfMask &&  mask 
)
inline

Definition at line 41 of file maskedOutput.h.

Member Function Documentation

VDF_API std::string VdfMaskedOutput::GetDebugName ( ) const

Returns a string describing this masked output.

const VdfMask& VdfMaskedOutput::GetMask ( ) const
inline

Returns the VdfMask.

Definition at line 64 of file maskedOutput.h.

VdfOutput* VdfMaskedOutput::GetOutput ( ) const
inline

Returns the VdfOutput.

Definition at line 52 of file maskedOutput.h.

VdfMaskedOutput::operator bool ( ) const
inlineexplicit

Cast to bool: returns true if the output is non-null.

Definition at line 46 of file maskedOutput.h.

bool VdfMaskedOutput::operator!= ( const VdfMaskedOutput rhs) const
inline

Definition at line 87 of file maskedOutput.h.

bool VdfMaskedOutput::operator< ( const VdfMaskedOutput rhs) const
inline

Definition at line 101 of file maskedOutput.h.

bool VdfMaskedOutput::operator<= ( const VdfMaskedOutput rhs) const
inline

Definition at line 112 of file maskedOutput.h.

bool VdfMaskedOutput::operator== ( const VdfMaskedOutput rhs) const
inline

Equality comparison.

Definition at line 82 of file maskedOutput.h.

bool VdfMaskedOutput::operator> ( const VdfMaskedOutput rhs) const
inline

Definition at line 116 of file maskedOutput.h.

bool VdfMaskedOutput::operator>= ( const VdfMaskedOutput rhs) const
inline

Definition at line 120 of file maskedOutput.h.

void VdfMaskedOutput::SetMask ( const VdfMask mask)
inline

Sets the mask to mask.

Definition at line 70 of file maskedOutput.h.

void VdfMaskedOutput::SetMask ( VdfMask &&  mask)
inline

Sets the mask to mask.

Definition at line 76 of file maskedOutput.h.

void VdfMaskedOutput::SetOutput ( VdfOutput output)
inline

Sets the output to output.

Definition at line 58 of file maskedOutput.h.

Friends And Related Function Documentation

void swap ( VdfMaskedOutput lhs,
VdfMaskedOutput rhs 
)
friend

Definition at line 124 of file maskedOutput.h.


The documentation for this class was generated from the following file: