MvValue Class |
Namespace: RW.Server.Component
The MvValue type exposes the following members.
| Name | Description | |
|---|---|---|
| MvValue(MvValue) |
Copy constructor.
| |
| MvValue(Object, MvDataType) |
Initializes a new MvValue from a value and a
target type.
| |
| MvValue(Object, MvKind) |
Initializes a new MvValue from a value and a
value kind.
|
| Name | Description | |
|---|---|---|
| AsAny |
Converts to Any.
| |
| AsBoolean |
Converts to bool.
| |
| AsChar |
Converts to char.
| |
| AsDouble |
Converts to double.
| |
| AsFile |
Converts to MvFile.
| |
| AsFloat |
Converts to float.
| |
| AsHRef |
Converts to HRef.
| |
| AsInt |
Converts to int.
| |
| AsLong |
Converts to long.
| |
| AsRef |
Converts to MvRef.
| |
| AsString |
Converts to string.
| |
| AsUserValue |
Converts to MvUserType.
| |
| Set |
Sets a new content.
| |
| Stream |
Serializes the object into a message.
| |
| Unstream |
Builds an MvValue from MvMessage
data.
|
| Name | Description | |
|---|---|---|
| (MvValue to Boolean) |
Converts to bool.
| |
| (MvValue to Char) |
Converts to bool.
| |
| (MvValue to Int64) |
Converts to long.
| |
| (MvValue to Single) |
Converts to float.
| |
| (MvValue to Double) |
Converts to double.
| |
| (MvValue to String) |
Converts to string.
| |
| (MvValue to MvRef) |
Converts to MvRef.
| |
| (MvValue to HRef) |
Converts to HRef.
| |
| (MvValue to MvFile) |
Converts to MvFile.
|
The Rogue Wave Server internal protocol uses this class to transmit attribute values between an object server and an application component.
Conversion: Conversion functions take the following form:
Type AsType(bool direct, Type default)