This page has been translated automatically.
视频教程
界面
要领
高级
实用建议
UnigineEditor
界面概述
资产工作流程
设置和首选项
项目开发
调整节点参数
Setting Up Materials
Setting Up Properties
照明
Landscape Tool
Sandworm
使用编辑器工具执行特定任务
Extending Editor Functionality
嵌入式节点类型
Nodes
Objects
Effects
Decals
光源
Geodetics
World Nodes
Sound Objects
Pathfinding Objects
Players
编程
基本原理
搭建开发环境
Usage Examples
C++
C#
UnigineScript
UUSL (Unified UNIGINE Shader Language)
Plugins
File Formats
Rebuilding the Engine Tools
GUI
双精度坐标
应用程序接口
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 Optimization
Materials
Material Nodes Library
Miscellaneous
Input
Math
Matrix
Textures
Art Samples
Tutorials
注意! 这个版本的文档是过时的,因为它描述了一个较老的SDK版本!请切换到最新SDK版本的文档。
注意! 这个版本的文档描述了一个不再受支持的旧SDK版本!请升级到最新的SDK版本。

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: ()