|
PVData C++ 8.0.9
|
#include <pv/valueBuilder.h>
Public Member Functions | |
| ValueBuilder (const std::string &id=std::string()) | |
| empty structure | |
| ValueBuilder (const PVStructure &) | |
| Clone existing definition and value. | |
| template<ScalarType ENUM> | |
| ValueBuilder & | add (const std::string &name, typename meta::arg_type< typename ScalarTypeTraits< ENUM >::type >::type V) |
| Add a scalar field with a given name and initial value. | |
| template<class T> | |
| ValueBuilder & | add (const std::string &name, const shared_vector< const T > &V) |
| Add a scalar array field. | |
| ValueBuilder & | add (const std::string &name, const PVStructure &V) |
| ValueBuilder & | addNested (const std::string &name, Type type=structure, const std::string &id=std::string()) |
| Start a sub-structure. | |
| ValueBuilder & | endNested () |
| End a sub-structure. | |
| std::tr1::shared_ptr< PVStructure > | buildPVStructure () const |
Friends | |
| struct | child |
| struct | child_struct |
| struct | child_scalar_base |
| template<typename T> | |
| struct | child_scalar |
| struct | child_scalar_array |
Incrementally define and initialize a PVStructure
Equivalent to FieldBuilder with the added ability to assign initial values.
Definition at line 31 of file valueBuilder.h.
|
explicit |
empty structure
Definition at line 104 of file valueBuilder.cpp.
|
explicit |
Clone existing definition and value.
Definition at line 147 of file valueBuilder.cpp.
| epics::pvData::ValueBuilder::~ValueBuilder | ( | ) |
Definition at line 160 of file valueBuilder.cpp.
|
inline |
Definition at line 56 of file valueBuilder.h.
|
inline |
Add a scalar array field.
Definition at line 50 of file valueBuilder.h.
|
inline |
Add a scalar field with a given name and initial value.
Definition at line 42 of file valueBuilder.h.
| ValueBuilder & epics::pvData::ValueBuilder::addNested | ( | const std::string & | name, |
| Type | type = structure, | ||
| const std::string & | id = std::string() ) |
Start a sub-structure.
Definition at line 225 of file valueBuilder.cpp.
| PVStructure::shared_pointer epics::pvData::ValueBuilder::buildPVStructure | ( | ) | const |
Complete building structure
Definition at line 274 of file valueBuilder.cpp.
| ValueBuilder & epics::pvData::ValueBuilder::endNested | ( | ) |
End a sub-structure.
Definition at line 247 of file valueBuilder.cpp.
|
friend |
Definition at line 81 of file valueBuilder.h.
|
friend |
Definition at line 87 of file valueBuilder.h.
|
friend |
Definition at line 89 of file valueBuilder.h.
|
friend |
Definition at line 85 of file valueBuilder.h.
|
friend |
Definition at line 83 of file valueBuilder.h.