This page has been translated automatically.
Video Tutorials
Interface
Essentials
Advanced
How To
UnigineEditor
Interface Overview
Assets Workflow
Settings and Preferences
Working With Projects
Adjusting Node Parameters
Setting Up Materials
Setting Up Properties
Lighting
Landscape Tool
Sandworm
Using Editor Tools for Specific Tasks
Extending Editor Functionality
Built-in Node Types
Nodes
Objects
Effects
Decals
Light Sources
Geodetics
World Nodes
Sound Objects
Pathfinding Objects
Players
Programming
Fundamentals
Setting Up Development Environment
Usage Examples
C++
C#
UnigineScript
UUSL (Unified UNIGINE Shader Language)
Plugins
File Formats
Rebuilding the Engine Tools
GUI
Double Precision Coordinates
API
Common Functionality
Controls-Related Classes
Engine-Related Classes
Filesystem Functionality
GUI-Related Classes
Math Functionality
Node-Related Classes
Objects-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
IG Plugin
CIGIConnector Plugin
Rendering-Related Classes
Content Creation
Content Optimization
Materials
Material Nodes Library
Miscellaneous
Input
Math
Matrix
Textures
Art Samples
Tutorials
Warning! This version of documentation is OUTDATED, as it describes an older SDK version! Please switch to the documentation for the latest SDK version.
Warning! This version of documentation describes an old SDK version which is no longer supported! Please upgrade to the latest SDK version.

Unigine::BiMap Class

Header: #include <UnigineBiMap.h>

BiMap Class

Members


BiMap ( ) #

BiMap ( std::initializer_list<Pair<Key,Type>> list ) #

Arguments

  • std::initializer_list<Pair<Key,Type>> list

BiMap ( const BiMap& o ) #

Arguments

  • const BiMap& o

BiMap ( BiMap&& o ) #

Arguments

  • BiMap&& o

BiMap<Key, Type, Allocator> & operator= ( const BiMap& o ) #

Arguments

  • const BiMap& o

BiMap<Key, Type, Allocator> & operator= ( BiMap&& o ) #

Arguments

  • BiMap&& o

void swap ( BiMap& o ) #

Arguments

  • BiMap& o

void clear ( ) #

size_t getMemoryUsage ( ) const#

Iterator insert ( const Key& key, const Type& value ) #

Arguments

  • const Key& key
  • const Type& value

Iterator insert ( Key&& key, const Type& value ) #

Arguments

  • Key&& key
  • const Type& value

Iterator insert ( const Key& key, Type&& value ) #

Arguments

  • const Key& key
  • Type&& value

Iterator insert ( Key&& key, Type&& value ) #

Arguments

  • Key&& key
  • Type&& value

void insert ( const BiMap& m ) #

Arguments

  • const BiMap& m

void insert ( BiMap&& m ) #

Arguments

  • BiMap&& m

Iterator append ( const Key& key, const Type& value ) #

Arguments

  • const Key& key
  • const Type& value

Iterator append ( Key&& key, const Type& value ) #

Arguments

  • Key&& key
  • const Type& value

Iterator append ( const Key& key, Type&& value ) #

Arguments

  • const Key& key
  • Type&& value

Iterator append ( Key&& key, Type&& value ) #

Arguments

  • Key&& key
  • Type&& value

void append ( const BiMap& m ) #

Arguments

  • const BiMap& m

void append ( BiMap&& m ) #

Arguments

  • BiMap&& m

const Type & emplace ( const Key& key, Args&& args ) #

Arguments

  • const Key& key
  • Args&& args

const Type & emplace ( Key&& key, Args&& args ) #

Arguments

  • Key&& key
  • Args&& args

Iterator appendFast ( const Key& key, const Type& value ) #

Arguments

  • const Key& key
  • const Type& value

Iterator appendFast ( Key&& key, const Type& value ) #

Arguments

  • Key&& key
  • const Type& value

Iterator appendFast ( const Key& key, Type&& value ) #

Arguments

  • const Key& key
  • Type&& value

Iterator appendFast ( Key&& key, Type&& value ) #

Arguments

  • Key&& key
  • Type&& value

void appendFast ( const BiMap& m ) #

Arguments

  • const BiMap& m

void appendFast ( BiMap&& m ) #

Arguments

  • BiMap&& m

const Type & emplaceFast ( const Key& key, Args&& args ) #

Arguments

  • const Key& key
  • Args&& args

const Type & emplaceFast ( Key&& key, Args&& args ) #

Arguments

  • Key&& key
  • Args&& args

bool contains ( const T& key ) const#

Arguments

  • const T& key

template<typename TypeKey> contains ( const TypeKey& key, const Type& value ) const#

Arguments

  • const TypeKey& key
  • const Type& value

template<typename TypeKey,typename TypeValue> replace ( TypeKey&& key, TypeValue&& value ) #

Arguments

  • TypeKey&& key
  • TypeValue&& value

template<typename TypeValue,typename TypeKey> replaceData ( TypeKey&& key, TypeValue&& value ) #

Arguments

  • TypeKey&& key
  • TypeValue&& value

const Type & operator[] ( const Key& key ) const#

Arguments

  • const Key& key

const Type & get ( const Key& key ) const#

Arguments

  • const Key& key

const Key & getKey ( const Type& value ) const#

Arguments

  • const Type& value

Iterator findData ( const T& v ) #

Arguments

  • const T& v

ConstIterator findData ( const T& v ) const#

Arguments

  • const T& v

bool containsData ( const T& v ) const#

Arguments

  • const T& v

bool remove ( const Key& key ) #

Arguments

  • const Key& key

bool remove ( const Iterator& it ) #

Arguments

  • const Iterator& it

bool remove ( const ConstIterator& it ) #

Arguments

  • const ConstIterator& it

bool erase ( const Key& key ) #

Arguments

  • const Key& key

Iterator erase ( const Iterator& it ) #

Arguments

  • const Iterator& it

ConstIterator erase ( const ConstIterator& it ) #

Arguments

  • const ConstIterator& it

bool removeData ( const Type& value ) #

Arguments

  • const Type& value

Type take ( const Key& key ) #

Arguments

  • const Key& key

bool take ( const Key& key, Type& ret ) #

Arguments

  • const Key& key
  • Type& ret

Key takeData ( const Type& value ) #

Arguments

  • const Type& value

bool takeData ( const Type& value, Key& ret ) #

Arguments

  • const Type& value
  • Key& ret

Type value ( const Key& key ) const#

Arguments

  • const Key& key

Type value ( const Key& key, const Type& def ) const#

Arguments

  • const Key& key
  • const Type& def

const Type & valueRef ( const Key& key, const Type& def ) const#

Arguments

  • const Key& key
  • const Type& def

Key key ( const Type& value ) const#

Arguments

  • const Type& value

Key key ( const Type& value, const Key& def ) const#

Arguments

  • const Type& value
  • const Key& def

const Key & keyRef ( const Type& value, const Key& def ) const#

Arguments

  • const Type& value
  • const Key& def

int values ( ) const#

void getValues ( Vector<Type>& values ) const#

Arguments

void getPairs ( Vector<Pair<Key,Type >>& pairs ) const#

Arguments

bool operator== ( const BiMap& o ) const#

Arguments

  • const BiMap& o

bool operator!= ( const BiMap& o ) const#

Arguments

  • const BiMap& o
Last update: 2021-12-13
Build: ()