#include <pv/valueBuilder.h>
Incrementally define and initialize a PVStructure
Equivalent to FieldBuilder with the added ability to assign initial values.
.add<pvInt>("intfld", 42)
.add<pvString>("strfld", "testing")
std::tr1::shared_ptr< PVStructure > buildPVStructure() const
ValueBuilder & endNested()
End a sub-structure.
ValueBuilder & addNested(const std::string &name, Type type=structure, const std::string &id=std::string())
Start a sub-structure.
std::tr1::shared_ptr< PVStructure > PVStructurePtr
Definition at line 31 of file valueBuilder.h.
◆ ValueBuilder() [1/2]
| epics::pvData::ValueBuilder::ValueBuilder |
( |
const std::string & | id = std::string() | ) |
|
|
explicit |
◆ ValueBuilder() [2/2]
| epics::pvData::ValueBuilder::ValueBuilder |
( |
const PVStructure & | clone | ) |
|
|
explicit |
◆ ~ValueBuilder()
| epics::pvData::ValueBuilder::~ValueBuilder |
( |
| ) |
|
◆ add() [1/3]
◆ add() [2/3]
◆ add() [3/3]
Add a scalar field with a given name and initial value.
Definition at line 42 of file valueBuilder.h.
◆ addNested()
| ValueBuilder & epics::pvData::ValueBuilder::addNested |
( |
const std::string & | name, |
|
|
Type | type = structure, |
|
|
const std::string & | id = std::string() ) |
◆ buildPVStructure()
| PVStructure::shared_pointer epics::pvData::ValueBuilder::buildPVStructure |
( |
| ) |
const |
◆ endNested()
◆ child
◆ child_scalar
template<typename T >
| friend struct child_scalar |
|
friend |
◆ child_scalar_array
| friend struct child_scalar_array |
|
friend |
◆ child_scalar_base
| friend struct child_scalar_base |
|
friend |
◆ child_struct
| friend struct child_struct |
|
friend |
The documentation for this class was generated from the following files: