.. _package-rst-generic:
=====================
Package rst.generic
=====================
*Not documented*
Messages
========
.. container:: mess4ge-multi
.. container:: mess4ge-graph
.. digraph:: message_graph
fontname="Arial";
fontsize=11;
stylesheet="../_static/corlab.css";
node [fontsize=11]
node [fontname="Arial"]
edge [fontsize=11]
edge [fontname="Arial"]
"1" [label=<
| Value |
|
Type | type |
INT64 | int |
FLOAT64 | double |
ASCII-STRING | string |
BOOL | bool |
OCTET-VECTOR | binary |
Value | array |
>,shape=box,style=filled,fillcolor="white"];
"2" [label=< | Type |
|
VOID | 1 |
INT | 2 |
DOUBLE | 3 |
STRING | 4 |
BOOL | 5 |
BINARY | 6 |
ARRAY | 7 |
>,shape=box,style=filled,fillcolor="white"];
"1" -> "2" [dir=both,arrowtail=odiamond];
"1":array -> "1" [];
"1":type -> "2" [];
.. container:: mess4ge-list
.. container:: messages
* :ref:`Value `
.. container:: clearer
clearer: should be made invisible via css
.. _message-rst-generic-value:
Message Value
-------------
.. container:: message-rst-generic-value-multi
.. container:: message-rst-generic-value-documentation
.. py:class:: rst.generic.Value
A representation of a generic value with a dynamic type.
Each value has a declared type in :py:attr:`type ` indicating which of the
remaining type-specific fields contains the value, expect for
:py:attr:`VOID `, where no value is transported at all (most useful for return
types).
.. codeauthor:: Johannes Wienke
.. py:attribute:: type
:type: :py:class:`rst.generic.Value.Type`
The type of the value transported in this message.
.. py:attribute:: int
:type: :py:class:`INT64`
*Not documented*
.. py:attribute:: double
:type: :py:class:`FLOAT64`
*Not documented*
.. py:attribute:: string
:type: :py:class:`ASCII-STRING`
*Not documented*
.. py:attribute:: bool
:type: :py:class:`BOOL`
*Not documented*
.. py:attribute:: binary
:type: :py:class:`OCTET-VECTOR`
*Not documented*
.. py:attribute:: array
:type: array of :py:class:`rst.generic.Value`
Contained elements can be of different types and ordering is important.
.. container:: message-rst-generic-value-source
:download:`Download this file /home/jenkins/workspace/rst-manual-0.11-merge-simulator/rst-manual/../rst-proto/proto/stable/rst/generic/Value.proto>`
.. literalinclude:: //home/jenkins/workspace/rst-manual-0.11-merge-simulator/rst-manual/../rst-proto/proto/stable/rst/generic/Value.proto
:language: protobuf
:emphasize-lines: 37-37,39-39,40-40,41-41,42-42,43-43,47-47
.. _message-rst-generic-value-type:
Message Type
------------
.. container:: message-rst-generic-value-type-multi
.. container:: message-rst-generic-value-type-documentation
.. py:class:: rst.generic.Value.Type
The list of supported types.
.. py:attribute:: VOID
= 1
*Not documented*
.. py:attribute:: INT
= 2
*Not documented*
.. py:attribute:: DOUBLE
= 3
*Not documented*
.. py:attribute:: STRING
= 4
*Not documented*
.. py:attribute:: BOOL
= 5
*Not documented*
.. py:attribute:: BINARY
= 6
*Not documented*
.. py:attribute:: ARRAY
= 7
Indicate that a list of Values is contained in
representing an array.
.. container:: message-rst-generic-value-type-source
:download:`Download this file /home/jenkins/workspace/rst-manual-0.11-merge-simulator/rst-manual/../rst-proto/proto/stable/rst/generic/Value.proto>`
.. literalinclude:: //home/jenkins/workspace/rst-manual-0.11-merge-simulator/rst-manual/../rst-proto/proto/stable/rst/generic/Value.proto
:lines: 20-32
:language: protobuf
:emphasize-lines: 2-2,3-3,4-4,5-5,6-6,7-7,12-12