Web Analytics Made Easy - Statcounter
Skip to content

File SBCContainerFractionalKey.hpp#

FileList > Container > SBCContainerFractionalKey.hpp

  • #include <string>
  • #include <iostream>
  • #include "SBCContainerExport.hpp"
  • #include "SBCContainerVector.hpp"
  • #include "SBCSystemDefinitions.hpp"

Classes#

Type Name
class SBCContainerFractionalKey
This class describes a fractional key used for assigning a unique index to nodes and sort them in a context of collaborative editing.

Public Types#

Type Name
typedef SBCContainerFractionalKey SBFractionalKey
The short name of SBCContainerFractionalKey .

Public Functions#

Type Name
SB_SBCCONTAINER_EXPORT std::ostream & operator<< (std::ostream & s, const SBCContainerFractionalKey & key)
Prints the fractional key.

Public Types Documentation#

typedef SBFractionalKey#

The short name of SBCContainerFractionalKey .

typedef SBCContainerFractionalKey SBFractionalKey;


Public Functions Documentation#

function operator<<#

Prints the fractional key.

SB_SBCCONTAINER_EXPORT std::ostream & operator<< (
    std::ostream & s,
    const SBCContainerFractionalKey & key
) 

Prints the fractional key.

Serializes the fractional key by converting it to a string and inserting it into the stream.

Parameters:

  • s Output stream.
  • key Fractional key to write.

Returns:

The output stream.