mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
Core, Doc: continuing on link fixes in our doc.
This commit is contained in:
parent
0281e95167
commit
f608714149
9 changed files with 94 additions and 62 deletions
|
|
@ -599,8 +599,8 @@ position.&]
|
|||
[s7; [*/ Return value]-|Constant reference to the key.&]
|
||||
[s3;%- &]
|
||||
[s4;%- &]
|
||||
[s5;:AMap`:`:Serialize`(Stream`&`):%- [@(0.0.255) void]_[* Serialize](Stream[@(0.0.255) `&]_
|
||||
[*@3 s])&]
|
||||
[s5;:AMap`:`:Serialize`(Stream`&`):%- [@(0.0.255) void]_[* Serialize]([_^topic`:`/`/Core`/src`/Stream`_en`-us`#Stream`:`:class^ S
|
||||
tream][@(0.0.255) `&]_[*@3 s])&]
|
||||
[s2; Serializes the content of AMap to/from Stream. Works only if
|
||||
NTL is used as part of UPP.&]
|
||||
[s6; Requires T to have serialization operator defined.&]
|
||||
|
|
|
|||
|
|
@ -17,8 +17,9 @@ COMPRESSED
|
|||
175,255,237,37,173,1,104,97,234,80,114,143,87,17,96,104,176,210,146,195,104,29,132,192,156,66,177,186,25,145,230,220,136,203,29,40,17,71,159,217,51,30,128,43,36,67,152,12,176,103,142,61,153,6,240,97,68,231,212,29,49,248,85,140,109,213,152,128,82,204,187,249,63,31,79,170,56,115,146,89,38,11,47,73,15,115,28,209,189,4,170,118,35,231,118,162,212,53,185,249,161,73,212,63,209,30,208,2,151,225,189,198,8,204,167,165,201,255,18,112,230,92,111,12,237,69,183,25,51,103,73,40,158,202,176,91,148,222,98,30,110,4,28,92,56,54,11,26,36,254,109,247,53,13,94,160,133,216,218,222,126,64,56,225,138,63,229,116,198,46,85,206,209,120,177,253,77,249,30,66,18,111,198,131,173,147,172,142,212,27,47,200,147,196,207,119,48,96,65,146,125,114,242,52,171,83,162,116,250,102,220,223,58,17,247,45,207,51,138,74,134,235,83,143,133,39,251,196,91,27,108,202,207,101,143,236,33,244,31,90,230,185,198,237,218,162,125,221,4,132,42,189,214,218,77,30,
|
||||
71,89,223,72,93,4,85,183,13,203,75,68,232,78,195,234,253,26,231,131,126,89,82,161,114,211,105,188,161,85,175,149,145,238,94,241,110,36,189,229,188,101,19,15,47,214,236,111,89,1,151,59,245,154,130,204,72,237,239,32,172,208,234,22,230,79,194,113,27,22,212,203,157,76,115,47,237,143,175,185,228,243,250,124,24,44,44,167,232,142,249,138,84,221,43,124,165,69,117,34,72,22,44,101,36,153,137,227,41,32,48,32,252,157,25,209,156,22,205,88,132,191,44,199,208,72,181,37,154,106,144,177,229,128,25,86,187,231,171,185,124,225,128,65,42,205,186,241,18,249,89,183,156,9,186,58,205,55,245,249,221,19,101,121,62,94,36,234,242,157,237,218,51,251,191,120,32,19,58,247,197,81,166,197,108,30,250,90,226,250,8,116,67,241,245,5,124,153,128,39,254,172,185,53,180,131,59,21,114,174,0,130,15,20,98,102,157,224,147,23,43,26,236,183,129,111,197,198,59,47,203,20,125,217,205,230,138,114,80,108,226,226,203,225,194,247,197,237,84,162,64,35,81,212,118,57,
|
||||
255,209,89,126,213,96,106,193,32,244,23,63,164,59,212,219,242,237,56,222,80,103,124,243,130,218,227,59,205,27,215,44,186,197,101,166,44,183,108,21,3,184,14,83,54,83,198,151,171,136,44,191,230,132,200,151,109,98,97,65,20,168,42,111,2,38,141,169,53,103,34,180,90,48,58,94,56,194,137,152,89,87,33,164,233,173,53,12,196,113,62,137,123,240,57,118,39,187,225,222,42,104,131,129,239,139,61,48,152,128,172,9,173,138,69,95,250,222,188,10,221,88,166,136,127,23,226,205,223,64,2,45,98,42,132,99,121,150,154,65,114,172,119,114,187,109,184,177,75,39,170,169,214,242,153,23,123,137,81,209,60,125,230,133,171,9,217,154,171,185,80,162,69,29,64,20,220,126,144,183,202,45,53,173,123,170,163,180,49,45,201,113,215,91,67,4,121,126,53,17,245,53,165,80,236,39,202,221,95,117,8,163,160,41,141,203,129,148,40,20,142,142,57,143,39,33,143,25,192,231,209,154,216,160,152,34,104,4,53,231,81,130,164,132,173,227,168,146,218,72,32,43,103,247,173,107,
|
||||
168,217,183,103,85,227,30,203,20,143,251,104,62,27,45,134,52,237,163,225,5,79,220,65,155,129,0,64,17,225,171,156,192,224,169,143,106,61,221,1,143,66,206,112,248,14,188,255,160,203,6,117,34,127,168,202,138,189,142,237,85,92,17,183,175,43,118,48,214,131,231,251,246,232,113,201,188,218,37,163,62,196,172,224,96,13,182,78,3,240,32,102,21,91,61,101,233,190,44,157,27,92,179,232,34,142,176,60,83,203,177,241,193,17,120,123,220,123,20,109,237,146,127,121,254,149,156,4,193,189,197,119,254,197,94,65,56,183,124,94,243,227,201,73,152,136,201,121,103,27,147,61,202,84,165,140,198,18,239,158,140,242,49,248,70,72,203,159,208,96,143,137,119,180,49,65,72,181,212,110,240,37,96,252,91,169,184,110,248,203,191,46,114,223,45,56,216,227,245,47,196,107,5,7,143,194,182,249,91,22,63,151,188,235,46,90,213,193,246,133,36,67,201,202,92,131,23,133,26,91,210,112,240,61,43,152,251,209,25,80,226,29,116,21,243,192,26,239,152,35,97,31,107,207,21,60,
|
||||
139,138,175,226,75,188,61,110,165,241,146,109,65,39,5,119,98,15,175,148,184,184,164,138,212,45,74,41,125,139,175,145,194,133,60,158,228,138,240,41,159,121,194,158,226,1,153,144,80,146,116,242,18,34,78,223,187,203,188,202,173,68,44,154,204,39,141,46,171,116,21,138,100,33,19,204,74,24,242,123,36,13,241,67,63,23,94,5,128,66,130,214,198,83,242,101,119,43,225,40,167,9,93,32,133,50,45,197,145,174,236,66,40,41,240,72,1,165,164,145,34,119,21,240,232,114,28,67,15,63,207,92,141,31,228,32,239,165,134,68,53,81,172,241,174,158,198,117,223,101,184,28,87,202,107,172,164,62,3,206,173,27,223,14,240,53,181,219,171,19,27,211,162,220,25,151,212,163,46,32,115,25,10,241,84,196,66,93,68,230,131,237,247,117,245,149,98,83,101,108,191,86,142,60,168,113,252,233,131,229,78,104,52,250,100,107,209,163,207,36,250,12,99,112,245,201,63,53,21,156,133,31,62,245,159,170,173,33,234,217,211,68,242,249,107,20,219,150,114,27,141,189,135,194,114,161,
|
||||
219,94,33,133,194,72,61,43,24,157,9,66,174,229,32,204,38,16,76,95,254,27,44,156,216,223,59,132,64,5,194,22,238,149,66,136,243,98,240,235,224,87,211,148,5,241,221,216,252,232,25,118,7,245,48,180,73,222,185,201,98,187,88,69,179,98,67,183,181,8,188,25,56,173,67,190,128,196,174,108,140,238,150,88,159,0,101,150,158,185,173,211,7,141,189,225,252,62,206,234,94,71,254,174,76,150,63,31,141,194,35,221,188,61,249,254,222,254,118,67,197,218,131,199,193,212,6,97,159,222,129,101,184,37,108,49,177,124,241,234,114,204,169,202,183,157,87,121,194,48,97,226,27,227,241,35,122,206,16,68,100,214,88,197,207,253,139,99,148,139,44,175,18,255,226,33,218,164,99,222,247,130,47,147,170,133,89,8,107,156,137,7,198,126,58,211,152,94,160,113,238,115,188,145,139,215,58,84,229,174,251,230,57,238,199,13,233,106,38,125,171,195,195,126,162,79,201,100,226,183,144,91,76,82,132,11,235,188,51,45,150,126,167,19,219,77,152,162,116,251,178,79,94,112,89,247,
|
||||
46,162,39,126,31,66,252,156,136,134,131,119,21,99,76,139,167,87,238,72,135,163,87,174,222,230,225,18,126,144,180,127,139,68,202,157,231,142,162,52,212,166,89,196,248,13,202,167,179,46,5,156,202,210,69,9,150,185,199,150,76,177,228,201,161,100,35,95,104,55,98,72,194,117,182,95,101,14,30,220,42,234,210,177,29,136,36,155,141,107,77,252,229,208,252,206,98,220,90,246,152,211,200,15,230,112,59,63,156,210,225,85,250,18,170,212,225,14,59,190,200,146,77,241,212,165,12,53,128,80,254,113,185,135,3,38,45,69,183,96,84,200,155,138,42,65,35,239,196,213,38,80,142,134,52,121,2,253,250,42,22,228,173,1,246,101,233,78,66,60,77,190,14,164,171,37,47,152,210,67,238,198,96,187,22,106,151,149,106,214,222,103,12,70,141,150,94,23,211,106,236,93,175,6,238,98,102,106,48,242,37,200,223,56,127,5,118,62,195,230,198,45,252,26,35,229,247,220,81,194,212,48,73,140,134,194,65,179,222,48,41,87,0,151,186,113,68,250,253,255,1,195,39,224,207,
|
||||
168,217,183,103,85,227,30,203,20,143,251,104,62,27,45,134,52,237,163,225,5,79,220,65,155,129,0,64,17,225,171,156,192,224,169,143,106,61,221,1,143,66,206,112,248,14,188,255,160,203,6,117,34,127,168,202,138,189,142,237,85,92,17,183,175,43,118,48,214,131,231,251,246,232,113,201,188,218,37,163,62,196,172,224,96,13,182,78,3,240,32,102,21,91,61,101,105,144,213,69,238,27,243,6,123,178,153,11,241,186,188,193,35,249,61,124,117,229,103,34,126,200,143,203,89,116,135,71,216,21,83,43,185,241,113,21,120,123,220,241,20,141,237,146,127,121,254,149,156,63,193,51,198,215,5,198,222,94,56,183,124,94,243,227,201,73,152,195,201,121,221,27,147,61,202,44,167,12,228,18,175,173,140,82,57,248,50,73,203,159,208,96,143,137,215,187,49,65,72,181,192,111,240,253,97,252,91,169,164,111,248,123,195,138,132,204,235,43,17,135,109,75,1,227,215,210,69,44,20,47,180,47,36,25,74,86,166,41,188,40,74,217,146,54,135,111,119,193,180,145,206,88,20,175,175,171,
|
||||
152,66,214,120,61,29,9,251,88,123,154,225,9,88,124,139,95,226,197,115,43,13,181,108,11,58,217,187,19,123,120,165,196,197,37,85,164,110,81,74,233,91,124,141,20,46,228,241,36,87,132,79,249,164,21,246,20,143,229,132,132,146,164,147,151,16,172,250,222,93,230,45,112,37,98,209,100,62,105,175,89,165,151,81,36,11,153,155,86,194,144,223,35,105,136,31,250,185,240,42,0,20,18,180,54,158,146,239,201,91,9,71,57,77,232,2,41,148,105,41,142,116,101,23,66,73,129,71,10,40,37,141,20,185,171,128,71,151,227,24,122,248,81,232,106,252,32,7,121,239,67,36,170,137,98,141,119,245,52,174,251,26,196,229,184,82,14,103,37,245,25,112,110,221,248,118,128,111,184,221,94,157,216,152,22,229,166,186,164,30,117,1,153,203,80,136,167,34,22,234,34,50,31,108,191,175,171,175,20,155,42,217,251,181,114,228,65,141,227,79,31,44,119,66,163,209,39,91,139,30,125,38,209,103,24,131,171,79,254,169,169,224,44,252,240,169,255,84,237,42,81,207,158,38,242,214,
|
||||
95,163,176,184,148,219,104,236,61,20,150,11,61,254,10,41,20,6,249,89,193,232,76,16,114,25,8,97,54,129,56,252,242,223,96,225,196,214,224,33,196,56,16,241,112,175,20,162,163,23,131,95,7,191,154,166,44,136,175,213,230,167,214,176,59,168,135,81,81,242,186,78,22,219,0,43,154,21,123,193,173,69,224,205,192,105,29,242,181,39,118,101,99,96,184,196,210,6,40,179,244,184,110,157,62,104,236,229,232,247,113,204,247,58,242,119,101,158,253,249,104,20,158,6,231,237,201,87,255,246,183,27,42,76,31,60,14,166,54,8,251,244,14,44,195,45,97,139,137,229,139,183,158,99,58,86,190,40,189,202,19,134,9,19,95,54,143,31,209,115,134,32,34,179,60,43,126,238,95,28,163,92,100,121,181,102,32,30,162,77,58,230,125,47,248,10,171,90,211,133,176,198,153,120,96,236,167,51,141,233,5,26,231,62,199,27,185,238,173,67,85,238,146,113,158,227,126,220,144,174,102,210,183,58,60,236,39,250,148,76,38,126,11,185,197,252,70,184,38,207,59,211,98,233,119,58,
|
||||
177,221,132,41,74,183,47,251,228,5,151,117,239,34,122,226,87,41,196,143,152,104,56,120,87,49,198,180,120,122,229,142,116,56,122,229,234,237,59,46,225,7,73,251,183,200,193,220,121,238,40,202,96,109,154,69,140,223,160,124,58,97,83,192,169,44,93,148,155,153,123,108,201,236,76,158,28,74,246,0,134,118,35,134,36,92,162,251,85,166,239,193,173,162,46,29,219,129,200,207,217,184,76,197,223,43,205,175,59,198,93,105,143,57,141,252,76,15,183,243,195,41,29,94,165,239,175,74,157,11,177,227,235,51,217,236,80,93,202,80,3,8,229,31,151,123,56,96,210,82,116,11,70,133,188,228,168,18,52,242,58,93,109,2,229,104,72,147,39,208,175,175,98,65,222,26,96,95,150,238,36,196,211,228,235,64,186,90,242,130,41,61,228,110,12,182,107,161,118,89,169,102,237,125,198,96,212,104,233,117,49,173,198,222,245,106,224,46,102,166,6,35,95,130,252,141,243,87,96,231,51,108,110,220,194,175,49,82,126,207,29,37,76,13,147,196,104,40,28,52,235,13,147,114,5,112,
|
||||
169,27,71,164,223,255,31,225,80,246,52,
|
||||
|
||||
|
|
|
|||
|
|
@ -123,9 +123,10 @@ to specify the new current directory for the process.&]
|
|||
[s3;%% &]
|
||||
[s4; &]
|
||||
[s5;:Upp`:`:LocalProcess`:`:Start`(const char`*`,const Upp`:`:Vector`<Upp`:`:String`>`&`,const char`*`,const char`*`): [@(0.0.255) b
|
||||
ool]_[* Start]([@(0.0.255) const]_[@(0.0.255) char]_`*[*@3 cmd], [@(0.0.255) const]_[_^Upp`:`:Vector^ V
|
||||
ector]<[_^Upp`:`:String^ String]>`&_[*@3 arg], [@(0.0.255) const]_[@(0.0.255) char]_`*[*@3 e
|
||||
nvptr]_`=_NULL, [@(0.0.255) const]_[@(0.0.255) char]_`*[*@3 cd]_`=_NULL)&]
|
||||
ool]_[* Start]([@(0.0.255) const]_[@(0.0.255) char]_`*[*@3 cmd], [@(0.0.255) const]_[_^topic`:`/`/Core`/src`/Vector`_en`-us`#Vector`:`:class^ V
|
||||
ector]<[_^topic`:`/`/Core`/src`/String`$en`-us`#String`:`:class^ String]>`&_[*@3 arg],
|
||||
[@(0.0.255) const]_[@(0.0.255) char]_`*[*@3 envptr]_`=_NULL, [@(0.0.255) const]_[@(0.0.255) c
|
||||
har]_`*[*@3 cd]_`=_NULL)&]
|
||||
[s2;%% Starts a new process defined by [%-*@3 cmd], [%-*@3 arg].[%-*@3
|
||||
envptr ]can provide a new environment for the process, if NULL,
|
||||
then the new process inherits caller`'s environment. This variant
|
||||
|
|
@ -136,9 +137,10 @@ to specify the new current directory for the process.&]
|
|||
[s3;%% &]
|
||||
[s4; &]
|
||||
[s5;:Upp`:`:LocalProcess`:`:Start2`(const char`*`,const Upp`:`:Vector`<Upp`:`:String`>`&`,const char`*`,const char`*`): [@(0.0.255) b
|
||||
ool]_[* Start2]([@(0.0.255) const]_[@(0.0.255) char]_`*[*@3 cmd], [@(0.0.255) const]_[_^Upp`:`:Vector^ V
|
||||
ector]<[_^Upp`:`:String^ String]>`&_[*@3 arg], [@(0.0.255) const]_[@(0.0.255) char]_`*[*@3 e
|
||||
nvptr]_`=_NULL, [@(0.0.255) const]_[@(0.0.255) char]_`*[*@3 cd]_`=_NULL)&]
|
||||
ool]_[* Start2]([@(0.0.255) const]_[@(0.0.255) char]_`*[*@3 cmd], [@(0.0.255) const]_[_^topic`:`/`/Core`/src`/Vector`_en`-us`#Vector`:`:class^ V
|
||||
ector]<[_^topic`:`/`/Core`/src`/String`$en`-us`#String`:`:class^ String]>`&_[*@3 arg],
|
||||
[@(0.0.255) const]_[@(0.0.255) char]_`*[*@3 envptr]_`=_NULL, [@(0.0.255) const]_[@(0.0.255) c
|
||||
har]_`*[*@3 cd]_`=_NULL)&]
|
||||
[s2;%% Starts a new process defined by [%-*@3 cmd], [%-*@3 arg].[%-*@3
|
||||
envptr ]can provide a new environment for the process, if NULL,
|
||||
then the new process inherits caller`'s environment. This variant
|
||||
|
|
|
|||
|
|
@ -59,20 +59,23 @@ name of the file&]
|
|||
[s2;%% Returns the title of the application.&]
|
||||
[s3; &]
|
||||
[s4; &]
|
||||
[s5;:Upp`:`:GetAppFolder`(`): [_^Upp`:`:String^ String]_[* GetAppFolder]()&]
|
||||
[s5;:Upp`:`:GetAppFolder`(`): [_^topic`:`/`/Core`/src`/String`$en`-us`#String`:`:class^ S
|
||||
tring]_[* GetAppFolder]()&]
|
||||
[s6; `[MacOS only`]&]
|
||||
[s2;%% This funtion returns the path to the application folder, if
|
||||
the the executable is in one.&]
|
||||
[s3; &]
|
||||
[s4; &]
|
||||
[s5;:Upp`:`:GetAppName`(`): [_^Upp`:`:String^ String]_[* GetAppName]()&]
|
||||
[s5;:Upp`:`:GetAppName`(`): [_^topic`:`/`/Core`/src`/String`$en`-us`#String`:`:class^ S
|
||||
tring]_[* GetAppName]()&]
|
||||
[s2;%% Returns the name of the application. Default value is GetExeTitle,
|
||||
but it can be changed with SetAppName. This values is used e.g.
|
||||
as the name of configuration folder.&]
|
||||
[s3; &]
|
||||
[s4; &]
|
||||
[s5;:Upp`:`:SetAppName`(const Upp`:`:String`&`): [@(0.0.255) void]_[* SetAppName]([@(0.0.255) c
|
||||
onst]_[_^Upp`:`:String^ String][@(0.0.255) `&]_[*@3 name])&]
|
||||
onst]_[_^topic`:`/`/Core`/src`/String`$en`-us`#String`:`:class^ String][@(0.0.255) `&
|
||||
]_[*@3 name])&]
|
||||
[s2;%% Overrides the name of the application.&]
|
||||
[s3;%% &]
|
||||
[s4; &]
|
||||
|
|
@ -86,16 +89,18 @@ configuration. Setting group empty just removes whole level.
|
|||
Default value is `"u`+`+`".&]
|
||||
[s3;%% &]
|
||||
[s4; &]
|
||||
[s5;:Upp`:`:GetConfigGroup`(`): [_^Upp`:`:String^ String]_[* GetConfigGroup]()&]
|
||||
[s5;:Upp`:`:GetConfigGroup`(`): [_^topic`:`/`/Core`/src`/String`$en`-us`#String`:`:class^ S
|
||||
tring]_[* GetConfigGroup]()&]
|
||||
[s2;%% Returns current config group.&]
|
||||
[s3; &]
|
||||
[s4; &]
|
||||
[s5;:Upp`:`:GetTempDirectory`(`): [_^Upp`:`:String^ String]_[* GetTempDirectory]()&]
|
||||
[s5;:Upp`:`:GetTempDirectory`(`): [_^topic`:`/`/Core`/src`/String`$en`-us`#String`:`:class^ S
|
||||
tring]_[* GetTempDirectory]()&]
|
||||
[s2;%% Return the temporary directory.&]
|
||||
[s3; &]
|
||||
[s4; &]
|
||||
[s5;:Upp`:`:TempFile`(const char`*`): [_^Upp`:`:String^ String]_[* TempFile]([@(0.0.255) co
|
||||
nst]_[@(0.0.255) char]_`*[*@3 filename])&]
|
||||
[s5;:Upp`:`:TempFile`(const char`*`): [_^topic`:`/`/Core`/src`/String`$en`-us`#String`:`:class^ S
|
||||
tring]_[* TempFile]([@(0.0.255) const]_[@(0.0.255) char]_`*[*@3 filename])&]
|
||||
[s2;%% Returns the absolute path of a file in temporary directory.&]
|
||||
[s3;%% &]
|
||||
[s4; &]
|
||||
|
|
@ -114,12 +119,14 @@ home folder (true) or application folder (false)&]
|
|||
[s3; &]
|
||||
[s4; &]
|
||||
[s5;:Upp`:`:SetConfigDirectory`(const Upp`:`:String`&`): [@(0.0.255) void]_[* SetConfigDi
|
||||
rectory]([@(0.0.255) const]_[_^Upp`:`:String^ String][@(0.0.255) `&]_[*@3 s])&]
|
||||
rectory]([@(0.0.255) const]_[_^topic`:`/`/Core`/src`/String`$en`-us`#String`:`:class^ S
|
||||
tring][@(0.0.255) `&]_[*@3 s])&]
|
||||
[s2;%% Overrides the directory where configuration files are stored.&]
|
||||
[s3;%% &]
|
||||
[s4; &]
|
||||
[s5;:Upp`:`:SetConfigName`(const String`&`): [@(0.0.255) void] [* SetConfigName]([@(0.0.255) c
|
||||
onst] String[@(0.0.255) `&] [*@3 s])&]
|
||||
onst] [_^topic`:`/`/Core`/src`/String`$en`-us`#String`:`:class^ String][@(0.0.255) `&
|
||||
] [*@3 s])&]
|
||||
[s2;%% Sets the name of configuration directory if applicable. If
|
||||
not specified, GetAppName() is used.&]
|
||||
[s3; &]
|
||||
|
|
@ -158,7 +165,8 @@ nt] [*@3 i], [@(0.0.255) int] [*@3 count] [@(0.0.255) `=] [@3 1])&]
|
|||
[s2;%% Removes commandline argument(s).&]
|
||||
[s3; &]
|
||||
[s4; &]
|
||||
[s5;:Upp`:`:GetArgv0`(`): [_^Upp`:`:String^ String]_[* GetArgv0]()&]
|
||||
[s5;:Upp`:`:GetArgv0`(`): [_^topic`:`/`/Core`/src`/String`$en`-us`#String`:`:class^ Str
|
||||
ing]_[* GetArgv0]()&]
|
||||
[s2;%% Returns the argv`[0`] argument to main (contains the name
|
||||
of executable).&]
|
||||
[s3; &]
|
||||
|
|
|
|||
|
|
@ -62,15 +62,16 @@ d`::pair]<[*@4 K], [*@4 T]>>_[*@3 init])&]
|
|||
[s3; &]
|
||||
[s4;%- &]
|
||||
[s5;:Upp`:`:ArrayMap`:`:operator`(`)`(KK`&`&`,TT`&`&`):%- [@(0.0.255) template]_<[@(0.0.255) c
|
||||
lass]_[*@4 KK], [@(0.0.255) class]_[*@4 TT]>_[*_^Upp`:`:ArrayMap^ ArrayMap][@(0.0.255) `&]_
|
||||
[* operator()]([*@4 KK][@(0.0.255) `&`&]_[*@3 k], [*@4 TT][@(0.0.255) `&`&]_[*@3 v])&]
|
||||
lass]_[*@4 KK], [@(0.0.255) class]_[*@4 TT]>_[*_^topic`:`/`/Core`/src`/ArrayMap`_en`-us`#ArrayMap`:`:class^ A
|
||||
rrayMap][@(0.0.255) `&]_[* operator()]([*@4 KK][@(0.0.255) `&`&]_[*@3 k],
|
||||
[*@4 TT][@(0.0.255) `&`&]_[*@3 v])&]
|
||||
[s2; Same as Add([%-*@3 k], [%-*@3 v]), returns `*this. Syntax sugar
|
||||
for creating map. Note the use of universal reference that gets
|
||||
resolved to correct Add variant.&]
|
||||
[s3; &]
|
||||
[s4;%- &]
|
||||
[s5;:ArrayMap`:`:ArrayMap`(const ArrayMap`&`,int`):%- [* ArrayMap]([@(0.0.255) const]_[* Ar
|
||||
rayMap][@(0.0.255) `&]_[*@3 s], [@(0.0.255) int])&]
|
||||
[s5;:ArrayMap`:`:ArrayMap`(const ArrayMap`&`,int`):%- [* ArrayMap]([@(0.0.255) const]_[*_^topic`:`/`/Core`/src`/ArrayMap`_en`-us`#ArrayMap`:`:class^ A
|
||||
rrayMap][@(0.0.255) `&]_[*@3 s], [@(0.0.255) int])&]
|
||||
[s2; Optional deep copy constructor.&]
|
||||
[s6; Requires T to have deep copy constructor or optional deep copy
|
||||
constructor if Array stores only objects of type T.&]
|
||||
|
|
@ -80,15 +81,17 @@ of type derived from T.&]
|
|||
[s3; &]
|
||||
[s4;%- &]
|
||||
[s5;:Upp`:`:ArrayMap`:`:ArrayMap`(Upp`:`:Index`<K`>`&`&`,Upp`:`:Array`<T`>`&`&`):%- [* A
|
||||
rrayMap]([_^Upp`:`:Index^ Index]<[*@4 K]>`&`&_[*@3 ndx], [_^Upp`:`:Array^ Array]<[*@4 T]>`&
|
||||
`&_[*@3 val])&]
|
||||
rrayMap]([_^topic`:`/`/Core`/src`/Index`_en`-us`#Index`:`:class^ Index]<[*@4 K]>`&`&_
|
||||
[*@3 ndx], [_^topic`:`/`/Core`/src`/Array`_en`-us`#Array`:`:class^ Array]<[*@4 T]>`&`&_
|
||||
[*@3 val])&]
|
||||
[s2; Pick`-constructs ArrayMap from Index of keys and Array of values.
|
||||
The source containers should have equal number of elements.&]
|
||||
[s3; &]
|
||||
[s4;%- &]
|
||||
[s5;:Upp`:`:ArrayMap`:`:ArrayMap`(Upp`:`:Vector`<K`>`&`&`,Upp`:`:Array`<T`>`&`&`):%- [* A
|
||||
rrayMap]([_^Upp`:`:Vector^ Vector]<[*@4 K]>`&`&_[*@3 ndx], [_^Upp`:`:Array^ Array]<[*@4 T]>
|
||||
`&`&_[*@3 val])&]
|
||||
rrayMap]([_^topic`:`/`/Core`/src`/Vector`_en`-us`#Vector`:`:class^ Vector]<[*@4 K]>`&
|
||||
`&_[*@3 ndx], [_^topic`:`/`/Core`/src`/Array`_en`-us`#Array`:`:class^ Array]<[*@4 T]>`&
|
||||
`&_[*@3 val])&]
|
||||
[s2; Pick`-constructs ArrayMap from Vector of keys and Array of values.
|
||||
The source containers should have equal number of elements.&]
|
||||
[s0; &]
|
||||
|
|
|
|||
|
|
@ -421,7 +421,7 @@ itializer`_list]<[*@4 T]>_[*@3 init])&]
|
|||
[s2; Appends C`+`+11 style initializer list.&]
|
||||
[s3; &]
|
||||
[s4;%- &]
|
||||
[s5;:Array`:`:Append`(const Array`&`):%- [@(0.0.255) void]_[* Append]([@(0.0.255) const]_[_^topic`:`/`/Core`/src`/Array`$en`-us`#Array`:`:class^ A
|
||||
[s5;:Array`:`:Append`(const Array`&`):%- [@(0.0.255) void]_[* Append]([@(0.0.255) const]_[_^topic`:`/`/Core`/src`/Array`_en`-us`#Array`:`:class^ A
|
||||
rray][@(0.0.255) `&]_[*@3 x])&]
|
||||
[s2; Appends all elements of source Array.&]
|
||||
[s6;~~~.992; Requires T to have deep copy constructor.&]
|
||||
|
|
@ -430,7 +430,7 @@ rray][@(0.0.255) `&]_[*@3 x])&]
|
|||
[s3;%- &]
|
||||
[s4;%- &]
|
||||
[s5;:Array`:`:Append`(const Array`&`,int`,int`):%- [@(0.0.255) void]_[* Append]([@(0.0.255) c
|
||||
onst]_[_^topic`:`/`/Core`/src`/Array`$en`-us`#Array`:`:class^ Array][@(0.0.255) `&]_[*@3 x
|
||||
onst]_[_^topic`:`/`/Core`/src`/Array`_en`-us`#Array`:`:class^ Array][@(0.0.255) `&]_[*@3 x
|
||||
], [@(0.0.255) int]_[*@3 o], [@(0.0.255) int]_[*@3 c])&]
|
||||
[s2; Appends a range of elements from source Array.&]
|
||||
[s6;~~~.992; Requires T to have deep copy constructor.&]
|
||||
|
|
@ -441,7 +441,7 @@ onst]_[_^topic`:`/`/Core`/src`/Array`$en`-us`#Array`:`:class^ Array][@(0.0.255)
|
|||
[s3;%- &]
|
||||
[s4;%- &]
|
||||
[s5;:Upp`:`:Array`:`:InsertPick`(int`,Upp`:`:Array`&`&`):%- [@(0.0.255) void]_[* InsertPi
|
||||
ck]([@(0.0.255) int]_[*@3 i], [_^topic`:`/`/Core`/src`/Array`$en`-us`#Array`:`:class^ A
|
||||
ck]([@(0.0.255) int]_[*@3 i], [_^topic`:`/`/Core`/src`/Array`_en`-us`#Array`:`:class^ A
|
||||
rray][@(0.0.255) `&`&]_[*@3 x])&]
|
||||
[s2; Inserts the source Array at the specified position using pick
|
||||
transfer semantics. It is faster than deep copy insert, does
|
||||
|
|
@ -449,7 +449,7 @@ not use deep copy constructor for T, but destroys the source
|
|||
Array by picking.&]
|
||||
[s3;%- &]
|
||||
[s4;%- &]
|
||||
[s5;:Upp`:`:Array`:`:AppendPick`(Upp`:`:Array`&`&`):%- [@(0.0.255) void]_[* AppendPick]([_^topic`:`/`/Core`/src`/Array`$en`-us`#Array`:`:class^ A
|
||||
[s5;:Upp`:`:Array`:`:AppendPick`(Upp`:`:Array`&`&`):%- [@(0.0.255) void]_[* AppendPick]([_^topic`:`/`/Core`/src`/Array`_en`-us`#Array`:`:class^ A
|
||||
rray][@(0.0.255) `&`&]_[*@3 x])&]
|
||||
[s2; Appends source Array using pick transfer semantics. It is faster
|
||||
than deep copy insert, does not use deep copy constructor for
|
||||
|
|
@ -531,16 +531,16 @@ of element.&]
|
|||
[s7; [*/ Return value]-|Pointer to element allocated on the heap.&]
|
||||
[s3;%- &]
|
||||
[s4;%- &]
|
||||
[s5;:Array`:`:Swap`(Array`&`):%- [@(0.0.255) void]_[* Swap]([_^topic`:`/`/Core`/src`/Array`$en`-us`#Array`:`:class^ A
|
||||
[s5;:Array`:`:Swap`(Array`&`):%- [@(0.0.255) void]_[* Swap]([_^topic`:`/`/Core`/src`/Array`_en`-us`#Array`:`:class^ A
|
||||
rray][@(0.0.255) `&]_[*@3 b])&]
|
||||
[s2; Swaps content of Array with another array in constant time operation.&]
|
||||
[s7; [*C@3 b]-|Target array.&]
|
||||
[s3;%- &]
|
||||
[s4;%- &]
|
||||
[s5;:Array`:`:operator`<`<`(const T`&`):%- [_^topic`:`/`/Core`/src`/Array`$en`-us`#Array`:`:class^ A
|
||||
[s5;:Array`:`:operator`<`<`(const T`&`):%- [_^topic`:`/`/Core`/src`/Array`_en`-us`#Array`:`:class^ A
|
||||
rray][@(0.0.255) `&]_[* operator<<]([@(0.0.255) const]_[*@4 T][@(0.0.255) `&]_[*@3 x])&]
|
||||
[s5;:Upp`:`:Array`:`:operator`<`<`(T`&`&`):%- [_^Upp`:`:Array^ Array][@(0.0.255) `&]_[* ope
|
||||
rator<<]([*@4 T][@(0.0.255) `&`&]_[*@3 x])&]
|
||||
[s5;:Upp`:`:Array`:`:operator`<`<`(T`&`&`):%- [_^topic`:`/`/Core`/src`/Array`_en`-us`#Array`:`:class^ A
|
||||
rray][@(0.0.255) `&]_[* operator<<]([*@4 T][@(0.0.255) `&`&]_[*@3 x])&]
|
||||
[s2; Operator replacement of [* Add]. By returning a reference to the
|
||||
Array it allows adding more elements in a single expression,
|
||||
thus e.g. allowing to construct a temporary Array as part of
|
||||
|
|
@ -551,7 +551,7 @@ an expression like Foo((Array<int>() << 1 << 2 << 4)).&]
|
|||
[s7; [*/ Return value]-|Reference to the Array (`*this).&]
|
||||
[s3; &]
|
||||
[s4;%- &]
|
||||
[s5;:Array`:`:operator`<`<`(T`*`):%- [_^topic`:`/`/Core`/src`/Array`$en`-us`#Array`:`:class^ A
|
||||
[s5;:Array`:`:operator`<`<`(T`*`):%- [_^topic`:`/`/Core`/src`/Array`_en`-us`#Array`:`:class^ A
|
||||
rray][@(0.0.255) `&]_[* operator<<]([*@4 T]_`*[*@3 newt])&]
|
||||
[s2; Operator replacement of [* void Add(T `*x)]. By returning a reference
|
||||
to the Array it allows adding more elements in a single expression,
|
||||
|
|
@ -562,7 +562,7 @@ an expression like Foo((Array<Bar>() << new Bar << new DerivedFromBar)).&]
|
|||
[s7; [*/ Return value]-|Reference to the Array (`*this).&]
|
||||
[s3;%- &]
|
||||
[s4;%- &]
|
||||
[s5;:Array`:`:Serialize`(Stream`&`):%- [@(0.0.255) void]_[* Serialize]([_^topic`:`/`/Core`/src`/Stream`$en`-us`#Stream`:`:class^ S
|
||||
[s5;:Array`:`:Serialize`(Stream`&`):%- [@(0.0.255) void]_[* Serialize]([_^topic`:`/`/Core`/src`/Stream`_en`-us`#Stream`:`:class^ S
|
||||
tream][@(0.0.255) `&]_[*@3 s])&]
|
||||
[s2; Serializes the content of the Array to/from the Stream. Works
|
||||
only if NTL is used as part of UPP. Does not work with polymorphic
|
||||
|
|
@ -572,7 +572,7 @@ Arrays (those storing objects derived from T).&]
|
|||
[s3;%- &]
|
||||
[s4;%- &]
|
||||
[s5;:Array`:`:operator`=`(pick`_ Array`&`):%- [@(0.0.255) void]_[* operator`=]([@(0.128.128) p
|
||||
ick`_]_[_^topic`:`/`/Core`/src`/Array`$en`-us`#Array`:`:class^ Array][@(0.0.255) `&]_
|
||||
ick`_]_[_^topic`:`/`/Core`/src`/Array`_en`-us`#Array`:`:class^ Array][@(0.0.255) `&]_
|
||||
[*@3 v])&]
|
||||
[s2; Pick operator. Transfers the source Array in low constant time,
|
||||
but destroys it by picking.&]
|
||||
|
|
@ -637,8 +637,8 @@ is that [* pos] is range checked in debug mode..&]
|
|||
[s7; [*/ Return value]-|Iterator.&]
|
||||
[s3; &]
|
||||
[s4;%- &]
|
||||
[s5;%- friend_[@(0.0.255) void][@(64) _]Swap[@(64) (][_^topic`:`/`/Core`/src`/Array`$en`-us`#Array`:`:class^ A
|
||||
rray][@(64) `&_][@3 a][@(64) , ][_^topic`:`/`/Core`/src`/Array`$en`-us`#Array`:`:class^ A
|
||||
[s5;%- friend_[@(0.0.255) void][@(64) _]Swap[@(64) (][_^topic`:`/`/Core`/src`/Array`_en`-us`#Array`:`:class^ A
|
||||
rray][@(64) `&_][@3 a][@(64) , ][_^topic`:`/`/Core`/src`/Array`_en`-us`#Array`:`:class^ A
|
||||
rray][@(64) `&_][@3 b][@(64) )]&]
|
||||
[s2; Specialization of the generic [* Swap] for Array. Swaps the arrays
|
||||
in simple constant time operation.&]
|
||||
|
|
|
|||
|
|
@ -60,32 +60,32 @@ restore ordering using [* Sweep] method.&]
|
|||
[s2; Constructs empty Index.&]
|
||||
[s3; &]
|
||||
[s4;%- &]
|
||||
[s5;:Upp`:`:Index`:`:Index`(Upp`:`:Index`&`&`):%- [* Index]([* Index][@(0.0.255) `&`&]_[*@3 s
|
||||
])&]
|
||||
[s5;:Upp`:`:Index`:`:Index`(Upp`:`:Index`&`&`):%- [* Index]([*_^topic`:`/`/Core`/src`/Index`_en`-us`#Index`:`:class^ I
|
||||
ndex][@(0.0.255) `&`&]_[*@3 s])&]
|
||||
[s2; Pick constructor.&]
|
||||
[s3; &]
|
||||
[s4;%- &]
|
||||
[s5;:Index`:`:Index`(pick`_ Vector`<T`>`&`):%- [* Index]([@(0.128.128) pick`_]_[_^Vector^ V
|
||||
[s5;:Index`:`:Index`(pick`_ Vector`<T`>`&`):%- [* Index]([@(0.128.128) pick`_]_[_^topic`:`/`/Core`/src`/Vector`_en`-us`#Vector`:`:class^ V
|
||||
ector][@(0.0.255) <][*@4 T][@(0.0.255) >`&]_[*@3 s])&]
|
||||
[s2; Pick operator. Transfers source Vector to Index in low constant
|
||||
time, but destroys it by picking.&]
|
||||
[s7; [*C@3 x]-|Source Vector.&]
|
||||
[s3; &]
|
||||
[s4;%- &]
|
||||
[s5;:Index`:`:Index`(const Index`&`,int`):%- [* Index]([@(0.0.255) const]_[* Index][@(0.0.255) `&
|
||||
]_[*@3 s], [@(0.0.255) int])&]
|
||||
[s5;:Index`:`:Index`(const Index`&`,int`):%- [* Index]([@(0.0.255) const]_[*_^topic`:`/`/Core`/src`/Index`_en`-us`#Index`:`:class^ I
|
||||
ndex][@(0.0.255) `&]_[*@3 s], [@(0.0.255) int])&]
|
||||
[s2; Optional deep copy constructor.&]
|
||||
[s6; Requires T to have deep copy constructor or optional deep copy
|
||||
constructor.&]
|
||||
[s7; [*C@3 s]-|Source Index.&]
|
||||
[s3; &]
|
||||
[s4;%- &]
|
||||
[s5;:Upp`:`:Index`:`:Index`(Upp`:`:Vector`<T`>`&`&`):%- [@(0.0.255) explicit]_[* Index]([_^Upp`:`:Vector^ V
|
||||
[s5;:Upp`:`:Index`:`:Index`(Upp`:`:Vector`<T`>`&`&`):%- [@(0.0.255) explicit]_[* Index]([_^topic`:`/`/Core`/src`/Vector`_en`-us`#Vector`:`:class^ V
|
||||
ector]<[*@4 T]>`&`&_[*@3 s])&]
|
||||
[s2; Pick constructs Index from Vector.&]
|
||||
[s3; &]
|
||||
[s4;%- &]
|
||||
[s5;:Index`:`:Index`(const Vector`<T`>`&`,int`):%- [* Index]([@(0.0.255) const]_[_^Vector^ V
|
||||
[s5;:Index`:`:Index`(const Vector`<T`>`&`,int`):%- [* Index]([@(0.0.255) const]_[_^topic`:`/`/Core`/src`/Vector`_en`-us`#Vector`:`:class^ V
|
||||
ector][@(0.0.255) <][*@4 T][@(0.0.255) >`&]_[*@3 s], [@(0.0.255) int])&]
|
||||
[s2; Deep`-copy constructs Index from Vector.&]
|
||||
[s6; Requires T to have deep copy constructor or optional deep copy
|
||||
|
|
@ -93,13 +93,15 @@ constructor.&]
|
|||
[s7; [*@3 s]-|Source Vector.&]
|
||||
[s3; &]
|
||||
[s4;%- &]
|
||||
[s5;:Upp`:`:Index`:`:operator`=`(Upp`:`:Vector`<T`>`&`&`):%- [_^Upp`:`:Index^ Index][@(0.0.255) `&
|
||||
]_[* operator`=]([_^Upp`:`:Vector^ Vector]<[*@4 T]>`&`&_[*@3 x])&]
|
||||
[s5;:Upp`:`:Index`:`:operator`=`(Upp`:`:Vector`<T`>`&`&`):%- [_^topic`:`/`/Core`/src`/Index`_en`-us`#Index`:`:class^ I
|
||||
ndex][@(0.0.255) `&]_[* operator`=]([_^topic`:`/`/Core`/src`/Vector`_en`-us`#Vector`:`:class^ V
|
||||
ector]<[*@4 T]>`&`&_[*@3 x])&]
|
||||
[s2; Pick assignment from Vector.&]
|
||||
[s3; &]
|
||||
[s4;%- &]
|
||||
[s5;:Upp`:`:Index`:`:operator`=`(Upp`:`:Index`<T`>`&`&`):%- [_^Upp`:`:Index^ Index][@(0.0.255) `&
|
||||
]_[* operator`=]([_^Upp`:`:Index^ Index]<[*@4 T]>`&`&_[*@3 x])&]
|
||||
[s5;:Upp`:`:Index`:`:operator`=`(Upp`:`:Index`<T`>`&`&`):%- [_^topic`:`/`/Core`/src`/Index`_en`-us`#Index`:`:class^ I
|
||||
ndex][@(0.0.255) `&]_[* operator`=]([_^topic`:`/`/Core`/src`/Index`_en`-us`#Index`:`:class^ I
|
||||
ndex]<[*@4 T]>`&`&_[*@3 x])&]
|
||||
[s2; Pick assignment.&]
|
||||
[s3; &]
|
||||
[s4;%- &]
|
||||
|
|
@ -132,10 +134,10 @@ element.&]
|
|||
[s6; Invalidates references to Index.&]
|
||||
[s3; &]
|
||||
[s4;%- &]
|
||||
[s5;:Upp`:`:Index`:`:operator`<`<`(const T`&`):%- [_^Upp`:`:Index^ Index][@(0.0.255) `&]_
|
||||
[* operator<<]([@(0.0.255) const]_[*@4 T][@(0.0.255) `&]_[*@3 x])&]
|
||||
[s5;:Upp`:`:Index`:`:operator`<`<`(T`&`&`):%- [_^Upp`:`:Index^ Index][@(0.0.255) `&]_[* ope
|
||||
rator<<]([*@4 T][@(0.0.255) `&`&]_[*@3 x])&]
|
||||
[s5;:Upp`:`:Index`:`:operator`<`<`(const T`&`):%- [_^topic`:`/`/Core`/src`/Index`_en`-us`#Index`:`:class^ I
|
||||
ndex][@(0.0.255) `&]_[* operator<<]([@(0.0.255) const]_[*@4 T][@(0.0.255) `&]_[*@3 x])&]
|
||||
[s5;:Upp`:`:Index`:`:operator`<`<`(T`&`&`):%- [_^topic`:`/`/Core`/src`/Index`_en`-us`#Index`:`:class^ I
|
||||
ndex][@(0.0.255) `&]_[* operator<<]([*@4 T][@(0.0.255) `&`&]_[*@3 x])&]
|
||||
[s2; Same as Add([%-*@3 x]).&]
|
||||
[s3; &]
|
||||
[s4;%- &]
|
||||
|
|
@ -364,8 +366,8 @@ in the AIndex but are ignored by any Find operations.&]
|
|||
[s2; Tests whether the element at [%-*@3 i] is unlinked.&]
|
||||
[s3;%- &]
|
||||
[s4;%- &]
|
||||
[s5;:Index`:`:GetUnlinked`(`)const:%- [_^Vector^ Vector]<[@(0.0.255) int]>_[* GetUnlinked](
|
||||
)_[@(0.0.255) const]&]
|
||||
[s5;:Index`:`:GetUnlinked`(`)const:%- [_^topic`:`/`/Core`/src`/Vector`_en`-us`#Vector`:`:class^ V
|
||||
ector]<[@(0.0.255) int]>_[* GetUnlinked]()_[@(0.0.255) const]&]
|
||||
[s2; Returns indices of all unlinked elements.&]
|
||||
[s3;%- &]
|
||||
[s4;%- &]
|
||||
|
|
@ -487,8 +489,8 @@ capacity to the number of elements.&]
|
|||
[s2; Returns the current capacity of AIndex.&]
|
||||
[s3;%- &]
|
||||
[s4;%- &]
|
||||
[s5;:Index`:`:Serialize`(Stream`&`):%- [@(0.0.255) void]_[* Serialize](Stream[@(0.0.255) `&
|
||||
]_[*@3 s])&]
|
||||
[s5;:Index`:`:Serialize`(Stream`&`):%- [@(0.0.255) void]_[* Serialize]([_^topic`:`/`/Core`/src`/Stream`_en`-us`#Stream`:`:class^ S
|
||||
tream][@(0.0.255) `&]_[*@3 s])&]
|
||||
[s2; Serializes content of AIndex to/from Stream.&]
|
||||
[s6; Requires T to have serialization operator defined.&]
|
||||
[s3;%- &]
|
||||
|
|
|
|||
|
|
@ -2,6 +2,22 @@ TOPIC("AMap_en-us")
|
|||
#include "AMap_en-us.tppi"
|
||||
END_TOPIC
|
||||
|
||||
TOPIC("AProcess_en-us")
|
||||
#include "AProcess_en-us.tppi"
|
||||
END_TOPIC
|
||||
|
||||
TOPIC("AppEnv_en-us")
|
||||
#include "AppEnv_en-us.tppi"
|
||||
END_TOPIC
|
||||
|
||||
TOPIC("ArrayMap_en-us")
|
||||
#include "ArrayMap_en-us.tppi"
|
||||
END_TOPIC
|
||||
|
||||
TOPIC("Array_en-us")
|
||||
#include "Array_en-us.tppi"
|
||||
END_TOPIC
|
||||
|
||||
TOPIC("Index_en-us")
|
||||
#include "Index_en-us.tppi"
|
||||
END_TOPIC
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue