CoreDX DDS C++ Reference Manual
Public Member Functions | List of all members
CDX::BooleanDynamicType Class Reference

Contains a boolean. More...

Inheritance diagram for CDX::BooleanDynamicType:
CDX::DynamicType

Public Member Functions

unsigned char get_boolean ()
 Provides access to data held in an BOOLEAN DynamicType object. More...
 
DDS::ReturnCode_t set_boolean (unsigned char c)
 Assigns a value to the provided BOOLEAN DynamicType. More...
 
- Public Member Functions inherited from CDX::DynamicType
virtual TypeCodeKind get_type ()
 Provides access to the 'type' of the DynamicType object. Applicable to any DynamicType. More...
 

Detailed Description

Contains a boolean.

Member Function Documentation

unsigned char CDX::BooleanDynamicType::get_boolean ( )

Provides access to data held in an BOOLEAN DynamicType object.

Return values
unsigned_char0 indicates FALSE, non-zero indicates TRUE.
DDS::ReturnCode_t CDX::BooleanDynamicType::set_boolean ( unsigned char  c)

Assigns a value to the provided BOOLEAN DynamicType.

Return values
BAD_PARAMETERif 't' is not of type BOOLEAN.
OKupon success.

© 2009-2017 Twin Oaks Computing, Inc
Castle Rock, CO 80108
All rights reserved.