... | ... |
@@ -157,9 +157,9 @@ |
157 | 157 |
inline ConstMap<K, Const<V, v> > constMap() { |
158 | 158 |
return ConstMap<K, Const<V, v> >(); |
159 | 159 |
} |
160 | 160 |
|
161 |
///Map based on std::map |
|
161 |
///Map based on \c std::map |
|
162 | 162 |
|
163 | 163 |
///This is essentially a wrapper for \c std::map with addition that |
164 | 164 |
///you can specify a default value different from \c Value(). |
165 | 165 |
template <typename K, typename T, typename Compare = std::less<K> > |
... | ... |
@@ -241,21 +241,21 @@ |
241 | 241 |
} |
242 | 242 |
|
243 | 243 |
}; |
244 | 244 |
|
245 |
///Returns a \ |
|
245 |
///Returns a \c StdMap class |
|
246 | 246 |
|
247 |
///This function just returns a \ |
|
247 |
///This function just returns a \c StdMap class with specified |
|
248 | 248 |
///default value. |
249 | 249 |
///\relates StdMap |
250 | 250 |
template<typename K, typename V, typename Compare = std::less<K> > |
251 | 251 |
inline StdMap<K, V, Compare> stdMap(const V& value = V()) { |
252 | 252 |
return StdMap<K, V, Compare>(value); |
253 | 253 |
} |
254 | 254 |
|
255 |
///Returns a \ |
|
255 |
///Returns a \c StdMap class created from an appropriate std::map |
|
256 | 256 |
|
257 |
///This function just returns a \ |
|
257 |
///This function just returns a \c StdMap class created from an |
|
258 | 258 |
///appropriate std::map. |
259 | 259 |
///\relates StdMap |
260 | 260 |
template<typename K, typename V, typename Compare = std::less<K> > |
261 | 261 |
inline StdMap<K, V, Compare> stdMap( const std::map<K, V, Compare> &map, |
... | ... |
@@ -338,11 +338,11 @@ |
338 | 338 |
} |
339 | 339 |
|
340 | 340 |
}; |
341 | 341 |
|
342 |
///Returns an \ |
|
342 |
///Returns an \c IntegerMap class |
|
343 | 343 |
|
344 |
///This function just returns an \ |
|
344 |
///This function just returns an \c IntegerMap class. |
|
345 | 345 |
///\relates IntegerMap |
346 | 346 |
template<typename T> |
347 | 347 |
inline IntegerMap<T> integerMap(int size = 0, const T& value = T()) { |
348 | 348 |
return IntegerMap<T>(size, value); |
... | ... |
@@ -382,9 +382,9 @@ |
382 | 382 |
|
383 | 383 |
///\brief Convert the \c Value of a map to another type using |
384 | 384 |
///the default conversion. |
385 | 385 |
/// |
386 |
///This \ |
|
386 |
///This \ref concepts::ReadMap "read only map" |
|
387 | 387 |
///converts the \c Value of a map to type \c T. |
388 | 388 |
///Its \c Key is inherited from \c M. |
389 | 389 |
template <typename M, typename T> |
390 | 390 |
class ConvertMap : public MapBase<typename M::Key, T> { |
... | ... |
@@ -439,20 +439,20 @@ |
439 | 439 |
///\e |
440 | 440 |
Value operator[](Key k) const {return m[k];} |
441 | 441 |
}; |
442 | 442 |
|
443 |
///Returns a \ |
|
443 |
///Returns a \c SimpleMap class |
|
444 | 444 |
|
445 |
///This function just returns a \ |
|
445 |
///This function just returns a \c SimpleMap class. |
|
446 | 446 |
///\relates SimpleMap |
447 | 447 |
template<typename M> |
448 | 448 |
inline SimpleMap<M> simpleMap(const M &m) { |
449 | 449 |
return SimpleMap<M>(m); |
450 | 450 |
} |
451 | 451 |
|
452 | 452 |
///Simple writable wrapping of a map |
453 | 453 |
|
454 |
///This \ref concepts:: |
|
454 |
///This \ref concepts::ReadWriteMap "read-write map" returns the simple |
|
455 | 455 |
///wrapping of the given map. Sometimes the reference maps cannot be |
456 | 456 |
///combined with simple read-write maps. This map adaptor wraps the |
457 | 457 |
///given map to simple read-write map. |
458 | 458 |
/// |
... | ... |
@@ -475,20 +475,20 @@ |
475 | 475 |
///\e |
476 | 476 |
void set(Key k, const Value& c) { m.set(k, c); } |
477 | 477 |
}; |
478 | 478 |
|
479 |
///Returns a \ |
|
479 |
///Returns a \c SimpleWriteMap class |
|
480 | 480 |
|
481 |
///This function just returns a \ |
|
481 |
///This function just returns a \c SimpleWriteMap class. |
|
482 | 482 |
///\relates SimpleWriteMap |
483 | 483 |
template<typename M> |
484 | 484 |
inline SimpleWriteMap<M> simpleWriteMap(M &m) { |
485 | 485 |
return SimpleWriteMap<M>(m); |
486 | 486 |
} |
487 | 487 |
|
488 | 488 |
///Sum of two maps |
489 | 489 |
|
490 |
///This \ |
|
490 |
///This \ref concepts::ReadMap "read only map" returns the sum of the two |
|
491 | 491 |
///given maps. |
492 | 492 |
///Its \c Key and \c Value are inherited from \c M1. |
493 | 493 |
///The \c Key and \c Value of M2 must be convertible to those of \c M1. |
494 | 494 |
template<typename M1, typename M2> |
... | ... |
@@ -519,9 +519,9 @@ |
519 | 519 |
} |
520 | 520 |
|
521 | 521 |
///Shift a map with a constant. |
522 | 522 |
|
523 |
///This \ |
|
523 |
///This \ref concepts::ReadMap "read only map" returns the sum of the |
|
524 | 524 |
///given map and a constant value. |
525 | 525 |
///Its \c Key and \c Value are inherited from \c M. |
526 | 526 |
/// |
527 | 527 |
///Actually, |
... | ... |
@@ -555,9 +555,9 @@ |
555 | 555 |
}; |
556 | 556 |
|
557 | 557 |
///Shift a map with a constant (ReadWrite version). |
558 | 558 |
|
559 |
///This \ |
|
559 |
///This \ref concepts::ReadWriteMap "read-write map" returns the sum of the |
|
560 | 560 |
///given map and a constant value. It makes also possible to write the map. |
561 | 561 |
///Its \c Key and \c Value are inherited from \c M. |
562 | 562 |
/// |
563 | 563 |
///\sa ShiftMap |
... | ... |
@@ -601,9 +601,9 @@ |
601 | 601 |
} |
602 | 602 |
|
603 | 603 |
///Difference of two maps |
604 | 604 |
|
605 |
///This \ |
|
605 |
///This \ref concepts::ReadMap "read only map" returns the difference |
|
606 | 606 |
///of the values of the two given maps. |
607 | 607 |
///Its \c Key and \c Value are inherited from \c M1. |
608 | 608 |
///The \c Key and \c Value of \c M2 must be convertible to those of \c M1. |
609 | 609 |
/// |
... | ... |
@@ -634,9 +634,9 @@ |
634 | 634 |
} |
635 | 635 |
|
636 | 636 |
///Product of two maps |
637 | 637 |
|
638 |
///This \ |
|
638 |
///This \ref concepts::ReadMap "read only map" returns the product of the |
|
639 | 639 |
///values of the two given maps. |
640 | 640 |
///Its \c Key and \c Value are inherited from \c M1. |
641 | 641 |
///The \c Key and \c Value of \c M2 must be convertible to those of \c M1. |
642 | 642 |
template<typename M1, typename M2> |
... | ... |
@@ -664,9 +664,9 @@ |
664 | 664 |
} |
665 | 665 |
|
666 | 666 |
///Scales a map with a constant. |
667 | 667 |
|
668 |
///This \ |
|
668 |
///This \ref concepts::ReadMap "read only map" returns the value of the |
|
669 | 669 |
///given map multiplied from the left side with a constant value. |
670 | 670 |
///Its \c Key and \c Value are inherited from \c M. |
671 | 671 |
/// |
672 | 672 |
///Actually, |
... | ... |
@@ -700,9 +700,9 @@ |
700 | 700 |
}; |
701 | 701 |
|
702 | 702 |
///Scales a map with a constant (ReadWrite version). |
703 | 703 |
|
704 |
///This \ |
|
704 |
///This \ref concepts::ReadWriteMap "read-write map" returns the value of the |
|
705 | 705 |
///given map multiplied from the left side with a constant value. It can |
706 | 706 |
///also be used as write map if the \c / operator is defined between |
707 | 707 |
///\c Value and \c C and the given multiplier is not zero. |
708 | 708 |
///Its \c Key and \c Value are inherited from \c M. |
... | ... |
@@ -748,9 +748,9 @@ |
748 | 748 |
} |
749 | 749 |
|
750 | 750 |
///Quotient of two maps |
751 | 751 |
|
752 |
///This \ |
|
752 |
///This \ref concepts::ReadMap "read only map" returns the quotient of the |
|
753 | 753 |
///values of the two given maps. |
754 | 754 |
///Its \c Key and \c Value are inherited from \c M1. |
755 | 755 |
///The \c Key and \c Value of \c M2 must be convertible to those of \c M1. |
756 | 756 |
template<typename M1, typename M2> |
... | ... |
@@ -778,9 +778,9 @@ |
778 | 778 |
} |
779 | 779 |
|
780 | 780 |
///Composition of two maps |
781 | 781 |
|
782 |
///This \ |
|
782 |
///This \ref concepts::ReadMap "read only map" returns the composition of |
|
783 | 783 |
///two given maps. |
784 | 784 |
///That is to say, if \c m1 is of type \c M1 and \c m2 is of \c M2, |
785 | 785 |
///then for |
786 | 786 |
///\code |
... | ... |
@@ -829,9 +829,9 @@ |
829 | 829 |
///Combine of two maps using an STL (binary) functor. |
830 | 830 |
|
831 | 831 |
///Combine of two maps using an STL (binary) functor. |
832 | 832 |
/// |
833 |
///This \ |
|
833 |
///This \ref concepts::ReadMap "read only map" takes two maps and a |
|
834 | 834 |
///binary functor and returns the composition of the two |
835 | 835 |
///given maps unsing the functor. |
836 | 836 |
///That is to say, if \c m1 and \c m2 is of type \c M1 and \c M2 |
837 | 837 |
///and \c f is of \c F, then for |
... | ... |
@@ -902,9 +902,9 @@ |
902 | 902 |
} |
903 | 903 |
|
904 | 904 |
///Negative value of a map |
905 | 905 |
|
906 |
///This \ |
|
906 |
///This \ref concepts::ReadMap "read only map" returns the negative |
|
907 | 907 |
///value of the value returned by the given map. |
908 | 908 |
///Its \c Key and \c Value are inherited from \c M. |
909 | 909 |
///The unary \c - operator must be defined for \c Value, of course. |
910 | 910 |
/// |
... | ... |
@@ -924,9 +924,9 @@ |
924 | 924 |
}; |
925 | 925 |
|
926 | 926 |
///Negative value of a map (ReadWrite version) |
927 | 927 |
|
928 |
///This \ |
|
928 |
///This \ref concepts::ReadWriteMap "read-write map" returns the negative |
|
929 | 929 |
///value of the value returned by the given map. |
930 | 930 |
///Its \c Key and \c Value are inherited from \c M. |
931 | 931 |
///The unary \c - operator must be defined for \c Value, of course. |
932 | 932 |
/// |
... | ... |
@@ -966,9 +966,9 @@ |
966 | 966 |
} |
967 | 967 |
|
968 | 968 |
///Absolute value of a map |
969 | 969 |
|
970 |
///This \ |
|
970 |
///This \ref concepts::ReadMap "read only map" returns the absolute value |
|
971 | 971 |
///of the value returned by the given map. |
972 | 972 |
///Its \c Key and \c Value are inherited from \c M. |
973 | 973 |
///\c Value must be comparable to \c 0 and the unary \c - |
974 | 974 |
///operator must be defined for it, of course. |
... | ... |
@@ -1000,9 +1000,9 @@ |
1000 | 1000 |
} |
1001 | 1001 |
|
1002 | 1002 |
///Converts an STL style functor to a map |
1003 | 1003 |
|
1004 |
///This \ |
|
1004 |
///This \ref concepts::ReadMap "read only map" returns the value |
|
1005 | 1005 |
///of a given functor. |
1006 | 1006 |
/// |
1007 | 1007 |
///Template parameters \c K and \c V will become its |
1008 | 1008 |
///\c Key and \c Value. |
... | ... |
@@ -1058,9 +1058,9 @@ |
1058 | 1058 |
///This class Converts a map to an STL style (unary) functor. |
1059 | 1059 |
///that is it provides an <tt>operator()</tt> to read its values. |
1060 | 1060 |
/// |
1061 | 1061 |
///For the sake of convenience it also works as |
1062 |
///a ususal \ |
|
1062 |
///a ususal \ref concepts::ReadMap "readable map", |
|
1063 | 1063 |
///i.e. <tt>operator[]</tt> and the \c Key and \c Value typedefs also exist. |
1064 | 1064 |
/// |
1065 | 1065 |
///\sa FunctorMap |
1066 | 1066 |
template <typename M> |
... | ... |
@@ -1092,11 +1092,11 @@ |
1092 | 1092 |
} |
1093 | 1093 |
|
1094 | 1094 |
///Applies all map setting operations to two maps |
1095 | 1095 |
|
1096 |
///This map has two \ |
|
1096 |
///This map has two \ref concepts::ReadMap "readable map" |
|
1097 | 1097 |
///parameters and each read request will be passed just to the |
1098 |
///first map. This class is the just readable map type of the ForkWriteMap. |
|
1098 |
///first map. This class is the just readable map type of the \c ForkWriteMap. |
|
1099 | 1099 |
/// |
1100 | 1100 |
///The \c Key and \c Value are inherited from \c M1. |
1101 | 1101 |
///The \c Key and \c Value of M2 must be convertible from those of \c M1. |
1102 | 1102 |
/// |
... | ... |
@@ -1120,11 +1120,11 @@ |
1120 | 1120 |
|
1121 | 1121 |
|
1122 | 1122 |
///Applies all map setting operations to two maps |
1123 | 1123 |
|
1124 |
///This map has two \ |
|
1124 |
///This map has two \ref concepts::WriteMap "writable map" |
|
1125 | 1125 |
///parameters and each write request will be passed to both of them. |
1126 |
///If \c M1 is also \ |
|
1126 |
///If \c M1 is also \ref concepts::ReadMap "readable", |
|
1127 | 1127 |
///then the read operations will return the |
1128 | 1128 |
///corresponding values of \c M1. |
1129 | 1129 |
/// |
1130 | 1130 |
///The \c Key and \c Value are inherited from \c M1. |
... | ... |
@@ -1171,9 +1171,9 @@ |
1171 | 1171 |
/* ************* BOOL MAPS ******************* */ |
1172 | 1172 |
|
1173 | 1173 |
///Logical 'not' of a map |
1174 | 1174 |
|
1175 |
///This bool \ |
|
1175 |
///This bool \ref concepts::ReadMap "read only map" returns the |
|
1176 | 1176 |
///logical negation of the value returned by the given map. |
1177 | 1177 |
///Its \c Key is inherited from \c M, its Value is \c bool. |
1178 | 1178 |
/// |
1179 | 1179 |
///\sa NotWriteMap |
... | ... |
@@ -1192,9 +1192,9 @@ |
1192 | 1192 |
}; |
1193 | 1193 |
|
1194 | 1194 |
///Logical 'not' of a map (ReadWrie version) |
1195 | 1195 |
|
1196 |
///This bool \ |
|
1196 |
///This bool \ref concepts::ReadWriteMap "read-write map" returns the |
|
1197 | 1197 |
///logical negation of the value returned by the given map. When it is set, |
1198 | 1198 |
///the opposite value is set to the original map. |
1199 | 1199 |
///Its \c Key is inherited from \c M, its Value is \c bool. |
1200 | 1200 |
/// |
... | ... |
@@ -1260,10 +1260,11 @@ |
1260 | 1260 |
|
1261 | 1261 |
|
1262 | 1262 |
/// \brief Writable bool map for logging each \c true assigned element |
1263 | 1263 |
/// |
1264 |
/// Writable bool map for logging each \c true assigned element, i.e it |
|
1265 |
/// copies all the keys set to \c true to the given iterator. |
|
1264 |
/// A \ref concepts::ReadWriteMap "read-write" bool map for logging |
|
1265 |
/// each \c true assigned element, i.e it/ copies all the keys set |
|
1266 |
/// to \c true to the given iterator. |
|
1266 | 1267 |
/// |
1267 | 1268 |
/// \note The container of the iterator should contain space |
1268 | 1269 |
/// for each element. |
1269 | 1270 |
/// |
0 comments (0 inline)