Class SimplePofValue
SimplePofValue represents POF values which do not contain children (e.g. numeric values, strings, etc.)
Implements
Inherited Members
Namespace: Tangosol.IO.Pof.Reflection
Assembly: Coherence.dll
Syntax
public class SimplePofValue : AbstractPofValue, IPofValue
Constructors
SimplePofValue(IPofValue, Binary, IPofContext, int, int)
Construct a SimplePofValue instance wrapping the supplied binary.
Declaration
public SimplePofValue(IPofValue valueParent, Binary binValue, IPofContext ctx, int of, int nType)
Parameters
| Type | Name | Description |
|---|---|---|
| IPofValue | valueParent | Parent value within the POF stream. |
| Binary | binValue | Binary representation of this value. |
| IPofContext | ctx | POF context to use when reading or writing properties. |
| int | of | Offset of this value from the beginning of POF stream. |
| int | nType | POF type identifier for this value. |
Methods
GetChild(int)
Locate a child IPofValue contained within this IPofValue.
Declaration
public override IPofValue GetChild(int nIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| int | nIndex | Index of the child value. |
Returns
| Type | Description |
|---|---|
| IPofValue | The the child IPofValue. |
Overrides
Remarks
The returned IPofValue could represent a non-existent (null) value.
Exceptions
| Type | Condition |
|---|---|
| PofNavigationException | If this value is a "terminal" or the child value cannot be located for any other reason. |