Lines Matching refs:ImmutableMapRef
252 class ImmutableMapRef {
272 explicit ImmutableMapRef(const TreeTy *R, FactoryTy *F) in ImmutableMapRef() function
279 explicit ImmutableMapRef(const ImmutableMap<KeyT, ValT> &X, in ImmutableMapRef() function
286 ImmutableMapRef(const ImmutableMapRef &X) : Root(X.Root), Factory(X.Factory) { in ImmutableMapRef() function
292 ImmutableMapRef &operator=(const ImmutableMapRef &X) {
306 ~ImmutableMapRef() { in ~ImmutableMapRef()
311 static inline ImmutableMapRef getEmptyMap(FactoryTy *F) { in getEmptyMap()
312 return ImmutableMapRef(0, F); in getEmptyMap()
323 ImmutableMapRef add(key_type_ref K, data_type_ref D) const { in add()
325 return ImmutableMapRef(NewT, Factory); in add()
328 ImmutableMapRef remove(key_type_ref K) const { in remove()
330 return ImmutableMapRef(NewT, Factory); in remove()
341 bool operator==(const ImmutableMapRef &RHS) const {
345 bool operator!=(const ImmutableMapRef &RHS) const {
364 class iterator : public ImutAVLValueIterator<ImmutableMapRef> {
367 friend class ImmutableMapRef; variable
399 static inline void Profile(FoldingSetNodeID &ID, const ImmutableMapRef &M) { in Profile()