public interface PVDataCreate
Modifier and Type | Method and Description |
---|---|
PVField |
createPVField(Field field)
Create a PVField using given Field introspection data.
|
PVField |
createPVField(PVField fieldToClone)
Create a PVField using given a PVField to clone.
|
PVScalar |
createPVScalar(PVScalar scalarToClone)
Create an implementation of a scalar field by cloning an existing PVScalar.
|
<T extends PVScalar,TA extends PVScalarArray> |
createPVScalar(PVScalarType<T,TA> scalarType) |
PVScalar |
createPVScalar(Scalar scalar)
Create an implementation of a scalar field reusing the Scalar introspection interface.
|
PVScalar |
createPVScalar(ScalarType fieldType)
Create an implementation of a scalar field.
|
PVScalarArray |
createPVScalarArray(PVScalarArray arrayToClone)
Create an implementation of an array field by cloning an existing PVArray.
|
<T extends PVScalar,TA extends PVScalarArray> |
createPVScalarArray(PVScalarType<T,TA> elementType) |
PVScalarArray |
createPVScalarArray(ScalarArray array)
Create an implementation of an array field reusing the Array introspection interface.
|
PVScalarArray |
createPVScalarArray(ScalarType elementType)
Create an implementation for an array field.
|
PVStructure |
createPVStructure(PVStructure structToClone)
Create implementation for PVStructure.
|
PVStructure |
createPVStructure(String[] fieldNames,
PVField[] pvFields)
Create implementation.
|
PVStructure |
createPVStructure(Structure structure)
Create implementation for PVStructure.
|
PVStructureArray |
createPVStructureArray(Structure structure) |
PVStructureArray |
createPVStructureArray(StructureArray structureArray)
Create an implementation of an array with structure elements.
|
PVUnion |
createPVUnion(PVUnion unionToClone)
Create implementation for PVUnion.
|
PVUnion |
createPVUnion(Union union)
Create implementation for PVUnion.
|
PVUnionArray |
createPVUnionArray(Union union) |
PVUnionArray |
createPVUnionArray(UnionArray unionArray)
Create an implementation of an array with union elements.
|
PVUnion |
createPVVariantUnion()
Create variant union implementation.
|
PVUnionArray |
createPVVariantUnionArray()
Create variant union array implementation.
|
PVField[] |
flattenPVStructure(PVStructure pvStructure)
Get a PVField[] that has all field of pvStructure in offset order.
|
PVField createPVField(Field field)
field
- The introspection data to be used to create PVField.PVField createPVField(PVField fieldToClone)
fieldToClone
- The field to clone.PVScalar createPVScalar(Scalar scalar)
scalar
- The introspection interface.PVScalar createPVScalar(ScalarType fieldType)
fieldType
- The field type.PVScalar createPVScalar(PVScalar scalarToClone)
scalarToClone
- The PVScalar to clone.PVScalarArray createPVScalarArray(ScalarArray array)
array
- The introspection interface.PVScalarArray createPVScalarArray(ScalarType elementType)
elementType
- The element type.PVScalarArray createPVScalarArray(PVScalarArray arrayToClone)
arrayToClone
- The PVScalarArray to clone.PVStructureArray createPVStructureArray(StructureArray structureArray)
structureArray
- The introspection interface.
All elements share the same introspection interface.PVUnionArray createPVUnionArray(UnionArray unionArray)
unionArray
- The introspection interface.
All elements share the same introspection interface.PVStructure createPVStructure(Structure structure)
structure
- The introspection interface.PVUnion createPVUnion(Union union)
union
- The introspection interface.PVStructure createPVStructure(String[] fieldNames, PVField[] pvFields)
fieldNames
- The array of fieldNames.pvFields
- The array of PVField.PVUnion createPVVariantUnion()
PVUnionArray createPVVariantUnionArray()
PVStructure createPVStructure(PVStructure structToClone)
structToClone
- A structure. Each subfield and any auxInfo is cloned and added to the newly created structure.PVUnion createPVUnion(PVUnion unionToClone)
unionToClone
- A structure.PVField[] flattenPVStructure(PVStructure pvStructure)
pvStructure
- The structure.<T extends PVScalar,TA extends PVScalarArray> T createPVScalar(PVScalarType<T,TA> scalarType)
<T extends PVScalar,TA extends PVScalarArray> TA createPVScalarArray(PVScalarType<T,TA> elementType)
PVStructureArray createPVStructureArray(Structure structure)
PVUnionArray createPVUnionArray(Union union)
Copyright © 2014. All Rights Reserved.