![]() |
This is Unofficial EPICS BASE Doxygen Site
|
Interface for in-line creating of introspection interfaces. More...
#include "pvIntrospect.h"
Inheritance diagram for epics::pvData::FieldBuilder:
Collaboration diagram for epics::pvData::FieldBuilder: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. More... | |
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. Definition at line 1039 of file FieldCreateFactory.cpp.
| 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. Definition at line 1013 of file FieldCreateFactory.cpp.
| 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. Definition at line 1034 of file FieldCreateFactory.cpp.
| 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. Definition at line 1135 of file FieldCreateFactory.cpp.
| 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. Definition at line 1157 of file FieldCreateFactory.cpp.
| 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. Definition at line 1146 of file FieldCreateFactory.cpp.
| 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. Definition at line 1167 of file FieldCreateFactory.cpp.
|
static |
Create a new instance of in-line Field builder.
Definition at line 988 of file FieldCreateFactory.cpp.
|
static |
Create a new instance of in-line Field builder pre-initialized with and existing Structure.
Definition at line 994 of file FieldCreateFactory.cpp.
| StructureConstPtr epics::pvData::FieldBuilder::createStructure | ( | ) |
Create a Structure. This resets this instance state and allows new Field instance to be created.
Structure. Definition at line 1099 of file FieldCreateFactory.cpp.
| UnionConstPtr epics::pvData::FieldBuilder::createUnion | ( | ) |
Create an Union. This resets this instance state and allows new Field instance to be created.
Union. Definition at line 1109 of file FieldCreateFactory.cpp.
| FieldBuilderPtr epics::pvData::FieldBuilder::endNested | ( | ) |
Complete the creation of a nested object.
FieldBuilder. Definition at line 1177 of file FieldCreateFactory.cpp.
| FieldBuilderPtr epics::pvData::FieldBuilder::setId | ( | std::string const & | id | ) |
Set ID of an object to be created.
| id | id to be set. |
FieldBuilder. Definition at line 1001 of file FieldCreateFactory.cpp.
|
friend |
Definition at line 1225 of file pvIntrospect.h.