Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages
comet::variant_bool_t Class Reference
[Com type wrappers., Com type wrappers.]
#include <comet/common.h>
Public Member Functions | |
| bool_pointer_t | bool_ptr () |
| const bool_pointer_t | bool_ptr () const |
| bool_reference_chooser_t | bool_ref () |
| const bool_reference_chooser_t | bool_ref () const |
Constructors. | |
| variant_bool_t (const impl::auto_attach_t< VARIANT_BOOL > &b) | |
| variant_bool_t (bool b) | |
Assignment operators. | |
| variant_bool_t & | operator= (bool b) |
| variant_bool_t & | operator= (const impl::auto_attach_t< VARIANT_BOOL > &b) |
Boolean operators. | |
| operator bool () const | |
| bool | operator! () const |
| bool | operator== (variant_bool_t vb) const |
| bool | operator!= (variant_bool_t vb) const |
Bitwise operators | |
| variant_bool_t | operator~ () const |
| variant_bool_t & | operator &= (const variant_bool_t &b) |
| variant_bool_t & | operator|= (const variant_bool_t &b) |
| variant_bool_t & | operator^= (const variant_bool_t &b) |
| variant_bool_t | operator & (const variant_bool_t &b) const |
| variant_bool_t | operator| (const variant_bool_t &b) const |
| variant_bool_t | operator^ (const variant_bool_t &b) const |
bool operators | |
| bool | operator & (bool b) const |
| bool | operator| (bool b) const |
| bool | operator^ (bool b) const |
Raw accessors | |
| VARIANT_BOOL | in () |
| VARIANT_BOOL * | out () |
| VARIANT_BOOL * | inout () |
Static Public Member Functions | |
| const variant_bool_t & | create_const_reference (const VARIANT_BOOL &vb) |
| variant_bool_t & | create_reference (VARIANT_BOOL &vb) |
Detailed Description
VARIANT_BOOL wrapper for structs. Stands in place of a VARIANT_BOOL in a struct, and behaves like a bool. This is imporant as sizeof(VARIANT_BOOL) != sizeof(bool).
Member Function Documentation
|
|
Return a class that stands in for a bool *. Should be used in place of operator & for passing in to a bool * function. variant_bool_t vb;
SomeFunc(vb.bool_ptr());
|
|
|
Return a class that stands in for a bool & or a variant_bool_t &. |
The documentation for this class was generated from the following file: