29 #ifndef INCLUDE_OLA_RDM_STRINGMESSAGEBUILDER_H_
30 #define INCLUDE_OLA_RDM_STRINGMESSAGEBUILDER_H_
32 #include <ola/messaging/DescriptorVisitor.h>
41 class MessageFieldInterface;
57 bool Descend()
const {
return false; }
59 const std::vector<std::string> &inputs,
61 const std::string GetError()
const {
return m_error_string; }
78 std::vector<std::string> m_inputs;
80 std::vector<const ola::messaging::MessageFieldInterface*> > m_groups;
81 unsigned int m_offset, m_input_size, m_group_instance_count;
83 std::string m_error_string;
85 bool StopParsing()
const;
86 void SetError(
const std::string &error);
88 template<
typename type>
91 void InitVars(
const std::vector<std::string> &inputs);
96 #endif // INCLUDE_OLA_RDM_STRINGMESSAGEBUILDER_H_
Definition: Descriptor.h:84
Definition: DescriptorVisitor.h:43
Definition: StringMessageBuilder.h:51
Definition: Descriptor.h:122
Definition: Descriptor.h:320
void Visit(const ola::messaging::BoolFieldDescriptor *)
Definition: StringMessageBuilder.cpp:128
void PostVisit(const ola::messaging::FieldDescriptorGroup *)
Definition: StringMessageBuilder.cpp:318
Definition: Descriptor.h:141
Definition: Descriptor.h:103
~StringMessageBuilder()
Clean up.
Definition: StringMessageBuilder.cpp:57
Definition: Descriptor.h:160
Definition: Descriptor.h:399
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44
Definition: Descriptor.h:190
const ola::messaging::Message * GetMessage(const std::vector< std::string > &inputs, const class ola::messaging::Descriptor *descriptor)
Get the Message object that this Builder created.
Definition: StringMessageBuilder.cpp:70