Namespaces | |
| namespace | Tags |
Typedefs | |
| typedef UInt32 | Tag |
| typedef SbeGroupEntry< MessageSize > | GroupEntrySource |
| typedef SbeGroupEntries< GroupEntrySource, MessageSize, MessageSize, MessageSize > | GroupEntriesSource |
| typedef std::vector< TagValue > | TagValues |
| typedef TagValues::iterator | TagValueIterator |
| typedef TagValues::const_iterator | TagValueConstIterator |
Functions | |
| bool | operator== (const Field &ref, const std::string &str) |
| bool | operator!= (const Field &ref, const std::string &str) |
| bool | operator== (const std::string &str, const Field &ref) |
| bool | operator!= (const std::string &str, const Field &ref) |
| bool | operator== (const Field &ref, const char *str) |
| bool | operator!= (const Field &ref, const char *str) |
| bool | operator== (const char *str, const Field &ref) |
| bool | operator!= (const char *str, const Field &ref) |
| std::ostream & | operator<< (std::ostream &stream, const Field &field) |
| void | toStr (std::string &str, const Message &message) |
| std::string | toStr (const Message &message) |
| std::ostream & | operator<< (std::ostream &stream, const Message &msg) |
| void | toStr (std::string &, const TagValue &) |
| std::string | toStr (const TagValue &tagValue) |
| MultiContainer::Value | valueOrDefault (const MultiContainer &container, Tag tag, const MultiContainer::Value &defaultValue=MultiContainer::Value()) |
| template<class Number> | |
| bool | value (Number &number, const MultiContainer &container, Tag tag) |
| template<class Number> | |
| bool | valueOrDefault (Number &number, const MultiContainer &container, Tag tag, Number defaultValue=Number()) |
| void | toStr (std::string &, const MultiContainer &) |
| std::string | toStr (const MultiContainer &container) |
| typedef SbeGroupEntry<MessageSize> GroupEntrySource |
| typedef TagValues::const_iterator TagValueConstIterator |
Constant iterator over the tag-value sequence.
Definition at line 111 of file MultiContainer.h.
| typedef TagValues::iterator TagValueIterator |
Iterator over the tag-value sequence.
Definition at line 108 of file MultiContainer.h.
Sequence of tag-value pairs.
Definition at line 105 of file MultiContainer.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Serializes the given tag-value pair.
Definition at line 323 of file MultiContainer.h.
|
inline |
Serializes the given tag-value pair.
Definition at line 95 of file MultiContainer.h.
| void toStr | ( | std::string & | , |
| const MultiContainer & | ) |
Serializes the given tag-value pair.
| void toStr | ( | std::string & | , |
| const TagValue & | ) |
Serializes the given tag-value pair.
|
inline |
| bool value | ( | Number & | number, |
| const MultiContainer & | container, | ||
| Tag | tag ) |
Finds a tag-value entry in the given collection by the given tag and returns its value component transformed into a number.
Throws an exception if a value is either absent or can't be transformed into a number of the given type.
Definition at line 289 of file MultiContainer.h.
|
inline |
Finds a tag-value entry in the given collection by the given tag and returns its value component.
Definition at line 266 of file MultiContainer.h.
| bool valueOrDefault | ( | Number & | number, |
| const MultiContainer & | container, | ||
| Tag | tag, | ||
| Number | defaultValue = Number() ) |
Finds a tag-value entry in the given collection by the given tag and returns its value component transformed into a number of the given type.
If value is absent, then returns the default one. If value is found, but can't be transformed into a number, then an exception is trown.
Definition at line 304 of file MultiContainer.h.