#include <services.h>
Public Types | |
| enum | Flags { READ_ONLY = 0x1, NAMED_VALUES = 0x2, CONSTRAINT_VALUES = 0x4 } |
| The attributes of the service, each value is a bit and thus can be composed together to form a mask. More... | |
Public Member Functions | |
| ServiceDescription () | |
| Constructor. | |
| ~ServiceDescription () | |
| Destructor. | |
| void | serialize (OutputStream *stream) |
| Serialize to a stream. | |
| void | deserialize (InputStream *stream) |
| Deserialize from a stream. | |
Public Attributes | |
| CharValueVector | name |
| The name of the service. | |
| ValueVector::Type | type |
| The type of scalar values the service provides. | |
| UInt32 | flags |
| The attributes mask of the service. | |
| UInt32 | length |
| The number of values in the service. If zero, service has dynamic size. | |
| std::vector< CharValueVector > | subnames |
| If (flags & NAMED_VALUES) != 0, the vector containing the name for each value. | |
| ValueVector * | mins |
| If (flags & CONSTRAINT_VALUES) != 0, the vector containing the minimum for each value. | |
| ValueVector * | maxs |
| If (flags & CONSTRAINT_VALUES) != 0, the vector containing the maximum for each value. | |
|
|
The attributes of the service, each value is a bit and thus can be composed together to form a mask.
|
1.4.2