#include <BxUnsignedInteger32.h>
Inheritance diagram for BxUnsignedInteger32:

Public Member Functions | |
| BxUnsignedInteger32 () | |
| BxUnsignedInteger32 (const BxUnsignedInteger32 &) | |
| BxUnsignedInteger32 (const bx_uint32) | |
| virtual bool | equals (const BxDataObject &) const |
| virtual char * | toString (bool xml) |
| virtual bool | parseValue (const char *) |
| BxUnsignedInteger32 & | operator= (const bx_uint32 ui) |
|
|
Default constructor. Constructs and initialises an instance of the class BxInteger32. Default attribute values are assigned as follows:
sizeInBits_ = 32;
sizeInBytes_ = 4;
sizeInAll_ = 4;
unsigned_ = true;
|
|
|
Construct a BxUnsignedInteger32 instance by copying a specified BxUnsignedInteger32 instance. Constructs and initialises an instance of the class BxUnsignedInteger32.
|
|
|
Construct a BxUnsignedInteger32 instance and assign it a specified 32-bit signed integer value. Constructs and initialises an instance of the class BxUnsignedInteger32.
|
|
|
Compares the value of a specified data object with the value of this object.
In this method, two objects are considered to be equal if they are of the same BinX object type and if they store the same data value. Also, only primitive BinX data types implement this method.
Reimplemented from BxDataObject. |
|
|
Overloaded operator = assigns a 32-bit unsigned integer from a specified source to a BxUnsignedInteger32 destination object.
|
|
|
Extract a 32-bit unsigned integer value from a specified string and assign the value to this object. The data contained in the input string is assumed to be in ASCII representation, and to contain an unsigned integer represented in decimal or hexadecimal (i.e., base 10 or base 16). A hexademinal string must begin with the characters 0x. The input string must not contain commas, periods, or other symbols (such as a minus symbol). The input string must be null-terminated. All bytes of the input string are used in the conversion process. The input bytes are converted to unsigned integer representation, in conformance with the definiton of a BxUnsignedInteger32 object value. The converted value is stored as the value of this object. Only primitive BinX data types implement this method.
Reimplemented from BxDataObject. |
|
|
Return a string containing the DataBinX XML element (or printable value only ) for the value of this BxUnsignedInteger32 object. The DataBinx representation of a BxUnsignedInteger32 object value consists of:
Example Return Result:
<unsignedInteger-32>40963</unsignedInteger-32>
This method allocates memory to hold the returned string. The caller is responsible for releasing the memory when the string is no longer needed. If the BinX XML tags are not required, then the input boolean flag can be used to request that only the converted binary data value be included in the result string. Only BinX primitive data types implement this method.
Reimplemented from BxDataObject. |
1.3.3