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

Contains a short. More...

Inheritance diagram for CDX::ShortDynamicType:
CDX::DynamicType

Public Member Functions

int16_t get_short ()
 Provides access to data held in an SHORT DynamicType object. More...
 
DDS::ReturnCode_t set_short (short c)
 Assigns a value to the provided SHORT 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 short.

Member Function Documentation

int16_t CDX::ShortDynamicType::get_short ( )

Provides access to data held in an SHORT DynamicType object.

Return values
int16_tthe data value held by 't'.
DDS::ReturnCode_t CDX::ShortDynamicType::set_short ( short  c)

Assigns a value to the provided SHORT DynamicType.

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

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