|
| | Collection (bool caseInsensitive=false) |
| |
| | ~Collection () |
| |
| | Collection (Collection const &other) |
| |
| Collection & | operator= (Collection const &other) |
| |
| | Collection (Collection &&other) |
| |
| Collection & | operator= (Collection &&other) |
| |
| template<typename _KTy , typename _VTy , typename _Pr , typename _Alloc > |
| | Collection (std::map< _KTy, _VTy, _Pr, _Alloc > const &m, bool caseInsensitive=false) |
| | 构造函数 用map构造Collection 更多...
|
| |
| template<typename _KTy , typename _VTy , size_t _Count> |
| | Collection (std::pair< _KTy, _VTy >(&pairs)[_Count], bool caseInsensitive=false) |
| | 构造函数 用pair[]构造Collection 更多...
|
| |
| | Collection ($c &&coll, bool caseInsensitive=false) |
| | 构造函数 用$c构造Collection 更多...
|
| |
| | Collection (Mixed const &coll, bool caseInsensitive=false) |
| | 构造函数 用Mixed构造Collection 更多...
|
| |
| void | create (bool caseInsensitive=false) |
| | 创建集合 更多...
|
| |
| void | destroy () |
| | 销毁集合 更多...
|
| |
| void | clear () |
| | 清空集合 更多...
|
| |
| template<typename _Ty , typename _Alloc > |
| size_t | getKeys (std::vector< _Ty, _Alloc > *keys) const |
| | 获取全部键名,返回键名个数 更多...
|
| |
| template<typename _KTy , typename _VTy , typename _Pr , typename _Alloc > |
| size_t | getMap (std::map< _KTy, _VTy, _Pr, _Alloc > *m) const |
| | 获取映射表,返回键值对个数 更多...
|
| |
| bool | isEmpty () const |
| | 判断容器是否为空 更多...
|
| |
| size_t | getCount () const |
| | 获取Collection元素个数 更多...
|
| |
| Mixed & | operator[] (Mixed const &k) |
| | 下标操作 更多...
|
| |
| template<typename _ChTy > |
| Mixed & | operator[] (_ChTy const *k) |
| | 下标操作 使兼容字符串指针 更多...
|
| |
| Mixed & | at (Mixed const &k) |
| | at操作 更多...
|
| |
| Mixed const & | at (Mixed const &k) const |
| | const at操作 更多...
|
| |
| Mixed const & | get (Mixed const &k, Mixed const &defval) const |
| | 取得指定'Key'的元素,不存在则返回默认值 更多...
|
| |
| MixedMixedPair & | getPair (size_t i) |
| | Collection获取'键值对'索引操作 更多...
|
| |
| MixedMixedPair const & | getPair (size_t i) const |
| | Collection获取'键值对'索引操作 更多...
|
| |
| void | setPair (size_t i, Mixed const &k, Mixed const &v) |
| | Collection设置'键值对'索引操作 更多...
|
| |
| void | addPair (Mixed const &k, Mixed const &v) |
| | 往Collection添加一个pair 更多...
|
| |
| void | addPair (Mixed const &k, Mixed &&v) |
| | 往Collection添加一个pair 更多...
|
| |
| void | del (Mixed const &k) |
| | 删除一个元素,k代表键名 更多...
|
| |
| bool | has (Mixed const &k) const |
| | 判断键名是否存在 更多...
|
| |
| void | reverse () |
| | 反转集合内元素顺序 更多...
|
| |
| MixedArray & | refKeysArray () |
| |
| MixedArray const & | refKeysArray () const |
| |
| bool | getCaseInsensitive () const |
| |
| MixedMixedMap & | refMap () |
| |
| MixedMixedMap const & | refMap () const |
| |
| MixedMixedMapI & | refMapI () |
| |
| MixedMixedMapI const & | refMapI () const |
| |
| template<typename _KTy , typename _VTy , typename _Pr , typename _Alloc > |
| void | assign (std::map< _KTy, _VTy, _Pr, _Alloc > const &m, bool caseInsensitive=false) |
| | 用map给Collection赋值 更多...
|
| |
| template<typename _KTy , typename _VTy , size_t _Count> |
| void | assign (std::pair< _KTy, _VTy >(&pairs)[_Count], bool caseInsensitive=false) |
| | 用pair[]给Collection赋值 更多...
|
| |
| void | assign ($c &&coll, bool caseInsensitive=false) |
| | 用$c给Collection赋值 更多...
|
| |