Skip to main content
Defines an indexation for fields container. Inherits from:

Members

Friends

Public functions

Function LabelSpace

Return type:

Function LabelSpace

Create a new LabelSpace for a given client. Parameters:
  • Client const *const client: [in] Client instance designating the IP, port and protocol to use.
Return type:

Function LabelSpace

Consturct new LabelSpace from labels and values. Parameters:
  • std::map< Label, dp_int > const & rhs: [in] labels and values with which to construct space.
  • Client const *const client: [in] Client instance designating the IP, port and protocol to use.
Return type:

Function LabelSpace

Construct new LabelSpace from pairs of labels and values. Parameters:
  • std::initializer_list< std::pair< const Label, int > > init: [in] List of label/value pairs.
  • Client const *const client: [in] Client instance designating the IP, port and protocol to use.
Return type:

Function LabelSpace

Consturct new LabelSpace from labels and values. Parameters:
  • std::map< Label, dp_int > const & rhs: [in] labels and values with which to construct space.
Return type:

Function LabelSpace

Construct new LabelSpace from pairs of labels and values. Parameters:
  • std::initializer_list< std::pair< const Label, int > > init: [in] List of label/value pairs.
Return type:

Function ~LabelSpace

Return type:

Function LabelSpace

Parameters:
  • LabelSpace const &
Return type:

Function LabelSpace

Parameters:
  • LabelSpace &&
Return type:

Function operator=

Parameters:
  • LabelSpace const &
Return type: LabelSpace &

Function operator=

Parameters:
  • LabelSpace &&
Return type: LabelSpace &

Function add

Add a label with value. If label already exists, nothing happens. Parameters: Return type: void

Function set

Set an already existing label to value. If label does not exist it is added. Parameters:
  • Label const & label: [in] Label whose value to set.
  • dp_int value: [in] New value of label.
Return type: void

Function erase

Removes label from space. Parameters: Return type: void

Function size

Returns: Number of labels in space. Return type: dp_int

Function has

Returns: Indication that label exists within space. Parameters:
  • Label const & label: [in] Label of which to check existence.
Return type: bool

Function at

Returns: Value of label within space. Parameters:
  • Label const & label: [in] Label of which to get value.
Return type: dp_int

Function labelsName

Returns: name of label at given index. Parameters:
  • dp_index index: [in] Index of the wanted label.
Return type: std::string

Function setTime

Set time label to value. Returns: Reference to labelspace. See also: labels Parameters:
  • dp_index i: [in] New value for time label.
Return type: LabelSpace &

Function setDomain

Set domain label to value Returns: Reference to labelspace. See also: labels Parameters:
  • dp_index i: [in] New value for domain label.
Return type: LabelSpace &

Function setComplex

Set complex label to value. Returns: Reference to labelspace. See also: labels Parameters:
  • dp_index i: [in] New value for complex label.
Return type: LabelSpace &

Function addAnyTime

Set time label to -1. Returns: Reference to labelspace. See also: labels Return type: LabelSpace &

Function addAnyDomain

Set domain label to -1. Returns: Reference to labelspace. See also: labels Return type: LabelSpace &

Function deep_copy

Create a new LabelSpace on a server by copying all the data of this LabelSpace. Parameters: Return type: LabelSpace

Function mergeWith

Inserts all labels and ids of other in this. Parameters: Return type: void

Public static functions

Function emptyLabelSpace

Create an empty LabelSpace Returns: Empty LabelSpace Return type: LabelSpace