From 984cbb80d46e765f2fd6ce70406c2f8d45643a27 Mon Sep 17 00:00:00 2001 From: cbpporter Date: Thu, 6 Nov 2008 17:59:50 +0000 Subject: [PATCH] Size_ documentation update. git-svn-id: svn://ultimatepp.org/upp/trunk@613 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/Core/src.tpp/Size$en-us.tpp | 326 ++++++++++++++--------------- 1 file changed, 152 insertions(+), 174 deletions(-) diff --git a/uppsrc/Core/src.tpp/Size$en-us.tpp b/uppsrc/Core/src.tpp/Size$en-us.tpp index 61501fec1..a394bdc0b 100644 --- a/uppsrc/Core/src.tpp/Size$en-us.tpp +++ b/uppsrc/Core/src.tpp/Size$en-us.tpp @@ -12,330 +12,308 @@ topic "Size"; [{_}%EN-US [s0; [*@3;4 Size`_]&] [s0;*@3 &] -[s1;:`:`:Size`_`:`:struct:%- [@(0.0.255) template][@(64) _<][@(0.0.255) class][@(64) _][@4 T][@(64) > -]&] -[s1;%- [@(0.0.255) struct][@(64) _]Size`_[@(64) _:_][@(0.0.255) public][@(64) _][^`:`:Moveable^@(64) M -oveable][@(64) <_]Size`_[@(64) <][@4 T][@(64) >_>_]&] -[s0; &] +[s1;:noref:%- [@(0.0.255)3 template][3 _<][@(0.0.255)3 class][3 _][*@4;3 T][@(0.0.255)3 >]&] +[s1;:Size`_`:`:struct:%- [@(0.0.255) struct]_[* Size`_]_:_[@(0.0.255) public]_[*@3 Moveable][@(0.0.255) < +]_[* Size`_][@(0.0.255) <][*@4 T][@(0.0.255) >]_>_&] +[s0;%- &] [s0; [* Size`_] is a generic structure that describes a two dimensional size object. The horizontal dimension is represented by [*@(154.0.0) cx][@(154.0.0) ]and the vertical one by [*@(154.0.0) cy]. Both dimension are of -type [*@4 T]. To get a specialized version of [* Size`_], use one -of the following:&] +type [*@4 T]. &] +[s1; &] +[s0; To get a specialized version of [* Size`_], use one of the following:&] [s0; &] -[s0;%- Size&] -[s5;:`:`:Size`:`:typedef:%- [@(0.0.255) typedef][@(64) _][^`:`:Size`_^@(64) Size`_][@(64) <][@(0.0.255) i -nt][@(64) >_]Size&] +[s1;%- Size&] +[s5;:Size`:`:typedef:%- [@(0.0.255) typedef]_[_^Size`_^ Size`_][@(0.0.255) ]_[* Size]&] [s2; Size`_ with with [* int] dimensions.&] [s3; &] [s4; &] -[s0;%- Size16&] -[s5;:`:`:Size16`:`:typedef:%- [@(0.0.255) typedef][@(64) _][^`:`:Size`_^@(64) Size`_][@(64) < -][@(0.0.255) int16][@(64) >_]Size16&] +[s1;%- Size16&] +[s5;:Size16`:`:typedef:%- [@(0.0.255) typedef]_[_^Size`_^ Size`_][@(0.0.255) <][_^int16^ int1 +6][@(0.0.255) >]_[* Size16]&] [s2; Size`_ with with [* int16][@(0.0.255) ]dimensions.&] [s3; &] [s4;*@(154.0.0) &] [s0;%- Size64&] -[s5;:`:`:Size64`:`:typedef:%- [@(0.0.255) typedef][@(64) _][^`:`:Size`_^@(64) Size`_][@(64) < -][@(0.0.255) int64][@(64) >_]Size64&] +[s5;:Size64`:`:typedef:%- [@(0.0.255) typedef]_[_^Size`_^ Size`_][@(0.0.255) <][_^int64^ int6 +4][@(0.0.255) >]_[* Size64]&] [s2; Size`_ with with [* int64][@(0.0.255) ]dimensions.&] [s3; &] [s4;*@(154.0.0) &] -[s0;%- Sizef&] -[s5;:`:`:Sizef`:`:typedef:%- [@(0.0.255) typedef][@(64) _][^`:`:Size`_^@(64) Size`_][@(64) <][@(0.0.255) d -ouble][@(64) >_]Sizef&] +[s1;%- Sizef&] +[s5;:Sizef`:`:typedef:%- [@(0.0.255) typedef]_[_^Size`_^ Size`_][@(0.0.255) ]_[* Size +f]&] [s2; Size`_ with with [* double][@(0.0.255) ]dimensions.&] -[s0; &] +[s1; &] [s0; &] [ {{10000F(128)G(128)@1 [s0; [* Constructor Detail]]}}&] -[s0; &] -[s5;K:`:`:Size`_`:`:`:`:Size`_`(`):%- Size`_[@(64) ()]&] +[s0;%- &] +[s5;:Size`_`:`:Size`_`(`):%- [* Size`_]()&] [s2; Creates an uninitialized [* Size`_].&] [s3; &] [s4; &] -[s5;K:`:`:Size`_`:`:`:`:Size`_`(const`:`:Value`&`):%- Size`_[@(64) (][@(0.0.255) const][@(64) _ -][^`:`:Value^@(64) Value][@(64) `&_][@3 src][@(64) )]&] +[s5;:Size`_`:`:Size`_`(const Value`&`):%- [* Size`_]([@(0.0.255) const]_[_^Value^ Value][@(0.0.255) `& +]_[*@3 src])&] [s2; Default copy constructor.&] [s3; &] -[s4; &] -[s5;K:`:`:Size`_`:`:`:`:Size`_`(T`,T`):%- Size`_[@(64) (][@4 T][@(64) _][@3 cx][@(64) , -][@4 T][@(64) _][@3 cy][@(64) )]&] +[s4;%- &] +[s5;:Size`_`:`:Size`_`(T`,T`):%- [* Size`_]([*@4 T]_[*@3 cx], [*@4 T]_[*@3 cy])&] [s2; Creates a [* Size`_] object an initializes it`'s horizontal dimension with [%-*@3 cx ][%- and it`'s vertical dimension with ][*@3 cy].&] [s3; &] -[s4; &] -[s5;K:`:`:Size`_`:`:`:`:Size`_`(const`:`:Size`_``&`):%- Size`_[@(64) (][@(0.0.255) c -onst][@(64) _]Size`_[@(64) <][@(0.0.255) int][@(64) >`&_][@3 sz][@(64) )]&] +[s4;%- &] +[s5;:Size`_`:`:Size`_`(const Size`_``&`):%- [* Size`_]([@(0.0.255) const]_[* Size`_][@(0.0.255) < +int>`&]_[*@3 sz])&] [s2; Creates a [* Size`_] object and initializes it with a [* Size] [*@3 sz].&] [s3; &] -[s4; &] -[s5;K:`:`:Size`_`:`:`:`:Size`_`(const`:`:Size`_``&`):%- Size`_[@(64) (][@(0.0.255) c -onst][@(64) _]Size`_[@(64) <][@(0.0.255) short][@(64) >`&_][@3 sz][@(64) )]&] +[s4;%- &] +[s5;:Size`_`:`:Size`_`(const Size`_``&`):%- [* Size`_]([@(0.0.255) const]_[* Size`_ +][@(0.0.255) `&]_[*@3 sz])&] [s2; Creates a [* Size`_] object and initializes it with a [* Size16] [*@3 sz].&] [s3; &] -[s4; &] -[s5;K:`:`:Size`_`:`:`:`:Size`_`(const`:`:Size`_``&`):%- Size`_[@(64) (][@(0.0.255) c -onst][@(64) _]Size`_[@(64) <][@(0.0.255) double][@(64) >`&_][@3 sz][@(64) )]&] +[s4;%- &] +[s5;:Size`_`:`:Size`_`(const Size`_``&`):%- [* Size`_]([@(0.0.255) const]_[* Size`_ +][@(0.0.255) `&]_[*@3 sz])&] [s2; Creates a [* Size`_] object and initializes it with a [* Sizef] [*@3 sz].&] [s3; &] -[s4; &] -[s5;K:`:`:Size`_`:`:`:`:Size`_`(const`:`:Size`_`<`:`:int64`>`&`):%- Size`_[@(64) (][@(0.0.255) c -onst][@(64) _]Size`_[@(64) <][@(0.0.255) int64][@(64) >`&_][@3 sz][@(64) )]&] +[s4;%- &] +[s5;:Size`_`:`:Size`_`(const Size`_``&`):%- [* Size`_]([@(0.0.255) const]_[* Size`_ +][@(0.0.255) <][_^int64^ int64][@(0.0.255) >`&]_[*@3 sz])&] [s2; Creates a [* Size`_ ]object and initializes it with a [* Size64] [%-*@3 sz].&] [s3; &] -[s4; &] -[s5;K:`:`:Size`_`:`:`:`:Size`_`(const`:`:Point`_``&`):%- Size`_[@(64) (][@(0.0.255) c -onst][@(64) _][^`:`:Point`_^@(64) Point`_][@(64) <][@4 T][@(64) >`&_][@3 pt][@(64) )]&] +[s4;%- &] +[s5;:Size`_`:`:Size`_`(const Point`_``&`):%- [* Size`_]([@(0.0.255) const]_[_^Point`_^ P +oint`_][@(0.0.255) <][*@4 T][@(0.0.255) >`&]_[*@3 pt])&] [s2; Creates a [* Size`_ ]object and initializes it with a [* Point] [%-*@3 sz].&] [s3; &] -[s4; &] -[s5;K:`:`:Size`_`:`:`:`:Size`_`(const`:`:Nuller`&`):%- Size`_[@(64) (][@(0.0.255) const][@(64) _ -][^`:`:Nuller^@(64) Nuller][@(64) `&)]&] -[s2; Creates a [* Size`_ ]object and initializes with [* Null].&] -[s0; &] +[s4;%- &] +[s5;:Size`_`:`:Size`_`(const Nuller`&`):%- [* Size`_]([@(0.0.255) const]_[_^Nuller^ Nuller][@(0.0.255) `& +])&] +[s2; Creates a [* Size`_ ]object and initializes it with [* Null].&] +[s1; &] [s0; &] [ {{10000F(128)G(128)@1 [s0; [* Public Field List]]}}&] -[s0; &] -[s5;K:`:`:Size`_`:`:cx:%- [@4 T][@(64) _]cx&] +[s0;%- &] +[s5;:Size`_`:`:cx:%- [@4 T]_[* cx]&] [s2; the horizontal dimension&] [s3; &] -[s4; &] -[s5;K:`:`:Size`_`:`:cy:%- [@4 T][@(64) _]cy&] +[s4;%- &] +[s5;:Size`_`:`:cy:%- [@4 T]_[* cy]&] [s2; the vertical dimension&] -[s0; &] +[s1; &] [ {{10000F(128)G(128)@1 [s0; [* Method List]]}}&] -[s0; &] -[s5;K:`:`:Size`_`:`:Clear`(`):%- [@(0.0.255) void][@(64) _]Clear[@(64) ()]&] +[s0;%- &] +[s5;:Size`_`:`:Clear`(`):%- [@(0.0.255) void]_[* Clear]()&] [s2; Sets both dimension to 0.&] [s3; &] [s4; &] -[s5;K:`:`:Size`_`:`:IsEmpty`(`)const:%- [@(0.0.255) bool][@(64) _]IsEmpty[@(64) ()_][@(0.0.255) c -onst]&] +[s5;:Size`_`:`:IsEmpty`(`)const:%- [@(0.0.255) bool]_[* IsEmpty]()_[@(0.0.255) const]&] [s2; Returns [* true] if at least one dimension is 0, [* false] otherwise.&] [s3; &] -[s4; &] -[s5;K:`:`:Size`_`:`:SetNull`(`):%- [@(0.0.255) void][@(64) _]SetNull[@(64) ()]&] +[s4;%- &] +[s5;:Size`_`:`:SetNull`(`):%- [@(0.0.255) void]_[* SetNull]()&] [s2; Reinitializes the object to [* Null].&] [s3; &] -[s4; &] -[s5;K:`:`:Size`_`:`:IsNullInstance`(`)const:%- [@(0.0.255) bool][@(64) _]IsNullInstance[@(64) ( -)_][@(0.0.255) const]&] +[s4;%- &] +[s5;:Size`_`:`:IsNullInstance`(`)const:%- [@(0.0.255) bool]_[* IsNullInstance]()_[@(0.0.255) c +onst]&] [s2; Verifies if size is [* Null].&] [s3; &] [s4; &] -[s5;K:`:`:Size`_`:`:GetHashValue`(`)const:%- [@(0.0.255) unsigned][@(64) _]GetHashValue[@(64) ( -)_][@(0.0.255) const]&] +[s5;:Size`_`:`:GetHashValue`(`)const:%- [@(0.0.255) unsigned]_[* GetHashValue]()_[@(0.0.255) c +onst]&] [s2; Returns the hash value of the size.&] [s3; &] -[s4; &] -[s5;K:`:`:Size`_`:`:ToString`(`)const:%- [^topic`:`/`/Core`/src`/String`$en`-us^ String -]_ToString[@(64) ()_][@(0.0.255) const]&] +[s4;%- &] +[s5;:Size`_`:`:ToString`(`)const:%- [_^String^ String]_[* ToString]()_[@(0.0.255) const]&] [s2; Returns the [* String] representation of the size.&] [s3; &] -[s4; &] -[s5;K:`:`:Size`_`:`:operator`+`=`(`:`:Size`_`):%- [^`:`:Size`_^ Size`_]`&_operator`+`=[@(64) ( -][^`:`:Size`_^@(64) Size`_][@(64) _][@3 p][@(64) )]&] +[s4;%- &] +[s5;:Size`_`:`:operator`+`=`(Size`_`):%- [_^Size`_^ Size`_][@(0.0.255) `&]_[* operator`+`=]( +[_^Size`_^ Size`_]_[*@3 p])&] [s2; Increases [* cx] with [*@3 p]`'s horizontal dimension and [* cy] with [*@3 p]`'s vertical dimension.&] [s3; &] -[s4; &] -[s5;K:`:`:Size`_`:`:operator`+`=`(T`):%- [^`:`:Size`_^ Size`_]`&_operator`+`=[@(64) (T_][@3 t -][@(64) )]&] +[s4;%- &] +[s5;:Size`_`:`:operator`+`=`(T`):%- [_^Size`_^ Size`_][@(0.0.255) `&]_[* operator`+`=]([*@4 T +]_[*@3 t])&] [s2; Increases both dimension with the same value [*@3 t].&] [s3; &] -[s4; &] -[s5;K:`:`:Size`_`:`:operator`-`=`(`:`:Size`_`):%- [^`:`:Size`_^ Size`_]`&_operator`-`=[@(64) ( -][^`:`:Size`_^@(64) Size`_][@(64) _][@3 p][@(64) )]&] +[s4;%- &] +[s5;:Size`_`:`:operator`-`=`(Size`_`):%- [_^Size`_^ Size`_][@(0.0.255) `&]_[* operator`-`=]( +[_^Size`_^ Size`_]_[*@3 p])&] [s2; Decreases [* cx ]with [*@3 p]`'s horizontal dimension and [* cy ]with [*@3 p]`'s vertical dimension.&] [s3; &] -[s4; &] -[s5;K:`:`:Size`_`:`:operator`-`=`(T`):%- [^`:`:Size`_^ Size`_]`&_operator`-`=[@(64) (][@4 T -][@(64) _][@3 t][@(64) )]&] +[s4;%- &] +[s5;:Size`_`:`:operator`-`=`(T`):%- [_^Size`_^ Size`_][@(0.0.255) `&]_[* operator`-`=]([*@4 T +]_[*@3 t])&] [s2; Decreases both dimension with the same value [*@3 t].&] [s3; &] -[s4; &] -[s5;K:`:`:Size`_`:`:operator`*`=`(`:`:Size`_`):%- [^`:`:Size`_^ Size`_]`&_operator`*`=[@(64) ( -][^`:`:Size`_^@(64) Size`_][@(64) _][@3 p][@(64) )]&] +[s4;%- &] +[s5;:Size`_`:`:operator`*`=`(Size`_`):%- [_^Size`_^ Size`_][@(0.0.255) `&]_[* operator`*`=]( +[_^Size`_^ Size`_]_[*@3 p])&] [s2; Multiplies [* cx ]with [*@3 p]`'s horizontal dimension and [* cy ]with [*@3 p]`'s vertical dimension.&] [s3; &] -[s4; &] -[s5;K:`:`:Size`_`:`:operator`*`=`(T`):%- [^`:`:Size`_^ Size`_]`&_operator`*`=[@(64) (T_][@3 t -][@(64) )]&] +[s4;%- &] +[s5;:Size`_`:`:operator`*`=`(T`):%- [_^Size`_^ Size`_][@(0.0.255) `&]_[* operator`*`=]([*@4 T +]_[*@3 t])&] [s2; Multiplies both dimension with the same value [*@3 t].&] [s3; &] -[s4; &] -[s5;K:`:`:Size`_`:`:operator`/`=`(`:`:Size`_`):%- [^`:`:Size`_^ Size`_]`&_operator/`=[@(64) ( -][^`:`:Size`_^@(64) Size`_][@(64) _][@3 p][@(64) )]&] +[s4;%- &] +[s5;:Size`_`:`:operator`/`=`(Size`_`):%- [_^Size`_^ Size`_][@(0.0.255) `&]_[* operator/`=]( +[_^Size`_^ Size`_]_[*@3 p])&] [s2; Divides [* cx ]with [*@3 p]`'s horizontal dimension and [* cy ]with [*@3 p]`'s vertical dimension.&] [s3; &] -[s4; &] -[s5;K:`:`:Size`_`:`:operator`/`=`(T`):%- [^`:`:Size`_^ Size`_]`&_operator/`=[@(64) (T_][@3 t -][@(64) )]&] +[s4;%- &] +[s5;:Size`_`:`:operator`/`=`(T`):%- [_^Size`_^ Size`_][@(0.0.255) `&]_[* operator/`=]([*@4 T]_ +[*@3 t])&] [s2; Divides both dimension with the same value [*@3 t].&] [s3; &] -[s4; &] -[s5;K:`:`:Size`_`:`:operator`<`<`=`(int`):%- [^`:`:Size`_^ Size`_]`&_operator<<`=[@(64) ( -][@(0.0.255) int][@(64) _][@3 sh][@(64) )]&] +[s4;%- &] +[s5;:Size`_`:`:operator`<`<`=`(int`):%- [_^Size`_^ Size`_][@(0.0.255) `&]_[* operator<<`=]( +[@(0.0.255) int]_[*@3 sh])&] [s2; Shift both dimensions left by [*@3 sh].&] [s3; &] -[s4; &] -[s5;K:`:`:Size`_`:`:operator`>`>`=`(int`):%- [^`:`:Size`_^ Size`_]`&_operator>>`=[@(64) ( -][@(0.0.255) int][@(64) _][@3 sh][@(64) )]&] +[s4;%- &] +[s5;:Size`_`:`:operator`>`>`=`(int`):%- [_^Size`_^ Size`_][@(0.0.255) `&]_[* operator>>`=]( +[@(0.0.255) int]_[*@3 sh])&] [s2; Shift both dimensions right by [*@3 sh].&] [s3; &] -[s4; &] -[s5;K:`:`:Size`_`:`:operator`+`+`(`):%- [^`:`:Size`_^ Size`_]`&_operator`+`+[@(64) ()]&] +[s4;%- &] +[s5;:Size`_`:`:operator`+`+`(`):%- [_^Size`_^ Size`_][@(0.0.255) `&]_[* operator`+`+]()&] [s2; Increments both dimensions.&] [s3; &] -[s4; &] -[s5;K:`:`:Size`_`:`:operator`-`-`(`):%- [^`:`:Size`_^ Size`_]`&_operator`-`-[@(64) ()]&] +[s4;%- &] +[s5;:Size`_`:`:operator`-`-`(`):%- [_^Size`_^ Size`_][@(0.0.255) `&]_[* operator`-`-]()&] [s2; Decrements both dimensions.&] [s3; &] -[s4; &] -[s5;K:`:`:Size`_`:`:operator`:`:Value`(`)const:%- [@(0.0.255) operator][@(64) _]Value[@(64) ( -)_][@(0.0.255) const]&] +[s4;%- &] +[s5;:Size`_`:`:operator Value`(`)const:%- [* operator_Value]()_[@(0.0.255) const]&] [s2; Returns a conversion of the size to [* Value].&] [s3; &] -[s4; &] -[s5;K:`:`:Size`_`:`:Serialize`(`:`:Stream`&`):%- [@(0.0.255) void][@(64) _]Serialize[@(64) ( -][^`:`:Stream^@(64) Stream][@(64) `&_][@3 s][@(64) )]&] +[s4;%- &] +[s5;:Size`_`:`:Serialize`(Stream`&`):%- [@(0.0.255) void]_[* Serialize]([_^Stream^ Stream][@(0.0.255) `& +]_[*@3 s])&] [s2; Serializes the size to a stream [*@(141.42.0) s].&] -[s0; &] +[s1; &] [s0; &] [ {{10000F(128)G(128)@1 [s0; [*@2 Friend List]]}}&] [s0; &] -[s5;K:`:`:Size`_`:`:operator`+`(`:`:Size`_`):%- [@(0.0.255) friend][@(64) _][^`:`:Size`_^@(64) S -ize`_][@(64) _]operator`+[@(64) (][^`:`:Size`_^@(64) Size`_][@(64) _][@3 s][@(64) )]&] +[s5;:`:`:Size`_`:`:operator`+`(`:`:Size`_`):%- [@(0.0.255) friend][@(64) _]Size`_[@(64) _]o +perator`+[@(64) (]Size`_[@(64) _][@3 s][@(64) )]&] [s2; Returns an unmodified size [%-*@3 s].&] [s3; &] [s4; &] -[s5;K:`:`:Size`_`:`:operator`-`(`:`:Size`_`):%- [@(0.0.255) friend][@(64) _][^`:`:Size`_^@(64) S -ize`_][@(64) _]operator`-[@(64) (][^`:`:Size`_^@(64) Size`_][@(64) _][@3 s][@(64) )]&] +[s5;:`:`:Size`_`:`:operator`-`(`:`:Size`_`):%- [@(0.0.255) friend][@(64) _]Size`_[@(64) _]o +perator`-[@(64) (]Size`_[@(64) _][@3 s][@(64) )]&] [s2; Returns a negated size [%-*@3 s].&] [s3; &] [s4; &] -[s5;K:`:`:Size`_`:`:operator`+`(`:`:Size`_`,`:`:Size`_`):%- [@(0.0.255) friend][@(64) _][^`:`:Size`_^@(64) S -ize`_][@(64) _]operator`+[@(64) (][^`:`:Size`_^@(64) Size`_][@(64) _][@3 a][@(64) , -][^`:`:Size`_^@(64) Size`_][@(64) _][@3 b][@(64) )]&] -[s5;:`:`:Size`_`:`:operator`+`(`:`:Size`_`,T`):%- [@(0.0.255) friend][@(64) _][^`:`:Size`_^@(64) S -ize`_][@(64) _]operator`+[@(64) (][^`:`:Size`_^@(64) Size`_][@(64) _][@3 a][@(64) , -T_][@3 t][@(64) )]&] -[s5;:`:`:Size`_`:`:operator`+`(T`,`:`:Size`_`):%- [@(0.0.255) friend][@(64) _][^`:`:Size`_^@(64) S -ize`_][@(64) _]operator`+[@(64) (T_][@3 t][@(64) , ][^`:`:Size`_^@(64) Size`_][@(64) _][@3 b][@(64) ) -]&] +[s5;:`:`:Size`_`:`:operator`+`(`:`:Size`_`,`:`:Size`_`):%- [@(0.0.255) friend][@(64) _]Si +ze`_[@(64) _]operator`+[@(64) (]Size`_[@(64) _][@3 a][@(64) , ]Size`_[@(64) _][@3 b][@(64) )]&] +[s5;:`:`:Size`_`:`:operator`+`(`:`:Size`_`,T`):%- [@(0.0.255) friend][@(64) _]Size`_[@(64) _ +]operator`+[@(64) (]Size`_[@(64) _][@3 a][@(64) , ][@4 T][@(64) _][@3 t][@(64) )]&] +[s5;:`:`:Size`_`:`:operator`+`(T`,`:`:Size`_`):%- [@(0.0.255) friend][@(64) _]Size`_[@(64) _ +]operator`+[@(64) (][@4 T][@(64) _][@3 t][@(64) , ]Size`_[@(64) _][@3 b][@(64) )]&] [s2; Returns the result of the addition of two Size`_ values or a Size`_ with single value.&] [s3; &] [s4; &] -[s5;K:`:`:Size`_`:`:operator`-`(`:`:Size`_`,`:`:Size`_`):%- [@(0.0.255) friend][@(64) _][^`:`:Size`_^@(64) S -ize`_][@(64) _]operator`-[@(64) (][^`:`:Size`_^@(64) Size`_][@(64) _][@3 a][@(64) , -][^`:`:Size`_^@(64) Size`_][@(64) _][@3 b][@(64) )]&] -[s5;:`:`:Size`_`:`:operator`-`(`:`:Size`_`,T`):%- [@(0.0.255) friend][@(64) _][^`:`:Size`_^@(64) S -ize`_][@(64) _]operator`-[@(64) (][^`:`:Size`_^@(64) Size`_][@(64) _][@3 a][@(64) , -T_][@3 t][@(64) )]&] -[s5;:`:`:Size`_`:`:operator`-`(T`,`:`:Size`_`):%- [@(0.0.255) friend][@(64) _][^`:`:Size`_^@(64) S -ize`_][@(64) _]operator`-[@(64) (T_][@3 t][@(64) , ][^`:`:Size`_^@(64) Size`_][@(64) _][@3 b][@(64) ) -]&] +[s5;:`:`:Size`_`:`:operator`-`(`:`:Size`_`,`:`:Size`_`):%- [@(0.0.255) friend][@(64) _]Si +ze`_[@(64) _]operator`-[@(64) (]Size`_[@(64) _][@3 a][@(64) , ]Size`_[@(64) _][@3 b][@(64) )]&] +[s5;:`:`:Size`_`:`:operator`-`(`:`:Size`_`,T`):%- [@(0.0.255) friend][@(64) _]Size`_[@(64) _ +]operator`-[@(64) (]Size`_[@(64) _][@3 a][@(64) , ][@4 T][@(64) _][@3 t][@(64) )]&] +[s5;:`:`:Size`_`:`:operator`-`(T`,`:`:Size`_`):%- [@(0.0.255) friend][@(64) _]Size`_[@(64) _ +]operator`-[@(64) (][@4 T][@(64) _][@3 t][@(64) , ]Size`_[@(64) _][@3 b][@(64) )]&] [s2; Returns the result of the subtraction of two Size`_ values or a Size`_ with single value.&] [s3; &] [s4; &] -[s5;K:`:`:Size`_`:`:operator`*`(`:`:Size`_`,`:`:Size`_`):%- [@(0.0.255) friend][@(64) _][^`:`:Size`_^@(64) S -ize`_][@(64) _]operator`*[@(64) (][^`:`:Size`_^@(64) Size`_][@(64) _][@3 a][@(64) , -][^`:`:Size`_^@(64) Size`_][@(64) _][@3 b][@(64) )]&] -[s5;:`:`:Size`_`:`:operator`*`(`:`:Size`_`,T`):%- [@(0.0.255) friend][@(64) _][^`:`:Size`_^@(64) S -ize`_][@(64) _]operator`*[@(64) (][^`:`:Size`_^@(64) Size`_][@(64) _][@3 a][@(64) , -T_][@3 b][@(64) )]&] -[s5;:`:`:Size`_`:`:operator`*`(T`,`:`:Size`_`):%- [@(0.0.255) friend][@(64) _][^`:`:Size`_^@(64) S -ize`_][@(64) _]operator`*[@(64) (T_][@3 a][@(64) , ][^`:`:Size`_^@(64) Size`_][@(64) _][@3 b][@(64) ) -]&] +[s5;:`:`:Size`_`:`:operator`*`(`:`:Size`_`,`:`:Size`_`):%- [@(0.0.255) friend][@(64) _]Si +ze`_[@(64) _]operator`*[@(64) (]Size`_[@(64) _][@3 a][@(64) , ]Size`_[@(64) _][@3 b][@(64) )]&] +[s5;:`:`:Size`_`:`:operator`*`(`:`:Size`_`,T`):%- [@(0.0.255) friend][@(64) _]Size`_[@(64) _ +]operator`*[@(64) (]Size`_[@(64) _][@3 a][@(64) , ][@4 T][@(64) _][@3 b][@(64) )]&] +[s5;:`:`:Size`_`:`:operator`*`(T`,`:`:Size`_`):%- [@(0.0.255) friend][@(64) _]Size`_[@(64) _ +]operator`*[@(64) (][@4 T][@(64) _][@3 a][@(64) , ]Size`_[@(64) _][@3 b][@(64) )]&] [s2; Returns the result of the multiplication of two Size`_ values or a Size`_ with single value.&] [s3; &] [s4; &] -[s5;K:`:`:Size`_`:`:operator`/`(`:`:Size`_`,`:`:Size`_`):%- [@(0.0.255) friend][@(64) _][^`:`:Size`_^@(64) S -ize`_][@(64) _]operator/[@(64) (][^`:`:Size`_^@(64) Size`_][@(64) _][@3 a][@(64) , -][^`:`:Size`_^@(64) Size`_][@(64) _][@3 b][@(64) )]&] -[s5;:`:`:Size`_`:`:operator`/`(`:`:Size`_`,T`):%- [@(0.0.255) friend][@(64) _][^`:`:Size`_^@(64) S -ize`_][@(64) _]operator/[@(64) (][^`:`:Size`_^@(64) Size`_][@(64) _][@3 a][@(64) , -T_][@3 b][@(64) )]&] +[s5;:`:`:Size`_`:`:operator`/`(`:`:Size`_`,`:`:Size`_`):%- [@(0.0.255) friend][@(64) _]Si +ze`_[@(64) _]operator/[@(64) (]Size`_[@(64) _][@3 a][@(64) , ]Size`_[@(64) _][@3 b][@(64) )]&] +[s5;:`:`:Size`_`:`:operator`/`(`:`:Size`_`,T`):%- [@(0.0.255) friend][@(64) _]Size`_[@(64) _ +]operator/[@(64) (]Size`_[@(64) _][@3 a][@(64) , ][@4 T][@(64) _][@3 b][@(64) )]&] [s2; Returns the result of the division of two Size`_ values or a Size`_ with single value.&] [s3; &] [s4; &] -[s5;K:`:`:Size`_`:`:operator`<`<`(`:`:Size`_`,int`):%- [@(0.0.255) friend][@(64) _][^`:`:Size`_^@(64) S -ize`_][@(64) _]operator<<[@(64) (][^`:`:Size`_^@(64) Size`_][@(64) _][@3 a][@(64) , -][@(0.0.255) int][@(64) _][@3 sh][@(64) )]&] +[s5;:`:`:Size`_`:`:operator`<`<`(`:`:Size`_`,int`):%- [@(0.0.255) friend][@(64) _]Size`_[@(64) _ +]operator<<[@(64) (]Size`_[@(64) _][@3 a][@(64) , ][@(0.0.255) int][@(64) _][@3 sh][@(64) )]&] [s2; Returns the result of left shifting [*@3 a] by [*@3 sh].&] [s3; &] [s4; &] -[s5;K:`:`:Size`_`:`:operator`>`>`(`:`:Size`_`,int`):%- [@(0.0.255) friend][@(64) _][^`:`:Size`_^@(64) S -ize`_][@(64) _]operator>>[@(64) (][^`:`:Size`_^@(64) Size`_][@(64) _][@3 a][@(64) , -][@(0.0.255) int][@(64) _][@3 sh][@(64) )]&] +[s5;:`:`:Size`_`:`:operator`>`>`(`:`:Size`_`,int`):%- [@(0.0.255) friend][@(64) _]Size`_[@(64) _ +]operator>>[@(64) (]Size`_[@(64) _][@3 a][@(64) , ][@(0.0.255) int][@(64) _][@3 sh][@(64) )]&] [s2; Returns the result of right shifting [*@3 a] by [*@3 sh].&] [s3; &] [s4; &] -[s5;K:`:`:Size`_`:`:operator`=`=`(`:`:Size`_`,`:`:Size`_`):%- [@(0.0.255) friend][@(64) _ -][@(0.0.255) bool][@(64) _]operator`=`=[@(64) (][^`:`:Size`_^@(64) Size`_][@(64) _][@3 a][@(64) , - ][^`:`:Size`_^@(64) Size`_][@(64) _][@3 b][@(64) )]&] +[s5;:`:`:Size`_`:`:operator`=`=`(`:`:Size`_`,`:`:Size`_`):%- [@(0.0.255) friend][@(64) _][@(0.0.255) b +ool][@(64) _]operator`=`=[@(64) (]Size`_[@(64) _][@3 a][@(64) , ]Size`_[@(64) _][@3 b][@(64) )]&] [s2; Returns [* true ]if [*@3 a ]and [*@3 b ]have their respective dimension equal, [* false ]otherwise.&] [s3; &] [s4; &] -[s5;K:`:`:Size`_`:`:operator`!`=`(`:`:Size`_`,`:`:Size`_`):%- [@(0.0.255) friend][@(64) _ -][@(0.0.255) bool][@(64) _]operator!`=[@(64) (][^`:`:Size`_^@(64) Size`_][@(64) _][@3 a][@(64) , - ][^`:`:Size`_^@(64) Size`_][@(64) _][@3 b][@(64) )]&] +[s5;:`:`:Size`_`:`:operator`!`=`(`:`:Size`_`,`:`:Size`_`):%- [@(0.0.255) friend][@(64) _][@(0.0.255) b +ool][@(64) _]operator!`=[@(64) (]Size`_[@(64) _][@3 a][@(64) , ]Size`_[@(64) _][@3 b][@(64) )]&] [s2; Returns [* true ]if [*@3 a ]and [*@3 b ]have at least an unequal dimension, [* false ]otherwise.&] [s3; &] [s4; &] -[s5;K:`:`:Size`_`:`:min`(`:`:Size`_`,`:`:Size`_`):%- [@(0.0.255) friend][@(64) _][^`:`:Size`_^@(64) S -ize`_][@(64) _]min[@(64) (][^`:`:Size`_^@(64) Size`_][@(64) _][@3 a][@(64) , -][^`:`:Size`_^@(64) Size`_][@(64) _][@3 b][@(64) )]&] +[s5;:`:`:Size`_`:`:min`(`:`:Size`_`,`:`:Size`_`):%- [@(0.0.255) friend][@(64) _]Size`_[@(64) _ +]min[@(64) (]Size`_[@(64) _][@3 a][@(64) , ]Size`_[@(64) _][@3 b][@(64) )]&] [s2;%- [%% Returns a ][%%* Size`_][%% with it`'s dimension equaling the minimum of the respective dimension between ][*@3 a][@3 ]and[%% ][*@3 b].&] [s3;%- &] [s4;%- &] -[s5;K:`:`:Size`_`:`:max`(`:`:Size`_`,`:`:Size`_`):%- [@(0.0.255) friend][@(64) _][^`:`:Size`_^@(64) S -ize`_][@(64) _]max[@(64) (][^`:`:Size`_^@(64) Size`_][@(64) _][@3 a][@(64) , -][^`:`:Size`_^@(64) Size`_][@(64) _][@3 b][@(64) )]&] +[s5;:`:`:Size`_`:`:max`(`:`:Size`_`,`:`:Size`_`):%- [@(0.0.255) friend][@(64) _]Size`_[@(64) _ +]max[@(64) (]Size`_[@(64) _][@3 a][@(64) , ]Size`_[@(64) _][@3 b][@(64) )]&] [s2;%- [%% Returns a ][%%* Size`_][%% with it`'s dimension equaling the maximum of the respective dimension between ][*@3 a][@3 ]and[%% ][*@3 b].&] [s3;%- &] [s4; &] -[s5;K:`:`:Size`_`:`:Nvl`(`:`:Size`_`,`:`:Size`_`):%- [@(0.0.255) friend][@(64) _][^`:`:Size`_^@(64) S -ize`_][@(64) _]Nvl[@(64) (][^`:`:Size`_^@(64) Size`_][@(64) _][@3 a][@(64) , -][^`:`:Size`_^@(64) Size`_][@(64) _][@3 b][@(64) )]&] +[s5;:`:`:Size`_`:`:Nvl`(`:`:Size`_`,`:`:Size`_`):%- [@(0.0.255) friend][@(64) _]Size`_[@(64) _ +]Nvl[@(64) (]Size`_[@(64) _][@3 a][@(64) , ]Size`_[@(64) _][@3 b][@(64) )]&] [s2; Returns [%-*@3 b] if [%-*@3 a] is Null, [%-*@3 a] otherwise.&] [s3; &] [s4; &] -[s5;K:`:`:Size`_`:`:ScalarProduct`(`:`:Size`_`,`:`:Size`_`):%- [@(0.0.255) friend][@(64) _ -][@4 T][@(64) _]ScalarProduct[@(64) (][^`:`:Size`_^@(64) Size`_][@(64) _][@3 a][@(64) , -][^`:`:Size`_^@(64) Size`_][@(64) _][@3 b][@(64) )]&] +[s5;:`:`:Size`_`:`:ScalarProduct`(`:`:Size`_`,`:`:Size`_`):%- [@(0.0.255) friend][@(64) _ +][@4 T][@(64) _]ScalarProduct[@(64) (]Size`_[@(64) _][@3 a][@(64) , ]Size`_[@(64) _][@3 b][@(64) )]&] [s2; Returns the scalar product between [%-*@3 a] and [%-*@3 b].&] [s3; &] [s4; &] -[s5;K:`:`:Size`_`:`:VectorProduct`(`:`:Size`_`,`:`:Size`_`):%- [@(0.0.255) friend][@(64) _ -][@4 T][@(64) _]VectorProduct[@(64) (][^`:`:Size`_^@(64) Size`_][@(64) _][@3 a][@(64) , -][^`:`:Size`_^@(64) Size`_][@(64) _][@3 b][@(64) )]&] +[s5;:`:`:Size`_`:`:VectorProduct`(`:`:Size`_`,`:`:Size`_`):%- [@(0.0.255) friend][@(64) _ +][@4 T][@(64) _]VectorProduct[@(64) (]Size`_[@(64) _][@3 a][@(64) , ]Size`_[@(64) _][@3 b][@(64) )]&] [s2; Returns the vectorial product between [%-*@3 a] and [%-*@3 b].&] [s3; &] [s4; &] -[s5;K:`:`:Size`_`:`:Squared`(`:`:Size`_`):%- [@(0.0.255) friend][@(64) _][@4 T][@(64) _]Squar -ed[@(64) (][^`:`:Size`_^@(64) Size`_][@(64) _][@3 a][@(64) )]&] +[s5;:`:`:Size`_`:`:Squared`(`:`:Size`_`):%- [@(0.0.255) friend][@(64) _][@4 T][@(64) _]Square +d[@(64) (]Size`_[@(64) _][@3 a][@(64) )]&] [s2; Returns a [* Size`_] with [* cx] equal to the square of [%-*@3 a][%-* .cx][%- and ][%-* cy][%- equal to the square of ][%-*@3 a][%-* .cy].&] [s3; &] [s4; &] -[s5;K:`:`:Size`_`:`:Length`(`:`:Size`_`):%- [@(0.0.255) friend][@(64) _][@(0.0.255) double][@(64) _ -]Length[@(64) (][^`:`:Size`_^@(64) Size`_][@(64) _][@3 a][@(64) )]&] +[s5;:`:`:Size`_`:`:Length`(`:`:Size`_`):%- [@(0.0.255) friend][@(64) _][@(0.0.255) double][@(64) _ +]Length[@(64) (]Size`_[@(64) _][@3 a][@(64) )]&] [s2; Returns the hypotenuse of the triangle described by [%-*@3 a].&] [s0; &] +[s4;%- &] +[s0; &] +[s0; &] [s0; ] \ No newline at end of file