Kaspersky Neuromorphic Platform  1.0.0
API Reference
Loading...
Searching...
No Matches
uid.h File Reference

UID class and routines. More...

#include <algorithm>
#include <array>
#include <functional>
#include <sstream>
#include <string>
#include <utility>
#include <boost/functional/hash.hpp>
#include <boost/uuid/uuid.hpp>
#include <boost/uuid/uuid_generators.hpp>
#include <boost/uuid/uuid_io.hpp>
+ Include dependency graph for uid.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  knp::core::continuously_uid_generator
 UID generator for entities. More...
 
struct  knp::core::UID
 The UID class is a definition of unique identifiers for entities. More...
 
struct  knp::core::uid_hash
 UID hash functor type. More...
 

Namespaces

namespace  knp
 General framework namespace.
 
namespace  knp::core
 Core library namespace.
 

Macros

#define uid_generator   ::boost::uuids::random_generator
 Default UID generator.
 

Functions

inline ::std::ostream & knp::core::operator<< (std::ostream &s, const UID &uid)
 Send UID to an output stream.
 
inline ::std::istream & knp::core::operator>> (std::istream &s, UID &uid)
 Get UID from an input stream.
 

Detailed Description

UID class and routines.

Developers: Artiom N.
Date
01.02.2021
License: Apache 2.0

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition in file uid.h.

Macro Definition Documentation

◆ uid_generator

#define uid_generator   ::boost::uuids::random_generator

Default UID generator.

Definition at line 72 of file uid.h.