HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GA_PrimCompat::TypeMask Class Reference

#include <GA_PrimCompat.h>

Public Member Functions

 TypeMask ()
 
 TypeMask (value_type mask)
 
void operator|= (const TypeMask &m)
 
void operator&= (const TypeMask &m)
 
void operator^= (const TypeMask &m)
 
bool operator== (const TypeMask &m) const
 
bool operator!= (const TypeMask &m) const
 
void save (UT_TokenString &token_string) const
 
bool setFromPrimitiveTypeMask (const GA_PrimitiveTypeMask &mask)
 
 operator GA_PrimitiveTypeMask () const
 
SYS_SAFE_BOOL operator bool () const
 

Static Public Member Functions

static TypeMask fullMask ()
 

Friends

const TypeMask operator| (const TypeMask &m1, const TypeMask &m2)
 
const TypeMask operator& (const TypeMask &m1, const TypeMask &m2)
 
const TypeMask operator^ (const TypeMask &m1, const TypeMask &m2)
 
const TypeMask operator~ (const TypeMask &m1)
 

Detailed Description

Definition at line 35 of file GA_PrimCompat.h.

Constructor & Destructor Documentation

GA_PrimCompat::TypeMask::TypeMask ( )
inline

Definition at line 38 of file GA_PrimCompat.h.

GA_PrimCompat::TypeMask::TypeMask ( value_type  mask)
inlineexplicit

Definition at line 39 of file GA_PrimCompat.h.

Member Function Documentation

static TypeMask GA_PrimCompat::TypeMask::fullMask ( )
inlinestatic

Definition at line 42 of file GA_PrimCompat.h.

SYS_SAFE_BOOL GA_PrimCompat::TypeMask::operator bool ( ) const
inline

Definition at line 66 of file GA_PrimCompat.h.

GA_PrimCompat::TypeMask::operator GA_PrimitiveTypeMask ( ) const
bool GA_PrimCompat::TypeMask::operator!= ( const TypeMask m) const
inline

Definition at line 52 of file GA_PrimCompat.h.

void GA_PrimCompat::TypeMask::operator&= ( const TypeMask m)
inline

Definition at line 46 of file GA_PrimCompat.h.

bool GA_PrimCompat::TypeMask::operator== ( const TypeMask m) const
inline

Definition at line 50 of file GA_PrimCompat.h.

void GA_PrimCompat::TypeMask::operator^= ( const TypeMask m)
inline

Definition at line 48 of file GA_PrimCompat.h.

void GA_PrimCompat::TypeMask::operator|= ( const TypeMask m)
inline

Definition at line 44 of file GA_PrimCompat.h.

void GA_PrimCompat::TypeMask::save ( UT_TokenString token_string) const
bool GA_PrimCompat::TypeMask::setFromPrimitiveTypeMask ( const GA_PrimitiveTypeMask mask)

Convert from new-style primitive type mask to this old-style one. Avoid using if possible and modify the function that requires the mask as an argument, instead. Returns false if it was unable to convert all the bits from the type mask into the old-school mask.

Friends And Related Function Documentation

const TypeMask operator& ( const TypeMask m1,
const TypeMask m2 
)
friend

Definition at line 84 of file GA_PrimCompat.h.

const TypeMask operator^ ( const TypeMask m1,
const TypeMask m2 
)
friend

Definition at line 90 of file GA_PrimCompat.h.

const TypeMask operator| ( const TypeMask m1,
const TypeMask m2 
)
friend

Definition at line 79 of file GA_PrimCompat.h.

const TypeMask operator~ ( const TypeMask m1)
friend

Definition at line 95 of file GA_PrimCompat.h.


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