Changeset 1547:dd57a540ff5f in lemon0.x for lemon/maps.h
 Timestamp:
 07/12/05 18:16:19 (16 years ago)
 Branch:
 default
 Phase:
 public
 Convert:
 svn:c9d7d8f590d60310b91f818b3a526b0e/lemon/trunk@2043
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

lemon/maps.h
r1537 r1547 222 222 }; 223 223 224 ///Convert the \c Value of a map sto another type.224 ///Convert the \c Value of a map to another type. 225 225 226 226 ///This \ref concept::ReadMap "read only map" 227 227 ///converts the \c Value of a maps to type \c T. 228 ///Its \c Value is inherited from \c M. 229 /// 230 ///\bug wrong documentation 228 ///Its \c Key is inherited from \c M. 231 229 template<class M, class T> 232 230 class ConvertMap { … … 305 303 } 306 304 307 ///Shift a map swith a constant.305 ///Shift a map with a constant. 308 306 309 307 ///This \ref concept::ReadMap "read only map" returns the sum of the … … 315 313 /// ShiftMap<X> sh(x,v); 316 314 ///\endcode 317 ///i t is equivalent with315 ///is equivalent with 318 316 ///\code 319 317 /// ConstMap<X::Key, X::Value> c_tmp(v); … … 356 354 357 355 ///This \ref concept::ReadMap "read only map" returns the difference 358 ///of the values returned bythe two356 ///of the values of the two 359 357 ///given maps. Its \c Key and \c Value will be inherited from \c M1. 360 358 ///The \c Key and \c Value of \c M2 must be convertible to those of \c M1. … … 392 390 393 391 ///This \ref concept::ReadMap "read only map" returns the product of the 394 ///values returned bythe two392 ///values of the two 395 393 ///given 396 394 ///maps. Its \c Key and \c Value will be inherited from \c M1. … … 425 423 } 426 424 427 ///Scale a maps with a constant.425 ///Scales a maps with a constant. 428 426 429 427 ///This \ref concept::ReadMap "read only map" returns the value of the 430 ///given map multip ied with a constant value.428 ///given map multiplied with a constant value. 431 429 ///Its \c Key and \c Value is inherited from \c M. 432 430 /// … … 435 433 /// ScaleMap<X> sc(x,v); 436 434 ///\endcode 437 ///i t is equivalent with435 ///is equivalent with 438 436 ///\code 439 437 /// ConstMap<X::Key, X::Value> c_tmp(v); … … 476 474 477 475 ///This \ref concept::ReadMap "read only map" returns the quotient of the 478 ///values returned bythe two476 ///values of the two 479 477 ///given maps. Its \c Key and \c Value will be inherited from \c M1. 480 478 ///The \c Key and \c Value of \c M2 must be convertible to those of \c M1. … … 553 551 } 554 552 555 ///Combine of two maps using an STL (binary) functor.556 557 ///Combine of two maps using an STL (binary) functor.558 /// 559 /// 560 ///This \ref concept::ReadMap "read only map" takes t o maps and a553 ///Combines of two maps using an STL (binary) functor. 554 555 ///Combines of two maps using an STL (binary) functor. 556 /// 557 /// 558 ///This \ref concept::ReadMap "read only map" takes two maps and a 561 559 ///binary functor and returns the composition of 562 ///t wo560 ///the two 563 561 ///given maps unsing the functor. 564 562 ///That is to say, if \c m1 and \c m2 is of type \c M1 and \c M2 … … 790 788 791 789 792 ///Appl yall map setting operations to two maps790 ///Applies all map setting operations to two maps 793 791 794 792 ///This map has two \ref concept::WriteMap "writable map"
Note: See TracChangeset
for help on using the changeset viewer.