Char16 Class Reference

#include <Char16.h>

Public Member Functions

 Char16 ()
 
 Char16 (Uint16 x)
 
 Char16 (const Char16 &x)
 
 ~Char16 ()
 
Char16operator= (Uint16 x)
 
Char16operator= (const Char16 &x)
 
 operator Uint16 () const
 

Detailed Description

The Char16 class represents a CIM sixteen bit character (char16). This class is a trivial wrapper for a sixteen bit integer. It is used as the element type in the String class (used to represent the CIM string type). Ordinarily Uint16 could be used; however, a distinguishable type was needed for the purposes of function overloaded which occurs in the CIMValue class.

Constructor & Destructor Documentation

◆ Char16() [1/3]

Char16::Char16 ( )

Constructs a Char16 with a null (0) value.

◆ Char16() [2/3]

Char16::Char16 ( Uint16  x)

Constructs a Char16 with a specified 16-bit character value.

Parameters
xThe Uint16 value with which to initialize the Char16.

◆ Char16() [3/3]

Char16::Char16 ( const Char16 x)

Constructs a Char16 by copying another Char16 value.

Parameters
xThe Char16 object to copy.

◆ ~Char16()

Char16::~Char16 ( )

Destructs a Char16 object.

Member Function Documentation

◆ operator Uint16()

Char16::operator Uint16 ( ) const

Implicitly converts the Char16 value to a 16-bit integer.

◆ operator=() [1/2]

Char16& Char16::operator= ( Uint16  x)

Assigns the value to a specified 16-bit character value.

Parameters
xThe Uint16 value to copy.

◆ operator=() [2/2]

Char16& Char16::operator= ( const Char16 x)

Assigns the value from another Char16 object.

Parameters
xThe Char16 object to copy.

The documentation for this class was generated from the following file:
  • /root/rpmbuild/BUILD/pegasus/src/Pegasus/Common/Char16.h