|
PVData C++
8.0.2
|
Interface for in-line creating of introspection interfaces. More...
#include <pv/pvIntrospect.h>


Public Member Functions | |
| FieldBuilderPtr | setId (std::string const &id) |
| FieldBuilderPtr | add (std::string const &name, ScalarType scalarType) |
| FieldBuilderPtr | addBoundedString (std::string const &name, std::size_t maxLength) EPICS_DEPRECATED |
| FieldBuilderPtr | add (std::string const &name, FieldConstPtr const &field) |
| FieldBuilderPtr | addArray (std::string const &name, ScalarType scalarType) |
| FieldBuilderPtr | addFixedArray (std::string const &name, ScalarType scalarType, std::size_t size) EPICS_DEPRECATED |
| FieldBuilderPtr | addBoundedArray (std::string const &name, ScalarType scalarType, std::size_t bound) EPICS_DEPRECATED |
| FieldBuilderPtr | addArray (std::string const &name, FieldConstPtr const &element) |
| StructureConstPtr | createStructure () |
| UnionConstPtr | createUnion () |
| FieldBuilderPtr | addNestedStructure (std::string const &name) |
| FieldBuilderPtr | addNestedUnion (std::string const &name) |
| FieldBuilderPtr | addNestedStructureArray (std::string const &name) |
| FieldBuilderPtr | addNestedUnionArray (std::string const &name) |
| FieldBuilderPtr | endNested () |
Static Public Member Functions | |
| static FieldBuilderPtr | begin () |
| static FieldBuilderPtr | begin (StructureConstPtr S) |
Create a new instance of in-line Field builder pre-initialized with and existing Structure. | |
Friends | |
| class | FieldCreate |
Interface for in-line creating of introspection interfaces.
One instance can be used to create multiple Field instances. An instance of this object must not be used concurrently (an object has a state).
Definition at line 1072 of file pvIntrospect.h.
| FieldBuilderPtr epics::pvData::FieldBuilder::add | ( | std::string const & | name, |
| ScalarType | scalarType | ||
| ) |
Add a Scalar.
| name | name of the array. |
| scalarType | type of a scalar to add. |
FieldBuilder. | FieldBuilderPtr epics::pvData::FieldBuilder::add | ( | std::string const & | name, |
| FieldConstPtr const & | field | ||
| ) |
Add a Field (e.g. Structure, Union).
| name | name of the array. |
| field | a field to add. |
FieldBuilder. | FieldBuilderPtr epics::pvData::FieldBuilder::addArray | ( | std::string const & | name, |
| ScalarType | scalarType | ||
| ) |
Add variable size array of Scalar elements.
| name | name of the array. |
| scalarType | type of a scalar element. |
FieldBuilder. | FieldBuilderPtr epics::pvData::FieldBuilder::addArray | ( | std::string const & | name, |
| FieldConstPtr const & | element | ||
| ) |
Add array of Field elements.
| name | name of the array. |
| element | a type of an array element. |
FieldBuilder. | FieldBuilderPtr epics::pvData::FieldBuilder::addBoundedArray | ( | std::string const & | name, |
| ScalarType | scalarType, | ||
| std::size_t | bound | ||
| ) |
Add bounded-size array of Scalar elements.
| name | name of the array. |
| scalarType | type of a scalar element. |
| bound | Array maximum capacity (size). |
FieldBuilder. | FieldBuilderPtr epics::pvData::FieldBuilder::addBoundedString | ( | std::string const & | name, |
| std::size_t | maxLength | ||
| ) |
Add a BoundedString.
| name | name of the array. |
| maxLength | a string maximum length. |
FieldBuilder. | FieldBuilderPtr epics::pvData::FieldBuilder::addFixedArray | ( | std::string const & | name, |
| ScalarType | scalarType, | ||
| std::size_t | size | ||
| ) |
Add fixed-size array of Scalar elements.
| name | name of the array. |
| scalarType | type of a scalar element. |
| size | Array fixed size. |
FieldBuilder. | FieldBuilderPtr epics::pvData::FieldBuilder::addNestedStructure | ( | std::string const & | name | ) |
Add new nested Structure. endNested() method must be called to complete creation of the nested Structure.
| name | nested structure name. |
FieldBuilder is returned. | FieldBuilderPtr epics::pvData::FieldBuilder::addNestedStructureArray | ( | std::string const & | name | ) |
Add new nested Structure[]. endNested() method must be called to complete creation of the nested Structure.
| name | nested structure name. |
FieldBuilder is returned. | FieldBuilderPtr epics::pvData::FieldBuilder::addNestedUnion | ( | std::string const & | name | ) |
Add new nested Union. endNested() method must be called to complete creation of the nested Union.
| name | nested union name. |
FieldBuilder is returned. | FieldBuilderPtr epics::pvData::FieldBuilder::addNestedUnionArray | ( | std::string const & | name | ) |
Add new nested Union[]. endNested() method must be called to complete creation of the nested Union.
| name | nested union name. |
FieldBuilder is returned.
|
static |
Create a new instance of in-line Field builder.
| StructureConstPtr epics::pvData::FieldBuilder::createStructure | ( | ) |
| UnionConstPtr epics::pvData::FieldBuilder::createUnion | ( | ) |
| FieldBuilderPtr epics::pvData::FieldBuilder::endNested | ( | ) |
Complete the creation of a nested object.
FieldBuilder. | FieldBuilderPtr epics::pvData::FieldBuilder::setId | ( | std::string const & | id | ) |
Set ID of an object to be created.
| id | id to be set. |
FieldBuilder.
1.8.13