Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Ishtar::ServiceDescription Class Reference

#include <services.h>

List of all members.


Detailed Description

A full description of a Service.


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< CharValueVectorsubnames
 If (flags & NAMED_VALUES) != 0, the vector containing the name for each value.
ValueVectormins
 If (flags & CONSTRAINT_VALUES) != 0, the vector containing the minimum for each value.
ValueVectormaxs
 If (flags & CONSTRAINT_VALUES) != 0, the vector containing the maximum for each value.


Member Enumeration Documentation

enum Ishtar::ServiceDescription::Flags
 

The attributes of the service, each value is a bit and thus can be composed together to form a mask.

Enumeration values:
READ_ONLY  Service can only be read.
NAMED_VALUES  Each value has a name.
CONSTRAINT_VALUES  Each value is bounded.


The documentation for this class was generated from the following files:
Generated on Mon Oct 24 17:31:22 2005 for libishtarservices by  doxygen 1.4.2