From a094b675418ad262e54ff76ddc06e2b47aa67e2a Mon Sep 17 00:00:00 2001 From: cbpporter Date: Thu, 20 Nov 2008 13:22:50 +0000 Subject: [PATCH] Buffer, Pte, Ptr and BiVector documentation git-svn-id: svn://ultimatepp.org/upp/trunk@658 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/Core/src.tpp/BiVector$en-us.tpp | 455 +++++++++++++----------- uppsrc/Core/src.tpp/Buffer$en-us.tpp | 149 ++++---- uppsrc/Core/src.tpp/MathUtil$en-us.tppi | 14 +- uppsrc/Core/src.tpp/PtePtr$en-us.tpp | 141 ++++---- uppsrc/Core/src.tpp/Size$en-us.tppi | 20 +- uppsrc/Core/src.tpp/Stream$en-us.tpp | 2 +- uppsrc/Core/src.tpp/all.i | 84 +++-- 7 files changed, 482 insertions(+), 383 deletions(-) diff --git a/uppsrc/Core/src.tpp/BiVector$en-us.tpp b/uppsrc/Core/src.tpp/BiVector$en-us.tpp index 6034d3375..46dcbd185 100644 --- a/uppsrc/Core/src.tpp/BiVector$en-us.tpp +++ b/uppsrc/Core/src.tpp/BiVector$en-us.tpp @@ -10,135 +10,251 @@ topic "BiVector"; [i448;b42;O9;2 $$8,8#61672508125594000341940100500538:tparam] [b42;2 $$9,9#13035079074754324216151401829390:normal] [{_}%EN-US -[s0;~~~64; BiVector&] -[s0;~~~64; template &] -[s0;~~~64; class [* BiVector]&] -[s0; &] -[s7;l0;~~~.704; [*C@4 T]-|Type of elements stored in the BiVector. T -is required to be [*/^topic`:`/`/Core`/srcdoc`/Moveable`$en`-us^ moveable][*/ +[s0;~~~64; [*@3;4 BiVector]&] +[s1;:noref:%- [@(0.0.255)3 template][3 _<][@(0.0.255)3 class][3 _][*@4;3 T][@(0.0.255)3 >]&] +[s1;:BiVector`:`:class:%- [@(0.0.255) class]_[* BiVector]_:_[@(0.0.255) private]_[*@3 Moveable +AndDeepCopyOption][@(0.0.255) <]_[* BiVector][@(0.0.255) <][*@4 T][@(0.0.255) >]_>_&] +[s7;#l0;i704;~~~.704; [*C@4 T]-|Type of elements stored in the [* BiVector]. +T is required to be [*/^topic`:`/`/Core`/srcdoc`/Moveable`$en`-us^ moveable][*/ ]and must have either [*/ deep copy constructor], [*/ pick constructor] or [*/ default constructor].&] -[s0; Vector flavor of bidirectional container. Allows adding elements +[s0; &] +[s0;# Vector flavor of bidirectional container. Allows adding elements at both sides of sequence in constant amortized time.&] +[s0;# &] [s0; Like any other NTL container, BiVector is a [*/^topic`:`/`/Core`/srcdoc`/Moveable`$en`-us^ m oveable][/ ]type with [*/^topic`:`/`/Core`/srcdoc`/pick`_`$en`-us^ pick and optional deep copy] transfer semantics. Calling methods of -picked a BiVector is logic error with the exceptions of&] -[s0; [C+75 void ][*C+75 operator`=][C+75 (pick`_ Vector`& ][*C@3+75 v][C+75 )]&] -[s0; [C+75 void ][*C+75 operator<<`=][C+75 (const Vector`& ][*C@3+75 v][C+75 )][+75 -][/+75 (defined using DeepCopyOptionTemplate)]&] -[s0; [C+75 void ][*C+75 Clear][C+75 ()]&] -[s0; [C+75 bool ][*C+75 IsPicked][C+75 () const]&] -[s0; Optional deep copy is implemented through DeepCopyOptionTemplate +picked a BiVector is logic error with the exceptions of:&] +[s0;%- [C+75 void ][*C+75 operator`=][C+75 (pick`_ Vector`& ][*C@3+75 v][C+75 )]&] +[s0;%- [C+75 void ][*C+75 operator<<`=][C+75 (const Vector`& ][*C@3+75 v][C+75 ) +][/C+75 (defined using DeepCopyOptionTemplate)]&] +[s0;%- [C+75 void ][*C+75 Clear][C+75 ()]&] +[s0;%- [C+75 bool ][*C+75 IsPicked][C+75 () const]&] +[s0;C+75%- &] +[s0; Optional deep copy is implemented through [* DeepCopyOptionTemplate] macro.&] -[s0; Members&] -[s0;3 &] -[s5;K%- T`&_AddHead[@(64) ()]&] -[s2; Adds a new default constructed element at the head of the BiVector. -The new element will be at position 0.&] -[s6; Requires T to have default constructor.&] -[s6; Invalidates iterators and references to the BiVector.&] -[s7; [*/ Return value]-|Reference to the newly added default constructed -element.&] -[s0;3 &] -[s5;K%- T`&_AddTail[@(64) ()]&] -[s2; Adds a new default constructed element at the tail of the BiVector. -The new element will be at position GetCount() `- 1.&] -[s6; Requires T to have default constructor.&] -[s6; Invalidates iterators and references to the BiVector.&] -[s7; [*/ Return value]-|Reference to the newly added default constructed -element.&] -[s0;3 &] -[s5;K%- [@(0.0.255) void][@(64) _]AddHead[@(64) (][@(0.0.255) const][@(64) _T`&_][@3 x][@(64) )]&] -[s2; Adds a new element with the specified value at the head of the -BiVector. The new element will be at position 0.&] -[s6; Requires T to have deep copy constructor.&] -[s6; Invalidates iterators and references to the BiVector.&] -[s7; [*C@3 x]-|The value that is copied to the newly created element.&] -[s0;3 &] -[s5;K%- [@(0.0.255) void][@(64) _]AddTail[@(64) (][@(0.0.255) const][@(64) _T`&_][@3 x][@(64) )]&] -[s2; Adds a new element with the specified value at the tail of the -BiVector. The new element will be at position GetCount() `- 1.&] -[s6; Requires T to have deep copy constructor.&] -[s6; Invalidates iterators and references to the BiVector.&] -[s7; [*C@3 x]-|The value that is copied to the newly created element.&] -[s0;3 &] -[s5;K%- [@(0.0.255) void][@(64) _]AddHeadPick[@(64) (pick`__T`&_][@3 x][@(64) )]&] -[s2; Adds a new element at the head of the BiVector and picks value -of the parameter. The new element will be at position 0.&] -[s6; Requires T to have pick constructor.&] -[s6; Invalidates iterators and references to the BiVector.&] -[s7; [*C@3 x]-|Source instance of T that is to be picked.&] -[s0;3 &] -[s5;K%- [@(0.0.255) void][@(64) _]AddTailPick[@(64) (pick`__T`&_][@3 x][@(64) )]&] -[s2; Adds a new element at the tail of the BiVector and picks value -of the parameter. The new element will be at position GetCount() -`- 1.&] -[s6; Requires T to have pick constructor.&] -[s6; Invalidates iterators and references to the BiVector.&] -[s7; [*C@3 x]-|Source instance of T that is to be picked.&] -[s0;3 &] -[s5;K%- T`&_Head[@(64) ()]&] -[s2; Returns a reference to the head of the BiVector. Same as operator`[`](0).&] -[s7; [*/ Return value]-|Reference to the head of the BiVector.&] -[s0;3 &] -[s5;K%- T`&_Tail[@(64) ()]&] -[s2; Returns a reference to the tail of the BiVector. Same as operator`[`](GetCount() - `- 1).&] -[s7; [*/ Return value]-|Reference to the tail of the BiVector.&] -[s0;3 &] -[s5;K%- [@(0.0.255) const][@(64) _T`&_]Head[@(64) ()_][@(0.0.255) const]&] -[s2; Returns a reference to the head of the BiVector. Same as operator`[`](0).&] -[s7; [*/ Return value]-|Constant reference to the head of the BiVector.&] -[s0;3 &] -[s5;K%- [@(0.0.255) const][@(64) _T`&_]Tail[@(64) ()_][@(0.0.255) const]&] -[s2; Returns a reference to the tail of the BiVector. Same as operator`[`](GetCount() - `- 1).&] -[s7; [*/ Return value]-|Constant reference to the tail of the BiVector.&] -[s0;3 &] -[s5;K%- [@(0.0.255) void][@(64) _]DropHead[@(64) ()]&] -[s2; Removes the element at the head of the BiVector.&] -[s6; Invalidates iterators and references to the BiVector.&] -[s0;3 &] -[s5;K%- [@(0.0.255) void][@(64) _]DropTail[@(64) ()]&] -[s2; Removes the element at the tail of the BiVector.&] -[s6; Invalidates iterators and references to the BiVector.&] -[s0;3 &] -[s5;K%- T`&_operator`[`][@(64) (][@(0.0.255) int][@(64) _][@3 i][@(64) )]&] -[s2; Returns a reference to the element at the specified position.&] -[s7; [*C@3 i]-|Position of the element.&] -[s7; [*/ Return value]-|Reference to the element.&] -[s0;3 &] -[s5;K%- [@(0.0.255) const][@(64) _T`&_]operator`[`][@(64) (][@(0.0.255) int][@(64) _][@3 i][@(64) ) -_][@(0.0.255) const]&] -[s2; Returns a reference to the element at the specified position.&] -[s7; [*C@3 i]-|Position of the element.&] -[s7; [*/ Return value]-|Constant reference to the element.&] -[s0;3 &] -[s5;K%- [@(0.0.255) int][@(64) _]GetCount[@(64) ()_][@(0.0.255) const]&] -[s2; Returns the number of elements in the BiVector.&] -[s7; [*/ Return value]-|Actual number of elements.&] -[s0;3 &] -[s5;K%- [@(0.0.255) bool][@(64) _]IsEmpty[@(64) ()_][@(0.0.255) const]&] -[s2; Tests whether the BiVector is empty. Same as GetCount() `=`= -0.&] -[s7; [*/ Return value]-|true if Vector is empty, false otherwise.&] -[s0;3 &] -[s5;K%- [@(0.0.255) void][@(64) _]Clear[@(64) ()]&] -[s2; Removes all elements from the BiVector.&] -[s0;3 &] -[s5;K%- [@(0.0.255) void][@(64) _]Shrink[@(64) ()]&] -[s2; Minimizes memory consumption of the BiVector by minimizing capacity.&] -[s0;3 &] -[s5;K%- [@(0.0.255) void][@(64) _]Reserve[@(64) (][@(0.0.255) int][@(64) _][@3 n][@(64) )]&] -[s2; Reserves capacity. If required capacity is greater than the -current capacity, capacity is increased to the required value.&] -[s7; [*C@3 n]-|Required capacity.&] -[s0;3 &] -[s5;K%- [@(0.0.255) int][@(64) _]GetAlloc[@(64) ()_][@(0.0.255) const]&] -[s2; Returns current capacity of the BiVector.&] -[s7; [*/ Return value]-|Capacity of the BiVector.&] +[s3; &] [s0; &] +[ {{10000F(128)G(128)@1 [s0; [* Constructor Detail]]}}&] +[s3; &] +[s5;:BiVector`:`:BiVector`(`):%- [* BiVector]()&] +[s2; Default constructor. Creates an empty [* BiVector].&] +[s3;%- &] +[s4;%- &] +[s5;:BiVector`:`:BiVector`(pick`_ BiVector`&`):%- [* BiVector]([@(0.128.128) pick`_]_[* BiV +ector][@(0.0.255) `&]_[*@3 src])&] +[s2; Pick constructor. Transfers source [* BiVector ][%-*@3 src ]in low +constant time, but destroys it by picking.&] +[s3; &] +[s4;%- &] +[s5;:BiVector`:`:BiVector`(const BiVector`&`,int`):%- [* BiVector]([@(0.0.255) const]_[* Bi +Vector][@(0.0.255) `&]_[*@3 src], [@(0.0.255) int])&] +[s2; Optional deep copy constructor. Creates a deep copy of [%-*@3 src].&] +[s3; &] +[s4;%- &] +[s5;:BiVector`:`:`~BiVector`(`):%- [@(0.0.255) `~][* BiVector]()&] +[s2; Default destructor. Invokes the destructor of every element +in the BiVector.&] +[s3;%- &] +[s0;i448;a25;kKO9;:noref:@(0.0.255)%- &] +[ {{10000F(128)G(128)@1 [s0; [* Public Method List]]}}&] +[s3;%- &] +[s5;:BiVector`:`:AddHead`(`):%- [*@4 T][@(0.0.255) `&]_[* AddHead]()&] +[s2; Adds a new default constructed element at the head of the [* BiVector]. +The new element will be at position 0. Returns reference to the +newly added default constructed element.&] +[s6; Requires T to have default constructor.&] +[s6; Invalidates iterators and references to the BiVector.&] +[s3;%- &] +[s4;%- &] +[s5;:BiVector`:`:AddTail`(`):%- [*@4 T][@(0.0.255) `&]_[* AddTail]()&] +[s2; Adds a new default constructed element at the tail of the [* BiVector]. +The new element will be at position [* GetCount]() `- 1. Returns +reference to the newly added default constructed element.&] +[s6; Requires T to have default constructor.&] +[s6; Invalidates iterators and references to the BiVector.&] +[s3;%- &] +[s4;%- &] +[s5;:BiVector`:`:AddHead`(const T`&`):%- [@(0.0.255) void]_[* AddHead]([@(0.0.255) const]_[*@4 T +][@(0.0.255) `&]_[*@3 x])&] +[s2; Adds a new element with the specified value [%-*@3 x ]at the head +of the [* BiVector]. The new element will be at position 0.&] +[s6; Requires T to have deep copy constructor.&] +[s6; Invalidates iterators and references to the BiVector.&] +[s3;%- &] +[s4;%- &] +[s5;:BiVector`:`:AddTail`(const T`&`):%- [@(0.0.255) void]_[* AddTail]([@(0.0.255) const]_[*@4 T +][@(0.0.255) `&]_[*@3 x])&] +[s2; Adds a new element with the specified value [%-*@3 x ]at the tail +of the [* BiVector]. The new element will be at position [* GetCount]() +`- 1.&] +[s6; Requires T to have deep copy constructor.&] +[s6; Invalidates iterators and references to the BiVector.&] +[s3;%- &] +[s4;%- &] +[s5;:BiVector`:`:AddHeadPick`(pick`_ T`&`):%- [@(0.0.255) void]_[* AddHeadPick]([@(0.128.128) p +ick`_]_[*@4 T][@(0.0.255) `&]_[*@3 x])&] +[s2; Adds a new element at the head of the [* BiVector] and picks value +of the parameter [%-*@3 x]. The new element will be at position +0.&] +[s6; Requires T to have pick constructor.&] +[s6; Invalidates iterators and references to the BiVector.&] +[s3;%- &] +[s4;%- &] +[s5;:BiVector`:`:AddTailPick`(pick`_ T`&`):%- [@(0.0.255) void]_[* AddTailPick]([@(0.128.128) p +ick`_]_[*@4 T][@(0.0.255) `&]_[*@3 x])&] +[s2; Adds a new element at the tail of the [* BiVector] and picks value +of the parameter [%-*@3 x]. The new element will be at position +[* GetCount]() `- 1.&] +[s6; Requires T to have pick constructor.&] +[s6; Invalidates iterators and references to the BiVector.&] +[s3;%- &] +[s4;%- &] +[s5;:BiVector`:`:Head`(`):%- [*@4 T][@(0.0.255) `&]_[* Head]()&] +[s2; Returns a reference to the head of the [* BiVector] . Same as +operator`[`](0).&] +[s3;%- &] +[s4;%- &] +[s5;:BiVector`:`:Tail`(`):%- [*@4 T][@(0.0.255) `&]_[* Tail]()&] +[s2; Returns a reference to the tail of the [* BiVector] . Same as +operator`[`]([* GetCount]() `- 1).&] +[s3;%- &] +[s4;%- &] +[s5;:BiVector`:`:Head`(`)const:%- [@(0.0.255) const]_[*@4 T][@(0.0.255) `&]_[* Head]()_[@(0.0.255) c +onst]&] +[s2; Returns a [* const] reference to the head of the [* BiVector] . +Same as operator`[`](0).&] +[s3;%- &] +[s4;%- &] +[s5;:BiVector`:`:Tail`(`)const:%- [@(0.0.255) const]_[*@4 T][@(0.0.255) `&]_[* Tail]()_[@(0.0.255) c +onst]&] +[s2; Returns a [* const ]reference to the tail of the [* BiVector] . +Same as operator`[`]([* GetCount]() `- 1).&] +[s3;%- &] +[s4;%- &] +[s5;:BiVector`:`:DropHead`(`):%- [@(0.0.255) void]_[* DropHead]()&] +[s2; Removes the element at the head of the [* BiVector].&] +[s6; Invalidates iterators and references to the BiVector.&] +[s3;%- &] +[s4;%- &] +[s5;:BiVector`:`:DropTail`(`):%- [@(0.0.255) void]_[* DropTail]()&] +[s2; Removes the element at the tail of the [* BiVector].&] +[s6; Invalidates iterators and references to the BiVector.&] +[s3;%- &] +[s4;%- &] +[s5;:BiVector`:`:operator`[`]`(int`):%- [*@4 T][@(0.0.255) `&]_[* operator`[`]]([@(0.0.255) i +nt]_[*@3 i])&] +[s2; Returns a reference to the element at the specified position +[%-*@3 i].&] +[s3;%- &] +[s4;%- &] +[s5;:BiVector`:`:operator`[`]`(int`)const:%- [@(0.0.255) const]_[*@4 T][@(0.0.255) `&]_[* ope +rator`[`]]([@(0.0.255) int]_[*@3 i])_[@(0.0.255) const]&] +[s2; Returns a [* const] reference to the element at the specified +position [%-*@3 i].&] +[s3;%- &] +[s4;%- &] +[s5;:BiVector`:`:GetCount`(`)const:%- [@(0.0.255) int]_[* GetCount]()_[@(0.0.255) const]&] +[s2; Returns the number of elements in the [* BiVector].&] +[s3;%- &] +[s4;%- &] +[s5;:BiVector`:`:IsEmpty`(`)const:%- [@(0.0.255) bool]_[* IsEmpty]()_[@(0.0.255) const]&] +[s2; Tests whether the [* BiVector ]is empty. Same as [* GetCount]() +`=`= 0.&] +[s3;%- &] +[s4;%- &] +[s5;:BiVector`:`:Clear`(`):%- [@(0.0.255) void]_[* Clear]()&] +[s2; Removes all elements from the [* BiVector].&] +[s3;%- &] +[s4;%- &] +[s5;:BiVector`:`:Shrink`(`):%- [@(0.0.255) void]_[* Shrink]()&] +[s2; Minimizes memory consumption of the [* BiVector ]by minimizing +capacity.&] +[s3;%- &] +[s4;%- &] +[s5;:BiVector`:`:Reserve`(int`):%- [@(0.0.255) void]_[* Reserve]([@(0.0.255) int]_[*@3 n])&] +[s2; Reserves capacity. If required capacity [%-*@3 n ]is greater than +the current capacity, capacity is increased to the required value.&] +[s3;%- &] +[s4;%- &] +[s5;:BiVector`:`:GetAlloc`(`)const:%- [@(0.0.255) int]_[* GetAlloc]()_[@(0.0.255) const]&] +[s2; Returns current capacity of the [* BiVector].&] +[s3; &] +[s4;%- &] +[s5;:BiVector`:`:Serialize`(Stream`&`):%- [@(0.0.255) void]_[* Serialize]([_^Stream^ Stream +][@(0.0.255) `&]_[*@3 s])&] +[s2; Serializes content of the [* BiVector ]to/from the Stream [%-*@3 s].&] +[s6; Requires T to have serialization operator defined.&] +[s3;%- &] +[s4;%- &] +[s5;:BiVector`:`:IsPicked`(`):%- [@(0.0.255) bool]_[* IsPicked]()&] +[s2; Returns [* true ]if [* BiVector ]has been picked, false otherwise.&] +[s3;%- &] +[s4;%- &] +[s5;:BiVector`:`:operator`=`(pick`_ BiVector`&`):%- [@(0.0.255) void]_[* operator`=]([@(0.128.128) p +ick`_]_[_^BiVector^ BiVector][@(0.0.255) `&]_[*@3 src])&] +[s2; Pick operator. Transfers source [* BiVector ][%-*@3 src] in low +constant time, but destroys it by picking.&] +[s3;%- &] +[s4;%- &] +[s5;:BiVector`:`:ValueType`:`:typedef:%- [@(0.0.255) typedef]_[*@4 T]_[* ValueType]&] +[s2; Typedef of [*@4 T] for use in templated algorithms.&] +[s3; &] +[s4;%- &] +[s5;:BiVector`:`:Iterator`:`:typedef:%- [@(0.0.255) typedef]_[_^IIterator^ IIterator][@(0.0.255) < +][_^BiVector^ BiVector][@(0.0.255) >]_[* Iterator]&] +[s2; Iterator type.&] +[s3; &] +[s4;%- &] +[s5;:BiVector`:`:ConstIterator`:`:typedef:%- [@(0.0.255) typedef]_[_^ConstIIterator^ Cons +tIIterator][@(0.0.255) <][_^BiVector^ BiVector][@(0.0.255) >]_[* ConstIterator]&] +[s2; Constant iterator type.&] +[s3;%- &] +[s4;%- &] +[s5;:BiVector`:`:Begin`(`)const:%- [_^BiVector`:`:ConstIterator^ ConstIterator]_[* Begin]( +)_[@(0.0.255) const]&] +[s7; Returns a constant iterator to the first element in the BiVector.&] +[s3; &] +[s4;%- &] +[s5;:BiVector`:`:End`(`)const:%- [_^BiVector`:`:ConstIterator^ ConstIterator]_[* End]()_[@(0.0.255) c +onst]&] +[s2; Returns a constant iterator to the position just beyond the +last element in the BiVector.&] +[s3;%- &] +[s4;%- &] +[s5;:BiVector`:`:GetIter`(int`)const:%- [_^BiVector`:`:ConstIterator^ ConstIterator]_[* G +etIter]([@(0.0.255) int]_[*@3 pos])_[@(0.0.255) const]&] +[s2; Returns a constant iterator to the element at the specified +position [%-*@3 pos]. Same as [* Begin() `+ ][%-*@3 pos]. The benefit +of this method is that [%-*@3 pos] is range checked in debug mode.&] +[s3;%- &] +[s4;%- &] +[s5;:BiVector`:`:Begin`(`):%- [_^BiVector`:`:Iterator^ Iterator]_[* Begin]()&] +[s2; Returns a non`-constant iterator to the first element in the +[* BiVector].&] +[s3;%- &] +[s4;%- &] +[s5;:BiVector`:`:End`(`):%- [_^BiVector`:`:Iterator^ Iterator]_[* End]()&] +[s2; Returns non`-constant iterator to the position just beyond the +last element in the [* BiVector].&] +[s3;%- &] +[s4;%- &] +[s5;:BiVector`:`:GetIter`(int`):%- [_^BiVector`:`:Iterator^ Iterator]_[* GetIter]([@(0.0.255) i +nt]_[*@3 pos])&] +[s2; Returns a non`-constant iterator to the element at the specified +position. Same as [* Begin() `+ pos]. The benefit of this method +is that [* pos] is range checked in debug mode.&] +[s3; &] +[s4; &] +[s5;K%- friend_[@(0.0.255) void][@(64) _]Swap[@(64) (][^`:`:BiVector^@(64) BiVector][@(64) `&_][@3 a +][@(64) , ][^`:`:BiVector^@(64) BiVector][@(64) `&_][@3 b][@(64) )]&] +[s2; Specialization of the generic [* Swap] for BiVectors. Swaps BiVectors +in low constant time operation.&] +[s3; &] +[s0;i448;a25;kKO9;:noref:@(0.0.255)%- &] +[ {{10000F(128)G(128)@1 [s0; [* Global Operators]]}}&] +[s3; &] [s0;:friend BiVector`& operator`<`<`(BiVector`& b`, const T`& x`): friend BiVector`& [* operator]<<(BiVector`& [*@3 b], const T`& [*@3 x])&] [s2; Operator replacement of [* void AddTail(const T`&x)]. By returning @@ -148,9 +264,8 @@ BiVector as part of an expression like Foo(BiVector() << 1 << 2 << 4).&] [s6; Requires T to have deep copy constructor.&] [s6; Invalidates iterators and references to the BiVector.&] -[s7; [*C@3 x]-|The value that is copied to the newly created element.&] -[s7; [*/ Return value]-|Reference to the BiVector (that is `*this).&] -[s0; &] +[s3; &] +[s4; &] [s0;:friend BiVector`& operator`>`>`(const T`& x`, BiVector`& b`): friend BiVector`& [* operator]>>(const T`& [*@3 x], BiVector`& [*@3 b])&] [s2; Operator replacement of [* void AddHead(const T`&x)]. By returning @@ -159,95 +274,5 @@ a single expression, thus e.g. allowing to construct a temporary BiVector as part of an expression like Foo(1 >> (2 >> BiVector())).&] [s6; Requires T to have deep copy constructor.&] [s6; Invalidates iterators and references to the BiVector.&] -[s7; [*C@3 x]-|The value that is copied to the newly created element.&] -[s7; [*/ Return value]-|Reference to BiVector (that is `*this).&] -[s0;3 &] -[s5;K%- [@(0.0.255) void][@(64) _]Serialize[@(64) (][^`:`:Stream^@(64) Stream][@(64) `&_][@3 s][@(64) ) -]&] -[s2; Serializes content of the BiVector to/from the Stream. Works -only if NTL is used as part of UPP.&] -[s6; Requires T to have serialization operator defined.&] -[s7; [*C@3 s]-|Target/source stream.&] -[s0;3 &] -[s5;K%- [@(0.0.255) bool][@(64) _]IsPicked[@(64) ()]&] -[s2; Default constructor. Constructs an empty BiVector.&] -[s0;3 &] -[s0;:`:`:BiVector`:`:`~BiVector`(`): `~[* BiVector]()&] -[s2; Destructor. Invokes the destructor of every element in the BiVector.&] -[s0;3 &] -[s0;:`:`:BiVector`:`:BiVector`(pick`_`:`:BiVector`&`): [* BiVector](pick`_ -BiVector`& [*@3 src])&] -[s2; Pick constructor. Transfers source BiVector in low constant -time, but destroys it by picking.&] -[s7; [*C@3 src]-|Source BiVector.&] -[s0;3 &] -[s5;K%- [@(0.0.255) void][@(64) _]operator`=[@(64) (pick`__][^`:`:BiVector^@(64) BiVector][@(64) `& -_][@3 src][@(64) )]&] -[s2; Pick operator. Transfers source BiVector in low constant time, -but destroys it by picking.&] -[s7; [*C@3 v]-|Source BiVector.&] -[s0;3 &] -[s5;K%- [@(0.0.255) bool][@(64) _]IsPicked[@(64) ()]&] -[s2; Returns [* true] if BiVector is in picked state.&] -[s7; [*/ Return value]-|[* true] if BiVector is in picked state, [* false] -otherwise.&] -[s0;3 &] -[s0;:`:`:BiVector`:`:BiVector`(const`:`:BiVector`&`,int`): [* BiVector](const -BiVector`& [*@3 src], int)&] -[s2; Optional deep copy constructor.&] -[s6; Requires T to have deep copy constructor or optional deep copy -constructor.&] -[s7; [*C@3 v]-|Source BiVector.&] -[s0;3 &] -[s5;K%- typedef_T_ValueType&] -[s2; Typedef of T for use in templated algorithms.&] -[s0;3 &] -[s5;K%- typedef_[^`:`:IIterator^ IIterator]<[^`:`:BiVector^ BiVector]>_Iterator&] -[s2; Iterator type.&] -[s0;3 &] -[s5;K%- typedef_[^`:`:ConstIIterator^ ConstIIterator]<[^`:`:BiVector^ BiVector]>_ConstIte -rator&] -[s2; Constant iterator type.&] -[s0;3 &] -[s5;K%- [^`:`:BiVector`:`:ConstIterator^ ConstIterator]_Begin[@(64) ()_][@(0.0.255) const]&] -[s2; Returns a constant iterator to the first element in the BiVector.&] -[s7; [*/ Return value]-|Iterator.&] -[s0;3 &] -[s5;K%- [^`:`:BiVector`:`:ConstIterator^ ConstIterator]_End[@(64) ()_][@(0.0.255) const]&] -[s2; Returns a constant iterator to the position just beyond the -last element in the BiVector.&] -[s7; [*/ Return value]-|Iterator.&] -[s0;3 &] -[s5;K%- [^`:`:BiVector`:`:ConstIterator^ ConstIterator]_GetIter[@(64) (][@(0.0.255) int][@(64) _ -][@3 pos][@(64) )_][@(0.0.255) const]&] -[s2; Returns a constant iterator to the element at the specified -position. Same as [* Begin() `+ i]. The benefit of this method -is that [* pos] is range checked in debug mode.&] -[s7; [*C@3 i]-|Required position.&] -[s7; [*/ Return value]-|Iterator.&] -[s0;3 &] -[s5;K%- [^`:`:BiVector`:`:Iterator^ Iterator]_Begin[@(64) ()]&] -[s2; Returns a non`-constant iterator to the first element in the -BiVector.&] -[s7; [*/ Return value]-|Iterator.&] -[s0;3 &] -[s5;K%- [^`:`:BiVector`:`:Iterator^ Iterator]_End[@(64) ()]&] -[s2; Returns non`-constant iterator to the position just beyond the -last element in the BiVector.&] -[s7; [*/ Return value]-|Iterator.&] -[s0;3 &] -[s5;K%- [^`:`:BiVector`:`:Iterator^ Iterator]_GetIter[@(64) (][@(0.0.255) int][@(64) _][@3 pos][@(64) ) -]&] -[s2; Returns a non`-constant iterator to the element at the specified -position. Same as [* Begin() `+ pos]. The benefit of this method -is that [* pos] is range checked in debug mode.&] -[s7; [*C@3 i]-|Required position.&] -[s7; [*/ Return value]-|Iterator.&] -[s0;3 &] -[s5;K%- friend_[@(0.0.255) void][@(64) _]Swap[@(64) (][^`:`:BiVector^@(64) BiVector][@(64) `&_][@3 a -][@(64) , ][^`:`:BiVector^@(64) BiVector][@(64) `&_][@3 b][@(64) )]&] -[s2; Specialization of the generic [* Swap] for BiVectors. Swaps BiVectors -in low constant time operation.&] -[s7; [*C@3 a]-|First BiVector to swap.&] -[s7; [*C@3 b]-|Second BiVector to swap.&] +[s3; &] [s0; ] \ No newline at end of file diff --git a/uppsrc/Core/src.tpp/Buffer$en-us.tpp b/uppsrc/Core/src.tpp/Buffer$en-us.tpp index d31c475f1..4cba3efbd 100644 --- a/uppsrc/Core/src.tpp/Buffer$en-us.tpp +++ b/uppsrc/Core/src.tpp/Buffer$en-us.tpp @@ -10,12 +10,11 @@ topic "Buffer"; [i448;b42;O9;2 $$8,8#61672508125594000341940100500538:tparam] [b42;2 $$9,9#13035079074754324216151401829390:normal] [{_}%EN-US -[s0; Buffer&] -[s5;K%- template_<[@(0.0.255) class][@(64) _][@4 T][@(64) >__][@(0.0.255) class][@(64) _]Buffer[@(64) _ -:_][@(0.0.255) private][@(64) _][^`:`:Moveable^@(64) Moveable][@(64) <_]Buffer[@(64) <][@4 T][@(64) > -_>_]&] -[s0; class_[* Buffer]&] -[s2; &] +[s0; [*@3;4 Buffer]&] +[s1;:noref:%- [@(0.0.255) template]_<[@(0.0.255) class]_[*@4 T][@(0.0.255) >]&] +[s1;:Buffer`:`:class:%- [@(0.0.255) class]_[* Buffer]_:_[@(0.0.255) private]_[*@3 Moveable][@(0.0.255) < +]_[* Buffer][@(0.0.255) <][*@4 T][@(0.0.255) >]_>_&] +[s0;%- &] [s0; [%-*C@4 T]-|Type of elements stored in Buffer.&] [s0; &] [s0; Buffer is a simple class used to manage a fixed size plain old @@ -23,72 +22,88 @@ C dynamically allocated vector of elements of a specified type. The size of the buffer is specified as a constructor parameter and it can be also reallocated with new size, while loosing all current data.&] +[s0; &] [s0; Buffer is a [*/^topic`:`/`/Core`/srcdoc`/Moveable`$en`-us^ moveable][*/ ]type with [*/^topic`:`/`/Core`/srcdoc`/pick`_`$en`-us^ pick] (only) transfer semantics. Calling methods of picked Buffer is logic -error with the exceptions of&] +error with the exceptions of:&] [s0; [C+75 void Alloc(int size);]&] [s0; [C+75 void Alloc(int size, const T`& in);]&] [s0; [C+75 void Clear();]&] [s0; [C+75 void operator`=(pick`_ Buffer`& v);]&] -[s0;*C@4 &] -[s0;%- [%%/ Derived from][%% ]Moveable< Buffer > &] -[s0;3 &] -[s0;:`:`:Buffer`:`:Buffer`(`):%- [* Buffer]()&] +[s3; &] +[s0; &] +[ {{10000F(128)G(128)@1 [s0; [* Constructor Detail]]}}&] +[s3; &] +[s5;:Buffer`:`:Buffer`(`):%- [* Buffer]()&] [s2; Constructs an empty buffer.&] -[s0;3 &] -[s0;:`:`:Buffer`:`:Buffer`(int`):%- [* Buffer](int_[*@3 size])&] -[s2; Constructs the Buffer.&] -[s6; [@4 T][@0 must have default constructor.]&] -[s7; [%-*C@3 size]-|Number of elements.&] -[s0;3 &] -[s0;:`:`:Buffer`:`:Buffer`(int`,const T`&`):%- [* Buffer](int_[*@3 size], -const_T`&_[*@3 init])&] -[s2; Constructs the Buffer initializing the elements to the specified -value.&] -[s6; [@4 T][@0 must have deep copy constructor.]&] -[s7; [%-*C@3 size]-|Number of elements.&] -[s7; [%-*C@3 init]-|Initialization value.&] -[s0;3 &] -[s0;:`:`:Buffer`:`:Buffer`(pick`_`:`:Buffer`&`):%- [* Buffer](pick`__[* Buffer]`&_[*@3 v])&] -[s2; Pick constructor.&] -[s7; [%-*C@3 v]-|Source Buffer.&] -[s0;3 &] -[s5;K%- [@(0.0.255) void][@(64) _]operator`=[@(64) (pick`__][^`:`:Buffer^@(64) Buffer][@(64) `& -_][@3 v][@(64) )]&] -[s2; Pick operator.&] -[s7; [%-*C@3 v]-|Source buffer to be picked.&] -[s0;3 &] -[s5;K%- operator_T`*()&] -[s7; [*/ Return value]-|Returns a pointer to the first element of the -Buffer or NULL if the Buffer is empty.&] -[s0;3 &] -[s5;K%- operator_[@(0.0.255) const][@(64) _T`*()_][@(0.0.255) const]&] -[s7; [*/ Return value]-|Returns a pointer to the first element of the -Buffer or NULL if the Buffer is empty.&] -[s0;3 &] -[s5;K%- T_`*operator`~[@(64) ()]&] -[s7; [*/ Return value]-|Returns a pointer to the first element of the -Buffer or NULL if the Buffer is empty.&] -[s0;3 &] -[s5;K%- [@(0.0.255) const][@(64) _T_`*]operator`~[@(64) ()_][@(0.0.255) const]&] -[s7; [*/ Return value]-|Returns a pointer to the first element of the -Buffer or NULL if the Buffer is empty.&] -[s0;3 &] -[s5;K%- [@(0.0.255) void][@(64) _]Alloc[@(64) (][@(0.0.255) int][@(64) _][@3 size][@(64) )]&] -[s2; Clears the buffer and allocates it with the new size. All current -elements are lost.&] -[s6; [@4 T][@0 must have default constructor.]&] -[s7; [%-*C@3 size]-|Number of elements.&] -[s0;3 &] -[s5;K%- [@(0.0.255) void][@(64) _]Alloc[@(64) (][@(0.0.255) int][@(64) _][@3 size][@(64) , -][@(0.0.255) const][@(64) _T`&_][@3 in][@(64) )]&] -[s2; Clears the buffer and allocates it with the new size, using -the initialization value. All current elements are lost.&] -[s6; [@4 T][@0 must have deep copy constructor.]&] -[s7; [%-*C@3 size]-|Number of elements.&] -[s7; [%-*C@3 in]-|Initialization value.&] -[s0;3 &] -[s5;K%- [@(0.0.255) void][@(64) _]Clear[@(64) ()]&] -[s0; Clears the buffer to the same state as default constructor. -All current elements are destroyed.] \ No newline at end of file +[s3;%- &] +[s4;%- &] +[s5;:Buffer`:`:Buffer`(int`):%- [* Buffer]([@(0.0.255) int]_[*@3 size])&] +[s2; Constructs the Buffer with a [%-*@3 size][%- number of elements].&] +[s6; T must have default constructor.&] +[s3;%- &] +[s4;%- &] +[s5;:Buffer`:`:Buffer`(int`,const T`&`):%- [* Buffer]([@(0.0.255) int]_[*@3 size], +[@(0.0.255) const]_[*@4 T][@(0.0.255) `&]_[*@3 init])&] +[s2; Constructs the Buffer initializing the [%-@3 size ]elements to +the specified value [%-@3 init].&] +[s6; T must have default constructor.&] +[s3;%- &] +[s4;%- &] +[s5;:Buffer`:`:Buffer`(pick`_ Buffer`&`):%- [* Buffer]([@(0.128.128) pick`_]_[* Buffer][@(0.0.255) `& +]_[*@3 v])&] +[s2;%- [%% Pick constructor. Destroys source container ][*@3 v.]&] +[s3;%- &] +[s4;%- &] +[s5;:Buffer`:`:`~Buffer`(`):%- [@(0.0.255) `~][* Buffer]()&] +[s2; Default destructor.&] +[s3;%- &] +[s0; &] +[ {{10000F(128)G(128)@1 [s0; [* Public Member List]]}}&] +[s3;%- &] +[s5;:Buffer`:`:operator`=`(pick`_ Buffer`&`):%- [@(0.0.255) void]_[* operator`=]([@(0.128.128) p +ick`_]_[_^Buffer^ Buffer][@(0.0.255) `&]_[*@3 v])&] +[s2; Pick operator. Source buffer [%-*@3 v ]is destroyed.&] +[s3;%- &] +[s4;%- &] +[s5;:Buffer`:`:operator T`*`(`):%- [* operator_T`*]()&] +[s2; Returns a pointer to the first element of the Buffer or NULL +if the Buffer is empty.&] +[s3;%- &] +[s4;%- &] +[s5;:Buffer`:`:operator const T`*`(`)const:%- [* operator_const_T`*]()_[@(0.0.255) const]&] +[s2; Returns a pointer to the first element of the Buffer or NULL +if the Buffer is empty.&] +[s3;%- &] +[s4;%- &] +[s5;:Buffer`:`:operator`~`(`):%- [*@4 T]_`*[* operator`~]()&] +[s2; Returns a pointer to the first element of the Buffer or NULL +if the Buffer is empty.&] +[s3;%- &] +[s4;%- &] +[s5;:Buffer`:`:operator`~`(`)const:%- [@(0.0.255) const]_[*@4 T]_`*[* operator`~]()_[@(0.0.255) c +onst]&] +[s2; Returns a pointer to the first element of the Buffer or NULL +if the Buffer is empty.&] +[s3;%- &] +[s4;%- &] +[s5;:Buffer`:`:Alloc`(int`):%- [@(0.0.255) void]_[* Alloc]([@(0.0.255) int]_[*@3 size])&] +[s2; Clears the buffer and allocates it with the new size [%-*@3 size]. +All current elements are lost.&] +[s6; T must have default constructor.&] +[s3;%- &] +[s4;%- &] +[s5;:Buffer`:`:Alloc`(int`,const T`&`):%- [@(0.0.255) void]_[* Alloc]([@(0.0.255) int]_[*@3 s +ize], [@(0.0.255) const]_[*@4 T][@(0.0.255) `&]_[*@3 in])&] +[s2; Clears the buffer and allocates it with the new size [%-*@3 size], +using the initialization value [%-*@3 in]. All current elements +are lost.&] +[s6; T must have deep copy constructor.&] +[s3;%- &] +[s4;%- &] +[s5;:Buffer`:`:Clear`(`):%- [@(0.0.255) void]_[* Clear]()&] +[s2; Clears the buffer to the same state as default constructor. +All current elements are destroyed.&] +[s3; &] +[s0; ] \ No newline at end of file diff --git a/uppsrc/Core/src.tpp/MathUtil$en-us.tppi b/uppsrc/Core/src.tpp/MathUtil$en-us.tppi index 258312c2f..e0175bfc7 100644 --- a/uppsrc/Core/src.tpp/MathUtil$en-us.tppi +++ b/uppsrc/Core/src.tpp/MathUtil$en-us.tppi @@ -1,11 +1,9 @@ TITLE("Math utility") COMPRESSED -120,156,205,89,107,115,219,54,22,253,43,152,73,147,218,89,69,198,131,79,105,118,198,157,164,205,102,182,78,189,169,119,246,131,134,182,104,9,146,176,161,72,133,32,253,72,154,252,246,30,144,20,245,176,72,201,233,238,36,113,44,146,194,189,7,231,62,112,47,64,15,56,249,225,7,218,161,79,232,158,127,189,87,114,18,230,81,22,12,148,101,121,253,144,219,253,247,255,252,205,239,27,125,6,125,225,50,225,217,130,89,220,193,7,19,140,219,92,88,204,227,190,229,9,225,209,222,40,10,181,14,6,17,247,188,66,137,67,137,187,54,103,174,229,89,30,19,174,199,161,203,41,229,212,229,54,179,132,199,237,222,88,234,81,48,160,16,23,16,247,29,225,83,70,169,203,24,21,220,165,194,182,24,19,28,16,220,229,140,218,61,25,143,131,193,63,156,190,81,176,140,81,182,3,234,14,208,44,139,2,221,168,89,130,9,202,133,205,124,219,233,93,203,169,138,119,153,100,239,53,201,165,61,149,201,121,101,81,104,245,159,159,218,125,6,85,167,227,60,113,49,173,101,99,50,223, -88,36,160,198,185,99,251,204,182,64,201,162,188,151,202,15,185,74,229,92,198,89,133,160,24,227,172,127,205,220,62,40,124,249,242,165,203,44,90,122,202,5,23,70,193,155,51,124,7,59,92,102,251,212,183,61,230,81,225,90,220,118,97,250,34,76,195,121,101,201,181,197,251,149,29,94,199,123,226,48,7,30,165,30,248,219,62,0,40,140,192,21,142,180,241,95,120,189,172,82,54,122,70,201,239,248,79,224,36,97,83,215,167,174,229,218,22,44,225,204,97,112,36,53,246,35,12,189,56,73,231,97,20,12,62,93,125,38,3,77,251,100,112,42,250,22,57,11,179,25,201,51,21,169,236,62,120,22,152,145,167,79,201,79,36,206,231,215,50,37,201,132,204,33,33,241,161,70,97,68,38,121,60,202,84,18,107,18,198,99,50,194,77,22,198,153,238,150,154,4,23,242,233,19,51,9,248,203,17,227,222,241,235,226,243,148,145,10,120,240,156,188,172,148,200,175,74,103,65,240,249,243,74,87,219,253,222,217,240,234,231,158,145,51,55,5,35,94,40,158,16,249,226,15,243,19, -240,174,11,163,60,243,107,193,177,22,162,108,11,199,72,10,35,105,110,172,117,184,95,127,123,205,107,200,226,97,3,54,74,166,193,224,164,67,120,176,54,7,235,90,72,35,223,166,8,170,231,33,145,45,234,238,153,131,209,245,73,240,180,61,11,163,50,40,225,105,215,66,134,249,136,61,243,145,109,54,76,113,145,245,45,240,111,121,141,253,150,111,2,199,188,70,117,124,36,62,156,67,145,56,62,242,153,250,22,115,219,80,25,93,193,50,186,133,139,47,74,96,222,197,10,180,61,155,250,28,176,112,184,227,97,77,52,227,158,191,89,162,158,191,217,192,60,87,21,162,192,106,193,162,192,26,19,182,231,187,62,86,156,103,181,184,247,252,205,240,138,175,64,241,176,133,75,78,200,210,13,172,139,5,230,34,100,220,113,177,242,125,199,97,62,23,237,216,214,58,182,245,16,219,170,93,236,162,194,248,30,115,132,240,93,196,15,46,198,114,109,6,103,235,222,96,15,28,194,200,154,83,104,87,48,3,232,121,14,174,88,202,14,10,135,240,154,193,249,58,56,127,0,206,55,193, -29,97,60,225,186,92,56,46,106,145,176,4,117,219,153,255,254,175,119,23,27,236,203,47,30,88,160,63,164,217,209,185,58,14,202,137,80,49,153,135,114,135,114,239,186,182,195,61,7,97,104,181,98,115,34,190,115,34,190,61,17,235,162,180,192,77,168,150,40,174,54,170,165,139,58,215,60,143,193,172,115,168,120,88,225,99,185,163,109,48,1,182,194,69,8,176,238,61,111,15,214,90,70,86,143,43,60,228,9,186,30,2,232,49,230,57,240,131,205,209,209,90,22,56,95,51,127,219,112,196,208,60,179,82,158,86,250,123,235,236,47,85,169,110,168,179,239,80,192,147,249,240,104,120,140,137,175,46,199,183,73,58,190,36,197,37,184,130,122,57,30,28,29,215,92,222,201,44,79,81,249,209,14,72,44,239,50,146,22,34,100,42,99,153,134,153,28,87,77,163,75,206,46,136,14,39,178,232,17,114,50,81,35,133,190,73,110,194,84,153,186,143,158,114,38,83,173,161,70,178,91,144,67,159,57,187,96,190,47,92,114,125,79,46,194,247,249,127,21,121,171,244,76,205,243,52, -44,80,206,194,247,73,150,152,110,165,243,185,185,83,154,228,26,83,226,118,42,107,42,37,1,221,33,183,10,109,205,16,213,18,66,201,117,22,170,24,55,147,20,66,179,68,103,100,17,133,217,4,45,145,232,133,28,41,80,36,169,212,73,158,142,164,38,71,195,31,79,198,242,230,36,47,81,135,63,18,21,147,243,68,171,59,162,239,65,119,142,9,94,255,251,205,171,165,229,73,106,4,254,163,98,193,143,187,13,49,94,186,187,112,240,62,159,239,24,59,21,36,14,170,88,60,136,68,67,32,136,70,199,143,112,205,102,97,76,42,140,38,130,88,91,96,151,228,215,145,44,232,157,30,209,46,237,98,11,114,76,202,111,11,134,144,10,174,142,118,15,2,62,12,118,167,139,254,144,135,169,52,145,31,60,125,81,10,54,241,8,211,169,86,241,236,0,46,149,100,27,31,221,192,103,118,191,144,233,117,18,33,236,97,58,2,202,26,53,221,70,109,148,232,3,169,25,201,54,106,163,175,160,54,106,163,134,61,213,129,212,140,100,27,181,236,32,106,64,89,163,150,53,82,83,26, -27,71,57,60,82,113,54,236,212,31,91,4,241,85,193,174,20,14,142,118,140,97,146,187,160,179,75,11,35,247,141,35,31,119,24,83,113,190,11,200,240,249,242,225,62,64,131,169,238,63,238,49,102,18,37,73,250,40,139,10,141,111,111,150,185,33,29,115,33,36,77,242,120,92,84,208,219,48,29,107,20,146,41,54,249,55,18,147,76,84,108,142,3,237,78,24,73,21,61,202,7,70,225,251,118,193,2,53,254,64,23,140,213,205,118,22,52,25,191,20,253,26,219,219,44,60,89,25,216,33,89,138,118,95,212,254,165,49,198,194,71,196,20,44,183,34,218,98,207,215,134,242,47,154,243,136,248,100,106,46,245,161,17,90,9,255,5,163,200,89,114,131,205,67,37,110,54,38,177,68,211,195,94,35,74,110,209,132,231,121,148,169,69,84,118,193,82,179,157,253,129,225,168,101,255,47,220,103,106,58,123,28,249,73,177,170,154,58,209,146,118,41,21,52,55,161,187,154,219,203,36,190,145,105,166,171,241,138,37,9,214,88,2,85,78,205,206,243,229,76,142,222,235,229,51,137, -212,92,85,111,39,118,49,173,242,99,15,211,29,137,241,120,166,75,70,133,217,42,158,54,151,221,199,26,81,166,201,30,27,30,230,199,255,208,132,225,223,190,150,123,1,229,88,27,244,175,46,161,236,88,151,164,184,172,37,11,30,190,131,116,57,128,109,37,247,125,167,204,1,118,148,98,223,95,218,204,147,113,30,37,53,253,206,222,61,111,169,208,106,72,167,65,183,161,109,153,237,48,194,140,48,196,211,225,139,69,2,226,56,64,206,113,202,28,151,111,77,235,190,118,82,119,181,110,141,82,223,92,0,102,67,45,36,232,174,74,155,99,123,178,48,135,57,115,167,202,249,144,186,168,194,70,74,231,215,56,243,141,178,194,155,51,89,186,45,13,35,242,33,79,178,226,172,93,213,107,133,6,138,35,181,145,25,203,56,153,171,184,56,173,22,199,224,226,240,152,207,203,3,108,239,33,183,21,175,225,223,87,130,100,248,98,53,11,246,88,107,176,141,221,172,120,247,185,175,68,149,82,109,199,146,241,90,28,150,254,29,55,247,208,69,114,107,102,221,209,58,215,50,163,148,218, -154,117,213,32,213,142,41,85,227,148,229,43,118,245,81,174,82,211,204,254,172,101,254,90,165,221,240,7,13,124,248,172,26,147,119,139,36,54,127,149,216,229,155,229,93,45,212,196,188,88,155,233,38,237,102,210,165,244,35,25,47,71,212,20,43,187,149,109,37,210,88,189,76,117,61,152,107,41,253,173,184,154,10,122,48,213,66,248,91,49,253,73,255,158,165,166,152,61,32,123,117,89,142,92,146,242,90,112,93,138,63,162,166,174,216,198,175,182,233,154,205,253,198,251,162,2,28,37,104,129,162,135,196,45,235,32,42,95,80,215,213,226,0,103,94,243,213,22,46,97,139,17,40,142,138,58,90,90,92,191,60,37,193,159,101,5,149,237, +120,156,213,88,105,115,211,72,16,253,43,83,21,160,28,202,216,115,207,200,254,18,10,150,163,150,35,11,251,205,37,108,199,86,130,106,109,41,72,242,114,45,252,246,125,35,201,151,124,42,75,106,33,78,108,141,212,253,250,189,238,158,150,226,30,39,119,238,208,38,61,161,7,126,58,143,131,203,225,108,146,249,189,80,74,219,29,114,213,253,235,247,215,94,215,249,51,248,11,195,132,85,130,73,174,241,198,4,227,138,11,201,44,247,164,21,194,210,206,104,50,76,83,191,55,225,214,230,78,28,78,220,40,206,140,180,210,50,97,44,135,47,167,148,83,195,21,147,194,114,213,25,7,233,200,239,81,152,11,152,123,90,120,148,81,106,24,163,130,27,42,148,100,76,112,64,112,195,25,85,157,32,26,251,189,103,186,235,28,164,19,165,52,168,107,160,73,73,129,238,220,164,96,130,114,161,152,167,116,231,34,184,10,163,109,146,212,65,73,134,118,194,44,152,150,138,134,178,123,255,76,117,25,92,117,83,159,24,132,149,10,193,60,167,72,192,141,115,173,60,166,36,40,73,202,59, +73,240,97,22,38,193,52,136,178,18,33,100,140,179,238,5,51,93,80,248,254,253,123,139,73,90,100,202,128,11,163,224,205,25,206,65,135,97,202,163,158,178,204,82,97,36,87,6,210,175,135,201,112,90,42,185,144,188,91,234,176,77,123,162,153,70,70,169,5,127,229,1,128,66,4,62,145,72,133,95,97,59,89,233,236,252,156,147,215,244,78,144,36,161,168,241,168,145,70,73,40,225,76,51,36,146,58,253,40,67,39,138,147,233,112,226,247,190,246,191,145,94,74,187,164,119,38,186,146,188,28,102,239,201,44,11,39,97,246,217,191,231,187,43,119,239,146,135,36,154,77,47,130,132,196,151,100,10,139,0,111,225,104,56,33,151,179,104,148,133,113,148,146,97,52,38,35,28,100,195,40,75,91,133,39,193,7,249,250,149,185,6,124,210,96,220,158,62,205,223,207,24,41,129,123,247,201,163,210,137,188,8,211,204,247,191,125,91,250,166,170,219,121,57,232,255,214,113,118,238,32,103,196,115,199,54,9,30,252,227,94,62,111,25,136,178,238,79,34,177,18,85,86,66,59,75, +225,44,221,129,92,133,123,241,250,41,95,64,230,139,53,216,73,124,229,247,218,77,194,253,149,24,172,37,209,70,158,162,40,170,181,104,100,73,205,129,24,140,174,6,193,170,26,133,209,192,47,224,105,75,162,195,60,212,158,121,232,54,5,41,6,93,191,7,254,21,95,96,191,226,235,192,17,95,160,106,15,141,143,228,80,52,142,135,126,166,158,100,102,31,42,163,75,88,70,43,184,56,81,0,243,22,118,160,178,138,122,28,176,72,184,182,216,19,187,113,207,159,207,81,207,159,175,97,158,135,37,162,192,110,193,166,192,30,19,202,122,198,195,142,179,114,79,122,207,159,15,250,124,9,138,69,5,151,180,201,60,13,172,133,13,102,80,50,174,13,118,190,167,53,243,184,216,143,45,87,177,229,38,182,92,164,216,96,194,120,150,105,33,60,131,250,33,197,216,174,187,193,217,106,54,216,70,66,24,89,73,10,109,9,230,0,173,213,248,196,86,214,24,28,194,238,6,231,171,224,124,3,156,175,131,107,225,50,97,12,23,218,96,22,9,41,168,217,207,252,237,31,111,254,92,99, +95,156,216,80,144,126,72,178,198,121,120,234,23,129,48,49,153,197,184,195,184,55,70,105,110,53,202,176,87,197,122,32,190,53,16,175,6,98,45,140,22,164,9,211,18,195,85,97,90,26,204,185,221,113,28,230,162,135,242,197,18,31,219,29,183,13,38,192,86,24,148,0,251,222,218,3,88,43,29,89,46,151,120,232,19,220,245,80,64,203,152,213,200,131,226,184,163,237,217,224,124,69,126,85,56,106,232,214,172,176,167,165,255,193,57,251,164,28,213,149,57,91,70,71,216,1,94,111,48,198,227,233,160,49,56,69,248,179,6,109,209,22,238,58,167,100,252,49,78,198,126,191,184,140,11,90,158,146,198,233,146,87,69,201,14,80,28,231,64,71,161,251,155,22,229,165,62,14,4,137,230,203,57,141,251,56,185,151,7,218,101,208,24,199,179,139,73,176,193,32,63,187,12,0,211,249,113,133,72,197,208,49,25,86,153,28,74,200,48,185,74,195,232,253,177,100,74,243,227,9,165,55,32,52,138,211,58,132,156,249,241,132,70,55,32,132,103,130,58,132,156,249,241,132,178,186, +132,194,20,143,59,193,160,17,70,217,160,185,120,171,208,10,163,108,25,166,240,216,218,205,107,118,142,206,167,249,178,73,246,27,126,62,214,240,203,205,4,94,78,226,56,169,175,50,119,251,197,164,142,130,112,82,95,169,243,250,117,132,142,195,191,171,21,221,43,113,110,127,91,10,235,16,175,212,231,16,239,219,44,204,156,246,1,210,89,56,13,210,90,249,94,122,252,12,212,235,100,124,225,240,255,18,191,76,226,89,52,222,117,155,88,67,47,76,183,63,93,108,185,67,124,170,219,179,151,101,229,143,161,178,187,228,71,81,57,64,164,168,227,49,60,118,22,240,199,100,36,207,184,150,123,184,104,233,247,231,102,183,93,154,195,68,74,179,91,36,226,18,126,152,71,97,213,248,225,225,167,241,120,54,137,23,209,155,199,61,92,21,94,245,147,82,217,234,219,108,235,223,24,242,239,77,142,106,238,194,244,248,71,194,113,109,46,215,241,71,199,101,203,172,172,226,23,166,219,185,108,140,192,176,46,145,226,171,188,240,75,176,172,172,227,116,239,16,171,133,223,13,146,180,123,142, +15,238,21,166,193,167,235,56,10,162,218,79,218,249,52,72,214,165,28,16,82,184,252,80,21,165,97,120,21,102,181,255,155,202,199,72,61,5,133,203,79,163,192,13,160,122,2,114,143,159,134,255,195,244,109,150,132,209,213,166,132,119,89,124,29,142,96,211,30,180,31,197,73,48,104,167,201,104,208,46,205,239,4,209,224,193,44,125,71,138,181,223,159,3,253,231,233,183,33,44,122,188,85,217,218,119,58,238,107,112,255,95,55,232,241,234, diff --git a/uppsrc/Core/src.tpp/PtePtr$en-us.tpp b/uppsrc/Core/src.tpp/PtePtr$en-us.tpp index ef75d683e..1b7e0f884 100644 --- a/uppsrc/Core/src.tpp/PtePtr$en-us.tpp +++ b/uppsrc/Core/src.tpp/PtePtr$en-us.tpp @@ -10,76 +10,96 @@ topic "Ptr and Pte"; [i448;b42;O9;2 $$8,8#61672508125594000341940100500538:tparam] [b42;2 $$9,9#13035079074754324216151401829390:normal] [{_}%EN-US -[s0; Ptr and Pte&] -[s0; Ptr and Pte class templates provide a smart pointer system that -cleared (assigned NULL) when pointed object is destructed. That -makes it useful in situations where life`-time of object cannot -be precisely determined.&] -[s0; While Ptr class template provides smart pointers, Pte is the -class which adds necessary functionality to pointed objects. -Ptr could only point to objects of Pte`-derived type. So to make -a class `"Ptr`-able`" you should add Pte as one of class bases, -with the derived class as its parameter, e.g.:&] -[s0; struct Foo : Pte `{....&] +[s0; [@3;4 Ptr and Pte]&] +[s0; [* Ptr] and [* Pte] class templates provide a smart pointer system +that cleared (assigned [* NULL]) when pointed object is destructed. +That makes it useful in situations where life`-time of object +cannot be precisely determined.&] +[s0; While [* Ptr ]class template provides smart pointers, [* Pte ]is +the class which adds necessary functionality to pointed objects. +[* Ptr ]could only point to objects of [* Pte]`-derived type. So +to make a class `"[* Ptr]`-able`" you should add [* Pte ]as one of +class bases, with the derived class as its parameter, e.g.:&] +[s0; [C+75 struct Foo : Pte `{....]&] [s0; &] -[s5;K%- template_<[@(0.0.255) class][@(64) _][@4 T][@(64) >__][@(0.0.255) class][@(64) _]Pte[@(64) _ -:_][@(0.0.255) public][@(64) _][^`:`:PteBase^@(64) PteBase]&] -[s0; class_[* Pte]&] -[s0;3 &] -[s0;* &] -[s2; This template class implements the functionality needed in the +[s0; &] +[s4; &] +[s0; [*@3;4 Pte]&] +[s1;:noref:%- [@(0.0.255) template]_<[@(0.0.255) class]_[*@4 T][@(0.0.255) >]&] +[s1;:Pte`:`:class:%- [@(0.0.255) class]_[* Pte]_:_[@(0.0.255) public]_[*@3 PteBase]&] +[s0; &] +[s0; This template class implements the functionality needed in the pointed object. &] [s0; [*C@4 T]-|Type of pointed object.&] +[s0; &] [s0; [/ Derived from] [^topic`:`/`/Core`/src`/PtePtr`$en`-us`#`:`:PteBase`:`:class PteBase^ P teBase]&] [s0; &] +[s4; &] [s0; &] -[s5;K%- template_<[@(0.0.255) class][@(64) _][@4 T][@(64) >__][@(0.0.255) class][@(64) _]Ptr[@(64) _ -:_][@(0.0.255) public][@(64) _][^`:`:PtrBase^@(64) PtrBase][@(64) , ][@(0.0.255) private][@(64) _ -][^`:`:Moveable^@(64) Moveable][@(64) <_]Ptr[@(64) <][@4 T][@(64) >_>_]&] -[s0; class_[* Ptr]&] -[s0;3 &] -[s0;* &] -[s2; Type specific pointer.&] +[s0; &] +[s4; &] +[s0; [*@3;4 Ptr]&] +[s1;:noref:%- [@(0.0.255) template]_<[@(0.0.255) class]_[*@4 T][@(0.0.255) >]&] +[s1;:Ptr`:`:class:%- [@(0.0.255) class]_[* Ptr]_:_[@(0.0.255) public]_[*@3 PtrBase], +[@(0.0.255) private]_[*@3 Moveable][@(0.0.255) <]_[* Ptr][@(0.0.255) <][*@4 T][@(0.0.255) >]_>_ +&] +[s0;%- &] +[s0; Type specific pointer.&] [s0; [*C@4 T]-|Type of pointed object. T class must be derived from Pte.&] +[s0; &] [s0; [/ Derived from] [^topic`:`/`/Core`/src`/PtePtr`$en`-us`#`:`:PtrBase`:`:PtrBase`(`)^ P trBase]&] -[s0;3 &] -[s0;:`:`:Ptr`:`:Ptr`(`): [* Ptr]()&] +[s3; &] +[s1;%- &] +[ {{10000F(128)G(128)@1 [s0; [* Constructor Detail]]}}&] +[s3;%- &] +[s5;:Ptr`:`:Ptr`(`):%- [* Ptr]()&] [s2; Default constructor.&] -[s0;3 &] -[s0;:`:`:Ptr`:`:Ptr`(T`*`): [* Ptr](T_`*[*@3 ptr])&] -[s2; Constructs Ptr pointing to specified object.&] -[s7; [*C@3 ptr]-|C`+`+ pointer to pointed object.&] -[s0;3 &] -[s0;:`:`:Ptr`:`:Ptr`(const`:`:Ptr`&`): [* Ptr](const_[* Ptr]`&_[*@3 ptr])&] -[s2; Constructs Ptr pointing to the same object as other Ptr.&] -[s7; [*C@3 ptr]-|Other Ptr.&] -[s0;3 &] -[s5;K%- T_`*operator`->[@(64) ()_][@(0.0.255) const]&] -[s7; [*/ Return value]-|C`+`+ pointer to pointed object or NULL if Ptr -does not point to any object.&] -[s0;3 &] -[s5;K%- T_`*operator`~[@(64) ()_][@(0.0.255) const]&] -[s7; [*/ Return value]-|C`+`+ pointer to pointed object or NULL if Ptr -does not point to any object.&] -[s0;3 &] -[s5;K%- operator_T`*()_[@(0.0.255) const]&] -[s7; [*/ Return value]-|C`+`+ pointer to pointed object or NULL if Ptr -does not point to any object.&] -[s0;3 &] -[s5;K%- [^`:`:Ptr^ Ptr]`&_operator`=[@(64) (T_`*][@3 ptr][@(64) )]&] -[s2; Assigns new pointer.&] -[s7; [*C@3 ptr]-|Pointer.&] -[s7; [*/ Return value]-|`*this.&] -[s0;3 &] -[s5;K%- [^`:`:Ptr^ Ptr]`&_operator`=[@(64) (][@(0.0.255) const][@(64) _][^`:`:Ptr^@(64) Ptr][@(64) `& -_][@3 ptr][@(64) )]&] -[s2; Assigns other Ptr.&] -[s7; [*C@3 ptr]-|&] -[s7; [*/ Return value]-|&] -[s0;3 &] +[s3; &] +[s4;%- &] +[s5;:Ptr`:`:Ptr`(T`*`):%- [* Ptr]([*@4 T]_`*[*@3 ptr])&] +[s2; Constructs Ptr pointing to specified object [%-*@3 ptr].&] +[s3; &] +[s4;%- &] +[s5;:Ptr`:`:Ptr`(const Ptr`&`):%- [* Ptr]([@(0.0.255) const]_[* Ptr][@(0.0.255) `&]_[*@3 ptr])&] +[s2; Constructs Ptr pointing to the same object as other Ptr [%-*@3 ptr].&] +[s3; &] +[s1;%- &] +[ {{10000F(128)G(128)@1 [s0; [* Public Method List]]}}&] +[s3; &] +[s5;:Ptr`:`:operator`-`>`(`)const:%- [*@4 T]_`*[* operator`->]()_[@(0.0.255) const]&] +[s2; Returns a C`+`+ pointer to pointed object or NULL if Ptr does +not point to any object.&] +[s3;%- &] +[s4;%- &] +[s5;:Ptr`:`:operator`~`(`)const:%- [*@4 T]_`*[* operator`~]()_[@(0.0.255) const]&] +[s2; Returns a C`+`+ pointer to pointed object or NULL if Ptr does +not point to any object.&] +[s3;%- &] +[s4;%- &] +[s5;:Ptr`:`:operator T`*`(`)const:%- [* operator_T`*]()_[@(0.0.255) const]&] +[s2; Returns a C`+`+ pointer to pointed object or NULL if Ptr does +not point to any object.&] +[s3;%- &] +[s4;%- &] +[s5;:Ptr`:`:operator`=`(T`*`):%- [_^Ptr^ Ptr][@(0.0.255) `&]_[* operator`=]([*@4 T]_`*[*@3 ptr]) +&] +[s2; Assigns new pointer. Returns `*this.&] +[s3;%- &] +[s4;%- &] +[s5;:Ptr`:`:operator`=`(const Ptr`&`):%- [_^Ptr^ Ptr][@(0.0.255) `&]_[* operator`=]([@(0.0.255) c +onst]_[_^Ptr^ Ptr][@(0.0.255) `&]_[*@3 ptr])&] +[s2; Assigns other Ptr. Returns `*this.-|&] +[s3; &] +[s4;%- &] +[s5;:Ptr`:`:ToString`(`)const:%- [_^String^ String]_[* ToString]()_[@(0.0.255) const]&] +[s2; Converts all information to string for diagnostic purposes&] +[s3; &] +[s0;i448;a25;kKO9;:noref:@(0.0.255)%- &] +[ {{10000F(128)G(128)@1 [s0; [* Global Operators]]}}&] +[s3; &] [s5;K%- friend_[@(0.0.255) bool][@(64) _]operator`=`=[@(64) (][@(0.0.255) const][@(64) _][^`:`:Ptr^@(64) P tr][@(64) `&_][@3 a][@(64) , ][@(0.0.255) const][@(64) _T_`*][@3 b][@(64) )]&] [s5;K%- friend_[@(0.0.255) bool][@(64) _]operator`=`=[@(64) (][@(0.0.255) const][@(64) _T_`*][@3 a @@ -99,8 +119,5 @@ tr][@(64) `&_][@3 a][@(64) , ][@(0.0.255) const][@(64) _T_`*][@3 b][@(64) )]&] tr][@(64) `&_][@3 a][@(64) , ][@(0.0.255) const][@(64) _][^`:`:Ptr^@(64) Ptr][@(64) `&_][@3 b][@(64) ) ]&] [s2; Comparison operators.&] -[s0;3 &] -[s5;K%- [^`:`:String^ String]_ToString[@(64) ()_][@(0.0.255) const]&] -[s2; Converts all information to string for diagnostic purposes&] -[s7; [*/ Return value]-|Text.&] +[s3; &] [s0; ] \ No newline at end of file diff --git a/uppsrc/Core/src.tpp/Size$en-us.tppi b/uppsrc/Core/src.tpp/Size$en-us.tppi index a4f2a61fd..b6c90720d 100644 --- a/uppsrc/Core/src.tpp/Size$en-us.tppi +++ b/uppsrc/Core/src.tpp/Size$en-us.tppi @@ -1,13 +1,13 @@ TITLE("Size") COMPRESSED -120,156,205,91,105,115,219,56,18,253,43,152,202,56,107,43,146,205,91,151,199,149,218,100,50,147,218,73,54,53,214,230,139,138,150,32,10,178,48,75,145,26,18,178,173,164,146,223,190,141,131,226,161,195,148,68,123,19,167,116,144,104,224,189,215,141,6,154,164,250,6,250,249,103,173,174,189,208,30,249,215,121,75,38,120,225,51,183,79,45,171,213,197,134,221,253,239,191,254,221,238,114,123,29,236,205,166,110,182,108,83,183,12,7,94,116,83,55,108,195,180,244,150,209,182,90,166,217,210,58,158,143,227,216,237,251,70,171,37,140,12,48,50,154,182,161,55,173,150,213,210,205,102,203,0,91,67,211,12,173,105,216,186,101,182,12,187,51,38,177,231,246,53,104,110,66,243,182,99,182,53,93,211,154,186,174,153,70,83,51,109,75,215,77,3,186,48,154,134,174,217,29,18,140,221,254,239,78,151,27,88,156,148,237,0,116,7,122,179,44,13,122,231,102,150,169,155,154,97,218,122,219,118,58,35,114,75,131,77,148,236,71,41,53,181,14,101,100,166,24,97,171,91,123,109,119, -117,48,117,234,206,139,38,12,107,217,48,88,155,51,50,193,204,48,28,187,173,219,22,64,178,52,163,19,145,191,23,52,34,51,18,48,213,3,213,117,67,239,142,244,102,23,32,124,255,254,253,92,183,52,169,84,19,176,232,26,224,54,116,56,6,60,154,186,221,214,218,118,75,111,105,102,211,50,236,38,80,159,227,8,207,20,147,145,101,116,21,143,86,189,245,194,209,29,80,84,107,1,126,187,13,29,104,64,2,222,65,72,27,254,155,173,14,83,198,220,142,27,181,235,237,23,32,146,105,107,205,182,214,180,154,182,5,76,12,221,209,65,72,141,243,7,55,116,130,48,154,97,223,237,127,29,124,59,249,245,99,227,63,215,168,31,107,93,212,175,189,54,187,22,186,166,95,200,112,224,190,116,249,65,56,132,248,39,189,203,173,200,164,115,210,64,253,215,167,218,185,118,14,144,206,76,4,58,206,125,204,136,219,55,209,224,210,205,157,83,113,3,39,92,232,219,234,154,168,151,111,112,229,170,190,229,152,195,206,176,19,179,104,225,177,194,48,72,30,117,7,253,90,2,111,208, -25,100,27,204,23,35,159,122,188,1,0,254,16,222,17,60,242,73,118,48,116,153,181,206,159,224,224,242,208,0,217,224,106,32,37,0,40,242,3,74,237,17,141,17,70,183,36,32,17,245,20,186,69,68,16,155,98,134,120,228,71,116,68,120,19,118,31,162,49,133,88,137,105,24,96,31,197,96,143,194,209,95,196,99,231,168,55,37,104,26,70,244,75,24,48,56,183,106,199,123,143,200,60,34,49,196,24,25,163,209,146,251,230,20,66,16,224,105,103,200,123,224,88,87,95,145,139,131,49,12,77,208,29,137,24,245,160,171,48,32,235,86,75,247,28,253,51,100,211,204,64,24,48,135,19,196,150,115,130,148,10,231,202,223,9,233,94,8,60,25,80,137,231,196,163,216,7,2,99,62,144,176,7,219,84,148,58,90,196,68,12,205,187,4,56,147,208,247,195,123,26,220,118,84,95,178,103,16,148,91,240,47,182,114,61,56,158,99,24,175,5,24,82,135,193,121,131,27,57,206,205,70,39,210,128,93,173,60,44,194,202,232,170,134,232,158,2,105,241,2,231,161,161,155,42,16, -159,243,166,166,132,102,21,16,234,78,6,163,238,84,128,210,133,243,0,64,119,110,144,120,43,198,156,194,15,39,118,51,40,88,34,119,27,161,108,0,172,194,153,119,234,88,25,110,142,85,29,55,199,18,220,28,107,11,55,56,177,155,91,193,178,60,183,149,223,38,25,106,147,10,152,141,67,200,46,36,165,48,217,197,64,54,222,77,33,157,93,240,134,190,126,213,249,50,253,238,84,55,90,103,191,137,215,215,122,146,146,209,27,48,18,249,37,140,208,91,194,48,245,93,247,219,183,92,106,178,179,9,84,125,58,29,158,9,186,171,217,121,122,166,64,191,137,8,228,107,72,78,1,90,4,52,160,44,153,212,105,219,13,147,98,227,24,30,199,134,62,99,127,65,134,47,215,6,204,74,32,90,10,161,69,235,27,105,148,83,105,248,82,165,239,56,242,220,4,172,218,186,128,253,124,41,59,145,82,228,17,238,210,161,55,172,247,214,161,201,92,39,199,131,116,90,71,249,35,75,119,77,173,108,246,151,9,156,43,152,234,23,35,202,134,255,136,55,39,116,25,28,39,13,57,28, -114,225,35,226,73,91,154,172,210,118,193,192,77,192,148,103,43,61,162,190,241,164,56,188,42,233,153,205,107,35,79,171,169,99,190,148,148,101,92,208,69,210,89,181,117,81,210,221,161,196,98,80,249,88,106,162,143,234,201,65,106,62,154,158,204,33,71,242,83,89,171,114,130,147,227,249,137,44,127,36,189,221,203,77,73,214,200,45,203,26,6,72,38,240,1,196,63,133,124,42,2,243,94,105,214,131,27,101,116,147,88,151,216,181,174,104,207,217,241,180,197,176,199,176,254,184,240,125,18,149,230,43,155,223,40,179,226,218,112,12,29,104,201,59,117,247,94,124,63,137,178,2,189,163,196,31,163,63,40,0,221,185,246,122,15,114,139,161,86,18,190,178,40,212,108,203,86,255,81,69,189,101,161,203,101,182,203,245,149,35,101,248,8,181,15,132,77,195,50,164,222,248,4,71,171,253,68,198,41,119,33,29,11,76,162,69,186,193,184,38,44,70,163,124,161,193,66,164,61,182,171,120,31,255,58,155,179,37,31,74,4,69,113,188,81,24,250,98,60,213,16,70,28,172,71,146, -2,241,39,129,130,44,136,57,83,216,50,192,146,67,39,8,106,51,64,10,129,201,107,148,92,181,165,241,13,0,154,96,63,134,150,128,156,68,247,52,38,37,226,157,48,30,88,59,213,81,109,82,125,254,36,217,24,229,110,84,225,11,34,229,34,117,231,208,239,99,222,240,61,80,198,129,71,202,136,150,109,191,83,187,207,80,213,78,40,159,63,19,89,176,210,120,11,176,117,88,191,17,246,59,142,167,114,79,184,13,212,2,132,191,13,136,212,39,107,81,202,165,98,46,129,5,186,227,38,73,177,201,129,62,174,90,47,188,102,17,84,164,121,104,176,253,23,71,97,251,47,222,5,174,164,105,105,76,220,215,210,34,173,222,49,83,101,114,121,136,225,156,68,24,182,184,195,87,195,95,134,167,234,248,89,130,115,123,153,34,115,63,202,154,67,166,93,51,81,235,195,42,159,190,15,60,200,168,49,17,46,134,132,149,100,76,209,104,235,134,150,103,90,153,141,214,218,175,231,164,125,57,247,14,167,155,221,197,179,13,28,11,105,73,96,23,174,193,51,162,226,73,217,238,1,186, -113,156,163,26,229,28,245,150,228,28,133,220,253,28,181,222,254,40,71,53,14,118,84,99,135,163,82,142,79,226,168,218,113,142,170,149,115,212,7,40,88,233,220,167,63,136,167,106,7,123,170,182,195,83,25,146,79,226,170,139,163,92,117,81,114,74,209,59,58,254,65,220,116,113,168,155,46,118,205,39,69,240,73,92,116,9,127,128,153,215,38,251,163,190,188,20,176,51,13,120,177,161,106,182,233,138,192,245,148,78,88,1,126,12,187,56,126,112,137,146,214,123,128,190,130,191,131,65,95,93,29,1,58,162,183,211,67,81,191,130,191,211,195,86,197,87,233,198,83,44,131,252,190,85,49,32,226,189,18,127,227,48,40,96,152,66,17,137,254,72,40,104,195,38,51,29,111,80,126,67,137,249,225,204,45,141,100,175,166,54,228,178,163,50,197,64,36,55,245,144,184,24,44,99,179,85,229,187,185,44,80,173,101,162,18,6,98,255,73,248,253,188,141,215,69,211,0,75,108,227,28,86,204,239,68,129,185,188,239,99,233,231,150,193,175,141,199,123,215,189,175,13,244,46,162,36, -40,150,135,9,231,76,169,159,143,210,211,204,153,53,234,19,209,37,231,230,88,103,104,224,202,118,171,175,105,55,234,208,105,177,69,95,136,160,190,158,173,121,145,95,207,158,133,99,94,186,140,165,38,201,165,139,45,85,203,22,26,141,106,104,52,14,164,129,2,114,139,217,113,20,242,158,168,63,185,87,112,98,95,71,155,78,143,242,108,75,227,238,61,3,220,126,114,21,45,61,205,246,128,219,171,90,221,93,120,74,169,91,168,74,161,14,229,55,80,84,90,195,227,49,93,149,164,247,97,114,1,77,108,1,98,4,57,21,231,110,106,197,80,205,250,106,135,112,196,28,170,68,162,157,243,169,170,0,108,84,22,128,165,225,30,19,128,141,202,2,176,241,76,1,24,47,70,44,194,222,115,196,96,173,250,24,172,61,71,12,214,42,139,193,210,112,55,248,124,31,184,21,197,96,109,87,12,238,167,238,206,24,156,169,218,213,195,207,17,134,23,149,135,225,197,115,68,225,69,85,81,88,26,237,227,65,184,211,171,99,168,117,227,103,240,39,47,123,115,210,164,181,228,254,226,92, -94,150,87,39,95,117,230,183,147,211,146,66,137,202,57,230,245,41,208,151,149,40,118,183,23,165,143,72,193,139,233,202,164,184,186,122,94,41,100,61,94,153,22,191,240,203,10,135,78,244,236,57,113,199,102,61,57,66,255,213,77,251,245,27,100,200,165,19,165,129,124,158,80,124,30,33,119,138,239,248,115,141,132,70,92,187,57,129,165,251,46,123,247,140,252,189,192,126,122,251,12,185,91,110,159,61,34,223,79,79,43,223,79,255,79,245,86,247,29,69,137,42,4,75,5,60,88,186,25,13,42,91,89,160,175,42,229,225,131,159,156,100,74,90,23,190,166,143,113,192,41,153,131,229,227,79,133,88,226,147,81,172,210,52,160,179,197,44,73,239,27,131,111,68,216,61,33,129,122,82,10,11,52,194,1,98,12,121,116,148,204,99,117,205,38,123,241,166,160,40,126,168,78,81,252,240,227,41,138,31,158,72,209,205,122,126,188,243,43,211,19,250,122,154,9,44,175,175,140,196,3,2,234,11,22,207,119,243,219,221,245,204,161,189,38,231,181,135,125,28,125,138,194,241,194,99, -199,36,182,220,150,40,215,235,147,200,33,74,52,49,10,154,203,97,86,17,145,42,33,18,92,162,91,25,53,62,19,254,204,102,213,106,228,122,125,50,53,238,196,40,20,82,118,133,130,92,195,180,140,200,120,191,11,141,197,96,144,125,148,34,190,225,42,99,230,201,191,228,25,41,126,247,95,174,78,44,148,145,32,134,16,79,249,39,92,249,7,116,206,127,129,0,104,5,113,121,200,91,202,35,91,236,221,98,7,197,135,90,55,235,244,7,9,110,217,116,95,153,210,115,233,195,216,242,156,236,239,48,201,196,99,39,203,121,200,72,32,126,231,32,147,40,131,208,16,133,68,242,171,15,249,115,141,132,109,66,210,253,31,179,24,86,71, +120,156,205,91,107,115,218,72,22,253,43,61,149,113,22,19,192,122,242,244,184,82,155,76,102,82,59,201,166,198,108,190,80,50,52,162,49,61,43,36,70,106,108,147,84,242,219,247,246,67,232,193,195,2,100,111,226,20,15,169,111,247,57,231,222,190,221,87,18,3,3,253,252,179,86,211,94,104,143,252,235,190,37,83,188,244,152,51,160,150,213,238,97,195,238,253,247,95,255,238,244,184,189,14,246,102,75,55,219,182,169,91,70,19,94,116,83,55,108,195,180,244,182,209,177,218,166,217,214,186,174,135,163,200,25,120,70,187,45,140,12,48,50,90,182,161,183,172,182,213,214,205,86,219,0,91,67,211,12,173,101,216,186,101,182,13,187,59,33,145,235,12,52,104,110,66,243,78,211,236,104,186,166,181,116,93,51,141,150,102,218,150,174,155,6,116,97,180,12,93,179,187,196,159,56,131,223,155,61,110,96,113,82,118,19,160,55,161,55,203,210,160,119,110,102,153,186,169,25,166,173,119,236,102,119,76,110,169,191,141,146,253,40,165,150,214,165,140,204,21,35,108,245,170,175,237, +158,14,166,205,90,243,69,11,134,181,108,24,172,195,25,153,96,102,24,77,187,163,219,22,64,178,52,163,27,146,191,151,52,36,115,226,51,213,3,213,117,67,239,141,245,86,15,32,124,255,254,189,161,91,154,84,170,5,88,116,13,112,27,58,28,3,30,45,221,238,104,29,187,173,183,53,179,101,25,118,11,168,47,112,136,231,138,201,216,50,122,138,71,187,214,126,209,212,155,160,168,214,6,252,118,7,58,208,128,4,188,131,144,54,252,55,219,93,166,140,185,29,55,234,212,58,47,64,36,211,214,90,29,173,101,181,108,11,152,24,122,83,7,33,53,206,31,220,208,245,131,112,142,61,103,240,117,248,237,236,215,143,245,255,92,163,65,164,245,208,160,250,218,236,89,232,154,126,33,163,161,243,210,225,7,225,16,226,159,244,30,183,34,211,238,89,29,13,94,87,180,134,214,0,72,231,38,2,29,23,30,102,196,25,152,104,120,233,100,206,169,184,129,19,14,244,109,245,76,212,207,54,184,114,84,223,114,204,81,119,212,141,88,184,116,89,110,24,36,143,58,195,65,53,134,55, +236,14,211,13,22,203,177,71,93,222,0,0,127,8,238,8,30,123,36,61,24,186,76,91,103,79,112,112,89,104,128,108,120,53,148,18,0,20,249,1,37,246,136,70,8,163,91,226,147,144,186,10,221,50,36,136,205,48,67,60,242,67,58,38,188,9,187,15,208,132,66,172,68,52,240,177,135,34,176,71,193,248,47,226,178,6,234,207,8,154,5,33,253,18,248,12,206,173,219,241,222,67,178,8,73,4,49,70,38,104,188,226,190,169,64,8,2,60,237,28,185,15,28,235,250,43,114,176,63,129,161,9,186,35,33,163,46,116,21,248,100,211,106,229,52,208,63,3,54,75,13,132,1,115,48,69,108,181,32,72,169,208,80,254,142,73,247,3,224,201,128,74,180,32,46,197,30,16,152,240,129,132,61,216,38,162,212,208,50,34,98,104,222,37,192,153,6,158,23,220,83,255,182,171,250,146,61,115,223,74,35,225,126,91,185,31,156,207,113,76,54,130,12,169,195,224,192,225,141,28,235,102,171,35,169,207,174,214,94,22,125,27,61,213,16,221,83,32,46,94,224,60,52,116,18,21, +162,6,111,106,74,120,214,38,74,189,153,198,169,55,75,64,234,192,121,0,161,55,111,144,120,203,199,94,118,228,221,44,114,150,200,217,69,42,29,8,235,176,86,163,52,173,52,191,166,85,30,191,166,37,248,193,0,219,249,169,145,119,243,203,89,22,231,151,246,223,52,77,111,90,2,187,73,0,217,134,36,52,166,251,88,200,198,251,105,36,179,13,222,208,215,175,58,95,182,223,85,116,163,125,254,155,120,125,173,199,41,26,189,1,35,145,111,130,16,189,37,12,83,207,113,190,125,203,164,42,59,157,80,213,167,202,232,188,155,72,2,140,42,231,10,244,155,144,64,254,134,100,229,163,165,79,125,202,226,73,158,180,221,50,65,182,142,225,114,108,232,51,246,150,100,244,114,99,192,180,4,162,165,16,90,180,190,145,70,25,149,70,47,85,58,143,66,215,137,193,170,173,12,216,47,86,178,19,41,69,22,225,62,29,250,163,90,127,19,154,204,125,114,60,72,175,53,148,61,178,114,54,212,74,175,6,50,161,115,5,19,253,34,68,217,232,31,209,246,4,47,131,227,172,46,135, +67,14,124,68,60,137,75,147,117,26,207,25,56,49,152,226,108,165,71,212,55,158,32,71,87,5,61,179,125,173,228,41,54,113,204,151,130,178,76,114,186,72,58,235,182,14,138,187,59,150,88,4,42,159,74,77,244,81,62,57,72,209,39,211,147,57,228,68,126,42,107,149,78,112,122,58,63,145,233,79,164,183,127,201,41,200,26,57,69,89,195,0,241,4,62,130,248,167,128,79,69,96,222,47,204,122,120,163,140,110,98,235,2,187,216,53,237,5,59,157,182,24,246,20,214,31,151,158,71,194,194,124,101,243,27,101,150,95,27,78,161,3,45,121,167,206,193,139,239,39,81,102,160,119,148,120,19,244,7,5,160,123,215,94,247,65,18,141,151,18,190,180,40,216,108,199,222,255,81,73,221,85,190,207,85,186,207,205,181,35,225,248,8,185,15,132,205,130,34,180,222,120,4,135,235,29,69,202,45,119,1,157,8,76,162,69,178,197,184,38,44,66,227,108,233,193,2,164,61,182,175,120,31,253,58,95,176,21,31,74,132,69,126,188,113,16,120,98,60,213,16,70,28,110,198,146, +2,241,39,129,18,205,143,56,83,216,52,192,162,67,167,8,170,53,64,10,161,201,171,150,76,253,165,241,45,0,154,98,47,130,150,128,156,132,247,52,34,5,34,158,48,30,90,123,213,81,109,18,125,254,36,233,40,229,110,84,1,12,34,101,98,117,239,208,239,35,222,240,61,80,198,190,75,138,136,150,110,191,87,187,207,80,231,78,41,159,65,83,89,194,210,104,7,176,77,88,191,17,246,59,142,102,114,87,184,11,212,18,132,191,245,137,212,39,109,81,200,165,98,50,129,5,186,227,38,113,249,201,129,62,174,90,63,184,102,33,212,168,89,104,80,0,136,163,80,0,136,119,129,43,110,90,24,19,247,181,180,72,234,121,204,84,225,92,28,98,176,32,33,134,77,238,232,213,232,151,81,69,29,63,143,113,238,46,84,100,246,71,105,115,200,181,27,38,106,133,88,103,212,247,190,11,57,53,34,194,197,144,177,226,156,41,26,237,220,210,242,92,43,179,209,70,251,205,156,116,40,231,254,241,116,211,251,120,182,133,99,46,45,9,236,194,53,120,78,84,60,41,219,3,64,215, +79,115,84,189,152,163,222,146,140,163,144,115,152,163,54,219,159,228,168,250,209,142,170,239,113,84,194,241,73,28,85,61,205,81,213,98,142,250,0,37,43,93,120,244,7,241,84,245,104,79,85,247,120,42,69,242,73,92,117,113,146,171,46,10,78,41,122,71,39,63,136,155,46,142,117,211,197,190,249,164,8,62,137,139,46,225,15,48,243,234,228,112,212,151,151,2,118,170,1,47,55,84,213,54,91,19,184,158,209,41,203,193,143,96,23,199,15,174,80,220,250,0,208,87,240,119,52,232,171,171,19,64,135,244,118,118,44,234,87,240,87,57,110,85,124,149,108,60,197,50,200,239,100,229,3,34,58,40,241,215,143,131,2,134,9,20,145,232,79,132,130,182,108,50,147,241,134,197,55,148,152,31,78,221,228,136,247,106,106,67,46,59,42,82,12,132,114,83,15,137,139,193,50,54,95,215,190,219,203,2,213,90,38,42,97,32,246,159,132,223,225,219,122,101,52,9,176,216,54,202,96,197,252,222,20,152,203,59,65,150,222,176,12,126,133,60,58,188,242,125,23,82,226,231,139,195, +152,113,170,212,207,198,104,37,117,102,131,248,84,116,201,153,53,173,115,52,116,100,187,245,215,164,27,117,168,146,111,49,16,18,168,175,231,27,62,228,215,179,231,193,132,23,46,19,169,72,124,233,98,71,205,178,131,70,189,28,26,245,35,105,32,159,220,98,118,26,133,172,39,106,79,238,21,28,219,215,208,182,211,227,44,219,194,184,251,207,0,119,16,95,69,75,78,179,3,224,246,203,86,119,31,158,66,234,230,106,82,168,66,249,13,20,149,212,240,100,66,215,5,233,125,16,95,64,19,27,128,8,65,70,197,153,155,90,17,212,178,158,218,31,156,48,135,74,145,104,239,124,42,43,0,235,165,5,96,97,184,167,4,96,189,180,0,172,63,83,0,70,203,49,11,177,251,28,49,88,45,63,6,171,207,17,131,213,210,98,176,48,220,45,62,63,4,110,73,49,88,221,23,131,135,169,187,55,6,231,170,114,117,241,115,132,225,69,233,97,120,241,28,81,120,81,86,20,22,70,251,120,16,238,245,234,4,42,221,232,25,252,201,139,222,140,52,73,37,121,184,56,151,151,197,213, +201,214,156,217,237,228,172,160,80,162,110,142,120,117,10,244,101,29,138,157,221,37,233,35,82,240,82,186,52,41,174,174,158,87,10,89,141,151,166,197,47,252,162,194,177,19,61,125,78,220,175,217,76,142,208,127,121,211,126,243,246,24,114,232,84,105,32,159,47,20,159,199,200,153,225,59,254,156,35,161,33,215,110,65,96,233,190,75,223,59,35,127,47,177,151,220,60,67,206,142,155,103,143,200,247,211,211,202,247,211,255,83,189,245,93,71,81,162,10,193,18,1,143,150,110,78,253,210,86,22,232,171,76,121,248,224,103,103,169,146,214,129,175,201,99,28,112,74,230,96,249,248,83,46,150,248,100,20,171,52,245,233,124,57,143,211,251,214,224,27,19,118,79,136,175,158,148,194,2,141,112,128,24,67,30,29,199,243,88,93,177,73,95,186,201,41,138,31,202,83,20,63,252,120,138,226,135,39,82,116,187,158,31,239,188,210,244,132,190,158,102,2,203,235,43,99,241,120,128,250,130,197,243,222,252,102,119,45,117,232,160,201,121,237,98,15,135,159,194,96,178,116,217,41,137,45, +179,37,202,244,250,36,114,136,18,77,140,130,22,114,152,117,68,36,74,136,4,23,235,86,68,141,207,132,63,179,89,182,26,153,94,159,76,141,59,49,10,133,148,93,162,32,215,48,45,67,50,57,236,66,99,62,24,100,31,133,136,111,185,202,152,122,242,47,126,70,138,223,251,151,171,19,11,100,36,136,33,196,83,255,49,87,254,1,53,248,47,18,0,173,32,46,15,185,43,121,100,135,189,147,239,32,255,80,235,118,157,254,32,254,45,155,29,42,83,114,46,121,24,91,158,147,253,29,39,153,120,232,100,181,8,24,241,197,239,30,100,18,101,16,26,162,144,136,127,5,34,127,190,17,179,109,168,11,231,206,255,0,74,133,90,46, diff --git a/uppsrc/Core/src.tpp/Stream$en-us.tpp b/uppsrc/Core/src.tpp/Stream$en-us.tpp index 18088bc9b..5d11119e8 100644 --- a/uppsrc/Core/src.tpp/Stream$en-us.tpp +++ b/uppsrc/Core/src.tpp/Stream$en-us.tpp @@ -264,7 +264,7 @@ set to 0 / NULL.&] [s4;%- &] [s5;:Stream`:`:Stream`(const Stream`&`):%- [* Stream]([@(0.0.255) const]_[* Stream][@(0.0.255) `& ]_[*@3 s])&] -[s2; Default copy constructor..&] +[s2; Default copy constructor.&] [s3; &] [s4;%- &] [s5;:Stream`:`:`~Stream`(`):%- [@(0.0.255) `~][* Stream]()&] diff --git a/uppsrc/Core/src.tpp/all.i b/uppsrc/Core/src.tpp/all.i index 6405e6a0a..65573e66f 100644 --- a/uppsrc/Core/src.tpp/all.i +++ b/uppsrc/Core/src.tpp/all.i @@ -1,23 +1,3 @@ -TOPIC("Format$en-us") -#include "Format$en-us.tppi" -END_TOPIC - -TOPIC("MathUtil$en-us") -#include "MathUtil$en-us.tppi" -END_TOPIC - -TOPIC("FormatFn$en-us") -#include "FormatFn$en-us.tppi" -END_TOPIC - -TOPIC("String1$en-us") -#include "String1$en-us.tppi" -END_TOPIC - -TOPIC("Size$en-us") -#include "Size$en-us.tppi" -END_TOPIC - TOPIC("algo$en-us") #include "algo$en-us.tppi" END_TOPIC @@ -26,3 +6,67 @@ TOPIC("AMap$en-us") #include "AMap$en-us.tppi" END_TOPIC +TOPIC("Any$en-us") +#include "Any$en-us.tppi" +END_TOPIC + +TOPIC("AppEnv$en-us") +#include "AppEnv$en-us.tppi" +END_TOPIC + +TOPIC("BiVector$en-us") +#include "BiVector$en-us.tppi" +END_TOPIC + +TOPIC("Buffer$en-us") +#include "Buffer$en-us.tppi" +END_TOPIC + +TOPIC("Exc$en-us") +#include "Exc$en-us.tppi" +END_TOPIC + +TOPIC("Format$en-us") +#include "Format$en-us.tppi" +END_TOPIC + +TOPIC("FormatFn$en-us") +#include "FormatFn$en-us.tppi" +END_TOPIC + +TOPIC("MathUtil$en-us") +#include "MathUtil$en-us.tppi" +END_TOPIC + +TOPIC("One$en-us") +#include "One$en-us.tppi" +END_TOPIC + +TOPIC("PtePtr$en-us") +#include "PtePtr$en-us.tppi" +END_TOPIC + +TOPIC("SerializationUtils$en-us") +#include "SerializationUtils$en-us.tppi" +END_TOPIC + +TOPIC("Size$en-us") +#include "Size$en-us.tppi" +END_TOPIC + +TOPIC("Stream$en-us") +#include "Stream$en-us.tppi" +END_TOPIC + +TOPIC("String$en-us") +#include "String$en-us.tppi" +END_TOPIC + +TOPIC("String1$en-us") +#include "String1$en-us.tppi" +END_TOPIC + +TOPIC("StringBuffer$en-us") +#include "StringBuffer$en-us.tppi" +END_TOPIC +